[Simh] still unable to specify disks larger than 2 GB

-demijohn- hellpenny at gmail.com
Fri Sep 16 15:20:17 EDT 2005


Hi,

  This is a follow-up question from some time ago ... got busy with
other things and
had to drop it for awhile...

  I've so far successfully replicated our devel environment for use in
developing
our DR test plan and Simh works great with all of the following: 3gl TDMS
apps, CDD, CA/Ingres database & apps, and even 4gl Corvision.  
This would be much more effective if I could more closely mirror our Prod
environment so ...

  Running the vax emulator on top of linux with plenty of available
disk, am trying
 to specify equiv of 4 & 9 GB disks using the following syntax in the vax.ini:

  set rq0 rauser=[sizeMB]
i.e.
  set rq0 rauser=4000

  But when I specify anything > 2000 it isn't recognized
EVEN THOUGH I have enabled extended addressing as per the documentation
by adding these flags:


VAX_OPT = -DVM_VAX -DUSE_INT64 -DUSE_ADDR64

in makefile ... 

By using bound volume sets I have verified that I AM able to create individual
files of > 2GB size but I'd like to be able to emulate a larger disk without 
having to use volume sets ... according to the docs should be able to 
emulate up to a terabyte.

The vax.ini has set cpu EXTEND and I am using ka655x.bin so I am using
max memory of 512MB with no problem.

Could someone kindly review my vax.ini and let me know if I'm
doing something wrong?  

$ cat /usr/local/vax/data/vax.ini
;
; Load CPU microcode
load -r /usr/local/vax/data/ka655x.bin
;
; Attach non-volatile RAM to a file
attach nvr /usr/local/vax/data/nvram.bin
;
set cpu EXTEND
; This virtual machine has 512m memory
set cpu 512M
;
set rqb enable
set rqc enable
set rqd enable
;
; Define disk drive types. RA92 is largest-supported VAX drive.
set rq0 rauser=2000
set rq1 rauser=2000
;
;  *** This is the one that fails ***
set rq2 rauser=4000
;
set rq3 cdrom
set rqb0 rauser=2000
set rqb1 rauser=2000
set rqb2 rauser=2000
set rqb3 rauser=2000
set rqc0 rauser=2000
set rqc1 rauser=2000
set rqc2 rauser=2000
set rqc3 rauser=2000
set rqd0 rauser=2000
set rqd1 rauser=2000
set rqd2 rauser=2000
set rqd3 rauser=2000
;
; Attach defined drives to local files
attach rq0 /usr/local/vax/data/d0.dsk
attach rq1 /usr/local/vax/data/d1.dsk
attach rq2 /usr/local/vax/data/d2.dsk
attach rqb0 /usr/local/vax/data/db0.dsk
attach rqb1 /usr/local/vax/data/db1.dsk
attach rqb2 /usr/local/vax/data/db2.dsk
attach rqb3 /usr/local/vax/data/db3.dsk
attach rqc0 /usr/local/vax/data/dc0.dsk
attach rqc1 /usr/local/vax/data/dc1.dsk
attach rqc2 /usr/local/vax/data/dc2.dsk
attach rqc3 /usr/local/vax/data/dc3.dsk
attach rqd0 /usr/local/vax/data/dd0.dsk
attach rqd1 /usr/local/vax/data/dd1.dsk
attach rqd2 /usr/local/vax/data/dd2.dsk
attach rqd3 /usr/local/vax/data/dd3.dsk
;
; Attach the CD-ROM to its file (read-only)
;attach -r rq3 /usr/local/vax/data/cd.iso
attach -r rq3 /usr/local/vax/data/sp1.iso
;
; Disable unused devices. It's also possible to disable individual devices,
; using a construction like "set rq2 disable" if desired.
;
set rl disable
set ts disable
;
; Attach Ethernet to a network interface
set xq mac=08-00-2B-AA-BB-CC
attach xq eth0
;
; Now start the emulator
boot cpu

--

Regards,

-JM

> From A.Bucher at alcatel.de  Tue Mar  8 12:04:40 2005
> From: A.Bucher at alcatel.de (A.Bucher at alcatel.de)
> Date: Tue Mar  8 12:04:47 2005
> Subject: [Simh] greater disk & memory capacity
> Message-ID:
<OFBE0B7806.2DA43929-ONC1256FBE.005CEBBD at netfr.alcatel.fr>
>
> Hi,
> 
> this is quite easy and I think it is more or less understandable explained
> in the readme:
>
> The restriction is related to the largest available "real" RA-style disk
> the RA92 with 1.5GB (all other disks are smaller anyway).
>
> so if you use the
>  set rq0 ra92
> statement, you will get a 1.5GB ra92 disk.

> for larger disks (and some _very unlikely_ incompatibilities), you should
> use
>   set rq0 rauser=[sizeMB]
> i.e.
>   set rq0 rauser=2000
> 
> this gives a 2GB RA-Style disk (in fact, a RA82 with the capacity specified
> in the statement above) to your VAX (I use it and it works fine).
> The maximum is either 2GB or 1000GB (with extended addressing, but you will
> have enabled this anyway for 512MB RAM)
> 
> for more details, see  vax_doc.txt  section 2.4.2 (RQDX / MSCP disk
> controllers)
> 
> Kind Regards / Cordialments / Saludos Cordiales / Vriendelijke Groeten /
> Cumprimentos / Mit freundlichen Gr??en,
>
> Andreas Bucher

>>  -demijohn-
>>   <hellpenny at gmail.com>         
>>  To:      simh at trailing-edge.com
>>   cc:       simh-bounces at trailing-edge.com
>>  Sent by:                    Subject: [Simh] greater disk & memory
capacity
>>   08.03.2005 17:01
>>                      Please respond to
>>                      -demijohn-
>> Hi,
>>
>>  This is relating to the Vax emulator...
>> First time poster, long time lurker.  Could someone please illuminate
>> whether it's possible to emulate a disk larger than 1.5 GB?
>> I've caught tantalizing glimpses that it should be possible
>> to attain 512MB memory and up to a terabyte of disk (not sure
>> if that's a terabyte total or on a single disk) ...
>> I'm interested in 4GB or 9GB disk capactity.
>>
>>  If this IS possible, someone please point out how (and add
>> to the FAQ).
>>
>>  (BTW, SIMH is the coolest thing I have ever seen !)
>>
>>-JM



More information about the Simh mailing list