[sclug] udev inconsistency

Darren Davison darren at davisononline.org
Fri Feb 27 23:29:00 UTC 2009


hi,

using Ubuntu 8.10, one of my USB devices (a music player with UMS) used
to "do the right thing" when plugged in.. devices created, filesystem
mounted with correct permissions, nautilus window open etc.

Recently, it's decided not to bother any more.   When I plug the device
in, I see the following in dmesg output;

[557034.851546] usb-storage: device found at 59
[557034.851549] usb-storage: waiting for device to settle before
scanning
[557039.848414] usb-storage: device scan complete
[557042.546660] scsi 26:0:0:0: Direct-Access     TrekStor vibez
2    PQ: 0 ANSI: 4
[557042.556358] sd 26:0:0:0: [sde] 23429729 512-byte hardware sectors
(11996 MB)
[557042.558852] sd 26:0:0:0: [sde] Write Protect is off
[557042.558856] sd 26:0:0:0: [sde] Mode Sense: 03 00 00 00
[557042.558859] sd 26:0:0:0: [sde] Assuming drive cache: write through
[557042.561475] sd 26:0:0:0: [sde] 23429729 512-byte hardware sectors
(11996 MB)
[557042.563898] sd 26:0:0:0: [sde] Write Protect is off
[557042.563902] sd 26:0:0:0: [sde] Mode Sense: 03 00 00 00
[557042.563904] sd 26:0:0:0: [sde] Assuming drive cache: write through
[557042.563909]  sde:
[557042.578297] sd 26:0:0:0: [sde] Attached SCSI removable disk


and /dev/sde is created as it suggests.  But that's where the action
seems to stop.  No creation of a directory (it used to use /media/music)
or automounting occurs.

I can also see that my device (the TrekStor) is known to a couple of
udev scripts, but there is no mention of the device in /etc/fstab.  As a
test, I tried adding a line to fstab by UUID (obtained from the blkid
command while it was connected[1]) but that seemed to make no difference
either, and I'm sure I never had that in there before when it was
working.

Any clues how to proceed?

Many thanks,
D.



[1] it returned a very un-UUID looking number of "0000-0001".  The fstab
line I added was;

UUID=0000-0001 /media/music vfat user 0 0


-- 
Darren Davison
Public Key: 0xE855B3EA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://sclug.org.uk/pipermail/sclug/attachments/20090227/d13b73fe/attachment.bin 



More information about the Sclug mailing list