[Simh] Largest VAX / PDP disk sizes
Jason Stevens
neozeed at gmail.com
Sat Mar 27 14:54:26 EDT 2010
Well I slapped together this...
#define RA73_DTYPE 16
#define RA73_SECT 70
#define RA73_SURF 21
#define RA73_CYL 3000
#define RA73_TPG RA73_SURF
#define RA73_GPC 1
#define RA73_XBN 2980
#define RA73_DBN 2980
#define RA73_LBN 3920490
#define RA73_RCTS 2980
#define RA73_RCTC 1
#define RA73_RBN 63000
#define RA73_MOD 40
#define RA73_MED 0x25641049
#define RA73_FLGS RQDF_SDI
I slapped it together but it's coming up as an RX50 for some reason...... I
have to run out, but I think I'll just stomp on top of the RA72 and see how
that goes........
I'm also assuming the latest NetBSD will support the ra73.
% cat x.ini
set rq0 ra73
att rq0 ra73.disk
VAX simulator V3.8-1
sim> show rq0
RQ0, 2007MB, attached to ra73.disk, write enabled, RX50
sim> boot cpu
Loading boot code from ka655x.bin
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.
>>>show dev
UQSSP Disk Controller 0 (772150)
-DUA0 (RX50)
-DUA1 (RD54)
-DUA2 (RD54)
-DUA3 (RX50)
UQSSP Tape Controller 0 (774500)
-MUA0 (TK50)
-MUA1 (TK50)
-MUA2 (TK50)
-MUA3 (TK50)
RLV12 Controller 0 (774400)
-DLA0 (RL01)
-DLA1 (RL01)
-DLA2 (RL01)
-DLA3 (RL01)
Ethernet Adapter 0 (774440)
-XQA0 (08-00-2B-AA-BB-CC)
>>>boot dua0:
(BOOT/R5:0 DUA0
2..
-DUA0
1..0..
>> NetBSD/vax boot [1.11 Sat Feb 6 22:37:47 UTC 2010] <<
>> Press any key to abort autoboot 0
getdisklabel: no disk label
nfs_open: must mount first.
open netbsd.vax: Device not configured
> boot netbsd
getdisklabel: no disk label
2388172+308476 [193664+183590]=0x2eea9c
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009
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 5.0.2 (GENERIC) #0: Sat Feb 6 22:45:58 UTC 2010
builds at b8.netbsd.org:
/home/builds/ab/netbsd-5-0-2-RELEASE/vax/2010020618
51Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/vax/compile/GENERIC
MicroVAX 3800/3900
total memory = 16328 KB
avail memory = 12480 KB
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
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 17
mscpbus1 at uda0: version 3 model 3
mscpbus1: DMA burst size set to 4
rx0 at mscpbus1 drive 0: RX50
ra0 at mscpbus1 drive 1: RD54
ra1 at mscpbus1 drive 2: RD54
rx1 at mscpbus1 drive 3: RX50
qe0 at uba0 csr 174440 vec 764 ipl 17: delqa, hardware address
08:00:2b:aa:bb:cc
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 enabled, transport offline
Kernelized RAIDframe activated
ra0: attempt to bring on line failed: unit offline (not mounted) (code 3,
subcode 1)
ra1: attempt to bring on line failed: unit offline (not mounted) (code 3,
subcode 1)
rx1: attempt to bring on line failed: unit offline (not mounted) (code 3,
subcode 1)
boot device: <unknown>
root device: ra0*
dump device (default ra0b):
file system (default generic):
root on ra0b dumps on ra0b
ra0: attempt to bring on line failed: unit offline (not mounted) (code 3,
subcode 1)
ra0: attempt to bring on line failed: unit offline (not mounted) (code 3,
subcode 1)
vfs_mountroot: can't open root device
cannot mount root, error = 6
root device (default ra0b): rx0*
dump device (default rx0b):
file system (default generic):
root on rx0b dumps on rx0b
panic: Segv in kernel mode: pc 800008d3 addr 1
Stopped in pid 0.1 (system) at netbsd:upcallret: function
"upcallret()",
e
ntry-mask 0x7c0
remqhi *0x4ac(r0), r6
db>
On Sat, Mar 27, 2010 at 1:56 PM, Tim Shoppa <shoppa at trailing-edge.com>wrote:
> Jason Stevens <neozeed at gmail.com> wrote:
> > Hmm what is weird is that when I look at the disktab from any BSD and
> > compare it to the table in pdp11_rq.c they don't agree....
>
> Doesn't matter for MSCP disks. They're "just a bunch of blocks" and
> accessed by block number.
>
> Unless the device driver has to do host-side bad block replacement, which
> you do not want to get into, and do not have to get into in the
> emulator world!
>
> > While looking up the RP06 I find this:
> >
> > pdp11_rp.c
> >
> > #define RP06_DTYPE 3
> > #define RP06_SECT 22
> > #define RP06_SURF 19
> > #define RP06_CYL 815
> > #define RP06_DEV 020022
> > #define RP06_SIZE (RP06_SECT * RP06_SURF * RP06_CYL * RP_NUMWD)
> >
> > and in the disktab:
> >
> > rp06|RP06|DEC RP06:\
> > :ty=removable:ns#22:nt#19:nc#815:\
> >
> > Which do agree....
>
> For SMD/Massbus drives, the physical geometry does matter to the driver.
> I/O requests are issued based on physical track/cylinder/sector.
>
> Tim.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20100327/c5a51581/attachment-0003.html>
More information about the Simh
mailing list