[Simh] NetBSD Installation Woes

Jason Stevens jsteve at vaxenrule.com
Sat Sep 23 19:46:11 EDT 2006


The first thing I noticed is that NetBSD wants a real console to do the
install.  I think there is a console redirect like the dz lines but I forget
it off hand so I just used a machine with a real console support (OSX).  I
would image any Linux/Unix would do.  I have no idea why Microsoft still
doesn't support vt100 escape codes.  I suspect there is a way to boomerang
it through command.com & config.nt / ascii.sys but that sounds like work.

Anyways to the install:

I hate to say it but I used simh 3.6.1 and it worked fine. On my 1.2Ghz mac
mini it took around an hour to install a 'text' base.  I suspect if you are
having issues it may be the difference between ka655.bin & ka655x.bin.

Here is my transcript (WARNING LONG)

$ ./vax

VAX simulator V3.6-1
sim> load -r ../VAX/ka655x.bin
sim> set cpu 64m
sim> set rq0 ra92
sim> att rq0 netbsd.dsk
RQ: creating new file
sim> set rq1 cdrom
at rq1 /tmp/vaxcd-3.0.iso
sim> boot cpu


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.
>>>boot dua1:
(BOOT/R5:0 DUA1



  2..
-DUA1
  1..0..


>> NetBSD/vax boot [1.11 Mon Dec 19 04:20:49 UTC 2005] <<
>> Press any key to abort autoboot 0
getdisklabel: no disk label
nfs_open: must mount first.
2534184+69564=0x27bd20
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 (INSTALL) #0: Mon Dec 19 04:33:36 UTC 2005
 
builds at b4.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/vax/200512182024Z-ob
j/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/vax/compile/INSTALL

MicroVAX 3800/3900
cpu: KA655, CVAX microcode rev 6 Firmware rev 83
total memory = 65468 KB
avail memory = 60520 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
qe0 at uba0 csr 174440 vec 764 ipl 15
qe0: delqa, hardware address 08:00:2b:aa:bb:cc
md0: internal 1536 KB image area
boot device: ra1
root on md0a dumps on md0b
root file system type: ffs
Clock has lost 87 day(s) - CHECK AND RESET THE DATE.
erase ^?, werase ^W, kill ^U, intr ^C


On which disk do you want to install NetBSD?


                              +-----------------+
                              | Available disks |
                              |                 |
                              |>a: ra0          |
                              | b: ra1          |
                              +-----------------+
                                
                                
ra1: no disk label: size 1331200
ra2: attempt to bring on line failed:  unit offline (not mounted) (code 3,
subcode 1)         
              
              


Please enter a name for your NetBSD disk [RA92]:



Ok, we are now ready to install NetBSD on your hard disk (ra0).  Nothing has
been written yet.  This is your last chance to quit this process before
anything gets changed.

Shall we continue?


                                 +------------+
                                 | yes or no? |
                                 |            |
                                 | a: No      |
                                 |>b: Yes     |
                                 +------------+


     Status: Finished
    Command: disklabel -w -r -f /tmp/disktab ra0 'RA92'

----------------------------------------------------------------------------
----



     Status: Finished
    Command: /sbin/newfs -O 1 -b 8192 -f 1024  /dev/rra0a

----------------------------------------------------------------------------
----
/dev/rra0a: 256.2MB (524796 sectors) block size 8192, fragment size 1024
        using 6 cylinder groups of 42.71MB, 5467 blks, 10560 inodes.
super-block backups (for fsck -b #) at:
     32,  87504, 174976, 262448, 349920, 437392,



     Status: Finished
    Command: /sbin/newfs -O 1 -b 8192 -f 1024  /dev/rra0f

----------------------------------------------------------------------------
----
/dev/rra0f: 64.4MB (131910 sectors) block size 8192, fragment size 1024
        using 4 cylinder groups of 16.11MB, 2062 blks, 3968 inodes.
super-block backups (for fsck -b #) at:
    32, 33024, 66016, 99008,




     Status: Finished
    Command: /sbin/newfs -O 1 -b 8192 -f 1024  /dev/rra0d

----------------------------------------------------------------------------
----
/dev/rra0d: 512.0MB (1048644 sectors) block size 8192, fragment size 1024
        using 12 cylinder groups of 42.67MB, 5462 blks, 10560 inodes.
super-block backups (for fsck -b #) at:
     32,  87424, 174816, 262208, 349600, 436992, 524384, 611776, 699168,
786560,

873952, 961344,




     Status: Finished
    Command: /sbin/newfs -O 1 -b 8192 -f 1024  /dev/rra0e

----------------------------------------------------------------------------
----
/dev/rra0e: 128.4MB (262872 sectors) block size 8192, fragment size 1024
        using 4 cylinder groups of 32.09MB, 4108 blks, 7936 inodes.
super-block backups (for fsck -b #) at:
     32,  65760, 131488, 197216,




Installing boot blocks on ra0....




Okay, the first part of the procedure is finished.  Sysinst has written a
disklabel to the target disk, and newfs'ed and fsck'ed the new partitions
you
specified for the target disk.

The next step is to fetch and unpack the distribution filesets.

During the extraction process, what do you want to see as each file is
extracted?



                    +-------------------------------------+
                    | Select set extraction verbosity     |
                    |                                     |
                    |>a: Progress bar (recommended)       |
                    | b: Silent                           |
                    | c: Verbose file name listing (slow) |
                    +-------------------------------------+




Enter the CDROM device to be used and directory on the CDROM where the
distribution is located.
Remember, the directory should contain the .tgz files.

device:         ra1a
set directory:  /vax/binary/sets





                              +------------------+
                              | Change           |
                              |                  |
                              | a: Device        |
                              | b: Set directory |
                              |>c: Continue      |
                              +------------------+
                            
                            
                            
                            
                            
     Status: Finished
    Command: progress -zf /mnt2//vax/binary/sets/kern-GENERIC.tgz tar
--chroot -
xhepf -

----------------------------------------------------------------------------
----
100% |*************************************|  2220 KB   49.33 KB/s    00:00
ETA





     Status: Finished
    Command: progress -zf /mnt2//vax/binary/sets/base.tgz tar --chroot
-xhepf -

----------------------------------------------------------------------------
----
100% |*************************************| 57070 KB   37.75 KB/s  -
stalled -



     Status: Finished
    Command: progress -zf /mnt2//vax/binary/sets/etc.tgz tar --chroot -xhepf
-

----------------------------------------------------------------------------
----
100% |*************************************|   950 KB   43.31 KB/s    00:00
ETA


     Status: Finished
    Command: progress -zf /mnt2//vax/binary/sets/comp.tgz tar --chroot
-xhepf -

----------------------------------------------------------------------------
----
100% |*************************************| 57490 KB   40.24 KB/s    00:00
ETA



     Status: Finished
    Command: progress -zf /mnt2//vax/binary/sets/games.tgz tar --chroot
-xhepf -


----------------------------------------------------------------------------
----
100% |*************************************|  7130 KB   52.55 KB/s    00:00
ETA


     Status: Finished
    Command: progress -zf /mnt2//vax/binary/sets/man.tgz tar --chroot -xhepf
-

----------------------------------------------------------------------------
----
100% |*************************************| 33380 KB   52.07 KB/s    00:00
ETA


     Status: Finished
    Command: progress -zf /mnt2//vax/binary/sets/misc.tgz tar --chroot
-xhepf -

----------------------------------------------------------------------------
----
100% |*************************************| 10350 KB   59.08 KB/s    00:00
ETA



     Status: Finished
    Command: progress -zf /mnt2//vax/binary/sets/text.tgz tar --chroot
-xhepf -

----------------------------------------------------------------------------
----
100% |*************************************|  7350 KB   56.72 KB/s    00:00
ETA


You can now select which shell to use for the root user.  The default is
/bin/sh, but you may prefer another one.







                                
                                
                                +-------------+
                                | Root shell  |
                                |             |
                                |>a: /bin/sh  |
                                | b: /bin/ksh |
                                | c: /bin/csh |
                                +-------------+
                          
                          
                          
                          
                          
     Status: Finished
    Command: chpass -s /bin/sh root

----------------------------------------------------------------------------
----







Welcome to sysinst, the NetBSD-3.0 system installation tool.  This
menu-driven tool is designed to help you install NetBSD to a hard disk, or
upgrade an existing NetBSD system, with a minimum of work.
In the following menus type the reference letter (a, b, c, ...) to select an
item, or type CTRL+N/CTRL+P to select the next/previous item.
The arrow keys and Page-up/Page-down may also work.
Activate the current selection from the menu by typing the enter key.

If you booted from a floppy, you may now remove the disk.
                          
Thank you for using NetBSD!
                          
               +-----------------------------------------------+
               | NetBSD-3.0 Install System                     |
               |                                               |
               | a: Install NetBSD to hard disk                |
               | b: Upgrade NetBSD on a hard disk              |
               | c: Re-install sets or install additional sets |
               | d: Reboot the computer                        |
               | e: Utility menu                               |
               |>x: Exit Install System                        |
               +-----------------------------------------------+
# halt
halted by root
syncing disks... done
unmounting file systems... done

HALT instruction, PC: 800C19F5 (RET)
sim> boot cpu


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.
>>>boot 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 0
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 at b4.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/vax/200512182024Z-ob
j/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: 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
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,
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
Thu Sep 22 19:30:07 GMT 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
/dev/rra0d: file system is clean; not checking
/dev/rra0e: file system is clean; not checking
/dev/rra0f: 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.
sendmail: /etc/mail/aliases.db not present, generating
/etc/mail/aliases: 22 aliases, longest 10 bytes, 246 bytes total
Starting sendmail.
Starting inetd.
Starting cron.
Thu Sep 22 15:31:51 EDT 2005

NetBSD/vax (Amnesiac) (console)

login:




More information about the Simh mailing list