[Simh] trouble selecting VAX ethernet on CentOS

Mark Pizzolato - Info Comm Mark at infocomm.com
Sun Feb 26 16:17:25 EST 2012


Hi Mike,

I just fixed something in the BuildROMs code.  I've added checks to verify that the files have been unpacked correctly.  Can you try again.

If the make fails again it should issue an error message explaining why instead of the segfault.  This error message will indicate that the ROM image files have been mangled.  This is likely due to something trying to do line ending conversions which isn't appropriate for the binary ROM files.

My explicit instructions to download the zip file and then to unpack it with 'unzip -aa zipfilename.zip' have worked correctly for me on many platforms.

Please let me know if you get any further.

Thanks.

- Mark

> -----Original Message-----
> From: Michael L. Umbricht [mailto:mike at umbricht.org]
> Sent: Sunday, February 26, 2012 12:45 PM
> To: Mark Pizzolato - Info Comm; simh at trailing-edge.com
> Subject: RE: [Simh] trouble selecting VAX ethernet on CentOS
> 
> Ok. I gave it a try, but it segfaults during make.
> 
> -mikeu
> 
> 
> $ make vax
> lib paths are: /lib64/ /usr/lib64/ /usr/lib64/atlas/ /usr/lib64/mysql/
> /usr/lib64/qt-3.3/lib/ /usr/lib64/xulrunner-2/
> using libm: /usr/lib64//libm.so
> using librt: /usr/lib64//librt.so
> using libpthread: /usr/lib64//libpthread.so /usr/include/pthread.h
> using libdl: /usr/lib64//libdl.so /usr/include/dlfcn.h
> using libpcap: /usr/include/pcap.h
> *** Simulator(s) being built with networking support using
> *** Linux provided libpcap components
> gcc -std=c99 -U__STRICT_ANSI__ -g -I . -D_GNU_SOURCE -DSIM_ASYNCH_IO
> -DUSE_READER_THREAD  -DHAVE_DLOPEN=so  sim_BuildROMs.c -o BIN/BuildROMs
> BIN/BuildROMs
> make: *** [BIN/BuildROMs] Segmentation fault (core dumped)
> make: *** Deleting file `BIN/BuildROMs'
> 
> 
> > -------- Original Message --------
> > Subject: RE: [Simh] trouble selecting VAX ethernet on CentOS
> > From: Mark Pizzolato - Info Comm <Mark at infocomm.com>
> > Date: Sun, February 26, 2012 1:22 pm
> > To: "Michael L. Umbricht" <mike at umbricht.org>, "simh at trailing-
> edge.com"
> > <simh at trailing-edge.com>
> >
> >
> > On Sunday, February 26, 2012 at 10:04 AM, Michael L. Umbricht wrote:
> > > I'm having a little trouble choosing the ethernet interface for a
> VAX
> > > in SimH. My Dell Precision M6400 laptop has the following
> interfaces:
> > >
> > >   0  eth0   ; on-board gig ethernet
> > >   1  wlan0  ; on-board wireless
> > >   2  virbr0 ; used by Virtual Box
> > >   3  eth1   ; PCMCIA card w/ 10b2 or 10bT connectors
> > >
> > > I'd really like to use the eth1 ThinWire interface to connect SimH
> with
> > > a hardware VAX, while using eth0 for my internet connection. When I
> try
> > > to connect to eth0 or eth1 I get a segmentation fault. If I try
> just
> > > "eth" it works fine and connects to eth0. I can't get it to attach
> to
> > > eth1, though. Choosing from the "at xq ?" menu also leads to a core
> > > dump. Is there anything that I am missing here?
> >
> > Hi Mike,
> >
> > There have been significant changes to the networking layer in the
> upcoming release.
> > Solving your issue makes the most sense using the latest code base.
> > Please download the latest sources to work out this issue:
> >
> >     1 - Download https://github.com/markpizz/simh/zipball/master
> Saving what that URL returns as a .zip file
> >     2 - Unpack that zip file with the command: 'unzip -aa
> zipfilename.zip'
> >     3 - Build the vax simulator with: 'make vax'
> >
> > This will build a simulator with networking support and we can work
> from there to troubleshoot your issue.
> >
> > Let me know if you still have issues.
> >
> > Good Luck.
> >
> > - Mark Pizzolato
> 
> 



More information about the Simh mailing list