FC2 test1 USB hotplug issues

Sandy Pond sandy_pond at myrealbox.com
Mon Feb 16 16:54:07 UTC 2004


FC2 test1 USB hotplug issues.  I'd like help as to what deserves to go
to bugzilla. 

I have a USB 6 in 1 card reader (IN-WIN iAPP HS-CF) which gives spurious
output in /var/log/message about once and hour;

Feb 16 11:03:29 family kernel: usb 1-3: USB disconnect, address 3
Feb 16 11:03:29 family kernel: updfstab: numerical sysctl 1 23 is
obsolete.
Feb 16 11:03:29 family modprobe: FATAL: Module ide_probe_mod not found.
Feb 16 11:03:29 family modprobe: FATAL: Module ide_probe not found.
Feb 16 11:03:29 family kernel: usb 1-3: new high speed USB device using
address 4
Feb 16 11:03:29 family modprobe: FATAL: Module usb_storage already in
kernel.
Feb 16 11:03:29 family modprobe: FATAL: Module ide_probe_mod not found.
Feb 16 11:03:29 family kernel: updfstab: numerical sysctl 1 23 is
obsolete.
Feb 16 11:03:29 family modprobe: FATAL: Module ide_probe not found.
Feb 16 11:03:30 family kernel: scsi2 : SCSI emulation for USB Mass
Storage devices
Feb 16 11:03:30 family kernel:   Vendor: IN-WIN    Model: iAPP  HS-CF
Rev: 0.96
Feb 16 11:03:30 family kernel:   Type:   Direct-Access
ANSI SCSI revision: 02
Feb 16 11:03:30 family scsi.agent[4297]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host2/2:0:0:0 ??
Feb 16 11:03:30 family kernel: Attached scsi removable disk sda at
scsi2, channel 0, id 0, lun 0
Feb 16 11:03:30 family kernel: Attached scsi generic sg0 at scsi2,
channel 0, id 0, lun 0,  type 0


1.  It tends to eat up USB and SCSI addresses;

# grep 'kernel: usb 1-3' /var/log/messages

Feb 15 13:12:13 family kernel: usb 1-3: USB disconnect, address 2
Feb 15 13:12:13 family kernel: usb 1-3: new high speed USB device using
address 3
Feb 15 13:44:07 family kernel: usb 1-3: USB disconnect, address 3
Feb 15 13:44:07 family kernel: usb 1-3: new high speed USB device using
address 4
Feb 15 16:24:49 family kernel: usb 1-3: USB disconnect, address 4
Feb 15 16:24:49 family kernel: usb 1-3: new high speed USB device using
address 5
Feb 15 16:24:49 family kernel: usb 1-3: device not accepting address 5,
error -71
Feb 15 16:24:49 family kernel: usb 1-3: new high speed USB device using
address 6
Feb 15 16:43:05 family kernel: usb 1-3: USB disconnect, address 6
Feb 15 16:43:05 family kernel: usb 1-3: new high speed USB device using
address 7
Feb 15 19:34:30 family kernel: usb 1-3: USB disconnect, address 7
Feb 15 19:34:30 family kernel: usb 1-3: new high speed USB device using
address 8
Feb 15 20:19:01 family kernel: usb 1-3: USB disconnect, address 8
Feb 15 20:19:01 family kernel: usb 1-3: new high speed USB device using
address 9
Feb 15 20:19:02 family kernel: usb 1-3: device not accepting address 9,
error -71
Feb 15 20:19:02 family kernel: usb 1-3: new high speed USB device using
address 10
Feb 15 22:39:01 family kernel: usb 1-3: USB disconnect, address 10
Feb 15 22:39:01 family kernel: usb 1-3: new high speed USB device using
address 11
Feb 15 22:39:02 family kernel: usb 1-3: device not accepting address 11,
error -71
Feb 15 22:39:02 family kernel: usb 1-3: new high speed USB device using
address 12
Feb 15 23:47:32 family kernel: usb 1-3: USB disconnect, address 12
Feb 15 23:47:32 family kernel: usb 1-3: new high speed USB device using
address 13
Feb 15 23:47:32 family kernel: usb 1-3: device not accepting address 13,
error -71
Feb 15 23:47:32 family kernel: usb 1-3: new high speed USB device using
address 14
Feb 16 00:16:20 family kernel: usb 1-3: USB disconnect, address 14
Feb 16 00:16:21 family kernel: usb 1-3: new high speed USB device using
address 15
Feb 16 00:16:21 family kernel: usb 1-3: device not accepting address 15,
error -71
Feb 16 00:16:21 family kernel: usb 1-3: new high speed USB device using
address 16

and;

