Date: Sun, 12 Dec 2010 13:16:59 +0100 From: Nick Hibma <nick@van-laarhoven.org> To: Oleg Nauman <oleg.nauman@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: USB related panic on 8.2-PRERELEASE Message-ID: <52B4841B-A79C-4E40-A42A-E17A3F44E778@van-laarhoven.org> In-Reply-To: <AANLkTikoiqdpcKyXjrbNoVjk4a4jxpU1WMO2QJ0KJmDF@mail.gmail.com> References: <AANLkTi=OxWODd0cQR%2BjKz7=Hxpnd52=HfLbuarfAiqbW@mail.gmail.com> <201012101915.40878.hselasky@c2i.net> <AANLkTinjERZN7VtGYSEXFmeRwwJQ9tC6FEjRERMQJ=4W@mail.gmail.com> <201012111103.09422.hselasky@c2i.net> <21DC55BC-CC3B-48EF-8C9A-C29674CD38E7@van-laarhoven.org> <AANLkTikoiqdpcKyXjrbNoVjk4a4jxpU1WMO2QJ0KJmDF@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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: <PANTECH> at usbus5 > Dec 12 10:38:36 rainhaven kernel: umodem0: <PANTECH PANTECH USB MODEM, = class 2/0 > , 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: <PANTECH PANTECH USB MODEM, = class 2/0, > 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: <PANTECH Mass Storage 0001> > 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52B4841B-A79C-4E40-A42A-E17A3F44E778>