From owner-freebsd-sparc64@FreeBSD.ORG Fri Jul 17 08:59:58 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03161106566B for ; Fri, 17 Jul 2009 08:59:58 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 8B70A8FC23 for ; Fri, 17 Jul 2009 08:59:57 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=3W9nIpSlnLoA:10 a=gg2W7PyvkLb8p4ie143lBA==:17 a=eVUyA3bpAAAA:8 a=fJFmLXhJA6RNX171i_AA:9 a=GZnngLOLv9guhflAtEYA:7 a=t9KL1khgfv0v8QhGYi9wrmdd8ToA:4 Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1108040366; Fri, 17 Jul 2009 09:59:54 +0200 From: Hans Petter Selasky To: freebsd-sparc64@freebsd.org Date: Fri, 17 Jul 2009 09:59:38 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <4A444374.3090008@apz.fi> <200906301037.40138.hselasky@c2i.net> <4A4A5208.9020307@apz.fi> In-Reply-To: <4A4A5208.9020307@apz.fi> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200907170959.39640.hselasky@c2i.net> Cc: Ari =?iso-8859-1?q?Sovij=E4rvi?= Subject: Re: "cg 0: bad magic number" with umass X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2009 08:59:58 -0000 On Tuesday 30 June 2009 19:57:28 Ari Sovij=E4rvi wrote: > Hans Petter Selasky wrote: > > Could you show the dmesg of the USB controller? At which bus is it > > connected? Nexus? There might be bugs in the actual USB device/host > > hardware. > > Here's all I could find of the USB controller from the dmesg's output. > > ohci0: mem 0x1000000-0x1000fff > at device 10.0 on pci0 > ohci0: [GIANT-LOCKED] > ohci0: [ITHREAD] > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > > If you need to see anything else from the dmesg, here's the full output: > http://pastebin.ca/1479774 > > The USB-enclosure I used was LaCie's "design by porsche" with 1 terabyte > Seagate disk. > > > Are you using 8-current ? > > No, 7.2. Hi, If you do a simple test on the disk: dd if=3D/dev/urandom of=3Dtest.img bs=3D65536 count=3D16 cat test.img > /dev/daX dd if=3D/dev/daX of=3Dtest_rb.img bs=3D65536 count=3D16 diff test.img test_rb.img The only problem I can see is that there is something wrong with the cache= =20 invalidate/flush instruction wrappers on the sparc. If you need, umass debugging: sysctl hw.usb.umass.debug=3D-1 =2D-HPS