Subject: Re: Shark: Data abort booting from disk
To: None <port-arm32@netbsd.org>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: port-arm32
Date: 04/26/2002 12:27:21
--i9LlY+UWpKt15+FH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 25, 2002 at 09:01:09PM -0400, Henry C. Schmitt wrote:
> I keep getting a Data abort when trying to boot from the HD I installed in
> a Shark.  I think this is from the old junk in the first sectors of the
> disk.  Does this sound right?

This sounds like you booted a 1.5/1.5.1/1.5.2/1.5.3 arm32 GENERIC kernel on=
 a
Shark - this doesn't work. You need a shark kernel instead.

> I found an email in the archive which recommended the command:
> dd if=3D/dev/zero of=3D/dev/rwd0a bs=3D8192 count=3D1
>=20
> The problem is, when I try to do this I get a "read-only file system"
> error.  /dev/rwd0a is rw by root, and this error occurs in: 1) single user
> mode, 2) booting from the install kernel via the network, 3) after using
> "sysctl -w kern.securelevel=3D0"  I've run out of ideas on how to zero out
> this junk in the first sectors of the disk.  Can anyone help?

if you really want to erase the first sectors on the disk, you need /dev/rw=
d0c,
not a.

Regards,
	Ignatios

--i9LlY+UWpKt15+FH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBPMkrhjCn4om+4LhpAQHPtwf/b/VjKoTlhByjBzL23dnIw4uq4uIsINQc
t/4INRHVHFARgyIbrr16MXHzNr7PEgLI13puWioGCefK9FDuHY9xDStfWRKLCxg7
nzwCEzBhi2fbwuoL1Zo83lSW9cjDZXutR1YF0Zh/d/W7zLZ7TaTRvqF7GXeAmtgL
JoRTtEAp5Zwq967ot3YV8KvdWYe5mxZuA25Y+a6DvZX9LXkDRz+2siLPjFjpSqni
PjAiVlIafGcz4QyXeWs/tk4FXonCCjhUW6OywD/Ysp7TMz1IKYy5rSdkb2bRqZC6
EKqlUN/H8Lf6pIvCav+0wIKWnsv8I+qts4obGGZPNJ3eIifpBsTv4A==
=9NDp
-----END PGP SIGNATURE-----

--i9LlY+UWpKt15+FH--