Subject: Re: Booting CATS
To: None <shmit@kublai.com, port-arm32@netbsd.org>
From: Brian Cully <shmit@rcn.com>
List: port-arm32
Date: 01/18/1999 21:55:18
FWIW, I figured this out. When I clobbered the first few sectors of the
drive like this:
dd if=/dev/zero of=/dev/rwd0c bs=65536 count=1
it fixed the problem. I think this has to due with me having previously
installed an i386 disklabel on the drive, and the arm32 disklabel got
confused when it ran into it. I'll see if I can spend more time finding
the exact problem.
But anyway, yay!
On Thu, Jan 14, 1999 at 04:52:12PM -0500, Brian Cully wrote:
> I managed to get NetBSD to install on my CATS to-day through
> netbooting, but the kernel won't find the disklabel on the
> HD.
>
> Previously, I used NetBSD/i386 to disklabel the disk, but
> the Firmware on the CATS wouldn't find it, so after net-booting
> I re-labelled with this:
>
> [SNIP]
> # /dev/rwd0c:
> type: ST506
> disk: IBM-DTTA-350840
> label:
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 16383
> total sectors: 16514064
> rpm: 5400
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0 # milliseconds
> track-to-track seek: 0 # milliseconds
> drivedata: 0
>
> 8 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 132048 0 4.2BSD 1024 8192 16
> b: 524160 132048 swap
> c: 16514064 0 unused 0 0
> d: 16514064 0 unused 0 0
> e: 13757184 656208 4.2BSD 1024 8192
> f: 2100672 14413392 4.2BSD 1024 8192
> [SNIP]
>
> Now the Firmware will load the kernel, but when NetBSD tries to mount
> root, I get the message:
>
> [SNIP]
> wd0: no disk label
> no file system for wd0 (dev 0x1000)
> cannot mount root, error = 79
> root device (default wd0a):
> [SNIP]
>
> So, I'm guessing that the CATS Firmware wants the disklabel on sector 0,
> but NetBSD doesn't like it there.
>
> Anyone have any clues?
>
> --
> Brian Cully <shmit@rcn.com>
> ``I'm not surprised,'' said I. ``You created God in your own image,
> and when you found out he was no good you abolished him. It's quite a
> common form of psychological suicide.''
> -- Robertson Davies, Fifth Buisiness
--
Brian Cully <shmit@rcn.com>
``I'm not surprised,'' said I. ``You created God in your own image,
and when you found out he was no good you abolished him. It's quite a
common form of psychological suicide.''
-- Robertson Davies, Fifth Buisiness