[Simh] EXT : Network Problem

Hittner, David T (IS) david.hittner at ngc.com
Tue Dec 31 11:10:45 EST 2013


Rerun @SYS$MANAGER:TCPIP$CONFIG to fix your TCPIP hardware interface definitions.
The error is telling you that it can't find the VAX hardware device (no such device SE0) to attach (on the 4th line).

The MicroVAX 3900 in the SIMH VAX does not have an SE0 interface, it has a QNA interface.
I think SE0 was the built-in MicroVAX/VAXstation 3100 interface.
Was this system disk originally used by a different VAX emulator (like Charon/SRI) or a different model of real VAX?

Dave

From: simh-bounces at trailing-edge.com [mailto:simh-bounces at trailing-edge.com] On Behalf Of Priya Chincholikar
Sent: Tuesday, December 31, 2013 7:53 AM
To: simh at trailing-edge.com
Subject: EXT :[Simh] Network Problem



Hi,

I am trying boot a vax disk on SIMH and it keeps getting hung while starting network like TCP/IP.
I have the required lipcap packages. My host is RedHat VM. The simulator was built with network support.


*******INTERnet Started**************

%UCX-I-DEFINTE, Defining interfaces
%UCX-E-INVINTER, Error defining interface: SE0
-UCX-I-ACPQIO, Failure on Internet ACP QIO
-SYSTEM-W-NOSUCHDEV, no such device available
-SYSTEM-W-NOSUCHDEV, no such device available
%UCX-E-INVINTERNAM, Invalid interface name
-UCX-I-DRIVERQIO, Failure on Internet driver QIO
-UCX-E-INVNETMASK, Invalid network mask
%UCX-E-DELINTER, Error deleting interface: SE0
-UCX-I-ACPQIO, Failure on Internet ACP QIO ----> gets hung here
usr/local/vax/bin/vax.ini-47> boot cpuname

Simulation stopped, PC: 8358DF47 (BBC #3,26C(R3),8358DF9B)
sim>

This is the build:

root at dt558 simh-master]# make vax
lib paths are: /lib/ /usr/lib/ /usr/lib/qt-3.3/lib/ /usr/lib/sse2/
using libm: /usr/lib//libm.so
using librt: /usr/lib//librt.so
using libpthread: /usr/lib//libpthread.so /usr/include/pthread.h
using libdl: /usr/lib//libdl.so /usr/include/dlfcn.h
using libpcap: /usr/local/lib/libpcap.a /usr/local/include/pcap.h
*** Warning ***
*** Warning *** vax Simulator being built with networking support using
*** Warning *** libpcap components from www.tcpdump.org<http://www.tcpdump.org>.
*** Warning *** Some users have had problems using the www.tcpdump.org<http://www.tcpdump.org> libpcap
*** Warning *** components for simh networking.  For best results, with
*** Warning *** simh networking, it is recommended that you install the
*** Warning *** libpcap-dev package from your Linux distribution
*** Warning ***
*** Warning *** Building with the components manually installed from www.tcpdump.org<http://www.tcpdump.org>
*** Warning *** is officially deprecated.  Attempting to do so is unsupported.
*** Warning ***
*** Warning ***
*** Warning *** vax Simulator are being built with
*** Warning *** minimal libpcap networking support
*** Warning ***
*** Warning *** Simulators on your Linux platform can also be built with
*** Warning *** extended Ethernet networking support by using VDE Ethernet.
*** Warning ***
*** Warning *** To build simulator(s) with extended networking support you
*** Warning *** should read 0readme_ethernet.txt and follow the instructions
*** Warning *** regarding the needed libvdeplug components for your Linux
*** Warning *** platform
*** Warning ***
***
*** vax Simulator being built with:
*** - compiler optimizations and no debugging support. GCC Version: 4.1.2.
*** - networking support using libpcap components from www.tcpdump.org<http://www.tcpdump.org>.
*** - Local LAN packet transports: PCAP TAP
***
*** git commit id is 86e342501deaec3df79b31c13dd6d622938176e2.
***
mkdir -p BIN
gcc -std=c99 -U__STRICT_ANSI__  -O2 -finline-functions -fgcse-after-reload -fno-unsafe-loop-optimizations -DSIM_GIT_COMMIT_ID=86e342501deaec3df79b31c13dd6d622938176e2 -DSIM_COMPILER="GCC Version: 4.1.2" -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO  -DHAVE_DLOPEN=so -DHAVE_GLOB  sim_BuildROMs.c -o BIN/BuildROMs
BIN/BuildROMs
rm -f BIN/BuildROMs
mkdir -p BIN
gcc -std=c99 -U__STRICT_ANSI__  -O2 -finline-functions -fgcse-after-reload -fno-unsafe-loop-optimizations -DSIM_GIT_COMMIT_ID=86e342501deaec3df79b31c13dd6d622938176e2 -DSIM_COMPILER="GCC Version: 4.1.2" -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO  -DHAVE_DLOPEN=so -DHAVE_GLOB  VAX/vax_cpu.c VAX/vax_cpu1.c VAX/vax_fpa.c VAX/vax_io.c VAX/vax_cis.c VAX/vax_octa.c  VAX/vax_cmode.c VAX/vax_mmu.c VAX/vax_stddev.c VAX/vax_sysdev.c VAX/vax_sys.c  VAX/vax_syscm.c VAX/vax_syslist.c PDP11/pdp11_rl.c PDP11/pdp11_rq.c PDP11/pdp11_ts.c PDP11/pdp11_dz.c PDP11/pdp11_lp.c PDP11/pdp11_tq.c PDP11/pdp11_xq.c PDP11/pdp11_vh.c PDP11/pdp11_cr.c PDP11/pdp11_io_lib.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c sim_disk.c sim_serial.c sim_video.c -DVM_VAX -DUSE_INT64 -DUSE_ADDR64 -I VAX -I PDP11 -DUSE_NETWORK -DHAVE_PCAP_NETWORK -isystem -I/usr/local/include/ /usr/local/lib/libpcap.a -DHAVE_TAP_NETWORK -o BIN/microvax3900 -lm -lrt -lpthread -ldl
cp BIN/microvax3900 BIN/vax


