Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dhcpcd not working in simh-vax with xq0:nat networking



I recently tried NetBSD/vax 9.2 in the current emulators/simh, and
it seems that dhcpcd doesn't get a lease if I use NAT networking (attach
xq0 nat:dhcp).
It does however work once I run a "tcpdump -i qt0 &".
simh is the DHCP server here.

It works without that workaround if I use TAP-based networking (tap0
bridged to my lan interface; my ADSL modem is the DHCP server here).

From the output, it seems like dhcpcd doesn't receive the dhcp replies.
But it does see them when tcpdump puts the interface in promiscuous mode.
(Why it works with the other networking style remains unexplained.)

Any ideas?

I used
http://nyftp.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/images/NetBSD-9.2_STABLE-vax.iso
to do a default full install into a 2 GB disk image; config file below.
I added a "debug" line to /etc/dhcpcd.conf.

Full output log:

>>>boot dua0
(BOOT/R5:0 DUA0



  2..
-DUA0
  1..0..


>> NetBSD/vax boot [1.12 (Tue Dec  7 12:43:14 UTC 2021)] <<
>> Press any key to abort autoboot 0
nfs_open: must mount first.
open netbsd.vax: Device not configured
> boot netbsd
3304416+205420 [239120+227675]=0x3cb190
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019, 2020 The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 9.2_STABLE (GENERIC) #0: Tue Dec  7 12:43:14 UTC 2021
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/vax/compile/GENERIC
[   1.0000000] MicroVAX 3800/3900
[   1.0000000] total memory = 65468 KB
[   1.0000000] avail memory = 58968 KB
[   1.0000000] mainbus0 (root)
[   1.0000000] cpu0 at mainbus0: KA655, CVAX microcode rev 6 Firmware rev 83
[   1.0000000] lance at mainbus0 not configured
[   1.0000000] uba0 at mainbus0: Q22
[   1.0000000] dz1 at uba0 csr 160100 vec 304 ipl 17
[   1.0000000] mtc0 at uba0 csr 174500 vec 774 ipl 17
[   1.0000000] mscpbus0 at mtc0: version 5 model 3
[   1.0000000] mscpbus0: DMA burst size set to 4
[   1.0000000] uda0 at uba0 csr 172150 vec 770 ipl 17
[   1.0000000] mscpbus1 at uda0: version 3 model 3
[   1.0000000] mscpbus1: DMA burst size set to 4
[   1.0000000] qt0 at uba0 csr 174440 vec 764 ipl 17
[   1.0000000] qt0: delqa-plus in Turbo mode, hardware address 08:00:2b:af:2c:e8
[   1.0000000] rlc0 at uba0 csr 174400 vec 160 ipl 17
[   1.0000000] rl0 at rlc0 drive 0: RL01, drive not loaded
[   1.0000000] rl1 at rlc0 drive 1: RL01, drive not loaded
[   1.0000000] rl2 at rlc0 drive 2: RL01, drive not loaded
[   1.0000000] rl3 at rlc0 drive 3: RL01, drive not loaded
[   1.0000000] ts0 at uba0 csr 172520 vec 224 ipl 17: TS11
[   1.0000000] ts0: rev 0, extended features enabled, transport offline
[   1.0000080] mt0 at mscpbus0 drive 0: TK50
[   1.0000080] mt1 at mscpbus0 drive 1: TK50
[   1.0000080] mt2 at mscpbus0 drive 2: TK50
[   1.0000080] mt3 at mscpbus0 drive 3: TK50
[   1.0000080] ra0 at mscpbus1 drive 0: RA92
[   1.0100080] racd0 at mscpbus1 drive 1: RRD40
[   1.0100080] ra1 at mscpbus1 drive 2: RD54
[   1.0100080] rx0 at mscpbus1 drive 3: RX50
[   1.0700080] ra0: size 4194304 sectors
[   1.0700080] racd0: attempt to bring on line failed:  unit offline (not mounted) (code 3, subcode 1)
[   1.0700080] ra1: attempt to bring on line failed:  unit offline (not mounted) (code 3, subcode 1)
[   1.0700080] rx0: attempt to bring on line failed:  unit offline (not mounted) (code 3, subcode 1)
[   1.0700080] WARNING: 3 errors while detecting hardware; check system log.
[   1.0700080] boot device: ra0
[   1.0700080] root on ra0a dumps on ra0b
[   1.0800080] root file system type: ffs
[   1.0800080] kern.module.path=/stand/vax/9.2/modules
Fri Dec 10 19:56:04 UTC 2021
Starting root file system check:
/dev/rra0a: file system is clean; not checking
[   3.9700080] racd0: attempt to bring on line failed:  unit offline (not mounted) (code 3, subcode 1)
swapctl: setting dump device to /dev/ra0b
swapctl: adding /dev/ra0b as swap device at priority 0
Starting file system checks:
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
IPv6 mode: host
Configuring network interfaces: qt0.
Adding interface aliases:.
Waiting for DAD to complete for statically configured addresses...
Starting dhcpcd.
dhcpcd-8.1.9 starting
qt0: executing `/libexec/dhcpcd-run-hooks' PREINIT
qt0: carrier acquired
qt0: executing `/libexec/dhcpcd-run-hooks' CARRIER
DUID 00:01:00:01:14:92:c8:77:08:00:2b:af:2c:e8
qt0: IAID 2b:af:2c:e8
qt0: delaying IPv6 router solicitation for 0.2 seconds
qt0: delaying IPv4 for 0.4 seconds
qt0: soliciting an IPv6 router
qt0: sending Router Solicitation
qt0: reading lease `/var/db/dhcpcd/qt0.lease'
qt0: rebinding lease of 10.0.2.15
qt0: sending REQUEST (xid 0x45ffc0c8), next in 4.0 seconds
qt0: sending Router Solicitation
qt0: sending REQUEST (xid 0x45ffc0c8), next in 8.0 seconds
qt0: probing for an IPv4LL address
qt0: using IPv4LL address 169.254.198.237
qt0: adding IP address 169.254.198.237/16 broadcast 169.254.255.255
qt0: DHCP lease expired
qt0: executing `/libexec/dhcpcd-run-hooks' EXPIRE
qt0: soliciting a DHCP lease
qt0: sending DISCOVER (xid 0xef6e3ab7), next in 4.9 seconds
qt0: sending Router Solicitation
qt0: sending DISCOVER (xid 0xef6e3ab7), next in 8.0 seconds
qt0: waiting for DAD to complete on 169.254.198.237
qt0: DAD completed for 169.254.198.237/16
qt0: adding route to 169.254.0.0/16
qt0: adding default route
qt0: ARP announcing 169.254.198.237 (1 of 2), next in 2.0 seconds
qt0: executing `/libexec/dhcpcd-run-hooks' IPV4LL
qt0: Setting hostname: localhost
forking to background
forked to background, child pid 159
Building databases: dev, utmp, utmpx.
Starting syslogd.
Setting date via ntp.
Dec 10 19:56:40 localhost ntpdate[209]: no server suitable for synchronization found
/etc/rc.d/ntpdate exited with code 1
Mounting all file systems...
Clearing temporary files.
Updating fontconfig cache: done.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
[  43.0600080] racd0: attempt to bring on line failed:  unit offline (not mounted) (code 3, subcode 1)
swapctl: setting dump device to /dev/ra0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
Starting ntpd.
Starting sshd.
Starting postfix.
Starting inetd.
Starting cron.
The following components reported failures:
    /etc/rc.d/ntpdate
See /var/run/rc.log for more information.
Fri Dec 10 19:57:26 UTC 2021

NetBSD/vax (localhost) (constty)

login: root
Dec 10 19:57:32 localhost login: ROOT LOGIN (root) on tty constty
Last login: Fri Dec 10 19:48:44 2021 on constty
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018, 2019, 2020 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 9.2_STABLE (GENERIC) #0: Tue Dec  7 12:43:14 UTC 2021

Welcome to NetBSD!

This system is running a development snapshot of a stable branch of the NetBSD
operating system, which will eventually lead to a new formal release.  This
snapshot may contain bugs or other unresolved issues and is not yet considered
release quality.  Please bear this in mind and use the system with care.

You are encouraged to test this version as thoroughly as possible.  Should you
encounter any problem, please report it back to the development team using the
send-pr(1) utility (requires a working MTA).  If yours is not properly set up,
use the web interface at: https://www.NetBSD.org/support/send-pr.html

Thank you for helping us test and improve this NetBSD branch.

We recommend that you create a non-root account and use su(1) for root access.
No entry for terminal type "unknown";
using dumb terminal settings.
localhost# ifconfig
qt0: flags=0x8043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        address: 08:00:2b:af:2c:e8
        inet 169.254.198.237/16 broadcast 169.254.255.255 flags 0x0
        inet6 fe80::a00:2bff:feaf:2ce8%qt0/64 flags 0x0 scopeid 0x1
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33176
        inet 127.0.0.1/8 flags 0x0
        inet6 ::1/128 flags 0x20<NODAD>
        inet6 fe80::1%lo0/64 flags 0x0 scopeid 0x2
localhost# tcpdump -i qt0 -vv port bootps or port bootpc &
localhost# tcpdump: listening on qt0, link-type EN10MB (Ethernet), capture size 262144 bytes
localhost# /etc/rc.d/dhcpcd restart
Stopping dhcpcd.
Starting dhcpcd.
dhcpcd-8.1.9 starting
qt0: executing `/libexec/dhcpcd-run-hooks' PREINIT
qt0: carrier acquired
qt0: executing `/libexec/dhcpcd-run-hooks' CARRIER
DUID 00:01:00:01:14:92:c8:77:08:00:2b:af:2c:e8
qt0: IAID 2b:af:2c:e8
qt0: delaying IPv6 router solicitation for 0.1 seconds
qt0: delaying IPv4 for 0.1 seconds
qt0: soliciting a DHCP lease
qt0: sending DISCOVER (xid 0x9f9fba06), next in 3.8 seconds
qt0: soliciting an IPv6 router
qt0: sending Router Solicitation
qt0: offered 10.0.2.15 from 10.0.2.2
19:58:15.319999 IP (tos 0x0, ttl 64, id 20719, offset 0, flags [none], proto UDP (17), length 361)
qt0: sending REQUEST (xid 0x9f9fba06), next in 3.5 seconds
qt0: acknowledged 10.0.2.15 from 10.0.2.2
qt0: adding IP address 10.0.2.15/24 broadcast 10.0.2.255
    0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 08:00:2b:af:2c:e8 (oui Unknown), length 333, xid 0x9f9fba06, Flags [none] (0x0000)
          Client-Ethernet-Address 08:00:2b:af:2c:e8 (oui Unknown)
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Discover
            Client-ID Option 61, length 19: hardware-type 255, 2b:af:2c:e8:00:01:00:01:14:92:c8:77:08:00:2b:af:2c:e8
            SLP-NA Option 80, length 0""
            NOAUTO Option 116, length 1: Y
            MSZ Option 57, length 2: 1472
            Vendor-Class Option 60, length 38: "dhcpcd-8.1.9:NetBSD-9.2_STABLE:vax:vax"
            T145 Option 145, length 1: 1
            Parameter-Request Option 55, length 14:
              Subnet-Mask, Classless-Static-Route, Static-Route, Default-Gateway
              Domain-Name-Server, Hostname, Domain-Name, MTU
              BR, Lease-Time, Server-ID, RN
              RB, Option 119
19:58:15.319999 IP (tos 0x10, ttl 64, id 91, offset 0, flags [none], proto UDP (17), length 576)
qt0: sending Router Solicitation
qt0: DAD completed for 10.0.2.15
qt0: leased 10.0.2.15 for 86400 seconds
qt0: renew in 43200 seconds, rebind in 75600 seconds
qt0: writing lease `/var/db/dhcpcd/qt0.lease'
qt0: IP address 10.0.2.15/24 already exists
qt0: adding route to 10.0.2.0/24
qt0: adding default route via 10.0.2.2
qt0: executing `/libexec/dhcpcd-run-hooks' BOUND
forking to background
forked to background, child pid 744
localhost#     10.0.2.2.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 548, xid 0x9f9fba06, Flags [none] (0x0000)
          Your-IP 10.0.2.15
          Server-IP 10.0.2.2
          Client-Ethernet-Address 08:00:2b:af:2c:e8 (oui Unknown)
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Offer
            Server-ID Option 54, length 4: 10.0.2.2
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.0.2.2
            Domain-Name-Server Option 6, length 4: 10.0.2.3
            Lease-Time Option 51, length 4: 86400
19:58:15.389999 IP (tos 0x0, ttl 64, id 55997, offset 0, flags [none], proto UDP (17), length 368)
    0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 08:00:2b:af:2c:e8 (oui Unknown), length 340, xid 0x9f9fba06, Flags [none] (0x0000)
          Client-Ethernet-Address 08:00:2b:af:2c:e8 (oui Unknown)
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Request
            Client-ID Option 61, length 19: hardware-type 255, 2b:af:2c:e8:00:01:00:01:14:92:c8:77:08:00:2b:af:2c:e8
            Requested-IP Option 50, length 4: 10.0.2.15
            Server-ID Option 54, length 4: 10.0.2.2
            MSZ Option 57, length 2: 1472
            Vendor-Class Option 60, length 38: "dhcpcd-8.1.9:NetBSD-9.2_STABLE:vax:vax"
            T145 Option 145, length 1: 1
            Parameter-Request Option 55, length 14:
              Subnet-Mask, Classless-Static-Route, Static-Route, Default-Gateway
              Domain-Name-Server, Hostname, Domain-Name, MTU
              BR, Lease-Time, Server-ID, RN
              RB, Option 119
19:58:15.389999 IP (tos 0x10, ttl 64, id 92, offset 0, flags [none], proto UDP (17), length 576)
    10.0.2.2.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 548, xid 0x9f9fba06, Flags [none] (0x0000)
          Your-IP 10.0.2.15
          Server-IP 10.0.2.2
          Client-Ethernet-Address 08:00:2b:af:2c:e8 (oui Unknown)
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: ACK
            Server-ID Option 54, length 4: 10.0.2.2
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.0.2.2
            Domain-Name-Server Option 6, length 4: 10.0.2.3
            Lease-Time Option 51, length 4: 86400

localhost# ifconfig
qt0: flags=0x8143<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500
        address: 08:00:2b:af:2c:e8
        inet 10.0.2.15/24 broadcast 10.0.2.255 flags 0x0
        inet6 fe80::a00:2bff:feaf:2ce8%qt0/64 flags 0x0 scopeid 0x1
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33176
        inet 127.0.0.1/8 flags 0x0
        inet6 ::1/128 flags 0x20<NODAD>
        inet6 fe80::1%lo0/64 flags 0x0 scopeid 0x2
localhost#

If I repeat with -XX added to the tcpdump line, I see

20:05:38.499999 IP (tos 0x0, ttl 64, id 40169, offset 0, flags [none], proto UDP
 (17), length 362)
    0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request fr
om 08:00:2b:af:2c:e8 (oui Unknown), length 334, xid 0xf6b60bc5, Flags [none] (0x
0000)
          Client-Ethernet-Address 08:00:2b:af:2c:e8 (oui Unknown)
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Request
            Client-ID Option 61, length 19: hardware-type 255, 2b:af:2c:e8:00:01
:00:01:14:92:c8:77:08:00:2b:af:2c:e8
            Requested-IP Option 50, length 4: 10.0.2.15
            MSZ Option 57, length 2: 1472
            Vendor-Class Option 60, length 38: "dhcpcd-8.1.9:NetBSD-9.2_STABLE:v
ax:vax"
            T145 Option 145, length 1: 1
            Parameter-Request Option 55, length 14:
              Subnet-Mask, Classless-Static-Route, Static-Route, Default-Gateway
              Domain-Name-Server, Hostname, Domain-Name, MTU
              BR, Lease-Time, Server-ID, RN
              RB, Option 119
        0x0000:  ffff ffff ffff 0800 2baf 2ce8 0800 4500  ........+.,...E.
        0x0010:  016a 9ce9 0000 4011 dc9a 0000 0000 ffff  .j....@.........
        0x0020:  ffff 0044 0043 0156 b8e7 0101 0600 f6b6  ...D.C.V........
        0x0030:  0bc5 0000 0000 0000 0000 0000 0000 0000  ................
        0x0040:  0000 0000 0000 0800 2baf 2ce8 0000 0000  ........+.,.....
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0110:  0000 0000 0000 6382 5363 3501 033d 13ff  ......c.Sc5..=..
        0x0120:  2baf 2ce8 0001 0001 1492 c877 0800 2baf  +.,........w..+.
        0x0130:  2ce8 3204 0a00 020f 3902 05c0 3c26 6468  ,.2.....9...<&dh
        0x0140:  6370 6364 2d38 2e31 2e39 3a4e 6574 4253  cpcd-8.1.9:NetBS
        0x0150:  442d 392e 325f 5354 4142 4c45 3a76 6178  D-9.2_STABLE:vax
        0x0160:  3a76 6178 9101 0137 0e01 7921 0306 0c0f  :vax...7..y!....
        0x0170:  1a1c 3336 3a3b 77ff                      ..36:;w.
20:05:38.499999 IP (tos 0x10, ttl 64, id 131, offset 0, flags [none], proto UDP (17), length 576)
    10.0.2.2.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 548, xid 0xf6b60bc5, Flags [none] (0x0000)
          Your-IP 10.0.2.15
          Server-IP 10.0.2.2
          Client-Ethernet-Address 08:00:2b:af:2c:e8 (oui Unknown)
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: ACK
            Server-ID Option 54, length 4: 10.0.2.2
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.0.2.2
            Domain-Name-Server Option 6, length 4: 10.0.2.3
            Lease-Time Option 51, length 4: 86400
        0x0000:  ffff ffff ffff 5255 0a00 0202 0800 4510  ......RU......E.
        0x0010:  0240 0083 0000 4011 6c19 0a00 0202 ffff  .@....@.l.......
        0x0020:  ffff 0043 0044 022c dc1a 0201 0600 f6b6  ...C.D.,........
        0x0030:  0bc5 0000 0000 0000 0000 0a00 020f 0a00  ................
        0x0040:  0202 0000 0000 0800 2baf 2ce8 0000 0000  ........+.,.....
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0110:  0000 0000 0000 6382 5363 3501 0536 040a  ......c.Sc5..6..
        0x0120:  0002 0201 04ff ffff 0003 040a 0002 0206  ................
        0x0130:  040a 0002 0333 0400 0151 80ff 0000 0000  .....3...Q......
        0x0140:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0150:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0160:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0170:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0180:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0190:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0200:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0210:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0220:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0230:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0240:  0000 0000 0000 0000 0000 0000 0000       ..............
forking to background
forked to background, child pid 771
localhost# ^E
Simulation stopped, PC: 8018C99A (MTPR R0,#12)
sim> show ethernet
ETH devices:
 eth0   tap:tapN                             (Integrated Tun/Tap support)
 eth1   nat:{optional-nat-parameters}        (Integrated NAT (SLiRP) support)
 eth2   udp:sourceport:remotehost:remoteport (Integrated UDP bridge support)
Open ETH Devices:
 XQ     nat:dhcp
Ethernet Device:
  Name:                    nat:dhcp
  Reflections:             0
  Self Loopbacks Sent:     2
  Self Loopbacks Rcvd:     0
  Packets Sent:            332
  Packets Received:        146
  Asynch Interrupts:       Enabled
  Interrupt Latency:       0 uSec
  Read Queue: Count:       0
  Read Queue: High:        2
  Read Queue: Loss:        0
  Peak Write Queue Size:   1
NAT args: dhcp
NAT network setup:
        gateway       =10.0.2.2/24(255.255.255.0)
        DNS           =10.0.2.3
        dhcp_start    =10.0.2.15
  Protocol[State]    FD  Source Address  Port   Dest. Address  Port RecvQ SendQ
  UDP[190 sec]        8       10.0.2.15   123    144.76.43.40   123     0     0


simh-vax configuration file:

#! /usr/pkg/bin/simh-vax
; Command file for simh-vax (a 3900)
; Usage: simh-vax $0
; Attach non-volatile RAM to a file
attach nvr nvram.bin
set cpu 64m
set rq0 ra92
attach rq0 netbsd.dsk
set rq1 cdrom
;attach rq1 NetBSD-9.2_STABLE-vax.iso
attach xq0 nat:dhcp
; set XQ DEBUG=TRACE;CSR;VAR;WARN;RBDL;XBDL;SETUP;SANITY;REG;PACKET;DATA;ETH
set idle=netbsd
set cpu noautoboot
set cpu conhalt

boot cpu

-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index