FC2 and USB disk problems

Rick Stevens rstevens at vitalstream.com
Tue Jul 20 16:51:24 UTC 2004


Graeme Nichols wrote:
> Hello Folks, my upgrade from RH8 to FC2 has gone quite well. I have only
> one problem to sort out and all will be well.
> 
> As I said on an earlier post, I have a ZIP drive and an external 60G HD
> and an Epson Perfection 640U scanner.
> 
> There was, and still is, a problem with FC2 recognising the ZIP drive
> and the external HD. Initially FC2 recognised the HD every time and the
> ZIP drive occasionally. Now FC2 is recognising the ZIP drive
> consistently but rarely the external HD.
> 
> I have included the relevant lines from dmesg if someone can tell me
> what is going on.

Let's have a looksee.

> RAMDISK: Compressed image found at block 0
> VFS: Mounted root (ext2 filesystem).
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> Freeing unused kernel memory: 144k freed
> ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
> ohci_hcd: block sizes: ed 64 td 64
> AMD756: dev 1022:740c, router pirq : 4 get irq : 10
> PCI: Found IRQ 10 for device 0000:00:07.4
> PCI: Sharing IRQ 10 with 0000:00:08.0
> ohci_hcd 0000:00:07.4: OHCI Host Controller
> ohci_hcd 0000:00:07.4: irq 10, pci mem 0a836000
> ohci_hcd 0000:00:07.4: new USB bus registered, assigned bus number 1
> ohci_hcd 0000:00:07.4: AMD756 erratum 4 workaround
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 4 ports detected

There's one USB bus and it's USB 1.1.

> USB Universal Host Controller Interface driver v2.2
> AMD756: dev 1106:3038, router pirq : 4 get irq : 10
> PCI: Found IRQ 10 for device 0000:00:08.0
> PCI: Sharing IRQ 10 with 0000:00:07.4
> uhci_hcd 0000:00:08.0: UHCI Host Controller
> uhci_hcd 0000:00:08.0: irq 10, io base 0000d400
> uhci_hcd 0000:00:08.0: new USB bus registered, assigned bus number 2
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 2 ports detected

There's a second bus and it's USB 1.1.

> AMD756: dev 1106:3038, router pirq : 1 get irq :  9
> PCI: Found IRQ 9 for device 0000:00:08.1
> uhci_hcd 0000:00:08.1: UHCI Host Controller
> uhci_hcd 0000:00:08.1: irq 9, io base 0000d800
> uhci_hcd 0000:00:08.1: new USB bus registered, assigned bus number 3
> hub 3-0:1.0: USB hub found
> hub 3-0:1.0: 2 ports detected

There's a third bus, USB 1.1.

> AMD756: dev 1106:3104, router pirq : 2 get irq : 11
> PCI: Found IRQ 11 for device 0000:00:08.2
> PCI: Sharing IRQ 11 with 0000:00:0a.0
> ehci_hcd 0000:00:08.2: EHCI Host Controller
> ehci_hcd 0000:00:08.2: irq 11, pci mem 0a83af00
> ehci_hcd 0000:00:08.2: new USB bus registered, assigned bus number 4
> ehci_hcd 0000:00:08.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Dec-29
> hub 4-0:1.0: USB hub found
> hub 4-0:1.0: 4 ports detected

And there's a fourth bus, USB 2.0.

> hub 3-0:1.0: connect-debounce failed, port 1 disabled

The system is having trouble with the third USB bus.  You should check
the cables there.

> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> EXT3 FS on hdb2, internal journal
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm at uk.sistina.com
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> hub 4-0:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
> usb 3-1: new full speed USB device using address 2
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> SCSI subsystem initialized
> Initializing USB Mass Storage driver...
> scsi0 : SCSI emulation for USB Mass Storage devices
>   Vendor: IOMEGA    Model: ZIP 100           Rev: 90.J
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> USB Mass Storage device found at 2
> usbcore: registered new driver usb-storage
> USB Mass Storage support registered.
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> sda: Spinning up disk...<3>ehci_hcd 0000:00:08.2: port 4 reset error
> -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> hub 4-0:1.0: Cannot enable port 4.  Maybe the USB cable is bad?

