usb_alloc_device: Failure selecting configuration index 0:USB_ERR_TIMEOUT, port 1, addr 2 (ignored)

Shah, Vishal Vishal.Shah at netapp.com
Thu Nov 10 04:36:58 UTC 2011


Hi All,

 

This is regarding the issue we are seeing in the FreeBSD 8 USB driver. I
have a USB flash device from which the system is booted. Occasionally
USB device fails to get initialized in the system. So I enabled
USB_DEBUG option and added few more printfs for debugging purpose. After
multiple iterations of rebooting I am able to reproduce the issue and I
see following messages on console while booting the system. Have any
similar issue been reported previously? 

  

parent_dev=0xffffff0004208300, bus=0xffffff8001053c90, parent_hub=0,
depth=0, port_index=0, port_no=1, speed=3, usb_mode=0\r\r\n

parent_dev=0xffffff0004233400, bus=0xffffff800105cc90, parent_hub=0,
depth=0, port_index=0, port_no=1, speed=3, usb_mode=0\r\r\n

adding unit addr=1, rev=200, class=9, subclass=0, protocol=1,
maxpacket=64, len=8, speed=3\r\r\n

setting config 0\r\r\n

new dev (addr 1), udev=0xffffff00041b1000, parent_hub=0\r\r\n

ugen0.1:  at usbus0\r\r\n

usb_probe_and_attach: enter\r\r\n

iclass=9/0/0 iindex=0/0\r\r\n

adding unit addr=1, rev=200, class=9, subclass=0, protocol=1,
maxpacket=64, len=8, speed=3\r\r\n

setting config 0\r\r\n

new dev (addr 1), udev=0xffffff00020f9800, parent_hub=0\r\r\n

ugen1.1:  at usbus1\r\r\n

usb_probe_and_attach: enter\r\r\n

iclass=9/0/0 iindex=0/0\r\r\n

parent_dev=0xffffff0004332100, bus=0xffffff800105cc90,
parent_hub=0xffffff00020f9800, depth=1, port_index=0, port_no=1,
speed=3, usb_mode=0\r\r\n

adding unit addr=2, rev=200, class=0, subclass=0, protocol=0,
maxpacket=64, len=8, speed=3\r\r\n

setting config 0\r\r\n

Root mount waiting for: usbus1\r\r\n

Root mount waiting for: usbus1\r\r\n

setting config 0\r\r\n

Root mount waiting for: usbus1\r\r\n

usb_alloc_device: Failure selecting configuration index
0:USB_ERR_TIMEOUT, port 1, addr 2 (ignored)\r\r\n

new dev (addr 2), udev=0xffffff0004357800,
parent_hub=0xffffff00020f9800\r\r\n

ugen1.2:  at usbus1\r\r\n

usb_probe_and_attach: enter\r\r\n

/dev/da0s1: No such file or directory\r\n

 

 

Can you please guide me in resolving this issue?  Thanks in advance.

 

Thanks,

Vishal



More information about the freebsd-usb mailing list