[Simh] Re: Simh Digest, Vol 18, Issue 3

bsupnik at comcast.net bsupnik at comcast.net
Tue May 10 13:24:23 EDT 2005


There are 16 drives available for the RQ on four controllers.  The first is enabled, the second through fourth are disabled by default.  Enable the extra controllers; each controller provides 4 additional drives

sim> set rqb ena
sim> set rqc ena
sim> set rqd ena

SIMH tries to mirror the organization of real hardware.  Real MSCP controllers had 4 drives per controller.  The few places where the simulator creates a 'virtual' large controller (eg, the DZ11) actually causes problems and will be unwound at some point in the future.

/Bob Supnik


> Send Simh mailing list submissions to
> 	simh at trailing-edge.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.trailing-edge.com/mailman/listinfo/simh
> or, via email, send a message with subject or body 'help' to
> 	simh-request at trailing-edge.com
> 
> You can reach the person managing the list at
> 	simh-owner at trailing-edge.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Simh digest..."
> 
> 
> Today's Topics:
> 
>    1. More than 4 Drives ? (Glynn Stanton)
>    2. Re: More than 4 Drives ? (Tim Shoppa)
>    3. Re: Broken ethernet code? (Mark Pizzolato)
>    4. RE: More than 4 Drives ? (Glynn Stanton)
>    5. Re: More than 4 Drives ? (A.Bucher at alcatel.de)
>    6. Re: More than 4 Drives ? (Tim Riker)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 9 May 2005 20:36:42 -0400
> From: "Glynn Stanton" <glynn at paniglynn.com>
> Subject: [Simh] More than 4 Drives ?
> To: <simh at trailing-edge.com>
> Message-ID: <20050509194924.BB1AFE3851 at pgweb1.paniglynn.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> 
> Seems that simh is limiting me to having a maximum of 4 Drives, rq0 to rq3.
> When I try and define an rq4 I get a "Unit disabled" error.
> 
> Have looked through the faq, but didn't see anything on this being a
> limitation.
> 
> Any hints or helps ? Im simulating a VAX/VMS system
> 
> set rq0 ra92
> set rq1 ra92
> set rq2 ra92
> set rq3 ra92
> set rq4 ra92
> ;
> ; Attach defined drives to local files
> attach rq0 d0.dsk
> attach rq1 d1.dsk
> attach rq2 d2.dsk
> attach rq3 d3.dsk
> attach rq4 d4.dsk
> 
> [root at vml2vms BIN]# ./vax
> 
> VAX simulator V3.2-3
> NVR: buffering file in memory
> Unit disabled
> Unit disabled
> Eth: opened eth0
> 
> Thanks.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://mailman.trailing-edge.com/pipermail/simh/attachments/20050509/286b52f4/at
> tachment-0001.html
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 09 May 2005 20:43:57 -0400
> From: shoppa at trailing-edge.com (Tim Shoppa)
> Subject: Re: [Simh] More than 4 Drives ?
> To: simh at trailing-edge.com, glynn at paniglynn.com
> Message-ID: <428003CD.nail9D014YS4F at mini-me.trailing-edge.com>
> Content-Type: text/plain; charset=us-ascii
> 
> > Seems that simh is limiting me to having a maximum of 4 drives,
> > rq0 to rq3.  When I try and define an rq4 I get a "Unit disabled" error".
> 
> True DEC MSCP controllers only supported up to 4 drives per controller.
> 
> The MSCP protocol allows more than 4.  And there's some OS support (RT-11,
> RSX-11 with a patched SYSGEN, VMS out of the box) if you have a controller
> with more than 4 drives.
> 
> I think if you rebuild simh with RQ_NUMDR (in module pdp11_rq.c) set to
> a number bigger than 4 it oughta work just as the real hardware.
> 
> There were non-DEC MSCP controllers that did allow more than 4 MSCP
> drives.  e.g. CMD 440, Sigma/Webster WQESD, etc.
> 
> Tim.
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 9 May 2005 17:49:22 -0700 (PDT)
> From: Mark Pizzolato <mark at infocomm.com>
> Subject: Re: [Simh] Broken ethernet code?
> To: simh at trailing-edge.com
> Message-ID: <20050510004922.72006.qmail at web81009.mail.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
> 
> You likely need to be running with the Latest "current" version of
> libpcap which is available from www.tcpdump.org.  See details in
> 0readme_ethernet.txt in the simh distribution.
> 
> - Mark Pizzolato
> 
> --- Galen Tackett <gtackett at yahoo.com> wrote:
> 
> > Somewhere along the way I've become unable to use the simulated XQ 
> > device on my OS X 10.3.9 based simh Vax.
> > 
> > I had it all working some time earlier this year when I was
> > probably 
> > running OS X 10.3.5. By the time I reached 10.3.7 or .8 it had
> > stopped 
> > working, but I don't know exactly when or how.
> > 
> > I'm using the startup item that comes with newer versions of
> > libpcap to 
> > change the bpf device protections to allow admin group access.
> > I'm also running as superuser, so that shouldn't really matter.
> > 
> > Here's what happens now:
> > 
> > $ ifconfig
> > ...
> > en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu
> > 1500
> >          inet6 fe80::203:93ff:fe49:38e prefixlen 64 scopeid 0x4
> >          inet 192.168.0.155 netmask 0xffffff00 broadcast
> > 192.168.0.255
> >          ether 00:03:93:49:03:8e
> >          media: autoselect (100baseTX <full-duplex>) status: active
> >          supported media: none autoselect 10baseT/UTP <half-duplex>
> > 
> > 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 
> > 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX 
> > <full-duplex,hw-loopback> 1000baseTX <full-duplex> 1000baseTX 
> > <full-duplex,hw-loopback> 1000baseTX <full-duplex,flow-control> 
> > 1000baseTX <full-duplex,flow-control,hw-loopback>
> > en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu
> > 1500
> >          inet6 fe80::20d:88ff:fe37:4843 prefixlen 64 scopeid 0x5
> >          ether 00:0d:88:37:48:43
> >          media: autoselect (100baseTX <full-duplex>) status: active
> >          supported media: autoselect 10baseT/UTP <half-duplex> 
> > 10baseT/UTP <full-duplex> 100baseTX <half-duplex>
> > ...
> > 
> > # Here I started simh but only the xq-related commands are shown...
> > 
> > do> set debug stderr
> > Debug output to "STDERR"
> > do> set xq type=delqa
> > do> set xq debug=eth
> > do> set xq mac=00-0d-88-37-48-43
> > do> at xq0 en1
> > pcap library version string: <libpcap version 
> > current-cvs.tcpdump.org.2005.05.07>
> > Eth: opened en1
> > DBG> XQ ETH: Filter Set
> > DBG> XQ ETH:   Addr[0]: 00:0D:88:37:48:43
> > DBG> XQ ETH: Filter Set
> > DBG> XQ ETH:   Addr[0]: 00:0D:88:37:48:43
> > DBG> XQ ETH: BPF string is: |(ether dst 00:0D:88:37:48:43)|
> > DBG> XQ ETH: writing  dst: 00:0D:88:37:48:43  src:
> > 00:0D:88:37:48:43  
> > proto: 0x9000  len: 60  crc: 3BCF22B5
> > Eth: Error Transmitting packet: No such file or directory
> > You may need to run as root, or install a libpcap version
> > which is at least 0.9 from www.tcpdump.org
> > DBG> XQ ETH: BPF string is: |(ether dst 00:0D:88:37:48:43)|
> > 
> > The line that starts "pcap library version string" comes from a
> > couple 
> > of lines of code I added to pcap to make it display its version.
> > 
> > You can see that I'm running a version of pcap that was downloaded
> > and 
> > built today (May 7 2005).
> > 
> > Any ideas what might be going wrong?
> > 
> > Thanks,
> > 
> > Galen
> > 
> > _______________________________________________
> > Simh mailing list
> > Simh at trailing-edge.com
> > http://mailman.trailing-edge.com/mailman/listinfo/simh
> > 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 9 May 2005 22:47:25 -0400
> From: "Glynn Stanton" <glynn at paniglynn.com>
> Subject: RE: [Simh] More than 4 Drives ?
> To: <simh at trailing-edge.com>
> Message-ID: <20050509220007.1E32BE3851 at pgweb1.paniglynn.com>
> Content-Type: text/plain;	charset="US-ASCII"
> 
> 
> Thanks Tim, unfortunately didn't work, still get the "Unit Disabled" after
> upping RQ_NUMDR and recompiling. Also tried upping RA_NUMCT but to no avail.
> 
> Perhaps my question is more "How do I add another controller" if 4 is the
> max per controller.
> 
>  
> 
> -----Original Message-----
> From: Tim Shoppa [mailto:shoppa at trailing-edge.com] 
> Sent: Monday, May 09, 2005 8:44 PM
> To: simh at trailing-edge.com; glynn at paniglynn.com
> Subject: Re: [Simh] More than 4 Drives ?
> 
> > Seems that simh is limiting me to having a maximum of 4 drives, rq0 to 
> > rq3.  When I try and define an rq4 I get a "Unit disabled" error".
> 
> True DEC MSCP controllers only supported up to 4 drives per controller.
> 
> The MSCP protocol allows more than 4.  And there's some OS support (RT-11,
> RSX-11 with a patched SYSGEN, VMS out of the box) if you have a controller
> with more than 4 drives.
> 
> I think if you rebuild simh with RQ_NUMDR (in module pdp11_rq.c) set to a
> number bigger than 4 it oughta work just as the real hardware.
> 
> There were non-DEC MSCP controllers that did allow more than 4 MSCP drives.
> e.g. CMD 440, Sigma/Webster WQESD, etc.
> 
> Tim.
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Tue, 10 May 2005 10:12:33 +0200
> From: A.Bucher at alcatel.de
> Subject: Re: [Simh] More than 4 Drives ?
> To: "Glynn Stanton" <glynn at paniglynn.com>
> Cc: simh at trailing-edge.com
> Message-ID: <OF58A33671.BDAA0C98-ONC1256FFD.002C2051 at netfr.alcatel.fr>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Hi,
> 
> > Seems that simh is limiting me to having a maximum of 4 Drives, rq0 to
> rq3.
> > When I try and define an rq4 I get a "Unit disabled" error.
> 
> 
> > Have looked through the faq, but didn't see anything on this being a
> limitation.
> 
> 
> yep, that's right - on real DEC hw, there were only 4 devices per
> controller.
> 
> 
> if you need more than 4 disk drives emulated, you can activate the
> emulation
> 
> 
> of up to 4 MSCP controllers:
> 
> 
> sim> set rqb enabled
> 
> 
> sim> set rqc enabled
> 
> 
> sim> set rqd enabled
> 
> 
> (rq aka rqa is enabled by default)
> 
> 
> this gives you a total of 4x4=16 drives.
> now you can define the characteristics of each drive as for rq, like:
> 
> 
> sim> set rqb0 ra92 (standard RA92)
> 
> 
> sim> set rqc2 rauser=4000  (ra81 like drive with 4GB)
> 
> 
> sim> set rqd4 cdrom
> 
> 
> and attach the physical disk image files as necessary.
> 
> 
> if you really want more than 4 drives per controller, I think you need to
> modify the source code and recompile.
> 
> 
> Kind regards,
> 
> 
> Andreas
> 
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Tue, 10 May 2005 08:45:58 -0500
> From: Tim Riker <Tim at Rikers.org>
> Subject: Re: [Simh] More than 4 Drives ?
> To: simh at trailing-edge.com
> Message-ID: <4280BB16.8080200 at Rikers.org>
> Content-Type: text/plain; charset=us-ascii
> 
> I think simh should reverse this. Much of this hardware can handle
> multiple cards of the same type in different slots. I wish it was more
> like (for hp2100 tape drives):
> 
> sim> set dev30=msc0
> sim> set msc0 13183a fasttime enabled
> sim> set dev32=msc1
> sim> set msc1 13183a fasttime enabled
> sim> set msc0,0 reel=0
> sim> attach msc0,0 msc0,0.img
> ...
> sim> set msc0,3 reel=0
> sim> attach msc0,3 msc0,3.img
> sim> set msc1,0 reel=0
> sim> attach msc1,0 msc1,0.img
> ...
> sim> set msc1,3 reel=0
> sim> attach msc1,3 msc1,3.img
> 
> this would mean that all devices would need a [0-n] designation, but
> would allow consistant multiple attachment. I realise some
> re-organization would be required, but I think it would be worth the effort.
> 
> course I don't know if anyone really wants 8 mag tape drives. =) but the
> concept would be the same for disc controllers etc.
> 
> I'm not sure what I'd recommend for interfaces like the MSC that need
> multiple controllers. Should dev31 and dev33 need to be specified as
> well? Should they be assumed? what would a "sh con" look like?
> 
> Ah well. you get the idea at least.
> 
> A.Bucher at alcatel.de wrote:
> > if you need more than 4 disk drives emulated, you can activate the 
> > emulation of up to 4 MSCP controllers:
> > 
> > sim> set rqb enabled
> > sim> set rqc enabled
> > sim> set rqd enabled
> > 
> > (rq aka rqa is enabled by default)
> > 
> > this gives you a total of 4x4=16 drives.
> > now you can define the characteristics of each drive as for rq, like:
> > 
> > sim> set rqb0 ra92 (standard RA92)
> > sim> set rqc2 rauser=4000  (ra81 like drive with 4GB)
> > sim> set rqd4 cdrom
> > 
> > and attach the physical disk image files as necessary.
> > if you really want more than 4 drives per controller, I think you need to
> > modify the source code and recompile.
> -- 
> Tim Riker - http://rikers.org/ - TimR at Debian.org
> Embedded Linux Technologist
> BZFlag maintainer - http://BZFlag.org/ - for fun!
> 
> 
> ------------------------------
> 
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
> 
> 
> End of Simh Digest, Vol 18, Issue 3
> ***********************************



More information about the Simh mailing list