Comment 22 for bug 261710

Revision history for this message
Vytautas Ĺ altenis (vytautas-shaltenis) wrote :

I reproduce the same problem with exactly the same flash key (both model and capacity, if that matters). On Jaunty, with the following kernel (and couple older kernels as well):

$ uname -a
Linux dungeon 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux

Interestingly, I can't check the proposed workaround, since my system refuses to write to the file:

$ cat /sys/module/scsi_mod/parameters/inq_timeout
5
$ echo 20 > /sys/module/scsi_mod/parameters/inq_timeout
bash: /sys/module/scsi_mod/parameters/inq_timeout: Permission denied
$ sudo echo 20 > /sys/module/scsi_mod/parameters/inq_timeout
bash: /sys/module/scsi_mod/parameters/inq_timeout: Permission denied

An excerpt from /etc/mtab:

$ cat /etc/mtab
/dev/sda1 / ext3 rw,relatime,errors=remount-ro 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
[...]

says my sysfs is not mounted in some funny read-only way (I guess...).

Anybody got insights on this? How can root miss permissions to write to sysfs? How can I at least test the workaround?