f



1 USB device gets attached to 2 different devices and mouted twice!

When I plug in my USB Lexar powershot storage device, fedora
automatically recognizes it, mounts it, and creates an icon on the
desktop for it.

The only problem is that it does everything twice!

It attaches the device to both sda AND sdb.
It creates two mount points for each /media/POWERSHOT and
/media/POWERSHOT1
It creates two icons POWERSHOT and POWERSHOT1.

I am running Fedora Core 3 (2.6.11-1.14_FC3smp) on a Shuttle box
(ST61G4B XPC 800fsb). Oddly this works fine on another box running the
same exact version of Fedora.

Below are the relevent sections of /var/log/messages and output of 'cat
/proc/bus/usb/devices'

Thanks in advance!



FROM /var/log/messages

PLUG IN THE DEVICE

May 17 22:53:03 knight su(pam_unix)[4755]: session opened for user root
by mpv(uid=3D500)
May 17 22:56:07 knight kernel: usb 3-1: new full speed USB device using
ohci_hcd and address 2
May 17 22:56:08 knight kernel: Initializing USB Mass Storage driver...
May 17 22:56:08 knight kernel: scsi2 : SCSI emulation for USB Mass
Storage devices
May 17 22:56:08 knight kernel: usbcore: registered new driver
usb-storage
May 17 22:56:08 knight kernel: USB Mass Storage support registered.
May 17 22:56:13 knight kernel:   Vendor: Lexar     Model: Jumpshot USB
CF   Rev: 0001
May 17 22:56:13 knight kernel:   Type:   Direct-Access
    ANSI SCSI revision: 00
May 17 22:56:13 knight kernel: SCSI device sda: 96384 512-byte hdwr
sectors (49 MB)
May 17 22:56:13 knight kernel: sda: Write Protect is off
May 17 22:56:13 knight kernel: sda: assuming drive cache: write through
May 17 22:56:13 knight kernel: SCSI device sda: 96384 512-byte hdwr
sectors (49 MB)
May 17 22:56:13 knight kernel: sda: Write Protect is off
May 17 22:56:13 knight kernel: sda: assuming drive cache: write through
May 17 22:56:13 knight kernel:  sda: sda1
May 17 22:56:13 knight kernel: Attached scsi removable disk sda at
scsi2, channel 0, id 0, lun 0
May 17 22:56:13 knight kernel:   Vendor: Lexar  =81  Model: Jumpshot USB
CF   Rev: 0001
May 17 22:56:13 knight kernel:   Type:   Direct-Access
    ANSI SCSI revision: 00
May 17 22:56:13 knight scsi.agent[4935]: disk at
/devices/pci0000:00/0000:00:13.1/usb3/3-1/3-1:1.0/host2/target2:0:0/2:0:0:0
May 17 22:56:13 knight scsi.agent[4972]: disk at
/devices/pci0000:00/0000:00:13.1/usb3/3-1/3-1:1.0/host2/target2:0:0/2:0:0:1
May 17 22:56:13 knight kernel: SCSI device sdb: 96384 512-byte hdwr
sectors (49 MB)
May 17 22:56:14 knight kernel: sdb: Write Protect is off
May 17 22:56:14 knight kernel: sdb: assuming drive cache: write through
May 17 22:56:14 knight kernel: SCSI device sdb: 96384 512-byte hdwr
sectors (49 MB)
May 17 22:56:14 knight kernel: sdb: Write Protect is off
May 17 22:56:14 knight kernel: sdb: assuming drive cache: write through
May 17 22:56:14 knight kernel:  sdb: sdb1
May 17 22:56:14 knight kernel: Attached scsi removable disk sdb at
scsi2, channel 0, id 0, lun 1
May 17 22:56:14 knight fstab-sync[5022]: added mount point
/media/POWERSHOT for /dev/sda1
May 17 22:56:14 knight fstab-sync[5037]: added mount point
/media/POWERSHOT1 for /dev/sdb1
May 17 22:56:14 knight kernel: FAT: utf8 is not a recommended IO
charset for FAT filesystems, filesystem will be case sensitive!
May 17 22:56:14 knight kernel: SELinux: initialized (dev sda1, type
vfat), uses genfs_contexts
May 17 22:56:14 knight kernel: FAT: utf8 is not a recommended IO
charset for FAT filesystems, filesystem will be case sensitive!
May 17 22:56:14 knight kernel: SELinux: initialized (dev sdb1, type
vfat), uses genfs_contexts

