On 07/01/11 09:33, Mark Benson wrote:
On 1 Jul 2011, at 07:46, Johnny Billquist wrote:
RA92 is 1.4G.
I think 1.6GB is the unformatted size, 1.4GB after initialize.
Well, the unformatted size is actually even bigger, at around 1.9G. But who cares about that? It is not something you can ever see or use. And it's 1.4G after formatting, not initializing. (Atleast in DEC speak, where formatting is the low level formatting of the device, and initializing is creating a file system.)
To check free space on your disks: "SHO DEV D"
Shows only 17865 blocks free :\ That's less than 9 MB? (if my maths works out using 512byte blocks)
I played about and got a better report using SHOW DEV/FULL DUA0 (came back to me - I knew I'd read it in the handbook somewhere) which dumps:
[...]
So, you have a total blocks of 311200, which matches an RD54, yes. If your disk container is much bigger, and you haven't somehow gotten simh to restrict it, the total blocks number should match the hardware, so this would suggest that you got something wrong outside of VMS.
This is fun learning, and annoying at the same time :D
:-)
Johnny
On 1 Jul 2011, at 07:46, Johnny Billquist wrote:
RA92 is 1.4G.
I think 1.6GB is the unformatted size, 1.4GB after initialize.
To check free space on your disks: "SHO DEV D"
Shows only 17865 blocks free :\ That's less than 9 MB? (if my maths works out using 512byte blocks)
I played about and got a better report using SHOW DEV/FULL DUA0 (came back to me - I knew I'd read it in the handbook somewhere) which dumps:
Disk VAX001$DUA0:, device type RD54, is online, mounted, file-oriented device,
shareable, available to cluster, error logging is enabled.
Error count 0 Operations completed 2759
Owner process "" Owner UIC [SYSTEM]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G:R,W
Reference count 42 Default buffer size 512
Total blocks 311200 Sectors per track 17
Total cylinders 1221 Tracks per cylinder 15
Volume label "VAXINE" Relative volume number 0
Cluster size 9 Transaction count 150
Free blocks 17865 Maximum files allowed 15560
Extend quantity 5 Mount count 1
Mount status System Cache name "_VAX001$DUA0:XQPCACHE"
Extent cache size 64 Maximum blocks in extent cache 1786
File ID cache size 64 Blocks currently in extent cache 1674
Quota cache size 0 Maximum buffers in FCP cache 1227
Volume owner UIC [1,1] Vol Prot S:RWCD,O:RWCD,G:RWCD,W:RWCD
Volume Status: ODS-2, subject to mount verification, protected subsystems
enabled, file high-water marking, write-through caching enabled.
And yes, 4.8GB should be more than enough. Not sure what is going on...
What is going on is SIMH isn't accessing the full size of the files I specified. Even though I used RAUSE R disk types it seem to assume they are RD54s, which are only 172MB (confirmed: I googled RD54s and they are 173MB drives)?!
I have started with another 3-disk system using RA92s. It seems if you use a set disk type and a valid file path it will build a new file for you.
This is fun learning, and annoying at the same time :D
--
Mark Benson
My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson
"Never send a human to do a machine's job..."
On 2011-07-01 02:02, Mark Benson wrote:
I have most of the issues with SIMH sorted out apart from one.
I ran up a couple of 4.8GB images using:
dd if=/dev/zero of=vaxvmsssys.iso bs=512 count=9600000
in Net BSD.
I then set the SIMH emulator up with:
set -L rq0 rauser=9600000
attach rq0 /sdcard/d0.dsk
Using info from here: http://labs.hoffmanlabs.com/node/922
Which was a little vague, to say the least.
It all seemed to work fine. The disk works okay. However, it ran out of space by the time I'd installed VMS 7.3 (including DECwindows/MOTIF support, which I wanted for possible future remote graphical access) and tried to install TCP/IP UCX onto the system. I don't know how to check free space on a device, so I can't see the total blocks available compared to the original dd'd file. I wouldn't have thought VMS would fill a 4.8 GB disk though? It's supposed to install comfortable on an RA92 and that was only 1.2 or 1.6 GB IIRC.
RA92 is 1.4G.
To check free space on your disks: "SHO DEV D"
And yes, 4.8GB should be more than enough. Not sure what is going on...
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
My startup procedure actually does a redirect to the "5'th" NetBSD terminal. That terminal becomes the console "OPA0:".
-Steve
From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On Behalf Of Jason Stevens
Sent: Thursday, June 30, 2011 19:11
To: hecnet at update.uu.se
Subject: Re: [HECnet] SIMH VAX Project
I always like to run them from screen.. Then you can attach to the console etc etc...
On Thu, Jun 30, 2011 at 6:09 PM, Steve Davidson <jeep at scshome.net> wrote:
Mark,
This is a VERY easy setup. Start your SimH process from rc.local. Be sure to put the "&" at the end of the line. I can send you what I have if need be.
Regards,
-Steve
-----Original Message-----
From: owner-hecnet at Update.UU.SE on behalf of Mark Benson
Sent: Thu 6/30/2011 08:57
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] SIMH VAX Project
> Security on BSD distributions is tight, you might need to reduce the security policies on the system. Libpcap turns the ethernet device in promiscuous mode and that may be considered harmful.
Figures. You can only run SIMH with networking as root. Might explain it.
--
Mark Benson
http://markbenson.org/bloghttp://twitter.com/MDBenson
On 30 Jun 2011, at 10:56, hvlems at zonnet.nl wrote:
>
>
> Hans
> Verzonden vanaf mijn draadloze BlackBerry -toestel
>
> -----Original Message-----
> From: Mark Benson <md.benson at gmail.com>
> Sender: owner-hecnet at Update.UU.SE
> Date: Thu, 30 Jun 2011 10:26:19
> To: hecnet at Update.UU.SE<hecnet at Update.UU.SE>
> Reply-To: hecnet at Update.UU.SESubject: Re: [HECnet] SIMH VAX Project
>
> "File not found" I think. Like it couldn't pick up the device.
>
> Re: Sharing a port, I don't need to talk to the host OS from the VAX emulation, I just need to access both from a third host.
>
> I will have to compile libpcap from pkgsrc but that shouldn't be an issue unless pcap needs to be present at compile time. If that is the case I just need to recompile SIMH so again no big deal.
>
> FWIW, NetBSD is not a flavour of Linux either ;) ;)
> <this is intended as a lighthearted statement>
>
> It's all good fun!
>
> --
> Mark Benson
>
> http://markbenson.org/blog
> http://twitter.com/MDBenson
>
> On 30 Jun 2011, at 09:53, hvlems at zonnet.nl wrote:
>
>> What error message did you get?
Yeah, the one thing that annoys me about screen with Terminal.app is that the window scrolling no longer works, something to do with how screen reformats the control chars..
sampsa
On 1 Jul 2011, at 01:06, Mark Benson wrote:
On 1 Jul 2011, at 00:28, Sampsa Laine wrote:
Seconded - I run GORVAX's SIMH in a screen..
Tis a good plan, I will do that when I actually get to an established production stage.
I love screen - with the right switched it can be used as a basic serial terminal too which is damned handy on a MacBook Air using a KeySpan adapter and Mac OS X - I did the re-install on my Alpha that way :) Only place it fell over was the character map went to hell when I used EVE. I may not have explicitly done a
'SET TERM/VT100' beforehand though...
--
Mark Benson
My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson
"Never send a human to do a machine's job..."
On 1 Jul 2011, at 00:28, Sampsa Laine wrote:
Seconded - I run GORVAX's SIMH in a screen..
Tis a good plan, I will do that when I actually get to an established production stage.
I love screen - with the right switched it can be used as a basic serial terminal too which is damned handy on a MacBook Air using a KeySpan adapter and Mac OS X - I did the re-install on my Alpha that way :) Only place it fell over was the character map went to hell when I used EVE. I may not have explicitly done a
'SET TERM/VT100' beforehand though...
--
Mark Benson
My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson
"Never send a human to do a machine's job..."
Running as root cleared up the ethernet issue. It now attaches just fine. Was error 'File open issue' so it couldn't access it as a non-privileged user.
attach xq ra0
The device is re0 not ra0, for the record.
On 30 Jun 2011, at 23:01, Steve Davidson wrote:
This is how SGC:: works today. It is running NetBSD, SimH, and VAX/VMS 7.3. Save yourself tons of grief and use two NICs. One NIC is for NetBSD (IP) the other is for VMS (DECnet and/or IP). Bring the second NIC up under NetBSD but do NOT assign an IP address to it. If you wish you can run the bridge on this same machine or run Multinet with its tunnels.
Issue is the machine is physically tiny (mounts on the VESA points on the back of my LCD panel) and, although it has a PCI slot I could throw a 3C905 in, it has no back panel access. The power connector for the PicoPSU is actually right where a possible ethernet connector might be.
USB LAN is a possible option but I don't want to choke the USB bus as I use a SD crd carry the disk images and I don't want to upset the I/O to/from the images. You know how finicky USB can be :P
I can give you access to the SGC:: host machine so that you take a look if you wish. Just let me know.
I have most of the issues with SIMH sorted out apart from one.
I ran up a couple of 4.8GB images using:
dd if=/dev/zero of=vaxvmsssys.iso bs=512 count=9600000
in Net BSD.
I then set the SIMH emulator up with:
set -L rq0 rauser=9600000
attach rq0 /sdcard/d0.dsk
Using info from here: http://labs.hoffmanlabs.com/node/922
Which was a little vague, to say the least.
It all seemed to work fine. The disk works okay. However, it ran out of space by the time I'd installed VMS 7.3 (including DECwindows/MOTIF support, which I wanted for possible future remote graphical access) and tried to install TCP/IP UCX onto the system. I don't know how to check free space on a device, so I can't see the total blocks available compared to the original dd'd file. I wouldn't have thought VMS would fill a 4.8 GB disk though? It's supposed to install comfortable on an RA92 and that was only 1.2 or 1.6 GB IIRC.
I probably screwed something up somewhere, but without knowing what, I can't either get access to the full disk or re-install to a full size disk.
--
Mark Benson
My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson
"Never send a human to do a machine's job..."
Seconded - I run GORVAX's SIMH in a screen..
Sampsa
On 1 Jul 2011, at 00:10, Jason Stevens wrote:
I always like to run them from screen.. Then you can attach to the console etc etc...
On Thu, Jun 30, 2011 at 6:09 PM, Steve Davidson <jeep at scshome.net> wrote:
Mark,
This is a VERY easy setup. Start your SimH process from rc.local. Be sure to put the "&" at the end of the line. I can send you what I have if need be.
Regards,
-Steve
-----Original Message-----
From: owner-hecnet at Update.UU.SE on behalf of Mark Benson
Sent: Thu 6/30/2011 08:57
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] SIMH VAX Project
> Security on BSD distributions is tight, you might need to reduce the security policies on the system. Libpcap turns the ethernet device in promiscuous mode and that may be considered harmful.
Figures. You can only run SIMH with networking as root. Might explain it.
--
Mark Benson
http://markbenson.org/bloghttp://twitter.com/MDBenson
On 30 Jun 2011, at 10:56, hvlems at zonnet.nl wrote:
>
>
> Hans
> Verzonden vanaf mijn draadloze BlackBerry -toestel
>
> -----Original Message-----
> From: Mark Benson <md.benson at gmail.com>
> Sender: owner-hecnet at Update.UU.SE
> Date: Thu, 30 Jun 2011 10:26:19
> To: hecnet at Update.UU.SE<hecnet at Update.UU.SE>
> Reply-To: hecnet at Update.UU.SESubject: Re: [HECnet] SIMH VAX Project
>
> "File not found" I think. Like it couldn't pick up the device.
>
> Re: Sharing a port, I don't need to talk to the host OS from the VAX emulation, I just need to access both from a third host.
>
> I will have to compile libpcap from pkgsrc but that shouldn't be an issue unless pcap needs to be present at compile time. If that is the case I just need to recompile SIMH so again no big deal.
>
> FWIW, NetBSD is not a flavour of Linux either ;) ;)
> <this is intended as a lighthearted statement>
>
> It's all good fun!
>
> --
> Mark Benson
>
> http://markbenson.org/blog
> http://twitter.com/MDBenson
>
> On 30 Jun 2011, at 09:53, hvlems at zonnet.nl wrote:
>
>> What error message did you get?
I always like to run them from screen.. Then you can attach to the console etc etc...
On Thu, Jun 30, 2011 at 6:09 PM, Steve Davidson <jeep at scshome.net> wrote:
Mark,
This is a VERY easy setup. Start your SimH process from rc.local. Be sure to put the "&" at the end of the line. I can send you what I have if need be.
Regards,
-Steve
-----Original Message-----
From: owner-hecnet at Update.UU.SE on behalf of Mark Benson
Sent: Thu 6/30/2011 08:57
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] SIMH VAX Project
> Security on BSD distributions is tight, you might need to reduce the security policies on the system. Libpcap turns the ethernet device in promiscuous mode and that may be considered harmful.
Figures. You can only run SIMH with networking as root. Might explain it.
--
Mark Benson
http://markbenson.org/bloghttp://twitter.com/MDBenson
On 30 Jun 2011, at 10:56, hvlems at zonnet.nl wrote:
>
>
> Hans
> Verzonden vanaf mijn draadloze BlackBerry -toestel
>
> -----Original Message-----
> From: Mark Benson <md.benson at gmail.com>
> Sender: owner-hecnet at Update.UU.SE
> Date: Thu, 30 Jun 2011 10:26:19
> To: hecnet at Update.UU.SE<hecnet at Update.UU.SE>
> Reply-To: hecnet at Update.UU.SESubject: Re: [HECnet] SIMH VAX Project
>
> "File not found" I think. Like it couldn't pick up the device.
>
> Re: Sharing a port, I don't need to talk to the host OS from the VAX emulation, I just need to access both from a third host.
>
> I will have to compile libpcap from pkgsrc but that shouldn't be an issue unless pcap needs to be present at compile time. If that is the case I just need to recompile SIMH so again no big deal.
>
> FWIW, NetBSD is not a flavour of Linux either ;) ;)
> <this is intended as a lighthearted statement>
>
> It's all good fun!
>
> --
> Mark Benson
>
> http://markbenson.org/blog
> http://twitter.com/MDBenson
>
> On 30 Jun 2011, at 09:53, hvlems at zonnet.nl wrote:
>
>> What error message did you get?
Mark,
This is a VERY easy setup. Start your SimH process from rc.local. Be sure to put the "&" at the end of the line. I can send you what I have if need be.
Regards,
-Steve
-----Original Message-----
From: owner-hecnet at Update.UU.SE on behalf of Mark Benson
Sent: Thu 6/30/2011 08:57
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] SIMH VAX Project
Security on BSD distributions is tight, you might need to reduce the security policies on the system. Libpcap turns the ethernet device in promiscuous mode and that may be considered harmful.
Figures. You can only run SIMH with networking as root. Might explain it.
--
Mark Benson
http://markbenson.org/bloghttp://twitter.com/MDBenson
On 30 Jun 2011, at 10:56, hvlems at zonnet.nl wrote:
Hans
Verzonden vanaf mijn draadloze BlackBerry -toestel
-----Original Message-----
From: Mark Benson <md.benson at gmail.com>
Sender: owner-hecnet at Update.UU.SE
Date: Thu, 30 Jun 2011 10:26:19
To: hecnet at Update.UU.SE<hecnet at Update.UU.SE>
Reply-To: hecnet at Update.UU.SESubject: Re: [HECnet] SIMH VAX Project
"File not found" I think. Like it couldn't pick up the device.
Re: Sharing a port, I don't need to talk to the host OS from the VAX emulation, I just need to access both from a third host.
I will have to compile libpcap from pkgsrc but that shouldn't be an issue unless pcap needs to be present at compile time. If that is the case I just need to recompile SIMH so again no big deal.
FWIW, NetBSD is not a flavour of Linux either ;) ;)
<this is intended as a lighthearted statement>
It's all good fun!
--
Mark Benson
http://markbenson.org/bloghttp://twitter.com/MDBenson
On 30 Jun 2011, at 09:53, hvlems at zonnet.nl wrote:
What error message did you get?