From owner-freebsd-usb@FreeBSD.ORG Thu Nov 10 04:36:58 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23AAB1065672; Thu, 10 Nov 2011 04:36:58 +0000 (UTC) (envelope-from Vishal.Shah@netapp.com) Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by mx1.freebsd.org (Postfix) with ESMTP id EEA9D8FC19; Thu, 10 Nov 2011 04:36:57 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.69,486,1315206000"; d="scan'208,217";a="596922951" Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 09 Nov 2011 20:08:33 -0800 Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id pAA48Wqh002753; Wed, 9 Nov 2011 20:08:33 -0800 (PST) Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 9 Nov 2011 20:08:32 -0800 Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 9 Nov 2011 23:08:31 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 9 Nov 2011 23:08:30 -0500 Message-ID: <86FB7D63AF95574BB762C0C3E1F269150F8F50A5@RTPMVEXC1-PRD.hq.netapp.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: usb_alloc_device: Failure selecting configuration index 0:USB_ERR_TIMEOUT, port 1, addr 2 (ignored) Thread-Index: AcyfXlZoLDuEIsdmTpqdab+Ntu+3BQ== From: "Shah, Vishal" To: , X-OriginalArrivalTime: 10 Nov 2011 04:08:31.0740 (UTC) FILETIME=[689773C0:01CC9F5E] Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Ranaweera, Samantha" Subject: usb_alloc_device: Failure selecting configuration index 0:USB_ERR_TIMEOUT, port 1, addr 2 (ignored) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 04:36:58 -0000 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