FC2 and USB disk problems

Rick Stevens rstevens at vitalstream.com
Thu Jul 22 20:58:17 UTC 2004


Graeme Nichols wrote:
> On Thu, 2004-07-22 at 03:48, Rick Stevens wrote:
>>I'll bet you find a second and third set of headers on the mobo.  You
>>seem to have one USB controller that uses the OHCI driver, two that use
>>the UHCI driver and one (the 2.0 one) that uses the EHCI driver.
> 
> 
> Hello Rick, you are absolutely 110% correct. Since 'talking' to you last
> I have been poking around in the h'ware and guess what I found? Another
> 2 port usb header (minus the pins) on the MB. So that makes 2 usb 1.1
> two port usb busses. The 4 port usb 2.0 pci card makes up the others FC2
> detected. I had the on-board usb disabled in the bios but when I checked
> late yesterday I found that it was now enabled (should have checked that
> earlier ;-)). I have again disabled them because I don't need them. This
> probably occurred a couple of weeks ago when I booted the machine and it
> went straight to the bios setup screen. I simply did a HD detect and
> saved and exited. I should have gone right through the bios settings for
> other changes.

Hey, defecation occurs. :-)

>>2.0 cables use different wire with lower capacitance between the
>>conductors and better shielding.  The speeds of 2.0 can cause severe
>>crosstalk on 1.1 cables and make the bus very flakey.
> 
> 
> OK, that means that I am using usb 2 cables as they have a clear plastic
> coating through which I can see braided shielding.

The best indicator is the logo on the cable.  It should say "USB 2.0" or
"Hi-Speed" or have the newer USB logo on it.  Just looking at the
shielding isn't a guarantee.

>>>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
>>>hub 3-0:1.0: connect-debounce failed, port 1 disabled
>>
>>That still really bothers me.  Its on the uhci 1.1 bus at IRQ 9.
> 
> 
> I have come to the conclusion, rightly or wrongly, after disabling the
> on-board usb, that there is something about the usb on this machine that
> is unable to obtain port status or something. The first re-boot after
> disabling the on-board usb resulted in me being asked to save or discard
> the settings for the on-board usb. I answered to remove the config.
> Below is the latest output from dmesg. FC2 still found the on-board usb
> but doesn't appear to have tried to configure them whereas it did try to
> setup the 4 port pci card. There are only three devices plugged into the
> 4 ports, a scanner, a Zip drive and the external HD. Maybe the message
> about the possible faulty cable has something to do with there being
> nothing on that port. Also I never turn on the scanner at boot time. I
> turn it on whenever I need to scan something. The pci usb card is
> sharing irq 11 with the dev 1274:1371, not sure what this is, maybe the
> on-board IrDA, which has no header pins btw.

"lspci -vn" will show you what's on the PCI bus.  Make note of the bus
ID associated with that device, then run "lspci -v".  Match up the
bus IDs and you'll see what's what.  Example:

[root at prophead root]# lspci -vn
(snip)
00:07.3 Class 0c03: 1106:3038 (rev 16)
         Subsystem: 0925:1234
         Flags: bus master, medium devsel, latency 32, IRQ 5
         I/O ports at c800 [size=32]
         Capabilities: [80] Power Management version 2
(snip)

[root at prophead root]# lspci -v
(snip)
00:07.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 
controller] (rev 16) (prog-if 00 [UHCI])
         Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
         Flags: bus master, medium devsel, latency 32, IRQ 5
         I/O ports at c800 [size=32]
         Capabilities: [80] Power Management version 2
(snip)

Kernel 2.6 will give you similar stuff.  You can find what's what on
each bus by using "lsusb".

> 
> 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
> USB Universal Host Controller Interface driver v2.2
> AMD756: dev 1106:3038, router pirq : 4 get irq :  9
> PCI: Found IRQ 9 for device 0000:00:08.0
> uhci_hcd 0000:00:08.0: UHCI Host Controller
> uhci_hcd 0000:00:08.0: irq 9, io base 0000d400
> uhci_hcd 0000:00:08.0: new USB bus registered, assigned bus number 1
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 2 ports detected
> AMD756: dev 1106:3038, router pirq : 1 get irq : 10
> PCI: Found IRQ 10 for device 0000:00:08.1
> uhci_hcd 0000:00:08.1: UHCI Host Controller
> uhci_hcd 0000:00:08.1: irq 10, io base 0000d800
> uhci_hcd 0000:00:08.1: new USB bus registered, assigned bus number 2
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 2 ports detected
> 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 0a838f00
> ehci_hcd 0000:00:08.2: new USB bus registered, assigned bus number 3
> ehci_hcd 0000:00:08.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Dec-29
> hub 3-0:1.0: USB hub found
> hub 3-0:1.0: 4 ports detected
> hub 2-0:1.0: connect-debounce failed, port 1 disabled
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 3-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 3-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 3-0:1.0: hub_port_status failed (err = -32)
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 3-0:1.0: hub_port_status failed (err = -32)
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 3-0:1.0: hub_port_status failed (err = -32)
> hub 3-0:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
> usb 2-1: new full speed USB device using address 2
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 3-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
> ehci_hcd 0000:00:08.2: port 4 reset error -110
> hub 3-0:1.0: hub_port_status failed (err = -32)
> USB Mass Storage device found at 2
> usbcore: registered new driver usb-storage
> USB Mass Storage support registered.
> sda: Spinning up disk...<6>usb 3-4: new high speed USB device using
> address 2
> .<6>scsi1 : SCSI emulation for USB Mass Storage devices
> .<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.
> 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
>   Vendor: IC35L060  Model: AVVA07-0          Rev: VA3O
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> SCSI device sdb: 120103200 512-byte hdwr sectors (61493 MB)
> sdb: assuming drive cache: write through
>  sdb: sdb1
> Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
> USB Mass Storage device found at 2

Well, it found and spun up both this time.  Congrats!

> Is there anywhere that I can find out just what the messages mean that
> are thrown up about the usb buss and drivers as some messages one comes
> across can be very cryptic? Knowing that would mean its more likely that
> I could understand what is going on.

The commands I gave you above will help you identify the buses
themselves and which devices are plugged into each.

> Thanks very much for your help and your patience. Will let you know what
> happens over the next few days. 

No problem.

> That was a nice shot of your plane. Like someone else from Germany said,
> somewhat more that $40 to go flying here in Australia as well. I'd love
> to go up but my wallet isn't quite that large. Still, when I wind up my
> old HiLux diesel ute on the open road it 'feels' like one is about to
> take off. I'll have to settle for that.

Egads!  Well, that's not bad.  I have a buddy with an Audi RS6 (450HP).
Yes, it flies, but he's a maniac behind the wheel.  I won't ride with
him anymore.

Plane stats:

	1964 Piper Comanche 180 (PA-24/180), I'm the fourth owner
	180HP, 4 cylinder Lycoming O-360-A1A engine
	Hartzell constant speed prop
	Retractable landing gear
	Manual flaps (8, 16, 24 degrees)
	IFR certified (avionics in the process of being updated)
	Cruise: 120 knots (140 MPH, 225 Km/H) @ 8000 feet on about 9 GPH

She flies very nicely.  I'm upgrading the avionics and the interior
(red vinyl and cloth--looks like a 1950s diner...yuck!)  To sum her up
in terminology you'd recognize, mechanically she's "stout as a truck-
drivin' Sheila" and her exterior "is a right beaut!"  ;-)
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-               Duct Tape + Magic Marker = Label Maker!              -
----------------------------------------------------------------------





More information about the Redhat-install-list mailing list