Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2015 13:21:24 -0400
From:      Adrian Chadd <adrian@freebsd.org>
To:        ticso@cicely.de
Cc:        Bernd Walter <ticso@cicely7.cicely.de>,  "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>, Ian Lepore <ian@freebsd.org>, Hans Petter Selasky <hselasky@freebsd.org>
Subject:   Re: also USB problems (was: TP-Link WDR-4300)
Message-ID:  <CAJ-Vmo=g%2Bi3vFPG5n9Qro9O_ozKnE3z5FzLhFWmZc5PXRK6nEQ@mail.gmail.com>
In-Reply-To: <20150620165536.GB41261@cicely7.cicely.de>
References:  <20150616175831.GD14540@cicely7.cicely.de> <CAJ-VmokwAVx1VQ2%2BDjrRb86Fkuf-K8%2B3jChS=LoCu7C=h=vxRg@mail.gmail.com> <20150619202622.GC34133@cicely7.cicely.de> <20150619210930.GD34133@cicely7.cicely.de> <20150619212042.GE34133@cicely7.cicely.de> <1434749655.1415.105.camel@freebsd.org> <20150619225933.GF34133@cicely7.cicely.de> <CAJ-VmokMs7rW5f5YUEr8=YxgWGJ0E-i8UfE%2BXDVDemJm_GjyqA@mail.gmail.com> <20150620142830.GA41261@cicely7.cicely.de> <CAJ-Vmo=q1HXD1_iguR5RvWwE_HKG_gK5zWQpcjMwxYrgucpBKg@mail.gmail.com> <20150620165536.GB41261@cicely7.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

You typically need an external power supply to drive high current
things from these devices.

Try connecting them via a powered hub and see what happens.



-adrian


On 20 June 2015 at 12:55, Bernd Walter <ticso@cicely7.cicely.de> wrote:
> Similar to the Carambola 2 and the Dragino the WDR-4300 has problems
> with umass devices.
> I can't say if this is just with the 2 Atheros chips, or mips in
> general, since I don't have any other mips based devices to test,
> but there is a problem.
>
> This was with a noname USB flash device:
> root@:/ # pkg
> The package management tool is not yet installed on your system.
> Do you want to fetch and install it now? [y/N]: y
> Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:mips/latest, please wait...
> Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
> (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 0a 78 00 00 00 80 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
> ugen0.3: <vendor 0x090c> at usbus0 (disconnected)
> umass0: at uhub1, port 2, addr 3 (disconnected)
> (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 0a 78 00 00 00 80 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
> (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 0a 78 00 00 00 80 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
> (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 0a 78 00 00 00 80 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
> (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 0a 78 00 00 00 80 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
> g_vfs_done():da0[WRITE(offset=351404032, length=131072)]error = 5
> g_vfs_done():da0[WRITE(offset=351535104, length=131072)]error = 5
> g_vfs_done():da0[WRITE(offset=351666176, length=131072)]error = 5
> g_vfs_done():da0[WRITE(offset=351797248, length=131072)]error = 5
> g_vfs_done():da0[WRITE(offset=1945305088, length=7168)]error = 5
> g_vfs_done():da0[WRITE(offset=351272960, length=131072)]error = 5
> da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
> da0: <  > s/n 10112558007664 detached
> g_vfs_done():da0[WRITE(offset=1945305088, length=7168)]error = 6
> g_vfs_done():da0[READ(offset=61530112, length=8192)]error = 6
> g_vfs_done():da0[READ(offset=123035648, length=8192)]error = 6
> g_vfs_done():da0[READ(offset=153788416, length=8192)]error = 6
> g_vfs_done():da0[READ(offset=184541184, length=8192)]error = 6
> g_vfs_done():da0[READ(offset=246046720, length=8192)]error = 6
> g_vfs_done():da0[READ(offset=276799488, length=8192)]error = 6
> g_vfs_done():da0[WRITE(offset=1945305088, length=8192)]error = 6
> g_vfs_done():da0[WRITE(offset=1945313280, length=2048)]error = 6
> g_vfs_done():da0[WRITE(offset=3178496, length=8192)]error = 6
> g_vfs_done():da0[WRITE(offset=1945313280, length=2048)]error = 6
> g_vfs_done():da0[WRITE(offset=3178496, length=8192)]error = 6
> g_vfs_done():da0[WRITE(offset=1945313280, length=2048)]error = 6
> g_vfs_done():da0[WRITE(offset=3178496, length=8192)]error = 6
> (da0:umass-sim0:0:0:0): Periph destroyed
> vnode_pager_generic_getpages_done: I/O read error 5
> vm_fault: pager read error, pid 1158 (pkg-static)
> Device da0 went missing before all of the data could be written to it; expect data loss.
>
> Well Ok, it was an unbranded device.
>
> Next I'd tried an Intenso harddrive.
> It took a bit longer, but same symptoms:
> root@:~ # pkg install perl5
> Updating FreeBSD repository catalogue...
> Fetching meta.txz: 100%    944 B   0.9kB/s    00:01
> Fetching packagesite.txz: 100%    3 MiB   1.1MB/s    00:03
> Processing entries: 100%
> FreeBSD repository update completed. 15578 packages processed.
> Updating database digests format: 100%
> The following 1 package(s) will be affected (of 0 checked):
>
> New packages to be INSTALLED:
>         perl5: 5.20.2_4
>
> The process will require 44 MiB more space.
> 13 MiB to be downloaded.
>
> Proceed with this action? [y/N]: y
> Fetching perl5-5.20.2_4.txz: 100%   13 MiB   1.1MB/s    00:12
> Checking integrity... done (0 conflicting)
> [1/1] Installing perl5-5.20.2_4...
> [1/1] Extracting perl5-5.20.2_4:  72%(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 0b b9 30 00 00 80 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 0b b9 30 00 00 80 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 0b b9 30 00 00 80 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
> uhub1: at uhub0, port 1, addr 2 (disconnected)
> ugen0.3: <Intenso> at usbus0 (disconnected)
> umass0: at uhub1, port 2, addr 3 (disconnected)
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 0b b9 30 00 00 80 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 0b b9 30 00 00 80 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
> g_vfs_done():da0[WRITE(offset=584433664, length=8192)]error = 5
> g_vfs_done():da0[WRITE(offset=584466432, length=8192)]error = 5
> g_vfs_done():da0[WRITE(offset=594893824, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594894848, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594895872, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594896896, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594897920, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594898944, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594899968, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594900992, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594902016, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594903040, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594904064, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594905088, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594906112, length=1024)]error = 5
> g_vfs_done():da0[WRITE(offset=594907136, length=1024)]error = 5
> g_vfs_done():da0[READ(offset=110219264, length=16384)]error = 5
> g_vfs_done():da0[READ(offset=223870976, length=8192)]error = 5
> g_vfs_done():da0[READ(offset=393306112, length=131072)]error = 5
>
> --
> B.Walter <bernd@bwct.de> http://www.bwct.de
> Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=g%2Bi3vFPG5n9Qro9O_ozKnE3z5FzLhFWmZc5PXRK6nEQ>