From owner-freebsd-usb@FreeBSD.ORG Sun Dec 12 12:17:03 2010 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 2AF8B106566C for ; Sun, 12 Dec 2010 12:17:03 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpb-ews01.kpnxchange.com (cpsmtpb-ews01.kpnxchange.com [213.75.39.4]) by mx1.freebsd.org (Postfix) with ESMTP id A5C6D8FC08 for ; Sun, 12 Dec 2010 12:17:01 +0000 (UTC) Received: from cpbrm-ews09.kpnxchange.com ([10.94.84.140]) by cpsmtpb-ews01.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 12 Dec 2010 13:17:01 +0100 Received: from CPSMTPM-cmt107.kpnxchange.com ([195.121.3.23]) by cpbrm-ews09.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 12 Dec 2010 13:17:00 +0100 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by CPSMTPM-cmt107.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Sun, 12 Dec 2010 13:17:00 +0100 Received: from hillary.van-laarhoven.org (Hillary.van-laarhoven.org [10.66.0.100]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by uitsmijter.van-laarhoven.org (Postfix) with ESMTPSA id 2E2D64567; Sun, 12 Dec 2010 13:16:59 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Nick Hibma In-Reply-To: Date: Sun, 12 Dec 2010 13:16:59 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <52B4841B-A79C-4E40-A42A-E17A3F44E778@van-laarhoven.org> References: <201012101915.40878.hselasky@c2i.net> <201012111103.09422.hselasky@c2i.net> <21DC55BC-CC3B-48EF-8C9A-C29674CD38E7@van-laarhoven.org> To: Oleg Nauman X-Mailer: Apple Mail (2.1082) X-OriginalArrivalTime: 12 Dec 2010 12:17:00.0629 (UTC) FILETIME=[7A7E4050:01CB99F6] X-RcptDomain: freebsd.org Cc: freebsd-usb@freebsd.org Subject: Re: USB related panic on 8.2-PRERELEASE 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: Sun, 12 Dec 2010 12:17:03 -0000 > It is derived error I think > When it attaches finally, it report no errors at all: Whatever it is, the quirk should resolve it. MAX LUN is not necessary = per se I think. > Dec 12 10:38:36 rainhaven kernel: ugen5.2: at usbus5 > Dec 12 10:38:36 rainhaven kernel: umodem0: , rev 2.00/1.00, addr 2> on usbus5 > Dec 12 10:38:36 rainhaven kernel: umodem0: data interface 1, has CM = over data, h > as break > Dec 12 10:38:36 rainhaven kernel: umass0: rev 2.00/1.00, addr 2> on usbus5 > Dec 12 10:38:37 rainhaven root: /usr/local/etc/rc.d/webcamd: WARNING: = failed to > start webcamd > Dec 12 10:38:37 rainhaven kernel: da0 at umass-sim0 bus 0 scbus2 = target 0 lun 0 > Dec 12 10:38:37 rainhaven kernel: da0: > Removable Direct Access SCSI-0 device > Dec 12 10:38:37 rainhaven kernel: > Dec 12 10:38:37 rainhaven kernel: da0: 40.000MB/s transfers > Dec 12 10:38:37 rainhaven kernel: da0: 952MB (1950720 512 byte > sectors: 64H 32S/T 952C) > Dec 12 10:38:37 rainhaven root: Unknown USB device: vendor 0x106c > product 0x3711 bus uhub5 This is a bogus devd entry that is confusing. I will remove that remark > Dec 12 10:38:37 rainhaven kernel: GEOM: da0: partition 1 does not > start on a track boundary. > Dec 12 10:38:37 rainhaven kernel: GEOM: da0: partition 1 does not end > on a track boundary. GEOM finds it. So it works. >> You can quirk that: >>=20 >> While the device is attached use the following command: >>=20 >> usbconfig -d ugenX.Y add_quirk UQ_MSC_NO_GETMAXLUN >=20 > I was trying that but it not helps. Another question that it is very > tricky because USB subsystem probes to (re)attach modem too quickly so > usbconfig reports "Device not configured" or "No device match or lack > of permissions". > I will recompile the kernel with USB_DEBUG option enabled and provide > you with some additional info. >=20 > Thank you for our help. Compile your kernel without usb and load it as a module, or at least = load umass as a module. Without umass the device should stay and you can add the quirk, then = load umass and try again. Nick=