Re: Shark: Data abort booting from disk

Ignatios Souvatzis <[email protected]> Fri, 26 Apr 2002 12:27:21 +0200
Newsgroups gmane.os.netbsd.ports.arm32
Message-ID <[email protected]>
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=/dev/zero of=/dev/rwd0a bs=8192 count=1
> 
> 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=0"  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/rwd0c,
not a.

Regards,
	Ignatios
signature.asc (application/pgp-signature, 462 B)
-----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-----