7-CURRENT does not probe USB device on Dell 2950

From: LI Xin <delphij_at_delphij.net>
Date: Wed, 14 Feb 2007 16:35:40 +0800
Hi,

It seems that latest 7-CURRENT has problem with Dell 2950's USB devices.
 I am not very familiar with the USB code, but it looks weird to have:

"usbd_new_device: adding unit addr=1, rev=00, class=0, subclass=0,
protocol=0, maxpacket=0, len=0, speed=2
usbd_new_device: illegal descriptor 0"

in the debug output.  Full log of what I got from the USB_DEBUG
(level=255) is:

[delphij_at_tango] /sys/dev/usb> dmesg | grep usb
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usbd_match
usbd_match
usb0: <UHCI (generic) USB controller> on uhci0
usbd_attach
usb0: USB revision 1.0
usbd_new_device bus=0xffffffff80e6e000 port=0 depth=0 speed=2
usbd_setup_pipe: dev=0xffffff012f30f700 iface=0 ep=0xffffff012f30f738
pipe=0xffffff012f30f708
usbd_new_device: setting device address=1
usbd_alloc_xfer() = 0xffffff012f002400
usbd_transfer: xfer=0xffffff012f002400, flags=2,
pipe=0xffffff012f30f800, running=0
usbd_dump_queue: pipe=0xffffff012f30f800
usb_insert_transfer: pipe=0xffffff012f30f800 running=0 timeout=5000
usb_transfer_complete: pipe=0xffffff012f30f800 xfer=0xffffff012f002400
status=0 actlen=0
usb_transfer_complete: repeat=0 new head=0
usbd_start_next: pipe=0xffffff012f30f800, xfer=0
usbd_free_xfer: 0xffffff012f002400
usbd_ar_pipe: pipe=0xffffff012f30f800
usbd_dump_queue: pipe=0xffffff012f30f800
usbd_setup_pipe: dev=0xffffff012f30f700 iface=0 ep=0xffffff012f30f738
pipe=0xffffff012f30f708
usbd_get_desc: type=1, index=0, len=8
usbd_alloc_xfer() = 0xffffff012f002400
usbd_transfer: xfer=0xffffff012f002400, flags=2,
pipe=0xffffff012f30f900, running=0
usbd_dump_queue: pipe=0xffffff012f30f900
usb_insert_transfer: pipe=0xffffff012f30f900 running=0 timeout=5000
usb_transfer_complete: pipe=0xffffff012f30f900 xfer=0xffffff012f002400
status=0 actlen=8
usb_transfer_complete: repeat=0 new head=0
usbd_start_next: pipe=0xffffff012f30f900, xfer=0
usbd_free_xfer: 0xffffff012f002400
usbd_new_device: adding unit addr=1, rev=00, class=0, subclass=0,
protocol=0, maxpacket=0, len=0, speed=2
usbd_new_device: illegal descriptor 0
usbd_remove_device: 0xffffff012f30f700
usbd_ar_pipe: pipe=0xffffff012f30f900
usbd_dump_queue: pipe=0xffffff012f30f900
usb0: root hub problem, error=4
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usbd_match
usbd_match
usb1: <UHCI (generic) USB controller> on uhci1
usbd_attach
usb1: USB revision 1.0
usbd_new_device bus=0xffffffff80e70000 port=0 depth=0 speed=2
usbd_setup_pipe: dev=0xffffff012e877c00 iface=0 ep=0xffffff012e877c38
pipe=0xffffff012e877c08
usbd_new_device: setting device address=1
usbd_alloc_xfer() = 0xffffff012f2ca400
usbd_transfer: xfer=0xffffff012f2ca400, flags=2,
pipe=0xffffff012e877e00, running=0
usbd_dump_queue: pipe=0xffffff012e877e00
usb_insert_transfer: pipe=0xffffff012e877e00 running=0 timeout=5000
usb_transfer_complete: pipe=0xffffff012e877e00 xfer=0xffffff012f2ca400
status=0 actlen=0
usb_transfer_complete: repeat=0 new head=0
usbd_start_next: pipe=0xffffff012e877e00, xfer=0
usbd_free_xfer: 0xffffff012f2ca400
usbd_ar_pipe: pipe=0xffffff012e877e00
usbd_dump_queue: pipe=0xffffff012e877e00
usbd_setup_pipe: dev=0xffffff012e877c00 iface=0 ep=0xffffff012e877c38
pipe=0xffffff012e877c08
usbd_get_desc: type=1, index=0, len=8
usbd_alloc_xfer() = 0xffffff012f2ca400
usbd_transfer: xfer=0xffffff012f2ca400, flags=2,
pipe=0xffffff0000e66900, running=0
usbd_dump_queue: pipe=0xffffff0000e66900
usb_insert_transfer: pipe=0xffffff0000e66900 running=0 timeout=5000
usb_transfer_complete: pipe=0xffffff0000e66900 xfer=0xffffff012f2ca400
status=0 actlen=8
usb_transfer_complete: repeat=0 new head=0
usbd_start_next: pipe=0xffffff0000e66900, xfer=0
usbd_free_xfer: 0xffffff012f2ca400
usbd_new_device: adding unit addr=1, rev=00, class=0, subclass=0,
protocol=0, maxpacket=0, len=0, speed=2
usbd_new_device: illegal descriptor 0
usbd_remove_device: 0xffffff012e877c00
usbd_ar_pipe: pipe=0xffffff0000e66900
usbd_dump_queue: pipe=0xffffff0000e66900
usb1: root hub problem, error=4
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=16
usb_block_allocmem: no free
usbd_match
usbd_match
usb2: <UHCI (generic) USB controller> on uhci2
usbd_attach
usb2: USB revision 1.0
usbd_new_device bus=0xffffffff80e72000 port=0 depth=0 speed=2
usbd_setup_pipe: dev=0xffffff012f30f400 iface=0 ep=0xffffff012f30f438
pipe=0xffffff012f30f408
usbd_new_device: setting device address=1
usbd_alloc_xfer() = 0xffffff012df95c00
usbd_transfer: xfer=0xffffff012df95c00, flags=2,
pipe=0xffffff012e877c00, running=0
usbd_dump_queue: pipe=0xffffff012e877c00
usb_insert_transfer: pipe=0xffffff012e877c00 running=0 timeout=5000
usb_transfer_complete: pipe=0xffffff012e877c00 xfer=0xffffff012df95c00
status=0 actlen=0
usb_transfer_complete: repeat=0 new head=0
usbd_start_next: pipe=0xffffff012e877c00, xfer=0
usbd_free_xfer: 0xffffff012df95c00
usbd_ar_pipe: pipe=0xffffff012e877c00
usbd_dump_queue: pipe=0xffffff012e877c00
usbd_setup_pipe: dev=0xffffff012f30f400 iface=0 ep=0xffffff012f30f438
pipe=0xffffff012f30f408
usbd_get_desc: type=1, index=0, len=8
usbd_alloc_xfer() = 0xffffff012df95c00
usbd_transfer: xfer=0xffffff012df95c00, flags=2,
pipe=0xffffff0000e66900, running=0
usbd_dump_queue: pipe=0xffffff0000e66900
usb_insert_transfer: pipe=0xffffff0000e66900 running=0 timeout=5000
usb_transfer_complete: pipe=0xffffff0000e66900 xfer=0xffffff012df95c00
status=0 actlen=8
usb_transfer_complete: repeat=0 new head=0
usbd_start_next: pipe=0xffffff0000e66900, xfer=0
usbd_free_xfer: 0xffffff012df95c00
usbd_new_device: adding unit addr=1, rev=00, class=0, subclass=0,
protocol=0, maxpacket=0, len=0, speed=2
usbd_new_device: illegal descriptor 0
usbd_remove_device: 0xffffff012f30f400
usbd_ar_pipe: pipe=0xffffff0000e66900
usbd_dump_queue: pipe=0xffffff0000e66900
usb2: root hub problem, error=4
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usb_allocmem: large alloc 4096
usb_block_allocmem: size=4096 align=4096
usb_block_allocmem: no free
usbd_match
usbd_match
usb3: <EHCI (generic) USB 2.0 controller> on ehci0
usbd_attach
usb3: USB revision 2.0
usbd_new_device bus=0xffffff0000e4d000 port=0 depth=0 speed=3
usbd_setup_pipe: dev=0xffffff012e877c00 iface=0 ep=0xffffff012e877c38
pipe=0xffffff012e877c08
usbd_new_device: setting device address=1
usbd_alloc_xfer() = 0xffffff012f474000
usbd_transfer: xfer=0xffffff012f474000, flags=2,
pipe=0xffffff012eb78e00, running=0
usbd_dump_queue: pipe=0xffffff012eb78e00
usb_insert_transfer: pipe=0xffffff012eb78e00 running=0 timeout=5000
usb_transfer_complete: pipe=0xffffff012eb78e00 xfer=0xffffff012f474000
status=0 actlen=0
usb_transfer_complete: repeat=0 new head=0
usbd_start_next: pipe=0xffffff012eb78e00, xfer=0
usbd_free_xfer: 0xffffff012f474000
usbd_ar_pipe: pipe=0xffffff012eb78e00
usbd_dump_queue: pipe=0xffffff012eb78e00
usbd_setup_pipe: dev=0xffffff012e877c00 iface=0 ep=0xffffff012e877c38
pipe=0xffffff012e877c08
usbd_get_desc: type=1, index=0, len=8
usbd_alloc_xfer() = 0xffffff012f474000
usbd_transfer: xfer=0xffffff012f474000, flags=2,
pipe=0xffffff012eb78d80, running=0
usbd_dump_queue: pipe=0xffffff012eb78d80
usb_insert_transfer: pipe=0xffffff012eb78d80 running=0 timeout=5000
usb_transfer_complete: pipe=0xffffff012eb78d80 xfer=0xffffff012f474000
status=0 actlen=8
usb_transfer_complete: repeat=0 new head=0
usbd_start_next: pipe=0xffffff012eb78d80, xfer=0
usbd_free_xfer: 0xffffff012f474000
usbd_new_device: adding unit addr=1, rev=00, class=0, subclass=0,
protocol=0, maxpacket=64, len=0, speed=3
usbd_new_device: illegal descriptor 0
usbd_remove_device: 0xffffff012e877c00
usbd_ar_pipe: pipe=0xffffff012eb78d80
usbd_dump_queue: pipe=0xffffff012eb78d80
usb3: root hub problem, error=4
usb_event_thread: start
usb_task_thread: start taskq usbtask-hc
usb_task_thread: start taskq usbtask-dr
usb_event_thread: start
usb_event_thread: start
usb_event_thread: start
usb_discover
usb_event_thread: exit
usb_discover
usb_event_thread: exit
usb_discover
usb_event_thread: exit
usb_discover
usb_event_thread: exit

Any clue?

Cheers,
-- 
Xin LI <delphij_at_delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


Received on Wed Feb 14 2007 - 07:35:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC