From owner-freebsd-mips@FreeBSD.ORG Sat Jun 20 16:56:08 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 151689C9; Sat, 20 Jun 2015 16:56:08 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FCA919C; Sat, 20 Jun 2015 16:56:06 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id t5KGtmKv077999 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 20 Jun 2015 18:55:53 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id t5KGtbWn045904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 Jun 2015 18:55:37 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id t5KGtb3B042408; Sat, 20 Jun 2015 18:55:37 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id t5KGtb7o042407; Sat, 20 Jun 2015 18:55:37 +0200 (CEST) (envelope-from ticso) Date: Sat, 20 Jun 2015 18:55:37 +0200 From: Bernd Walter To: Adrian Chadd Cc: ticso@cicely.de, Bernd Walter , "freebsd-mips@freebsd.org" , Ian Lepore , hselasky@freebsd.org Subject: also USB problems (was: TP-Link WDR-4300) Message-ID: <20150620165536.GB41261@cicely7.cicely.de> Reply-To: ticso@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de 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 16:56:08 -0000 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.