UNMOUNT AND REMOVE THE DEVICE

May 17 23:02:46 knight kernel: usb 3-1: USB disconnect, address 2
May 17 23:02:46 knight fstab-sync[5314]: removed mount point
/media/POWERSHOT for /dev/sda1
May 17 23:02:46 knight fstab-sync[5330]: removed mount point
/media/POWERSHOT1 for /dev/sdb1




> cat /proc/bus/usb/devices

T:  Bus=3D03 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D  1 Spd=3D12  MxC=
h=3D 3
B:  Alloc=3D  0/900 us ( 0%), #Int=3D  0, #Iso=3D  0
D:  Ver=3D 1.10 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D  1
P:  Vendor=3D0000 ProdID=3D0000 Rev=3D 2.06
S:  Manufacturer=3DLinux 2.6.11-1.14_FC3smp ohci_hcd
S:  Product=3DOHCI Host Controller
S:  SerialNumber=3D0000:00:13.1
C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3Dc0 MxPwr=3D  0mA
I:  If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 Driver=
=3Dhub
E:  Ad=3D81(I) Atr=3D03(Int.) MxPS=3D   2 Ivl=3D255ms

T:  Bus=3D03 Lev=3D01 Prnt=3D01 Port=3D00 Cnt=3D01 Dev#=3D  2 Spd=3D12  MxC=
h=3D 0
D:  Ver=3D 1.00 Cls=3D00(>ifc ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D  1
P:  Vendor=3D05dc ProdID=3D0001 Rev=3D 0.01
S:  Manufacturer=3DLEXAR MEDIA
S:  Product=3DLEXAR MEDIA
S:  SerialNumber=3D1.00
C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D80 MxPwr=3D 90mA
I:  If#=3D 0 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D00 Prot=3D04
Driver=3Dusb-storage
E:  Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D  64 Ivl=3D0ms
E:  Ad=3D03(O) Atr=3D02(Bulk) MxPS=3D  64 Ivl=3D0ms

T:  Bus=3D02 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D  1 Spd=3D12  MxC=
h=3D 3
B:  Alloc=3D  0/900 us ( 0%), #Int=3D  0, #Iso=3D  0
D:  Ver=3D 1.10 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D  1
P:  Vendor=3D0000 ProdID=3D0000 Rev=3D 2.06
S:  Manufacturer=3DLinux 2.6.11-1.14_FC3smp ohci_hcd
S:  Product=3DOHCI Host Controller
S:  SerialNumber=3D0000:00:13.0
C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3Dc0 MxPwr=3D  0mA
I:  If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 Driver=
=3Dhub
E:  Ad=3D81(I) Atr=3D03(Int.) MxPS=3D   2 Ivl=3D255ms

T:  Bus=3D01 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D  1 Spd=3D480 MxC=
h=3D 6
B:  Alloc=3D  0/800 us ( 0%), #Int=3D  0, #Iso=3D  0
D:  Ver=3D 2.00 Cls=3D09(hub  ) Sub=3D00 Prot=3D01 MxPS=3D 8 #Cfgs=3D  1
P:  Vendor=3D0000 ProdID=3D0000 Rev=3D 2.06
S:  Manufacturer=3DLinux 2.6.11-1.14_FC3smp ehci_hcd
S:  Product=3DEHCI Host Controller
S:  SerialNumber=3D0000:00:13.2
C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3Dc0 MxPwr=3D  0mA
I:  If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 Driver=
=3Dhub
E:  Ad=3D81(I) Atr=3D03(Int.) MxPS=3D   2 Ivl=3D256ms

0
5/18/2005 3:30:22 AM
comp.os.linux.misc 33599 articles. 1 followers. amosa69 (78) is leader. Post Follow

0 Replies
474 Views

Similar Articles

[PageSpeed] 4

Reply: