[Simh] NetBSD 5.1 on MicoVAX 3900 boot error

Peter Conrad Cumminsky petercon at SDF.ORG
Sat Apr 22 11:26:42 EDT 2017


On Fri, 21 Apr 2017, Mark Pizzolato wrote:

> Date: Fri, 21 Apr 2017 17:42:05 -0700
> From: Mark Pizzolato <Mark at infocomm.com>
> To: Anders Magnusson <ragge at ludd.ltu.se>,
>     Peter Conrad Cumminsky <petercon at SDF.ORG>
> Cc: "simh at trailing-edge.com" <simh at trailing-edge.com>
> Subject: RE: [Simh] NetBSD 5.1 on MicoVAX 3900 boot error
> 
> On Friday, April 21, 2017 at 10:57 AM, Anders Magnusson wrote:
>> Den 2017-04-21 kl. 19:14, skrev Mark Pizzolato:
>>>
>>> OK.  So, the difference in boot output on the simh v3.x version is:
>>>
>>>          rx0 at mscpbus1 drive 3: RX50
>>>          qe0 at uba0 csr 174440 vec 764 ipl 17: deqna, hardware address
>> 08:00:2b:23:52:2f
>>>
>>> while on the failing simh v4.x version it is:
>>>
>>>          rx0 at mscpbus1 drive 3: RX50
>>>          qt0 at uba0 csr 174440 vec 764 ipl 17panic: Segv in kernel mode: pc
>> 801feeb5 addr 1c
>>>          Stopped in pid 0.1 (system) at  netbsd:upcallret:       function
>> "upcallret()", e...
>>>
>>> As it turns out, on both versions of simh, the XQ device defaults to
>> emulating a DELQA-PLUS
>>> (aka DELQA-T).  Some changes were made in the XQ device simulation over
>> time which now
>>> allows the NetBSD driver to detect the device as an DELQA-T instead of
>> merely a DEQNA and
>>> it now is using the qt driver instead of the qe driver.  The NetBSD qt driver
>> seems to have
>>> some sort of bug and/or incompatibility with the DELQA-T device simulation
>> which is
>>> demonstrated as the crash you see.
>>>
>> Note that the delqa-t driver comes from 2.11BSD.  If it fails with
>> NetBSD but not 2BSD I may have
>> introduced some bug when porting it over.  It do work very well on real
>> hardware though.
>
> That is why I asked about what driver ends up getting used in later NetBSD versions.
> If it is the qt driver, then I'm not worried about fixing anything.  If it is not the qt
> driver, then there is something to fix to get the device probe happy...
>
> - Mark
>
>

OK, here's my init file for NetBSD 6.1.5 (SET XQ TYPE=DELQA commented 
out):

.....................................
set cpu 256M
set cpu idle=netbsd
at nvr vax.nvr

set rq0 rauser=5000
at rq0 netbsd.dsk

; SET XQ TYPE=DELQA
; at xq nat:tcp=2222:10.0.2.15:22
; set console telnet=2223

boot cpu
........................................

and here's the output from the boot:

...................................................

F:\SIMH\swkit\DEC\VAX\NetBSD-6.1.5>..\..\..\..\bin\vax.exe netbsd-boot

MicroVAX 3900 simulator V4.0-0 Beta        git commit id: bce72b2b
NVR: buffering file in memory
Loading boot code from internal ka655x.bin


KA655X-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.
>>>boot dua0
(BOOT/R5:0 DUA0



   2..
-DUA0
   1..0..


>> NetBSD/vax boot [1.11] <<
>> Press any key to abort autoboot 0
nfs_open: must mount first.
open netbsd.vax: Device not configured
> boot netbsd
2591168+174136 [211456+201165]=0x3081e8
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012
     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 6.1.5 (GENERIC)
MicroVAX 3800/3900
total memory = 255 MB
avail memory = 243 MB
mainbus0 (root)
cpu0 at mainbus0: KA655, CVAX microcode rev 6 Firmware rev 83
lance at mainbus0 not configured
uba0 at mainbus0: Q22
dz1 at uba0 csr 160100 vec 304 ipl 17
mtc0 at uba0 csr 174500 vec 774 ipl 17
mscpbus0 at mtc0: version 5 model 3
mscpbus0: DMA burst size set to 4
uda0 at uba0 csr 172150 vec 770 ipl 17
mscpbus1 at uda0: version 3 model 3
mscpbus1: DMA burst size set to 4
qt0 at uba0 csr 174440 vec 764 ipl 17
qt0: delqa-plus in Turbo mode, hardware address 08:00:2b:d3:52:d9
rlc0 at uba0 csr 174400 vec 160 ipl 17
rl0 at rlc0 drive 0: RL01, drive not loaded
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
ts0 at uba0 csr 172520 vec 224 ipl 17: TS11
ts0: rev 0, extended features disabled, transport offline
mt0 at mscpbus0 drive 0: TK50
mt1 at mscpbus0 drive 1: TK50
mt2 at mscpbus0 drive 2: TK50
mt3 at mscpbus0 drive 3: TK50
ra0 at mscpbus1 drive 0: RA82
ra1 at mscpbus1 drive 1: RD54
ra2 at mscpbus1 drive 2: RD54
rx0 at mscpbus1 drive 3: RX50
ra0: size 9770000 sectors
ra1: attempt to bring on line failed:  unit offline (not mounted) (code 3, 
subcode 1)
ra2: attempt to bring on line failed:  unit offline (not mounted) (code 3, 
subcode 1)
rx0: attempt to bring on line failed:  unit offline (not mounted) (code 3, 
subcode 1)
boot device: ra0
root on ra0a dumps on ra0b
root file system type: ffs
WARNING: clock lost 160 days
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
Mon Sep 29 19:37:07 UTC 2014
Starting root file system check:
/dev/rra0a: file system is clean; not checking
swapctl: setting dump device to /dev/ra0b
swapctl: adding /dev/ra0b as swap device at priority 0
Starting file system checks:
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
/etc/rc: WARNING: $hostname not set.
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Building databases: dev, utmp, utmpx.
Starting syslogd.
Mounting all filesystems...
Clearing temporary files.
Updating fontconfig cache: done.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
swapctl: setting dump device to /dev/ra0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
postfix: rebuilding /etc/mail/aliases (missing /etc/mail/aliases.db)
newaliases: warning: valid_hostname: empty hostname
newaliases: fatal: unable to use my own hostname
Sep 29 19:37:40  postfix/sendmail[312]: fatal: unable to use my own 
hostname
/etc/rc.d/postfix exited with code 1
Starting inetd.
Starting cron.
The following components reported failures:
     /etc/rc.d/postfix
See /var/run/rc.log for more information.
Mon Sep 29 19:37:42 UTC 2014

NetBSD/vax (Amnesiac) (console)

login: root
Password:
Sep 29 19:38:26  login: ROOT LOGIN (root) on tty console
Last login: Mon Sep 29 19:36:22 2014 on console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012
     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 6.1.5 (GENERIC)

Welcome to NetBSD!

Terminal type? [unknown]
.....................................................

Hope this helps.

--
Peter Conrad Cumminsky - petercon at sdf.lonestar.org
My Freeshell Web - http://petercon.freeshell.org/
My Gopher - gopher://sdf.lonestar.org/users/petercon
SDF Public Access UNIX System - http://sdf.lonestar.org


More information about the Simh mailing list