no USB attach/deattach activity w/USB flash

Bruce Burden brucegb at realtime.net
Fri Jan 19 06:49:10 UTC 2007


   Hi folks,

	After upgrading to amd64, I am no longer getting USB
   attach/deattach notices.

FreeBSD tigerfish2.my.domain 6.2-STABLE FreeBSD 6.2-STABLE #5: Mon Jan 15 11:31:29 CST 2007     root at tigerfish2.my.domain:/usr/obj/usr/src/sys/TIGERFISH2  amd64

usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0

   motherboard is a Tyan Thunder K8WE, S2895, with the nForce 
   Profession 2200 chipset.

	I know this is not a generic amd64 problem, the same card
   on my nForce 3 Pro 250 system works just fine:

FreeBSD tigerfish.my.domain 6.2-STABLE FreeBSD 6.2-STABLE #10: Mon Jan 15 12:54:01 CST 2007     root at tigerfish.my.domain:/usr/obj/usr/src/sys/TIGERFISH  amd64

uhub1: 4 ports with 4 removable, self powered
ehci0: <NVIDIA nForce3 250 USB 2.0 controller> mem 0xfe6ffc00-0xfe6ffcff irq 20 at device 2.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2: <NVIDIA nForce3 250 USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered

umass0: vendor 0x3538 USB Mass Storage Device, rev 2.00/1.00, addr 2
da1 at umass-sim0 bus 0 target 0 lun 0
da1: <Generic USB Flash Disk 0.00> Removable Direct Access SCSI-2 device 
da1: 40.000MB/s transfers
da1: 4000MB (8192000 512 byte sectors: 255H 63S/T 509C)
umass0: at uhub2 port 7 (addr 2) disconnected
(da1:umass-sim0:0:0:0): lost device
(da1:umass-sim0:0:0:0): removing device entry
umass0: detached

	Nor is it a generic problem with the USB:

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), nVidia(0x0000), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, power 100 mA, config 1, HP Basic USB Keyboard(0x0024), CHICONY(0x03f0), rev 3.00
 port 3 addr 3: low speed, power 24 mA, config 1, Back-UPS RS 1500 FW:8.g9 .D USB FW:g9(0x0002), American Power Conversion(0x051d), rev 1.06
 port 4 addr 4: low speed, power 100 mA, config 1, Kensington Expert Mouse(0x1020), Kensington(0x047d), rev 1.00
 port 5 powered
 port 6 powered
 port 7 powered
 port 8 powered
 port 9 powered
 port 10 powered

	Under 6.1/i386, I could at least slow USB, ehci caused
   problems. Any suggestions?

	FWIW, I get a VERY long delay when plugging in a firewire disk -
   there is NO I/O (not even xfishtank) while the FW disk is probed/
   devices are created, etc. But at least it eventually responds:

fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=2, non CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me)
firewire0: root node is not cycle master capable
firewire0: bus manager 0 (me)
firewire0: New S400 device ID:000bc20300000847
da1 at sbp0 bus 0 target 0 lun 0
da1: <Initio ST3300831A 0407> Fixed Direct Access SCSI-0 device 
da1: 50.000MB/s transfers
da1: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C)

    However, this is a good 10 seconds or no I/O. Again, this did
    not present a problem under i386/6.1.

							Bruce
-- 
------------------------------------------------------------------------
  "I like bad!"                         Bruce Burden    Austin, TX.
        - Thuganlitha
        The Power and the Prophet
        Robert Don Hughes



More information about the freebsd-usb mailing list