From owner-freebsd-mips@FreeBSD.ORG Sat Jun 20 17:21:26 2015 Return-Path: Delivered-To: freebsd-mips@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D65A3EB3; Sat, 20 Jun 2015 17:21:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B4F49D3; Sat, 20 Jun 2015 17:21:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbqq3 with SMTP id qq3so36909310igb.0; Sat, 20 Jun 2015 10:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ck8p5+E7tdAkYlKcPmnVcgdTbOPQwj0h8oW50PWUOYM=; b=F+9X+F5Jzi5A2AY74sccRWCt3xXOxZsav/GfiCCPOvpWhhpatjjpIZzr8x6/UPsbPQ HbGsY3V/yzu5Yi7IjWxKM/OfZwhFJzQC527r4crEwnhcGrVe1l6uCry5rmqvWCt10o+0 r95mIUF+U0z6Aaw5LqpCjcOKh+gKkL6hUmogf0PK2z4RkmsefON47FJg+DY6gva1Ffky n0DNkm/yJA5AYZvcVJKeKXoRvxJJ7rcot6XQNfUaxXttBkTo0dY0dcWUxMS7QnEsf2RY Moar64Z9Tr1x94/tM14y65V9OidgDFHPr4GNXX3Ox7RcQrso4BcQR7QEZH9ToomF0UiO 3Fpw== MIME-Version: 1.0 X-Received: by 10.107.155.74 with SMTP id d71mr29227788ioe.29.1434820884958; Sat, 20 Jun 2015 10:21:24 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sat, 20 Jun 2015 10:21:24 -0700 (PDT) In-Reply-To: <20150620165536.GB41261@cicely7.cicely.de> References: <20150616175831.GD14540@cicely7.cicely.de> <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> <20150620142830.GA41261@cicely7.cicely.de> <20150620165536.GB41261@cicely7.cicely.de> Date: Sat, 20 Jun 2015 13:21:24 -0400 X-Google-Sender-Auth: QGseaPJAstgfYbG2rwqCEnYGSp4 Message-ID: Subject: Re: also USB problems (was: TP-Link WDR-4300) From: Adrian Chadd To: ticso@cicely.de Cc: Bernd Walter , "freebsd-mips@freebsd.org" , Ian Lepore , Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2015 17:21:26 -0000 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 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: 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: 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 http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.