Subject: Re: SIMH runs NetBSD/vax
To: Lars Brinkhoff <lars.spam@nocrew.org>
From: Olaf Seibert <rhialto@polderland.nl>
List: port-vax
Date: 03/10/2002 19:24:55
On Thu 21 Feb 2002 at 14:47:25 +0100, Lars Brinkhoff wrote:
> 4. get
> 	ftp://ftp.netbsd.org/pub/NetBSD/iso/1.5.2/vaxcd.iso
> 
> 5. start the BIN/vax program
> 
> 6. type
>         load -r /path/to/simh/VAX/ka655.bin
> 	set rq0 ra92
> 	at rq0 netbsd.dsk
> 	set rq1 cdrom
> 	at rq1 /path/to/vaxcd.iso
> 	boot cpu

I did this a bit different, as I already had a cd image that was not
VAX-bootable, but did have the VAX install set on it. To boot from, I
got the NetBSD-1.5.2/vax/installation/bootfs/boot.fs (which was already
on the cd of course) and used that for rq1.

I tried to attach the cd directly to rq2 but that failed; I made an
image copy to disk and that worked.

To install I mounted that image but there was no /dev/ra0a node; I had
to makedev that. So I think I should have reversed my attachments: cd
image at rq1, boot.fs at rq2.

> 11. after considerable amount of time later, the installation is
>     finished, and you can reboot

Yes, it takes very, very long. My 3100/M10 seems a lot faster than my
433 MHz Alpha-based emulation.

I noticed that the kernel is busy-waiting when idle. Can this not be
improved? I am used to the Motorola 68000 which has a WAIT instruction
that halts the CPU until an interrupt occurs...

NetBSD/vax (Amnesiac) (console)

login: 
Simulation stopped, PC: 800007A5 (BEQL 80000797)
sim> s

Step expired, PC: 80000797 (TSTL 80157044)
sim> s

Step expired, PC: 8000079D (BEQL 8000079F)
sim> s

Step expired, PC: 8000079F (TSTL 801510A4)
sim> s

Step expired, PC: 800007A5 (BEQL 80000797)
sim>

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@polder --They that can give up essential 
\X/ land.nl --liberty to purchase a little temporary safety
--------------deserve neither liberty or safety. - Benjamin Franklin, 1759
---People will accept your ideas much more readily if you tell them that
---Benjamin Franklin said it first. - Unknown