Subject: Strange installation problems, 1.4/1.4.1 on A1200
To: None <port-amiga@netbsd.org>
From: Jan Andres <jan@dinet.de>
List: port-amiga
Date: 12/20/1999 19:55:58
Hi,

I posted this to comp.unix.bsd.netbsd.misc some time ago, and nobody
there could really help me. So I've finally decided to get on your
nerves with it. :-)

I'm not a BSD newbie, but this is really getting me stuck.

I have an Amiga 1200 with an 68LC030 (I think it is LC, with MMU but no
FPU) and 16 MB of RAM on a Blizzard 1230-IV card, and a harddisk at
the internal IDE controller.

I've set up the RDB disklabel with HDToolBox under AmigaOS, and in the
current configuration, an OpenBSD installation works just fine. The
disklabel looks like this:

Partition DH0,  size ~ 80Megs, AmigaOS partition
Partition BSD0, size ~800Megs, Net/OpenBSD filesystem
Partition BSD1, size ~120Megs, Net/OpenBSD swap

Now I tried to install NetBSD-1.4.1 on the machine. I put all the
binary sets I wanted to install in a directory on the small AmigaOS
partition, dd'ed the miniroot to the swap partition and made the
kernel boot it.

The installation script lets me well configure the root and swap
partition, but when it comes to actually creating the filesystem on
the big partition (BSD0), I get the following messages from newfs:

---
/dev/rsd0a: 1687392 sectors in 1674 cylinders of 16 tracks, 63 sectors
uid0 on /: file system full

/: write failed, file system is full
Illegal instruction
---

After that, the installation script continues as if newfs had worked,
but of course crashes when it tries to mount the file system.

"/" would normally refer to the miniroot filesystem in this
environment, but I looked after the failure and there were still about
700k free.

The "Illegal instruction" makes me believe newfs has accidently been
compiled with 68040 optimizations so it won't run my machine. The
floating point emulation is enabled as I see from /kern/msgbuf.

I also tried the miniroot of 1.4, but with exactly the same error.

So I'm absolutely clueless now, and I'd appreciate any help about
this. Thanks in advance.

-- 
Jan Andres                 jan@dinet.de                Ham radio: DH2JAN
             "Bell Labs Unix -- reach out and grep someone."