Skip to content

issue with fiq split code, linux kernel bug : CIFS access issue #323

Closed

Description

@camelator

as requested to my issue:
Hexxeh/rpi-update#101

Here is what I've done:
latest raspbian installation
partitions extended
reboot
sudo apt-get update
sudo apt-get upgrade
reboot
sudo mkdir /media/Musiques
sudo mkdir /media/Musiques/Albums
sudo nano /etc/fstab
add lines:
//192.168.1.1/my_passport/Musiques/Albums /media/Musiques/Albums cifs _netdev,guest,directio,uid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
sudo mount -a
/media/Musiques/Albums now contains my cifs share content
I confirm it works after a reboot

then I did:
sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
sudo BRANCH=fiq_split rpi-update
reboot

and my share didn't work

result of mount -a
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

result of dmesg
[ 30.266847] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 33.453230] CIFS: Unknown mount option "directio"
[ 33.519859] CIFS: Unknown mount option "directio"
[ 38.064523] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:507900k SS
[ 150.376452] CIFS: Unknown mount option "directio"
[ 618.911850] CIFS: Unknown mount option "directio"

Activity

  1. P33M commented on Jul 8, 2013

    @P33M
    Contributor

    Hi,

    Can you confirm the version of kernel running before and after the update?

    uname -a will tell you.

    The fiq_split branch is based on a newer revision of upstream kernel, in which there may have been changes to the CIFS subsystem/drivers. It is possible that in a more recent revision, the "directio" mount option has been removed or changed.

    It should be noted that the FIQ implementation is now applied to most of the branches in github, so a plain rpi-update will pull in the latest "default" branch with the FIQ-split changes applied.

  2. camelator commented on Jul 9, 2013

    @camelator
    Author

    uname -a:
    Linux raspberrypi 3.6.11+ #488 PREEMPT Tue Jul 2 16:37:47 BST 2013 armv6l GNU/Linux

    I also tried without the direction parameter, it does not work with the fiq branch

  3. added a commit that references this issue on Aug 27, 2013
  4. P33M commented on May 5, 2014

    @P33M
    Contributor

    CIFS works fine for me on latest kernel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions