Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2011 23:08:30 -0500
From:      "Shah, Vishal" <Vishal.Shah@netapp.com>
To:        <freebsd-usb@freebsd.org>, <hselasky@freebsd.org>
Cc:        "Ranaweera, Samantha" <Samantha.Ranaweera@netapp.com>
Subject:   usb_alloc_device: Failure selecting configuration index 0:USB_ERR_TIMEOUT, port 1, addr 2 (ignored)
Message-ID:  <86FB7D63AF95574BB762C0C3E1F269150F8F50A5@RTPMVEXC1-PRD.hq.netapp.com>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86FB7D63AF95574BB762C0C3E1F269150F8F50A5>