Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2009 09:59:38 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-sparc64@freebsd.org
Cc:        Ari =?iso-8859-1?q?Sovij=E4rvi?= <listat@apz.fi>
Subject:   Re: "cg 0: bad magic number" with umass
Message-ID:  <200907170959.39640.hselasky@c2i.net>
In-Reply-To: <4A4A5208.9020307@apz.fi>
References:  <4A444374.3090008@apz.fi> <200906301037.40138.hselasky@c2i.net> <4A4A5208.9020307@apz.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0x1000000-0x1000fff
> at device 10.0 on pci0
> ohci0: [GIANT-LOCKED]
> ohci0: [ITHREAD]
> usb0: OHCI version 1.0, legacy support
> usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: <AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907170959.39640.hselasky>