Show version and show ethernet :

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

Simulation stopped, PC: 20043601 (BSBW 2004367B)
sim> sh ver
MicroVAX 3900 simulator V4.0-0 Beta
        Simulator Framework Capabilities:
                64b data
                64b addresses
                Ethernet Packet transport:PCAP:TAP:UDP
                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.2 20080704 (Red Hat 4.1.2-46)
                Simulator Compiled: Dec 30 2013 at 17:52:32
                Memory Access: Little Endian
                Memory Pointer Size: 32 bits
                Large File (>2GB) support
                OS clock tick size: 3ms
                OS: Linux dt558.***.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux

        git commit id: 86e34250
sim> sh eth
ETH devices:
 eth0   eth0                                 (No description available)
 eth1   tap:tapN                             (Integrated Tun/Tap support)
 eth2   udp:sourceport:remotehost:remoteport (Integrated UDP bridge support)
Open ETH Devices:
 XQ     eth0 (No description available)
Ethernet Device:
  Name:                    eth0
  Reflections:             0
  Self Loopbacks Sent:     2
  Self Loopbacks Rcvd:     0
  Host NIC Address:        00:0C:29:59:50:83
  Packets Sent:            4
  Asynch Interrupts:       Disabled
  Read Queue: Count:       0
  Read Queue: High:        0
  Read Queue: Loss:        0
  Peak Write Queue Size:   1
sim> quit
Goodbye
NVR: writing buffer to file
Eth: closed eth0

[root at dt558 /]# cat proc/version
Linux version 2.6.18-164.el5 (mockbuild at x86-002.build.bos.redhat.com<mailto:mockbuild at x86-002.build.bos.redhat.com>) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Tue Aug 18 15:51:54 EDT 2009

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 /usr/local/vax/data/d0.dsk
;attach rq1 /usr/local/vax/data/d1.dsk
attach rq2 /usr/local/vax/data/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=00:1D:D8:B7:1C:00
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

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


More information about the Simh mailing list