[Simh] Ethernet connection problems

Mark Pizzolato - Info Comm Mark at infocomm.com
Wed Dec 18 06:41:39 EST 2013


Hi Priya,

Hmmm...

There was a fix checked into the github repository about 21 hours ago which fixed an Ethernet issue and which the version you've built does not contain.

You will definitely need the latest code,

However, that doesn't seem to be the issue you are encountering.  It seems you've built a simulator without support for libpcap.  The output produced when you performed 'make vax' would be more informative regarding this.

It probably suggests that you need to install the libpcap-dev package for your simulator to have Ethernet support...

If after considering this, you still have a problem, please open an issue at https://github.com/simh/simh/issues.


-          Mark


From: simh-bounces at trailing-edge.com [mailto:simh-bounces at trailing-edge.com] On Behalf Of Priya Chincholikar
Sent: Wednesday, December 18, 2013 3:28 AM
To: simh at trailing-edge.com
Subject: [Simh] Ethernet connection problems

Hi,

I'm installing SIMH on RedHat VM. I seem to have Ethernet connection problems.


# usr/local/vax/bin/vax

MicroVAX 3900 simulator V4.0-0 Beta        git commit id: 25a62c28
NVR: buffering file in memory
usr/local/vax/bin/vax.ini-34> attach XQ eth0
Command not allowed

KA655-B V5.3, VMB 2.7
Performing normal system tests.
40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25..
24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..
08..07..06..05..04..03..
Tests completed.
>>>usr/local/vax/bin/vax.ini-47> boot cpu *I did ^E here*

Simulation stopped, PC: 20043601 (BSBW 2004367B)
sim> sh ver
MicroVAX 3900 simulator V4.0-0 Beta
        Simulator Framework Capabilities:
                64b data
                64b addresses
                no Ethernet
                Idle/Throttling support is available
                Virtual Hard Disk (VHD) support
                RAW disk and CD/DVD ROM support
                Asynchronous I/O support
        Host Platform:
                Compiler: GCC 4.1.1 20070105 (Red Hat 4.1.1-52)
                Simulator Compiled: Dec 12 2013 at 00:20:12
                Memory Access: Little Endian
                Memory Pointer Size: 32 bits
                Large File (>2GB) support
                OS clock tick size: 2ms
                OS: Linux dt558.**.com 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux

        git commit id: 25a62c28
sim> show ethernet
ETH devices:
  network support not available in simulator
sim> quit
Goodbye
NVR: writing buffer to file

The host is :

# cat /proc/version
Linux version 2.6.18-8.el5 (brewbuilder at ls20-bc2-14.build.redhat.com<mailto:brewbuilder at ls20-bc2-14.build.redhat.com>) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Fri Jan 26 14:15:21 EST 2007

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
;
; This virtual machine has 64M memory
set cpu 64m
;
; Define disk drive types. RA92 is largest-supported VAX drive.
set rq0 ra92
set rq1 rauser=10240
set rq2 rauser=10240
set rq3 cdrom
;
; Attach defined drives to local files
attach rq0 /mnt/simh-disks/d0.dsk
attach rq1 /mnt/simh-disks/d1.dsk
attach rq2 /mnt/simh-disks/d2.dsk
;
; Attach the CD-ROM to its file (read-only)
;attach -r rq3 /usr/local/vax/data/cd.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-AC-AC-B1
set XQ type=DELQA
attach XQ eth0
;
;Uncomment the line below to enable auto-boot
;dep bdr 0
;
; Choose one of the following lines. SET CPU CONHALT returns control to the
; VAX console monitor on a halt event (where behavior will be further
; determined by whether auto-boot is set--see above. SET CPU SIMHALT will
; cause the simulator to get control instead.
set cpu conhalt
;set cpu simhalt
;
; Now start the emulator
boot cpu
;
;Exit the simulator
;exit
~

The steps I followed for installing of the emulator are:
$ wget   https://github.com/simh/simh/archive/master.zip
$ unzip simh-master.zip
$ cd simh-master
 $ make vax

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20131218/f323f7ff/attachment-0002.html>


More information about the Simh mailing list