Re: [Simh] Segmentation fault when running the MIcrovax emulator
Maybe your microvax emulator was not compiled with the ethernet (XQ) support? Just to test this, please remove the two lines: set xq mac=00-1C-25-EA-22-09 attach xq eth0 that are related to the ethernet interface, then run the microvax again. Hope that helps, François <>___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh
Re: [Simh] Segmentation fault when running the MIcrovax emulator
Build options can be checked with "show version" command. It should display something like sim> sh vers VAX_MP simulator V3.8-1 [64b data, 64b addresses, Ethernet support] From: "Boucher, François" To: simh@trailing-edge.com Sent: Sat, January 7, 2012 10:21:33 AM Subject: Re: [Simh] Segmentation fault when running the MIcrovax emulator Maybe your microvax emulator was not compiled with the ethernet (XQ) support? Just to test this, please remove the two lines: set xq mac=00-1C-25-EA-22-09 attach xq eth0 that are related to the ethernet interface, then run the microvax again. Hope that helps, François ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh
Re: [Simh] Segmentation fault when running the MIcrovax emulator
I put a "show version" in vax.ini. This is the output from trying to run the program VAX simulator V3.8-1 NVR: buffering file in memory VAX simulator V3.8-1 [64b data, 64b addresses, Ethernet support] RQ: unit is read only Segmentation fault Brian. On 01/07/2012 01:31 PM, Sergey Oboguev wrote: Build options can be checked with "show version" command. It should display something like sim> sh vers VAX_MP simulator V3.8-1 [64b data, 64b addresses, Ethernet support] -- *From:* "Boucher, François" *To:* simh@trailing-edge.com *Sent:* Sat, January 7, 2012 10:21:33 AM *Subject:* Re: [Simh] Segmentation fault when running the MIcrovax emulator Maybe your microvax emulator was not compiled with the ethernet (XQ) support? Just to test this, please remove the two lines: set xq mac=00-1C-25-EA-22-09 attach xq eth0 that are related to the ethernet interface, then run the microvax again. Hope that helps, François ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh
Re: [Simh] Segmentation fault when running the MIcrovax emulator
I'd suggest to start with identifying script command that causes the fault. You can do it by disabling individual suspect commands by commenting them out with "!" prefix or by inserting "echo step 1", "echo step 2" etc. commands in the script between the suspect commands or simply by starting the simulator's executable without an argument and copy-pasting script commands one line at a time at the simulator's prompt. From: brian To: simh@trailing-edge.com Sent: Sat, January 7, 2012 10:53:29 AM Subject: Re: [Simh] Segmentation fault when running the MIcrovax emulator I put a "show version" in vax.ini. This is the output from trying to run the program VAX simulator V3.8-1 NVR: buffering file in memory VAX simulator V3.8-1 [64b data, 64b addresses, Ethernet support] RQ: unit is read only Segmentation fault Brian. On 01/07/2012 01:31 PM, Sergey Oboguev wrote: > Build options can be checked with "show version" command. > It should display something like > > sim> sh vers > VAX_MP simulator V3.8-1 [64b data, 64b addresses, Ethernet support] > > -- > *From:* "Boucher, François" > *To:* simh@trailing-edge.com > *Sent:* Sat, January 7, 2012 10:21:33 AM > *Subject:* Re: [Simh] Segmentation fault when running the MIcrovax > emulator > > Maybe your microvax emulator was not compiled with the ethernet (XQ) > support? > Just to test this, please remove the two lines: > set xq mac=00-1C-25-EA-22-09 > attach xq eth0 > > that are related to the ethernet interface, then run the microvax again. > Hope that helps, > > François > > > ___ > Simh mailing list > Simh@trailing-edge.com > http://mailman.trailing-edge.com/mailman/listinfo/simh ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh
Re: [Simh] Segmentation fault when running the MIcrovax emulator
On Saturday, January 7, 2012 at 11:12, Sergey Oboguev wrote: > I'd suggest to start with identifying script command that causes the fault. > > You can do it by disabling individual suspect commands by commenting them > out with "!" prefix or by inserting "echo step 1", "echo step 2" etc. > commands in the script between the suspect commands or simply by starting > the simulator's executable without an argument and copy-pasting script > commands one line at a time at the simulator's prompt. Starting the script with the "-v" switch will echo each command before it is executed. See the "SIMH User's Guide," section 3.13. (Also, the comment marker is the semicolon ";". "!" runs a host OS command.) -- Dave ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh
Re: [Simh] Segmentation fault
Rename the vax.ini file to vax.cmd or something else. Then issue the commands once the simulator has started: sim> do -v vax.cmd This will echo the commands as they are executed and at least provide a pointer to which one blew up. /Bob On 1/7/2012 12:00 PM, simh-requ...@trailing-edge.com wrote: Send Simh mailing list submissions to simh@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-requ...@trailing-edge.com You can reach the person managing the list at simh-ow...@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. Segmentation fault when running the MIcrovax emulator (brian) -- Message: 1 Date: Fri, 06 Jan 2012 18:55:48 -0500 From: brian To: SIMH Subject: [Simh] Segmentation fault when running the MIcrovax emulator Message-ID:<4f078a04.1050...@meadows.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Returning to SIMH for the first time in quite a while, I decided to set things up from scratch again, mainly because I can't remember what I did previously. :) I'm using Linux Mint 9 64-bit (based on Ubuntu 10.04). I did previously have the Microvax emulator working, but it was under either Windows XP or some 32-bit version of Mandriva, can't remember which. Anyway, I downloaded, unpacked and compiled the latest sources, which seemed to go OK, no errors as far as I could see. I've been following Phil Wherry's instructions, so I started out with the following as my vax.ini (please assume all the paths are correct, I've checked and double-checked them, and there's a link to vax.ini from the directory with the compiled program) load -r /home/brian/vax/data/ka655x.bin attach nvr /home/brian/vax/data/nvram.bin set cpu 512m set rq0 ra92 set rq1 ra92 set rq2 ra92 set rq3 cdrom attach rq0 /home/brian/vax/data/da0.dsk attach rq1 /home/brian/vax/data/da1.dsk attach rq2 /home/brian/vax/data/da2.dsk attach -r rq3 /home/brian/vax/data/vms073.ISO set xq mac=00-1C-25-EA-22-09 attach xq eth0 set cpu conhalt boot cpu exit Running the program (as root) produced the following output VAX simulator V3.8-1 NVR: creating new file NVR: buffering file in memory RQ: unit is read only Segmentation fault The three files for the disks were all created and of zero length. Looking in my old setup, I saw that when I had a CD image attached, I had the CD device defined as an rrd40, so I gave that a try, deleting the three files and nvram.bin. Nope, same results. I'm sure I'm doing something stupid, but it's been almost 30 years since I used VMS for real, and my C programming is non-existent. Can someone try to point me in the right direction? Thanks, Brian. -- ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh End of Simh Digest, Vol 98, Issue 4 *** ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh
Re: [Simh] Segmentation fault
On Saturday, January 7, 2012 at 17:10, Bob Supnik wrote: > Rename the vax.ini file to vax.cmd or something else. Then issue the > commands once the simulator has started: > > sim> do -v vax.cmd Or running the simulator "vax -v" will echo the startup commands in vax.ini. -- Dave ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh