Subject: port-vax/28724: during install, installboot does not place boot code on hard disk
To: None <port-vax-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <kirk@ba23.org>
List: netbsd-bugs
Date: 12/20/2004 15:57:00
>Number: 28724
>Category: port-vax
>Synopsis: during install, installboot does not place boot code on hard disk
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: port-vax-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 20 15:57:00 +0000 2004
>Originator: Kirk Russell
>Release: NetBSD 2.0
>Organization:
Bridlewood Software Testers Guild
>Environment:
NetBSD bronzevax.kr.on 2.0 NetBSD 2.0 (GENERIC) #0: Thu Dec 2 19:18:27 CST 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/vax/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/vax/compile/GENERIC vax
>Description:
During the install, you get an error:
installboot: Set bootstrap operation failed
After the install, you cannot boot of that drive.
I am using a VAX 4000 Model 700A, with the following modules:
slot one MS690-D
slot two MS690-D clone
slot three MS690-D clone
slot four MS690-D
slot five KA692
slot six DESQA-SA
slot seven DHV11-A
slot eight CMD CQD 223M
slot nine TQK50-AA
slot ten empty
slot eleven empty
slot twelve empty
>>>show config
KA692-A V2.3, VMB 2.14
Scan of main memory
Memory board 0: 00000000 to 07FFFFFF, 128MB, 262144 good pages, 0 bad pages
Memory board 1: 08000000 to 0FFFFFFF, 128MB, 262144 good pages, 0 bad pages
Memory board 2: 10000000 to 17FFFFFF, 128MB, 262144 good pages, 0 bad pages
Memory board 3: 18000000 to 1FFFFFFF, 128MB, 262144 good pages, 0 bad pages
Total of 512MB, 1048576 good pages, 0 bad pages, 352 reserved pages
UQSSP Disk Controller 0 (772150)
-DUA0 (RA90)
-DUA1 (RA90)
-DUA2 (RA90)
-DUA3 (RA90)
-DUA4 (RA90)
UQSSP Tape Controller 0 (774500)
-MUA0 (TK50)
Ethernet Adapter
-EZA0 (08-00-2B-3B-1F-DF)
Ethernet Adapter 0 (774440)
-XQA0 (08-00-2B-3F-A8-B7)
Scan of Qbus I/O Space
-20000120 (760440) = 0690 DHQ11/DHV11/CXA16/CXB16/CXY08
-20000122 (760442) = F081
-20000124 (760444) = DD18
-20000126 (760446) = 0000
-20000128 (760450) = 0000
-2000012A (760452) = 0000
-2000012C (760454) = 8000
-2000012E (760456) = 0000
-20001468 (772150) = 0000 RQDX3/KDA50/RRD50/RQC25/KFQSA-DISK
-2000146A (772152) = 0B00
-20001920 (774440) = FF08 DELQA/DEQNA/DESQA
-20001922 (774442) = FF00
-20001924 (774444) = FF2B
-20001926 (774446) = FF3F
-20001928 (774450) = FFA8
-2000192A (774452) = FFB7
-2000192C (774454) = 8000
-2000192E (774456) = 1030
-20001940 (774500) = 0000 TQK50/TQK70/TU81E/RV20/KFQSA-TAPE
-20001942 (774502) = 0BC0
-20001F40 (777500) = 0020 IPCR
>How-To-Repeat:
- create bad boot code
# dd if=/dev/zero of=/usr/mdec/zeroboot bs=6124 count=1
1+0 records in
1+0 records out
6124 bytes transferred in 0.002 secs (3062000 bytes/sec
# hexdump /usr/mdec/zeroboot
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
00017e0 0000 0000 0000 0000 0000 0000
00017ec
- clear the old bootstrap from the drive
# disklabel -B -b /usr/mdec/zeroboot ra0
- during the install, I get this error
Status: Command failed
Command: /usr/sbin/installboot /dev/rra0c /usr/mdec/raboot
Hit enter to continue
--------------------------------------------------------------------------------
installboot: Writing `/dev/rra0c': Read-only file system
installboot: Set bootstrap operation failed
- after the install, you cannot boot off that drive
>>>boot dua0
(BOOT/R5:0 DUA0)
2..
-DUA0
?43 FILESTRUCT, DUA0
?06 HLT INST
PC = 00000EAD
Bootstrap failure.
>>>
- the work-a-round is to run disklabel, after the install
# disklabel -B ra0
>Fix: