Date: Fri, 7 Aug 2009 08:35:46 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Lucius Windschuh <lwindschuh@googlemail.com> Cc: freebsd-usb@freebsd.org Subject: Re: reattach 3g0 device: could not allocate new device Message-ID: <200908070835.47320.hselasky@c2i.net> In-Reply-To: <90a5caac0908061438n7afa69eai323164fd51b55122@mail.gmail.com> References: <89dbfdc30902231031j4407614vdce09e8e58cdc346@mail.gmail.com> <200908061546.38885.hselasky@c2i.net> <90a5caac0908061438n7afa69eai323164fd51b55122@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 06 August 2009 23:38:07 Lucius Windschuh wrote:
> 2009/8/6 Hans Petter Selasky <hselasky@c2i.net>:
> > If you kldload u3g after plugging the device? Any change?
>
> (u3g unloaded)
> (plug in UMTS dongle)
> dmesg:
> (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 51 fc 0 0 1 0
> (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
> (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition
> (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0
> (cd0:umass-sim0:0:0:0): No additional sense information
> (cd0:umass-sim0:0:0:0): Retries Exhausted
> ... (block is printed repeatedly)
> (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
>
> $ kldload u3g
> (nothing happens)
> $ camcontrol eject cd0
> ugen0.3: <Novatel Wireless> at usbus0 (disconnected)
> umass0: at uhub0, port 2, addr 3 (disconnected)
> (cd0:umass-sim0:0:0:0): lost device
> (cd0:umass-sim0:0:0:0): removing device entry
> ugen0.3: <Novatel Wireless> at usbus0
> u3g0: <Data Interface> on usbus0
> u3g0: Found 2 ports.
>
> This works. Strange, but an interesting hint
Could you edit:
src/sys/dev/usb/usb_msctest.c
And add a pause("TEST", 2*hz) after "if (do_eject)" and before the eject
command ?
--HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908070835.47320.hselasky>
