device problem (IOERROR)

Andrew Muhametshin andrew at dobrohot.org
Sat Aug 4 12:07:43 UTC 2007


Hi,

In the -CURRENT, umass-device is defined normally. But in the -STABLE is 
not present and at connection of the device there are messages:
   uhub0: device problem (IOERROR), disabling port 3

What means this message? What reason of this message?


#####################
###6.2-STABLE (host 1) device problem (IOERROR)
#####################
uname -a
FreeBSD host01 6.2-STABLE FreeBSD 6.2-STABLE #2: Sat Aug  4 14:53:21 MSD 
2007     root at host01:/usr/obj/usr/src/sys/HOST01  i386

$ dmesg -a | egrep "^usb|uhub|hci"
ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 5 
at device 11.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe02e000-0xfe02e0ff irq 
10 at device 11.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 8 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
uhub0: device problem (IOERROR), disabling port 3

$ usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), 
nVidia(0x0000), rev 1.00
 port 1 powered
<...>skip<...>
 port 8 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
nVidia(0x0000), rev 1.00
 port 1 powered
<...>skip<...>
 port 8 powered

#####################
###6.2-STABLE (host 2) device problem (IOERROR)
#####################
$ uname -a
FreeBSD inspirra.localdomain 6.2-STABLE FreeBSD 6.2-STABLE #1: Fri Aug  
3 13:24:00 MSD 2007     
root at inspirra.localdomain:/SHARED/obj.inspirra/usr/src/sys/INSPIRRA  i386

$ dmesg -a | egrep "^usb|uhub|hci"
ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 21 
at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
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
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq 
22 at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: <NVIDIA nForce4 USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
uhub0: device problem (IOERROR), disabling port 4

$ usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), 
nVidia(0x0000), rev 1.00
 port 1 addr 2: full speed, power 100 mA, config 1, Jabra - 
A320s(0x2101), Broadcom Corp(0x0a5c), rev 1.00
 port 2 powered
<...>skip<....>
  port 10 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
nVidia(0x0000), rev 1.00
 port 1 powered
<...>skip<....>
 port 10 powered


#####################
### 7.0-CURRENT (host 1) device is defined without problems.
#####################
FreeBSD host01.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Jul 
26 07:45:03 MSD 2007     
root at host01.localdomain:/usr/obj/usr/src/sys/GENERIC  i386

$ dmesg -a | egrep "^usb|uhub|hci"
ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 21 
at device 11.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe02e000-0xfe02e0ff irq 
22 at device 11.1 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb1: EHCI version 1.0
usb1: companion controller, 8 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1

$ usbdevs -v
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 powered
 port 3 addr 2: full speed, self powered, config 1, product 
0x500b(0x500b), vendor 0x04e8(0x04e8), rev 1.00
 port 4 powered
<...>skip<...>
 port 8 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
nVidia(0x0000), rev 1.00
 port 1 powered
<...>skip<...>
 port 8 powered




More information about the freebsd-usb mailing list