There's a potential issue there on port 4 of the USB 2.0 bus.

> .<6>cdrom: open failed.
> cdrom: open failed.
> .<5>Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> Device not ready.  Make sure there is a disc in the drive.
> Device not ready.  Make sure there is a disc in the drive.
> inserting floppy driver for 2.6.5-1.358
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> Adding 522104k swap on /dev/hdb3.  Priority:-1 extents:1
> Adding 128480k swap on /dev/hda8.  Priority:-2 extents:1
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on hdb1, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
> parport0: irq 7 detected
> Device not ready.  Make sure there is a disc in the drive.
> 8139too Fast Ethernet driver 0.9.27
> AMD756: dev 10ec:8139, router pirq : 3 get irq :  5
> PCI: Found IRQ 5 for device 0000:00:0b.0
> divert: allocating divert_blk for eth0
> eth0: RealTek RTL8139 at 0xcc00, 00:05:1c:1d:b7:3b, IRQ 5
> eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
> divert: freeing divert_blk for eth0
> ip_tables: (C) 2000-2002 Netfilter core team
> ip_conntrack version 2.1 (1023 buckets, 8184 max) - 296 bytes per
> conntrack
> 8139too Fast Ethernet driver 0.9.27
> AMD756: dev 10ec:8139, router pirq : 3 get irq :  5
> PCI: Found IRQ 5 for device 0000:00:0b.0
> divert: allocating divert_blk for eth0
> eth0: RealTek RTL8139 at 0xcc00, 00:05:1c:1d:b7:3b, IRQ 5
> eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
> eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
> parport0: irq 7 detected
> lp0: using parport0 (polling).
> lp0: console ready
> NET: Registered protocol family 10
> Disabled Privacy Extensions on device 022db720(lo)
> IPv6 over IPv4 tunneling driver
> divert: not allocating divert_blk for non-ethernet device sit0
> eth0: no IPv6 routers present
> warning: process `update' used the obsolete bdflush system call
> Fix your initscripts?
> warning: process `update' used the obsolete bdflush system call
> Fix your initscripts?
> AMD756: dev 1274:1371, router pirq : 2 get irq : 11
> PCI: Found IRQ 11 for device 0000:00:0a.0
> PCI: Sharing IRQ 11 with 0000:00:08.2
> SCSI device sda: 196608 512-byte hdwr sectors (101 MB)
> sda: assuming Write Enabled
> sda: assuming drive cache: write through
> SCSI device sda: 196608 512-byte hdwr sectors (101 MB)
> sda: assuming Write Enabled
> sda: assuming drive cache: write through
>  sda: sda4
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 4-0:1.0: hub_port_status failed (err = -32)
> usb 2-2: new full speed USB device using address 2
> 
> Hoping someone can point me in the right direction.

It appears that you have a whole bunch of USB ports.  I counted three
buses there, two with 2 ports and two with 4 ports.

It looks like your ZIP is in bus 2 (one of the two-port buses that's
USB 1.1).  The system is having an issue with bus 3 (the other two-port
USB 1.1 bus) and it can't reliably debounce one of the ports.  Check the
cable there.

Bus 4 (one of the 4-port buses and the only USB 2.0 I see) reports a bad
port, and I suspect that's where the external HD is plugged into.

There are several possibilities: The bus is USB 2.0.  If your drive
is also USB 2.0 compliant and you use a USB 1.1 cable, you'll have
issues.  I'd recommend first checking your cables.  Try to always use
USB 2.0 cables--even if it's a 1.1 bus.

You may have a bad port on that bus.  You might try a different port on
that bus.

Try the other 4-port bus (USB 1.1, so it'll be slower).
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-     "Daddy, why doesn't this magnet pick up this floppy disk?"     -
----------------------------------------------------------------------





More information about the Redhat-install-list mailing list