Boot failure on 3100/95

George Harvey <[email protected]> Fri, 20 Apr 2007 23:01:33 +0100
Newsgroups gmane.os.openbsd.vax
Message-ID <[email protected]>
Hi,

I'm trying to install 4.0 on a MicroVAX 3100/95. The installation
process appeared to run smoothly but I'm having a problem booting the
installed system from local disk. The console output is:

>>>boot dka200
(BOOT/R5:10000000 DKA200)

  2..
?06 HLT INST
        PC = 000031A6
Bootstrap failure.
>>>

However, if I netboot a kernel with the '-a' option, I can select the
local disk as root and the system boots up normally, so the installation
appears to have been successful apart from the boot loader (full console
output included below). Is there anything I can do to fix local booting?

Thanks,
George

== console output showing failure to boot from local disk followed
== by successful netboot and disklabel output

>>>sh dev

SCSI Adapter A, SCSI ID 6
-DKA200 (COMPAQ ST34572W)
-DKA500 (DEC RRD43)
Ethernet Adapter
-EZA0 (08-00-2B-94-49-8B)
>>>boot dka200
(BOOT/R5:10000000 DKA200)

  2..
?06 HLT INST
        PC = 000031A6
Bootstrap failure.
>>>
>>>boot eza0
(BOOT/R5:10000000 EZA0)

  2..
-EZA0
  1..0..

>> OpenBSD/vax boot [1.12] [Sep 17 2006] <<
>> Press enter to autoboot now, or any other key to abort: 
Press '?' for help
> boot bsd -a
SGEC: Ethernet address 08:00:2b:94:49:8b...
Trying BOOTPARAMS
boot: client IP address: 10.0.1.151
boot: client name: mvax95.ceiridos.co.uk
root addr=10.0.1.137 path=/usr/local/vax500
1637232+61832+273996+[114072+138579] total=0x21f637 start=0x8000057c
[ using 252655 bytes of bsd a.out symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved. 
http://www.OpenBSD.org

OpenBSD 4.0 (GENERIC) #356: Mon Sep 18 01:44:06 MDT 2006
    [email protected]:/usr/src/sys/arch/vax/compile/GENERIC
MicroVAX 3100 model 90 or 95 [13000202 03260901]
cpu0: KA51, ucode rev 2
total memory = 133603328
avail memory = 118427648
using 1656 buffers containing 6782976 bytes of memory
mainbus0 (root)
ibus0 at mainbus0
ze0 at ibus0: address 08:00:2b:94:49:8b
uba0 at ibus0: Q22
vsbus0 at mainbus0
vsbus0: 8K entry DMA SGMAP at PA 0x27000000 (VA 0x8eec9000)
vsbus0: interrupt mask 0
dz0 at vsbus0 csr 0x25000000 vec 340 ipl 15 maskbit 3: 4 lines
asc0 at vsbus0 csr 0x26000080 vec 328 ipl 15 maskbit 1: NCR53C94, 25MHz,
SCSI ID 6 asc0: SCSI bus reset
scsibus0 at asc0: 8 targets
asc0: wide mode 1
probe(asc0:2:0): max sync rate 12.50MB/s
sd0 at scsibus0 targ 2 lun 0: <COMPAQ, ST34572W, 0892> SCSI2 0/direct
fixed sd0: 4094MB, 6300 cyl, 8 head, 166 sec, 512 bytes/sec, 8386000 sec
total cd0 at scsibus0 targ 5 lun 0: <DEC, RRD43 (C) DEC, 1084> SCSI2
5/cdrom removable led0 at mainbus0
booted from device: ze0
root device (default ze0 ): sd0a
swap device (default sd0b): 
root on sd0a
rootdev=0x1400 rrootdev=0x3b00 rawdev=0x3b02
Automatic boot in progress: starting file system checks.
/dev/rsd0a: file system is clean; not checking
/dev/rsd0g: file system is clean; not checking
/dev/rsd0d: file system is clean; not checking
/dev/rsd0f: file system is clean; not checking
/dev/rsd0e: file system is clean; not checking
setting tty flags
vfs.nfs.iothreads: -1 -> 4
starting network
starting system logger
starting initial daemons: portmap.
savecore: no core dump
checking quotas: done.
building ps databases: kvm dev.
clearing /tmp
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files
starting network daemons: routed sendmail inetd sshd.
starting local daemons:.
standard daemons: cron.
Fri Apr 20 22:17:37 BST 2007

OpenBSD/vax (mvax95.ceiridos.co.uk) (console)

login: root
Password:
Last login: Fri Apr 20 22:12:00 on console

# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: ST34572W        
flags:
bytes/sector: 512
sectors/track: 166
tracks/cylinder: 8
sectors/cylinder: 1328
cylinders: 6300
total sectors: 8386000
rpm: 7228
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

7 partitions:
#       size    offset  fstype [fsize bsize  cpg]
 a:   204512      1328  4.2BSD   2048 16384  154 # Cyl    1 -  154
 b:   261616    205840    swap                   # Cyl  155 -  351
 c:  8386000         0  unused      0     0      # Cyl    0 - 6314*
 d:   204512    467456  4.2BSD   2048 16384  154 # Cyl  352 -  505
 e:   102256    671968  4.2BSD   2048 16384   78 # Cyl  506 -  582
 f:  7495232    774224  4.2BSD   2048 16384  504 # Cyl  583 - 6226
 g:   116544   8269456  4.2BSD   2048 16384   88 # Cyl 6227 - 6314*
# 
#