Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2010 11:03:48 +0200
From:      Oleg Nauman <oleg.nauman@gmail.com>
To:        Nick Hibma <nick@van-laarhoven.org>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB related panic on 8.2-PRERELEASE
Message-ID:  <AANLkTikoiqdpcKyXjrbNoVjk4a4jxpU1WMO2QJ0KJmDF@mail.gmail.com>
In-Reply-To: <21DC55BC-CC3B-48EF-8C9A-C29674CD38E7@van-laarhoven.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 12, 2010 at 12:48 AM, Nick Hibma <nick@van-laarhoven.org> wrote=
:
>>> But we will continue the saga about this strange USB modem, if no
>>> objections from your side :)
>>> Is it possible to apply some quirk or some another workaround which
>>> will solve the issue with endless USB_ERR_STALLED reported while it
>>> trying to attach its builtin cardreader?
>>
>> Nick, do you have any hints on this?
>
> It says in the messages log (a view messages ago) that it does not suppor=
t GET MAX LUN.

 It is derived error I think
When it attaches finally, it report no errors at all:

Dec 12 10:38:36 rainhaven kernel: ugen5.2: <PANTECH> at usbus5
Dec 12 10:38:36 rainhaven kernel: umodem0: <PANTECH PANTECH USB MODEM, clas=
s 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 da=
ta, 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: faile=
d to
start webcamd
Dec 12 10:38:37 rainhaven kernel: da0 at umass-sim0 bus 0 scbus2 target 0 l=
un 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
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.


>You can quirk that:
>
> While the device is attached use the following command:
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0usbconfig -d ugenX.Y add_quirk UQ_MSC_NO_GETMA=
XLUN

 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.

Thank you for our help.

>
> where ugenX.Y is the ugen device for the device that causes you trouble. =
usbconfig will add a quirk using the PID/VID/RID for the device it finds at=
 that location.
>
> If that works, let me know, and I will commit the quirk into the quirk ta=
ble.
>
> Nick

 freebsd-current@ removed from CC list



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