NetBSD Problem Report #5634
Received: (qmail 4017 invoked from network); 21 Jun 1998 00:52:39 -0000
Message-Id: <199806210052.RAA20775@nooksack.ldc.cs.wwu.edu>
Date: Sat, 20 Jun 1998 17:52:13 -0700 (PDT)
From: cregister@dol.net
To: gnats-bugs@gnats.netbsd.org
Subject: Problem loading miniroot/MicroVax 3500
X-Send-Pr-Version: www-1.0
>Number: 5634
>Category: port-vax
>Synopsis: Problem loading miniroot/MicroVax 3500
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-vax-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 20 18:05:00 +0000 1998
>Closed-Date: Tue Jan 05 15:03:51 +0000 1999
>Last-Modified: Tue Jan 05 15:17:59 +0000 1999
>Originator: Chris Register
>Release: 1.2, 1.2G, 1.3A
>Organization:
>Environment:
?
>Description:
Here's my setup ...
Microvax 3500 with a KSQFA connected to a R400X cabinet which contains 4 RF35/RZ35 825 mb disks.
I wanted to load NetBSD on the 2nd disk because I want to leave VMS on the first.
First I tried version 1.3 and have had the following problems.
I ALWAYS get a "bad format" at this prompt:
>> NetBSD/vax boot [970701 19:46] <<
: ra(1,1,1)netbsd
The reason I am using 1,1,1 is because my disks are in a cabinet, and I guess it sees an adapter for each disk (adapter 1, controller 1, disk 1), and because thats the only combination that worked when I ran edlabel on the disk. If I ran edlabel on disk 1,1 it never kept the label ... i.e. next time I booted, BOOT would say there was no label on the disk. I think I only have 1 adapter, but the program won't see things that way.
If I use 1,1,0 it works right!
So ...
I tried version 12G and 12, which both give me the same result ... following is a log of what happened when I tried to ra1* as the root device:
1) Dansk 7) Nederlands
2) Deutsch 8) Norsk
3) English 9) Portugujs
4) Espaqol 10) Suomi
5) Frangais 11) Svenska
6) Italiano
(1..11): 3
KA650-A V1.2/0123
Performing normal system tests.
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.
>How-To-Repeat:
See above.
>Fix:
None known.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->port-vax-maintainer
Responsible-Changed-By: fair
Responsible-Changed-When: Mon Dec 28 09:46:49 PST 1998
Responsible-Changed-Why:
This PR is the responsibility of the portmaster,
not the GNATS database administrator.
State-Changed-From-To: open->closed
State-Changed-By: ragge
State-Changed-When: Tue Jan 5 07:03:51 PST 1999
State-Changed-Why:
The problems have been fixed over the time.
>Unformatted:
>>>b/3 mua0
2..
-MUA0
1..0..
howto 0x3, bdev 0x12, booting...done. (31332+22252)
>> NetBSD/vax boot [970701 19:46] <<
: ra(1,1,1)netbsd
621568+32768+85724 start 0x8b414
[ netbsd symbol table not valid ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 1.2_ALPHA (GENERIC) #2: Sun Jun 23 11:26:00 MET DST 1996
ragge@urgoriyf:/usr/src/sys/arch/vax/compile/GENERIC
realmem = 33521664
avail mem = 27902976
Using 1636 buffers containing 1675264 bytes of memory.
backplane0 (root)
cpu0 at backplane0sbi0 at backplane0: Q22
uba0 at sbi0 tr0
uda0 at uba0 csr 172150 vec 774, ipl 17
uda0: version 3 model 5
uda0: DMA burst size set to 4
ra0 at uda0 slave 0: no disk label: no partition table for DI RF 35, size 16646;
using (s,t,c)=(57,14,2086)
uda1 at uba0 csr 160334 vec 770, ipl 17
uda1: version 3 model 5
uda1: DMA burst size set to 4
ra5 at uda1 slave 1: rz35, size = 1664628 sectors
zs0: timeout waiting for TS_SSR
zs0: timeout waiting for TS_SSR
zs0: timeout waiting for TS_SSR
zs0: timeout waiting for TS_SSR
zs0: timeout waiting for TS_SSR
zs0: timeout waiting for TS_SSR
tmscp0 at uba0 csr 174500 vec 754, ipl 17
tms0 at tmscp0 slave 0
qe0 at uba0 csr 174440 vec 750 ipl 17
qe0: delqa, hardware address 08:00:2b:0d:ea:c9
root device? ra1*
panic: cannot mount root
Stopped at 0x8000539d: movl 0x800abd70, r0
db>
?02 EXT HLT
PC = 8008BEED
I noticed at this point that above a ra5 was found, which kinda makes sense if we're looking at the first disk on the 2nd adapter ... disks 1.4 would be the first adapter ... right??????
So I tried to use ra5* which seemed to work at first, then went downhill REAL fast!
1) Dansk 7) Nederlands
2) Deutsch 8) Norsk
3) English 9) Portugujs
4) Espaqol 10) Suomi
5) Frangais 11) Svenska
6) Italiano
(1..11): 3
KA650-A V1.2/0123
Performing normal system tests.
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/3 mua0
2..
-MUA0
1..0..
howto 0x3, bdev 0x12, booting...done. (31332+22252)
>> NetBSD/vax boot [970701 19:46] <<
: ra(1,1,1)netbsd
621568+32768+85724 start 0x8b414
[ netbsd symbol table not valid ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 1.2_ALPHA (GENERIC) #2: Sun Jun 23 11:26:00 MET DST 1996
ragge@urgoriyf:/usr/src/sys/arch/vax/compile/GENERIC
realmem = 33521664
avail mem = 27902976
Using 1636 buffers containing 1675264 bytes of memory.
backplane0 (root)
cpu0 at backplane0sbi0 at backplane0: Q22
uba0 at sbi0 tr0
uda0 at uba0 csr 172150 vec 774, ipl 17
uda0: version 3 model 5
uda0: DMA burst size set to 4
ra0 at uda0 slave 0: no disk label: no partition table for DI RF 35, size 16646;
using (s,t,c)=(57,14,2086)
uda1 at uba0 csr 160334 vec 770, ipl 17
uda1: version 3 model 5
uda1: DMA burst size set to 4
ra5 at uda1 slave 1: rz35, size = 1664628 sectors
zs0: timeout waiting for TS_SSR
zs0: timeout waiting for TS_SSR
zs0: timeout waiting for TS_SSR
zs0: timeout waiting for TS_SSR
zs0: timeout waiting for TS_SSR
zs0: timeout waiting for TS_SSR
tmscp0 at uba0 csr 174500 vec 754, ipl 17
tms0 at tmscp0 slave 0
qe0 at uba0 csr 174440 vec 750 ipl 17
qe0: delqa, hardware address 08:00:2b:0d:ea:c9
root device? rat55*
bad/missing unit number
root device? ra5*
Internal clock not started. Using time from file system.
Preserved 3687 blocks of miniroot leaving 46313 pages of swap
Segv in kernel mode: rv 1
Trap: type c, code 0, pc 800158b3, psl 4150004
P0BR 80768800 P1BR 7ff61c00 P0LR 15dc P1LR 1fff00
KSP 83e3a400 ISP 80168aec USP 7fffddf0
R0 0 R1 81e1a540 R2 0 R3 81e1a540
R4 ffffffff R5 15 R6 81e1a500 R7 14
R8 7fffdfbc R9 3cab7 R10 0 R11 3
FP 80168b88 AP 80168b9c PC 800158b3 PSL 4150004
panic: trap: adr 0
Stopped at 0x80091b08: bbs $6, 60(r6), 0x80091b10
db>
I have tried and tried, but to no avail. Just so you know how the disk is configured, here's an edlabel (S)iew of it.
(btw: I looked up the specs on the RF35, even the RPM (4500), I tried both 0 and 1 for the interleave)
First I tried:
disk type 2 (MSCP), rz35:
interleave 0, rpm 5400, trackskew 0, cylinderskew 0
headswitch 0, track-to-track 0, drivedata: 0 0 0 0 0
bytes/sector: 512
sectors/track: 57
tracks/cylinder: 14
sectors/cylinder: 798
cylinders: 2086
8 partitions:
size offset
a: 204800, 0
b: 100000, 204800
c: 1664406, 0
d: 0, 0
e: 1359606, 304800
f: 0, 0
g: 0, 0
h: 0, 0
I didn't realize until after I was done that there were 222 blocks (133664 bytes) left over. I made e big though because I wanted a big USR directory ...
When that didn't work, I tried (same disk parms except partition sizes)
8 partitions:
size offset
a: 50000, 0
b: 50000, 50000
c: 1664406, 0
d: 50000, 100000
e: 50000, 150000
f: 0, 0
g: 0, 0
h: 0, 0
Incase you wonder where I came up with some of the characteristics, this is a display from VMS after I initialized it in VMS, but before I did anything else to the disk (btw, the disks are DIA# instead of DUA* after the VMS boot up sequence).
Disk DIB1:, device type (type not yet identified), is online, mounted, file-
oriented device, shareable, available to cluster, error logging is enabled.
Error count 0 Operations completed 653
Owner process "" Owner UIC [CHRIS]
Owner process ID 00000000 Dev Prot S:RWED,O:RWED,G:RWED,W:RWED
Reference count 1 Default buffer size 512
Total blocks 1664628 Sectors per track 57
Total cylinders 2086 Tracks per cylinder 14
Volume label "NETBSD1" Relative volume number 0
Cluster size 16 Transaction count 1
Free blocks 1664406 Maximum files allowed 48959
Extend quantity 5 Mount count 1
Mount status System Cache name "_DIA0:XQPCACHE"
Extent cache size 64 Maximum blocks in extent cache 133915
File ID cache size 64 Blocks currently in extent cache 0
Quota cache size 0 Maximum buffers in FCP cache 849
Volume status: subject to mount verification, write-through caching enabled.
I hope this is enough information to help you figure out the problem ... the only other thing I have done is use copy to put the image on the disk's swap partition (ra(1,1,1)).
Thank you for your time!
Comment from Ragge:
The RA disk panic was due to the old MSCP code. Fixed now.
The other panic was because of an uninitialized pointer in the console code.
Fixed since pre-1.3.
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.