devlabel not called by hotplug

Mads Villadsen maxx at krakoa.dk
Sat Jun 19 18:29:25 UTC 2004


I have setup devlabel, so that my usb storage devices get the same naem
every time they are inserted. They are a 6-in-1 card reader, and a usb
memory stick.

However devlabel doesn't get called by hotplug (agent.scsi).

I have included the relevant portions of /var/log/messages - first the
card reader is inserted and removed, and the memory stick.

Does anyone have a good idea why devlabel is not getting called?

Jun 19 18:04:17 ice kernel: usb 2-1: new full speed USB device using address 3
Jun 19 18:04:18 ice kernel: Initializing USB Mass Storage driver...
Jun 19 18:04:18 ice kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jun 19 18:04:18 ice kernel:   Vendor: ICSI      Model: SD Card           Rev: 2.7C
Jun 19 18:04:18 ice kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jun 19 18:04:18 ice kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Jun 19 18:04:18 ice kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Jun 19 18:04:18 ice kernel:   Vendor: ICSI      Model: CF Card           Rev: 2.7C
Jun 19 18:04:18 ice kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jun 19 18:04:18 ice kernel: SCSI device sdb: 96000 512-byte hdwr sectors (49 MB)
Jun 19 18:04:18 ice kernel: sdb: assuming Write Enabled
Jun 19 18:04:18 ice kernel: sdb: assuming drive cache: write through
Jun 19 18:04:18 ice kernel:  sdb: sdb1
Jun 19 18:04:18 ice kernel: Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1
Jun 19 18:04:18 ice kernel: Attached scsi generic sg1 at scsi0, channel 0, id 0, lun 1,  type 0
Jun 19 18:04:19 ice kernel:   Vendor: ICSI      Model: SM Cad            Rev: 2.7C
Jun 19 18:04:19 ice kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jun 19 18:04:19 ice kernel: Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2
Jun 19 18:04:19 ice kernel: Attached scsi generic sg2 at scsi0, channel 0, id 0, lun 2,  type 0
Jun 19 18:04:19 ice kernel:   Vendor: ICSI      Model: SM Card           Rev: 2.7C
Jun 19 18:04:19 ice kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jun 19 18:04:19 ice kernel: Attached scsi removable disk sdd at scsi0, channel 0, id 0, lun 3
Jun 19 18:04:19 ice kernel: Attached scsi generic sg3 at scsi0, channel 0, id 0, lun 3,  type 0
Jun 19 18:04:19 ice kernel: usbcore: registered new driver usb-storage
Jun 19 18:04:19 ice kernel: USB Mass Storage support registered.
Jun 19 18:04:19 ice scsi.agent[5239]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:0e.0/usb2/2-1/2-1:1.0/host0/0:0:0:0
Jun 19 18:04:19 ice scsi.agent[5262]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:0e.0/usb2/2-1/2-1:1.0/host0/0:0:0:1
Jun 19 18:04:20 ice scsi.agent[5290]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:0e.0/usb2/2-1/2-1:1.0/host0/0:0:0:2
Jun 19 18:04:20 ice scsi.agent[5313]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:0e.0/usb2/2-1/2-1:1.0/host0/0:0:0:3
Jun 19 18:06:28 ice kernel: usb 2-1: USB disconnect, address 3
Jun 19 18:06:38 ice kernel: usb 2-1: new full speed USB device using address 4
Jun 19 18:06:39 ice kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jun 19 18:06:39 ice kernel:   Vendor: SIMPTECH  Model: USB DRIVE         Rev: 1.12
Jun 19 18:06:39 ice kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jun 19 18:06:39 ice kernel: SCSI device sda: 251904 512-byte hdwr sectors (129 MB)
Jun 19 18:06:39 ice kernel: sda: assuming Write Enabled
Jun 19 18:06:39 ice kernel: sda: assuming drive cache: write through
Jun 19 18:06:39 ice kernel:  sda: sda1
Jun 19 18:06:39 ice kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Jun 19 18:06:39 ice kernel: Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 0
Jun 19 18:06:40 ice scsi.agent[5613]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:0e.0/usb2/2-1/2-1:1.0/host1/1:0:0:0
Jun 19 18:06:53 ice kernel: usb 2-1: USB disconnect, address 4
-- 
Mads Villadsen <maxx at krakoa.dk>





More information about the fedora-list mailing list