I have $ uname -mprsv Darwin 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:11:58 PST 2010; root:xnu-1504.9.26~3/RELEASE_X86_64 x86_64 i386
I installed simh-3.8.1nb1 as installed using pkgsrc with these patches: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/simh/patches/?only_with_tag=MAIN It is built using libpcap and USE_NETWORK=YES OSTYPE=darwin. I am trying to use OpenBSD 4.9. I am unable to get the networking to work: sim> at xq0 en0 File open error Any suggestions for the networking on Mac OS X? My simh configuration is: load -r /Local/Users/jreed/opt/pkg//share/simh/ka655x.bin set cpu 64m at nvr openbsd.nvram deposit rq qtime 1000000 set rq0 ra92 at rq0 openbsd.ra0.disk set rq2 cdrom at rq2 floppy48.fs at xq0 en0 boot cpu exit It does boot that OpenBSD image. The output including OpenBSD kernel output follows: VAX simulator V3.8-1 NVR: buffering file in memory openbsd.simh> at xq0 en0 File open error 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. >>>boot dua2: (BOOT/R5:0 DUA2 2.. -DUA2 1..0.. >> OpenBSD/vax boot [1.15] << >> Press enter to autoboot now, or any other key to abort: 0 > boot bsd 873456+1623756+366820=0x2bb3a4 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2010 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.8 (RAMDISK) #0: Tue Aug 17 05:26:04 MDT 2010 [email protected]:/usr/src/sys/arch/vax/compile/RAMDISK MicroVAX 3800/3900 [0A000006 01530302] cpu: KA655, CVAX microcode rev 6 Firmware rev 83 real mem = 67043328 (63MB) avail mem = 61104128 (58MB) mainbus0 at root ibus0 at mainbus0 uba0 at ibus0: Q22 dz0 at uba0 csr 160100 vec 196 ipl 15 mtc0 at uba0 csr 174500 vec 508 ipl 15 mscpbus0 at mtc0: version 5 model 3 mscpbus0: DMA burst size set to 4 mt0 at mscpbus0 drive 0: TK50 mt1 at mscpbus0 drive 1: TK50 mt2 at mscpbus0 drive 2: TK50 mt3 at mscpbus0 drive 3: TK50 uda0 at uba0 csr 172150 vec 504 ipl 15 mscpbus1 at uda0: version 3 model 3 mscpbus1: DMA burst size set to 4 ra0 at mscpbus1 drive 0: RA92 ra1 at mscpbus1 drive 1: RD54 ra2 at mscpbus1 drive 2: RRD40 rx0 at mscpbus1 drive 3: RX50 qe0 at uba0 csr 174440 vec 500 ipl 15: delqa, address 08:00:2b:aa:bb:cc rd0: fixed, 3072 blocks boot device: ra2 root on rd0a swap on rd0b dump on rd0b Clock has gained 70 days -- CHECK AND RESET THE DATE! erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/vax 4.8 installation program. The network devices are: # ifconfig -a lo0: flags=8008<LOOPBACK,MULTICAST> mtu 33200 groups: lo qe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 08:00:2b:aa:bb:cc (You can can see that qe0 in the kernel output above too.) I am able to assign qe0 and ping it. But I am not able to ping the gateway. Any suggestion on how to get the networking to work? Thank you. Jeremy C. Reed p.s. By the way, I also had this ioctly error: The auto-allocated layout for ra0 is: disklabel: ioctl DIOCGPDINFO: Inappropriate ioctl for device But I was able to use disklabel to create partitions and then the filesystem was created and mounted: Filesystem 512-blocks Used Avail Capacity Mounted on /dev/ra0a 2888396 4 2743976 0% /mnt Originally I had: -rw-r--r-- 1 jreed 1007 1024 Oct 28 07:24 openbsd.nvram -rw-r--r-- 1 jreed 1007 512 Oct 28 07:17 openbsd.ra0.disk Then disk image file became: -rw-r--r-- 1 jreed 1007 1505755136 Oct 28 08:01 openbsd.ra0.disk So I guess it works. echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \ tr '#-~' '\-.-{' _______________________________________________ Simh mailing list [email protected] http://mailman.trailing-edge.com/mailman/listinfo/simh
