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,

=20

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?=20

 =20

parent_dev=3D0xffffff0004208300, bus=3D0xffffff8001053c90, =
parent_hub=3D0,
depth=3D0, port_index=3D0, port_no=3D1, speed=3D3, usb_mode=3D0\r\r\n

parent_dev=3D0xffffff0004233400, bus=3D0xffffff800105cc90, =
parent_hub=3D0,
depth=3D0, port_index=3D0, port_no=3D1, speed=3D3, usb_mode=3D0\r\r\n

adding unit addr=3D1, rev=3D200, class=3D9, subclass=3D0, protocol=3D1,
maxpacket=3D64, len=3D8, speed=3D3\r\r\n

setting config 0\r\r\n

new dev (addr 1), udev=3D0xffffff00041b1000, parent_hub=3D0\r\r\n

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

usb_probe_and_attach: enter\r\r\n

iclass=3D9/0/0 iindex=3D0/0\r\r\n

adding unit addr=3D1, rev=3D200, class=3D9, subclass=3D0, protocol=3D1,
maxpacket=3D64, len=3D8, speed=3D3\r\r\n

setting config 0\r\r\n

new dev (addr 1), udev=3D0xffffff00020f9800, parent_hub=3D0\r\r\n

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

usb_probe_and_attach: enter\r\r\n

iclass=3D9/0/0 iindex=3D0/0\r\r\n

parent_dev=3D0xffffff0004332100, bus=3D0xffffff800105cc90,
parent_hub=3D0xffffff00020f9800, depth=3D1, port_index=3D0, port_no=3D1,
speed=3D3, usb_mode=3D0\r\r\n

adding unit addr=3D2, rev=3D200, class=3D0, subclass=3D0, protocol=3D0,
maxpacket=3D64, len=3D8, speed=3D3\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=3D0xffffff0004357800,
parent_hub=3D0xffffff00020f9800\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

=20

=20

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

=20

Thanks,

Vishal




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