Subject: Re: broken link in the NetBSD SIMH HOW-TO
To: Hubert Feyrer <hubert@feyrer.de>
From: Roger Ivie <rivie@ridgenet.net>
List: port-vax
Date: 03/12/2006 11:47:13
On Sun, 12 Mar 2006, Roger Ivie wrote:
> On Sun, 12 Mar 2006, Hubert Feyrer wrote:
>
>> Date: Sun, 12 Mar 2006 17:09:48 +0100 (CET)
>> From: Hubert Feyrer <hubert@feyrer.de>
>> To: Roger Ivie <rivie@ridgenet.net>
>> Cc: port-vax@NetBSD.org
>> Subject: Re: broken link in the NetBSD SIMH HOW-TO
>> 
>> On Sun, 12 Mar 2006, Roger Ivie wrote:
>>> Has someone succeeded in installing 3.0 on simh? When I tried, the
>>> kernel that was installed crashed during boot. Don't know if I'm unlucky
>>> or if 3.0 doesn't like simh.
>> 
>> I admit it's some time ago (before 3.0 came out) when I touched simh (and 
>> NetBSD/vax with it) last. Maybe post more information about the crash?
>
> Well, at this point I'd have to start over to get anything useful. Might
> take a day or two to get around to it.

Since my PC wasn't doing anything useful, I gave it a go. The halt
occurs if an RL02 is attached to a file; without the RL02, the system
comes up.

Here's the SIMH startup command file I'm using:

stench> cat netbsd.do
set cpu 64m
load -r ka655x.bin
set rl0 rl02
att rl0 rl02.dsk
set rq0 ra92
att rq0 dua0.dsk
set rq1 cdrom
att rq1 vaxcd-3.0.iso
boot cpu
stench>

Here's the console output:

stench> vax netbsd.do

VAX simulator V3.0-2
RL: creating new file
Overwrite last track? [N] y


KA655-B V5.3, VMB 2.7
Performing normal system tests.
40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25..
24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..
08..07..06..05..04..03..
Tests completed.
>>>b dua0
(BOOT/R5:0 DUA0



   2..
-DUA0
   1..0..


>> NetBSD/vax boot [1.11 Mon Dec 19 04:20:49 UTC 2005] <<
>> Press any key to abort autoboot 4
nfs_open: must mount first.
open netbsd.vax: Device not configured
> boot netbsd
1873964+163468 [180992+146985]=0x241ac0
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

NetBSD 3.0 (GENERIC) #0: Mon Dec 19 04:32:35 UTC 2005

builds@b4.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/vax/200512182024
Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/vax/compile/GENERIC

MicroVAX 3800/3900
cpu: KA655, CVAX microcode rev 6 Firmware rev 83
total memory = 65468 KB
avail memory = 60736 KB
mainbus0 (root)
ibus0 at mainbus0
uba0 at ibus0: Q22
dz1 at uba0 csr 160100 vec 304 ipl 15
mtc0 at uba0 csr 174500 vec 774 ipl 15
mscpbus0 at mtc0: version 5 model 3
mscpbus0: DMA burst size set to 4
mt0 at mscpbus0 drive 0: TK50
mt1 at mscpbus0 drive 1: TK50
mt2 at mscpbus0 drive 2: TK50
mt3 at mscpbus0 drive 3: TK50
uda0 at uba0 csr 172150 vec 770 ipl 15
mscpbus1 at uda0: version 3 model 3
mscpbus1: DMA burst size set to 4
ra0 at mscpbus1 drive 0: RA92
ra1 at mscpbus1 drive 1: RRD40
ra2 at mscpbus1 drive 2: RD54
rx0 at mscpbus1 drive 3: RX50
qt !-YM
qe0 at uba0 csr 174440 vec 764 ipl 15
qe0: delqa, hardware address 08:00:2b:aa:bb:cc
rlc0 at uba0 csr 174400 vec 160 ipl 15
rl0 at rlc0 drive 0: RL02, drive ready
rl1 at rlc0 drive 1: RL01, drive not loaded
rl2 at rlc0 drive 2: RL01, drive not loaded
rl3 at rlc0 drive 3: RL01, drive not loaded
Kernelized RAIDframe activated
ra0: size 2940951 sectors
ra1: no disk label: size 1331200 sectors
ra2: attempt to bring on line failed:  unit offline (not mounted) (code
3, subco
de 1)
rx0: attempt to bring on line failed:  unit offline (not mounted) (code
3, subco
de 1)
rl0: no disk label: size 20480 sectors
boot device: ra0
root on ra0a dumps on ra0b
root file system type: ffs
Fri Mar 11 03:42:35 PST 2005
swapctl: adding /dev/ra0b as swap device at priority 0
Checking for botched superblock upgrades: done.
Starting file system checks:
/dev/rra0a: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
/etc/rc: WARNING: $hostname not set.
IPv6 mode: host
Configuring network interfaces:.
Building databases...
Starting syslogd.
Checking for core dump...
savecore: no core dump
Mounting all filesystems...
Clearing /tmp.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting sendmail.

HALT instruction, PC: 8000FC59 (HALT)
sim>

I have tried this with the most recent version of simh; falling back to
3.0-2 was the first thing I tried when I ran into this halt.
-- 
roger ivie
rivie@ridgenet.net