# grep 'Attached scsi' /var/log/messages
Feb 15 13:12:14 family kernel: Attached scsi removable disk sda at
scsi1, channel 0, id 0, lun 0
Feb 15 13:12:14 family kernel: Attached scsi generic sg0 at scsi1,
channel 0, id 0, lun 0,  type 0
Feb 15 13:44:08 family kernel: Attached scsi removable disk sda at
scsi2, channel 0, id 0, lun 0
Feb 15 13:44:08 family kernel: Attached scsi generic sg0 at scsi2,
channel 0, id 0, lun 0,  type 0
Feb 15 16:24:50 family kernel: Attached scsi removable disk sda at
scsi3, channel 0, id 0, lun 0
Feb 15 16:24:50 family kernel: Attached scsi generic sg0 at scsi3,
channel 0, id 0, lun 0,  type 0
Feb 15 16:43:06 family kernel: Attached scsi removable disk sda at
scsi4, channel 0, id 0, lun 0
Feb 15 16:43:06 family kernel: Attached scsi generic sg0 at scsi4,
channel 0, id 0, lun 0,  type 0
Feb 15 19:34:31 family kernel: Attached scsi removable disk sda at
scsi5, channel 0, id 0, lun 0
Feb 15 19:34:31 family kernel: Attached scsi generic sg0 at scsi5,
channel 0, id 0, lun 0,  type 0
Feb 15 20:19:03 family kernel: Attached scsi removable disk sda at
scsi6, channel 0, id 0, lun 0
Feb 15 20:19:03 family kernel: Attached scsi generic sg0 at scsi6,
channel 0, id 0, lun 0,  type 0
Feb 15 22:39:02 family kernel: Attached scsi removable disk sda at
scsi7, channel 0, id 0, lun 0
Feb 15 22:39:03 family kernel: Attached scsi generic sg0 at scsi7,
channel 0, id 0, lun 0,  type 0
Feb 15 23:47:33 family kernel: Attached scsi removable disk sda at
scsi8, channel 0, id 0, lun 0
Feb 15 23:47:33 family kernel: Attached scsi generic sg0 at scsi8,
channel 0, id 0, lun 0,  type 0
Feb 16 00:16:22 family kernel: Attached scsi removable disk sda at
scsi9, channel 0, id 0, lun 0
Feb 16 00:16:22 family kernel: Attached scsi generic sg0 at scsi9,
channel 0, id 0, lun 0,  type 0


2.  Seems that the /etc/hotplug/scsi.agent doesn't find type in sysfs
type file;

Even though;

$ cat /sys/devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/
host2/2:0:0:0/type
0

I get;

# grep 'scsi.agent' /var/log/messages
Feb 15 13:12:14 family scsi.agent[6572]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host1/1:0:0:0 ??
Feb 15 13:44:08 family scsi.agent[6938]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host2/2:0:0:0 ??
Feb 15 16:24:50 family scsi.agent[12758]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host3/3:0:0:0 ??
Feb 15 16:43:06 family scsi.agent[13953]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host4/4:0:0:0 ??
Feb 15 19:34:31 family scsi.agent[23551]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host5/5:0:0:0 ??
Feb 15 20:19:03 family scsi.agent[23735]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host6/6:0:0:0 ??
Feb 15 22:39:02 family scsi.agent[24076]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host7/7:0:0:0 ??
Feb 15 23:47:33 family scsi.agent[24225]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host8/8:0:0:0 ??
Feb 16 00:16:22 family scsi.agent[24398]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host9/9:0:0:0 ??
Feb 16 09:28:01 family scsi.agent[2895]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host1/1:0:0:0 ??
Feb 16 11:03:30 family scsi.agent[4297]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host2/2:0:0:0 ??


3.  I seems the usb_storage is dependent on having an available hardware
floppy controller.  If I turn off the on-board hardware floppy
controllers in the BIOS I get this in /var/log/messages as the spurious
message;

Feb 16 00:16:20 family kernel: usb 1-3: USB disconnect, address 14
Feb 16 00:16:20 family modprobe: FATAL: Module ide_probe_mod not found.
Feb 16 00:16:20 family modprobe: FATAL: Module ide_probe not found.
Feb 16 00:16:20 family kernel: updfstab: numerical sysctl 1 23 is
obsolete.
Feb 16 00:16:20 family kernel: inserting floppy driver for 2.6.2-1.81
Feb 16 00:16:21 family kernel: usb 1-3: new high speed USB device using
address 15
Feb 16 00:16:21 family kernel: usb 1-3: device not accepting address 15,
error -71
Feb 16 00:16:21 family kernel: usb 1-3: new high speed USB device using
address 16
Feb 16 00:16:21 family modprobe: FATAL: Module usb_storage already in
kernel.
Feb 16 00:16:21 family kernel: updfstab: numerical sysctl 1 23 is
obsolete.
Feb 16 00:16:21 family modprobe: FATAL: Module ide_probe_mod not found.
Feb 16 00:16:21 family modprobe: FATAL: Module ide_probe not found.
Feb 16 00:16:22 family kernel: scsi9 : SCSI emulation for USB Mass
Storage devices
Feb 16 00:16:22 family scsi.agent[24398]: how to add device type= at /
devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host9/9:0:0:0 ??
Feb 16 00:16:22 family kernel:   Vendor: IN-WIN    Model: iAPP  HS-CF
Rev: 0.96
Feb 16 00:16:22 family kernel:   Type:   Direct-Access
ANSI SCSI revision: 02
Feb 16 00:16:22 family kernel: Attached scsi removable disk sda at
scsi9, channel 0, id 0, lun 0
Feb 16 00:16:22 family kernel: Attached scsi generic sg0 at scsi9,
channel 0, id 0, lun 0,  type 0
Feb 16 00:16:23 family kernel: floppy0: no floppy controllers found
Feb 16 00:16:23 family modprobe: FATAL: Error inserting floppy (/lib/
modules/2.6.2-1.81/kernel/drivers/block/floppy.ko): No such device
Feb 16 00:16:23 family kernel: inserting floppy driver for 2.6.2-1.81
Feb 16 00:16:26 family kernel: floppy0: no floppy controllers found
Feb 16 00:16:26 family modprobe: FATAL: Error inserting floppy (/lib/
modules/2.6.2-1.81/kernel/drivers/block/floppy.ko): No such device

Although I have yet to try this card reader. 









More information about the fedora-test-list mailing list