<div dir="ltr"><div><br></div><div><br></div><div>Hi,</div><div><br></div><div>I am trying boot a vax disk on SIMH and it keeps getting hung while starting network like TCP/IP.</div><div>I have the required lipcap packages. My host is RedHat VM. The simulator was built with network support. </div>
<div> </div><div><br></div><div><div><font color="#0b5394">*******INTERnet Started**************</font></div><div><font color="#0b5394"><br></font></div><div><font color="#0b5394">%UCX-I-DEFINTE, Defining interfaces</font></div>
<div><font color="#0b5394">%UCX-E-INVINTER, Error defining interface: SE0</font></div><div><font color="#0b5394">-UCX-I-ACPQIO, Failure on Internet ACP QIO</font></div><div><font color="#0b5394">-SYSTEM-W-NOSUCHDEV, no such device available</font></div>
<div><font color="#0b5394">-SYSTEM-W-NOSUCHDEV, no such device available</font></div><div><font color="#0b5394">%UCX-E-INVINTERNAM, Invalid interface name</font></div><div><font color="#0b5394">-UCX-I-DRIVERQIO, Failure on Internet driver QIO</font></div>
<div><font color="#0b5394">-UCX-E-INVNETMASK, Invalid network mask</font></div><div><font color="#0b5394">%UCX-E-DELINTER, Error deleting interface: SE0</font></div><div><font color="#0b5394">-UCX-I-ACPQIO, Failure on Internet ACP QIO ----></font><font color="#cc0000"> gets hung here </font></div>
<div><font color="#0b5394">usr/local/vax/bin/vax.ini-47> boot cpuname </font></div><div><font color="#0b5394"><br></font></div><div><font color="#0b5394">Simulation stopped, PC: 8358DF47 (BBC #3,26C(R3),8358DF9B)</font></div>
<div><font color="#0b5394">sim></font></div></div><div><font color="#0b5394"><br></font></div><div><font color="#000000"><b>This is the build</b>:</font></div><div><font color="#000000"><br></font></div><div><font color="#0b5394">root@dt558 simh-master]# make vax<br>
</font></div><div><font color="#0b5394">lib paths are: /lib/ /usr/lib/ /usr/lib/qt-3.3/lib/ /usr/lib/sse2/</font></div><div><font color="#0b5394">using libm: /usr/lib//libm.so</font></div><div><font color="#0b5394">using librt: /usr/lib//librt.so</font></div>
<div><font color="#0b5394">using libpthread: /usr/lib//libpthread.so /usr/include/pthread.h</font></div><div><font color="#0b5394">using libdl: /usr/lib//libdl.so /usr/include/dlfcn.h</font></div><div><font color="#0b5394">using libpcap: /usr/local/lib/libpcap.a /usr/local/include/pcap.h</font></div>
<div><font color="#0b5394">*** Warning ***</font></div><div><font color="#0b5394">*** Warning *** vax Simulator being built with networking support using</font></div><div><font color="#0b5394">*** Warning *** libpcap components from <a href="http://www.tcpdump.org">www.tcpdump.org</a>.</font></div>
<div><font color="#0b5394">*** Warning *** Some users have had problems using the <a href="http://www.tcpdump.org">www.tcpdump.org</a> libpcap</font></div><div><font color="#0b5394">*** Warning *** components for simh networking.  For best results, with</font></div>
<div><font color="#0b5394">*** Warning *** simh networking, it is recommended that you install the</font></div><div><font color="#0b5394">*** Warning *** libpcap-dev package from your Linux distribution</font></div><div><font color="#0b5394">*** Warning ***</font></div>
<div><font color="#0b5394">*** Warning *** Building with the components manually installed from <a href="http://www.tcpdump.org">www.tcpdump.org</a></font></div><div><font color="#0b5394">*** Warning *** is officially deprecated.  Attempting to do so is unsupported.</font></div>
<div><font color="#0b5394">*** Warning ***</font></div><div><font color="#0b5394">*** Warning ***</font></div><div><font color="#0b5394">*** Warning *** vax Simulator are being built with</font></div><div><font color="#0b5394">*** Warning *** minimal libpcap networking support</font></div>
<div><font color="#0b5394">*** Warning ***</font></div><div><font color="#0b5394">*** Warning *** Simulators on your Linux platform can also be built with</font></div><div><font color="#0b5394">*** Warning *** extended Ethernet networking support by using VDE Ethernet.</font></div>
<div><font color="#0b5394">*** Warning ***</font></div><div><font color="#0b5394">*** Warning *** To build simulator(s) with extended networking support you</font></div><div><font color="#0b5394">*** Warning *** should read 0readme_ethernet.txt and follow the instructions</font></div>
<div><font color="#0b5394">*** Warning *** regarding the needed libvdeplug components for your Linux</font></div><div><font color="#0b5394">*** Warning *** platform</font></div><div><font color="#0b5394">*** Warning ***</font></div>
<div><font color="#0b5394">***</font></div><div><font color="#0b5394">*** vax Simulator being built with:</font></div><div><font color="#0b5394">*** - compiler optimizations and no debugging support. GCC Version: 4.1.2.</font></div>
<div><font color="#0b5394">*** - networking support using libpcap components from <a href="http://www.tcpdump.org">www.tcpdump.org</a>.</font></div><div><font color="#0b5394">*** - Local LAN packet transports: PCAP TAP</font></div>
<div><font color="#0b5394">***</font></div><div><font color="#0b5394">*** git commit id is 86e342501deaec3df79b31c13dd6d622938176e2.</font></div><div><font color="#0b5394">***</font></div><div><font color="#0b5394">mkdir -p BIN</font></div>
<div><font color="#0b5394">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</font></div>
<div><font color="#0b5394">BIN/BuildROMs</font></div><div><font color="#0b5394">rm -f BIN/BuildROMs</font></div><div><font color="#0b5394">mkdir -p BIN</font></div><div><font color="#0b5394">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</font></div>
<div><font color="#0b5394">cp BIN/microvax3900 BIN/vax</font></div><div><font color="#0b5394"><br></font></div><div><font color="#0b5394"><br></font></div><div><font color="#000000"><b>Show version and show ethernet :</b></font></div>
<div><font color="#0b5394"><br></font></div><div><div><font color="#0b5394">KA655-B V5.3, VMB 2.7</font></div><div><font color="#0b5394">Performing normal system tests.</font></div><div><font color="#0b5394">40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25..</font></div>
<div><font color="#0b5394">24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..</font></div><div><font color="#0b5394">08..07..06..05..04..03..</font></div><div><font color="#0b5394">Tests completed.</font></div>
<div><font color="#0b5394">>>>usr/local/vax/bin/vax.ini-47> boot cpu</font></div><div><font color="#0b5394"><br></font></div><div><font color="#0b5394">Simulation stopped, PC: 20043601 (BSBW 2004367B)</font></div>
<div><font color="#0b5394">sim> sh ver</font></div><div><font color="#0b5394">MicroVAX 3900 simulator V4.0-0 Beta</font></div><div><font color="#0b5394">        Simulator Framework Capabilities:</font></div><div><font color="#0b5394">                64b data</font></div>
<div><font color="#0b5394">                64b addresses</font></div><div><font color="#0b5394">                Ethernet Packet transport:PCAP:TAP:UDP</font></div><div><font color="#0b5394">                Idle/Throttling support is available</font></div>
<div><font color="#0b5394">                Virtual Hard Disk (VHD) support</font></div><div><font color="#0b5394">                RAW disk and CD/DVD ROM support</font></div><div><font color="#0b5394">                Asynchronous I/O support</font></div>
<div><font color="#0b5394">        Host Platform:</font></div><div><font color="#0b5394">                Compiler: GCC 4.1.2 20080704 (Red Hat 4.1.2-46)</font></div><div><font color="#0b5394">                Simulator Compiled: Dec 30 2013 at 17:52:32</font></div>
<div><font color="#0b5394">                Memory Access: Little Endian</font></div><div><font color="#0b5394">                Memory Pointer Size: 32 bits</font></div><div><font color="#0b5394">                Large File (>2GB) support</font></div>
<div><font color="#0b5394">                OS clock tick size: 3ms</font></div><div><font color="#0b5394">                OS: Linux dt558.***.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux</font></div>
<div><font color="#0b5394"><br></font></div><div><font color="#0b5394">        git commit id: 86e34250</font></div><div><font color="#0b5394">sim> sh eth</font></div><div><font color="#0b5394">ETH devices:</font></div>
<div><font color="#0b5394"> eth0   eth0                                 (No description available)</font></div><div><font color="#0b5394"> eth1   tap:tapN                             (Integrated Tun/Tap support)</font></div>
<div><font color="#0b5394"> eth2   udp:sourceport:remotehost:remoteport (Integrated UDP bridge support)</font></div><div><font color="#0b5394">Open ETH Devices:</font></div><div><font color="#0b5394"> XQ     eth0 (No description available)</font></div>
<div><font color="#0b5394">Ethernet Device:</font></div><div><font color="#0b5394">  Name:                    eth0</font></div><div><font color="#0b5394">  Reflections:             0</font></div><div><font color="#0b5394">  Self Loopbacks Sent:     2</font></div>
<div><font color="#0b5394">  Self Loopbacks Rcvd:     0</font></div><div><font color="#0b5394">  Host NIC Address:        00:0C:29:59:50:83</font></div><div><font color="#0b5394">  Packets Sent:            4</font></div><div>
<font color="#0b5394">  Asynch Interrupts:       Disabled</font></div><div><font color="#0b5394">  Read Queue: Count:       0</font></div><div><font color="#0b5394">  Read Queue: High:        0</font></div><div><font color="#0b5394">  Read Queue: Loss:        0</font></div>
<div><font color="#0b5394">  Peak Write Queue Size:   1</font></div><div><font color="#0b5394">sim> quit</font></div><div><font color="#0b5394">Goodbye</font></div><div><font color="#0b5394">NVR: writing buffer to file</font></div>
<div><font color="#0b5394">Eth: closed eth0</font></div><div><font color="#0b5394"><br></font></div></div><div><div><font color="#0b5394">[root@dt558 /]# cat proc/version</font></div><div><font color="#0b5394">Linux version 2.6.18-164.el5 (<a href="mailto:mockbuild@x86-002.build.bos.redhat.com">mockbuild@x86-002.build.bos.redhat.com</a>) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Tue Aug 18 15:51:54 EDT 2009</font></div>
</div><div><br></div><div><b>Vax.ini :</b></div><div><div><font color="#0b5394">;</font></div><div><font color="#0b5394">;load CPU microcode</font></div><div><font color="#0b5394">load -r /usr/local/vax/data/ka655x.bin</font></div>
<div><font color="#0b5394">;</font></div><div><font color="#0b5394">; Attach non-volatile RAM to a file</font></div><div><font color="#0b5394">attach nvr /usr/local/vax/data/nvram.bin</font></div><div><font color="#0b5394">;</font></div>
<div><font color="#0b5394">; This virtual machine has 64M memory</font></div><div><font color="#0b5394">set cpu 64m</font></div><div><font color="#0b5394">;</font></div><div><font color="#0b5394">; Define disk drive types. RA92 is largest-supported VAX drive.</font></div>
<div><font color="#0b5394">set rq0 ra92</font></div><div><font color="#0b5394">set rq1 rauser=10240</font></div><div><font color="#0b5394">set rq2 rauser=10240</font></div><div><font color="#0b5394">set rq3 cdrom</font></div>
<div><font color="#0b5394">;</font></div><div><font color="#0b5394">; Attach defined drives to local files</font></div><div><font color="#0b5394">attach rq0 /usr/local/vax/data/d0.dsk</font></div><div><font color="#0b5394">;attach rq1 /usr/local/vax/data/d1.dsk</font></div>
<div><font color="#0b5394">attach rq2 /usr/local/vax/data/d2.dsk</font></div><div><font color="#0b5394">;</font></div><div><font color="#0b5394">; Attach the CD-ROM to its file (read-only)</font></div><div><font color="#0b5394">;attach -r rq3 /usr/local/vax/data/cd.iso</font></div>
<div><font color="#0b5394">;</font></div><div><font color="#0b5394">; Disable unused devices. It's also possible to disable individual devices,</font></div><div><font color="#0b5394">; using a construction like "set rq2 disable" if desired.</font></div>
<div><font color="#0b5394">;</font></div><div><font color="#0b5394">set rl disable</font></div><div><font color="#0b5394">set ts disable</font></div><div><font color="#0b5394">;</font></div><div><font color="#0b5394">; Attach Ethernet to a network interface</font></div>
<div><font color="#0b5394">set XQ mac=00:1D:D8:B7:1C:00</font></div><div><font color="#0b5394">set XQ type=DELQA</font></div><div><font color="#0b5394">attach XQ eth0</font></div><div><font color="#0b5394">;</font></div><div>
<font color="#0b5394">;Uncomment the line below to enable auto-boot</font></div><div><font color="#0b5394">;dep bdr 0</font></div><div><font color="#0b5394">;</font></div><div><font color="#0b5394">; Choose one of the following lines. SET CPU CONHALT returns control to the</font></div>
<div><font color="#0b5394">; VAX console monitor on a halt event (where behavior will be further</font></div><div><font color="#0b5394">; determined by whether auto-boot is set--see above. SET CPU SIMHALT will</font></div>
<div><font color="#0b5394">; cause the simulator to get control instead.</font></div><div><font color="#0b5394">set cpu conhalt</font></div><div><font color="#0b5394">;set cpu simhalt</font></div><div><font color="#0b5394">;</font></div>
<div><font color="#0b5394">; Now start the emulator</font></div><div><font color="#0b5394">boot cpu</font></div><div><font color="#0b5394">;</font></div><div><font color="#0b5394">;Exit the simulator</font></div><div><font color="#0b5394">;exit</font></div>
<div style="font-weight:bold"><br></div></div><div style="font-weight:bold">-Priya</div></div>