[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: udev madness ?



On Sun, 28 Dec 2014, Renaud (Ron) OLGIATI wrote:

> On Sat, 27 Dec 2014 17:34:19 -0800
> Patrick Bartek <nemommxiv@gmail.com> wrote:
> 
> > > I plug a sd card in the USB reader; the system does recognize it,
> > > since I get the following in dmesg:
> > > # dmesg -c | tail -n25
> > > [452776.255955] sd 8:0:0:0: [sde] 3842048 512-byte logical blocks:
> > > (1.96 GB/1.83 GiB) [452776.261515] sd 8:0:0:0: [sde] No Caching
> > > mode page found [452776.261522] sd 8:0:0:0: [sde] Assuming drive
> > > cache: write through [452776.267555] sd 8:0:0:0: [sde] No Caching
> > > mode page found [452776.267561] sd 8:0:0:0: [sde] Assuming drive
> > > cache: write through [452776.269260]  sde: sde1
> > > ls confirms it is recognized:
> > > # ls -l /dev/sde*
> > > brw-rw---T 1 root floppy 8, 64 Dec 27 17:01 /dev/sde
> > > brw-rw---T 1 root floppy 8, 65 Dec 27 17:01 /dev/sde1
> > > Why does it fail to auto-mount, and does not appear in Thunar or
> > > Pcmanfm ?
> > > udev gone mad ?  
>  
> > Do other cards fail to mount, too?  Have you tried another card
> > reader?  Old card or new?
> 
> Other cards mount in that reader; 
>  
> > What does lsusb & ls /media report?  With just the reader plugged
> > in. With the card, too?
> 
> lsusb reports the same with or without the card :
> 
> # lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 002: ID 2109:3431  
> Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
> Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card
> Reader/Writer Bus 005 Device 002: ID 1e4e:0102  
> Bus 005 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port
> HUB Bus 006 Device 002: ID 413c:2107 Dell Computer Corp. 
> Bus 006 Device 003: ID 046d:c408 Logitech, Inc. Marble Mouse
> (4-button) Bus 004 Device 003: ID 03f0:2504 Hewlett-Packard DeskJet
> F4200 series
> 
> Same for ls /media, in both cases :
> 
> # ls /media
> cdrom  cdrom0  floppy  floppy0
>  
> > Which OS and GUI?
> 
> Debian 7.7.0 Xfce

Have you tried inserting the card in the reader, then plugging the
reader into the usb port?  That is, if it's an external reader.  Have
you cleaned the contacts? 

Your card could have a error (or errors) on the filesystem that might
prevent it from being mounted, while still being recognized.  Had it
happen. Two days ago, in fact.  Running dosfsck and reformatting solved
the problem.

At worse, you could write a udev rule to mount that specific card.

B


Reply to: