As Johnny knows I've been experiencing some configuration issues since installing Ubuntu 14.04 on the server that hosts the SIMH instance that is SIMVAX. I attempted a Kubuntu upgrade but that failed so I had no resort other than to backup the existing root partition and re-install from scratch.
I've been unable to configure the networking correctly since the re-install. The symptom is adjacency up and down messages, coming in consecutively every minute or so. I've tried numerous combinations of configuration that have not solved the connectivity issues. When adjacency is up I'm able to DIR MIM:: successfully.
%<----------%<---------%<----------
$ dir mim::
Directory MIM::DU4:[DECNET]
LOGIN.CMD;1 HECNET.CMD;1 MAKEFILE.;33 MAKEFILE.;43
FIX.LOG;52 MAKEFILE.;34 FIX.LOG;53 NODENAMES.DAT;2
FIX.LOG;61 NODENAMES.DAT;3 FIX.LOG;54 FIX.LOG;55
FIX.LOG;65 FIX.LOG;56 MAKEFILE.;32 MAKEFILE.;44
FIX.LOG;57 FIX.LOG;58 NODENAMES.DAT;4 FIX.LOG;59
%<----------%<---------%<----------
My SIMH boot is as follows:
%<----------%<---------%<----------
MicroVAX 3900 simulator V4.0-0 Beta git commit id: 7154ca1f
NVR: buffering file in memory
libpcap version 1.2.0
Eth: opened OS device eth3
Listening on port 2023
Loading boot code from ka655x.bin
KA655X-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.
Loading system software.
(BOOT/R5:0 DUA0
%<----------%<---------%<----------
I upgraded to SIMH master on the suggesting of Mark Pizolatto when I wrote the SIMH mailing list with an autoboot failure issue that I've had for as long as I remember (that turned out to be because I was using an old kernel ROM image).
My networking configuration on the HP Microserver is as follows:
2 x 1000MB Network Cards
eth2 - The internal card is dedicated to Ubuntu and configured statically at 192.168.1.126 via ifconfig (I uninstalled NetworkManager because I have no need for dynamic configuration).
eth3 - A PCI express card that is not configured for Ubuntu. It is brought up on the understanding that SIMH will provide the necessary configuration.
My /etc/network/interfaces is as follows:
%<----------%<---------%<----------
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
iface eth2 inet static
address 192.168.1.126
netmask 255.255.255.0
gateway 192.168.1.2
dns-nameservers 192.168.1.2
dns-search hecnet.eu
%<----------%<---------%<----------
My /etc/rc.local script brings up the interfaces:
%<----------%<---------%<----------
# Enable the first network interface for linux use
ifconfig eth2 up
# Bring up the second network interface it's for SIMH use - it is not configured
ifconfig eth3 up
/bin/bash /usr/local/bridge/bridge.sh
/bin/bash /usr/local/vax/vax.sh
%<----------%<---------%<----------
As you can see it is also responsible for bringing up Johnny's bridge and the SIMH instance.
After configuration the networking looks like this:
%<----------%<---------%<----------
msw at hpm:/usr/local/bridge$ ifconfig -a
eth2 Link encap:Ethernet HWaddr b4:99:ba:bf:46:e3
inet addr:192.168.1.126 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::b699:baff:febf:46e3/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:5150326 errors:0 dropped:90 overruns:0 frame:0
TX packets:7498843 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2519783275 (2.5 GB) TX bytes:9795156712 (9.7 GB)
Interrupt:18
eth3 Link encap:Ethernet HWaddr 00:27:19:b1:6f:84
inet6 addr: fe80::227:19ff:feb1:6f84/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:131318 errors:0 dropped:49269 overruns:0 frame:0
TX packets:3582 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32216834 (32.2 MB) TX bytes:488874 (488.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:45875 errors:0 dropped:0 overruns:0 frame:0
TX packets:45875 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5883368 (5.8 MB) TX bytes:5883368 (5.8 MB)
%<----------%<---------%<----------
I have no reason to think that the bridge isn't working, when I run it from the command line I can see that connectivity takes place. I am running a fresh compile of the latest version with debug on:
%<----------%<---------%<----------
msw at hpm:/usr/local/bridge$ sudo ./bridge -p 4711 -d /usr/local/bridge
d: 4711
Config filename: /usr/local/bridge/bridge.conf
Adding router ''local''. 00000008:32521
Adding router ''update''. 1913ee82:4711
Adding DECnet bridge local.
Trying to match local
Matching against: local
Found match: local == local
Adding DECnet bridge update.
Trying to match update
Matching against: local
Matching against: update
Found match: update == update
Adding LAT bridge local.
Trying to match local
Matching against: local
Found match: local == local
Adding LAT bridge update.
Trying to match update
Matching against: local
Matching against: update
Found match: update == update
Host table:
0: local 0.0.0.0:0 (Rx: 0 Tx: 0 (Drop rx: 0)) Active: 1 Throttle: 0(000)
1: update 130.238.19.25:4711 (Rx: 0 Tx: 0 (Drop rx: 0)) Active: 1 Throttle: 0(000)
Hash of known destinations:
Adding new hash entry. Port is 1
Setting existing hash to bridge 1
Adding new hash entry. Port is 1
Adding new hash entry. Port is 1
Setting existing hash to bridge 1
Setting existing hash to bridge 1
Adding new hash entry. Port is 1
Adding new hash entry. Port is 1
Setting existing hash to bridge 1
Adding new hash entry. Port is 1
Adding new hash entry. Port is 1
Adding new hash entry. Port is 1
Adding new hash entry. Port is 1
Setting existing hash to bridge 1
Setting existing hash to bridge 1
Adding new hash entry. Port is 1
Adding new hash entry. Port is 1
Adding new hash entry. Port is 1
Adding new hash entry. Port is 0
%<----------%<---------%<----------
The SIMH vax.ini script contains the following. You can see that xq is defined as eth1 which in SIMH parlance is the 2nd ethernet interface and from the start-up trace it can be seen that the correct network interface, eth3, is being picked up and used.
%<----------%<---------%<----------
msw at hpm:/usr/local/vax/data$ more vax.ini
;add CPU microcode
;load -r /usr/local/vax/data/ka655.bin
;
; Attach non-volatile RAM to a file
attach nvr /usr/local/vax/data/nvram.bin
;
; This virtual machine has 512m memory
set cpu 512m
;
; Define disk drive types. RA92 is largest-supported VAX drive.
set rq0 ra92
set rq1 ra92
;set rq2 ra92
set -B rq2 rauser=300000
;set -B rq3 rauser=20000
;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/dsa3-archive.dsk
;attach rq3 /tmp/d3.dsk
;
; Attach the CD-ROM to its file (read-only)
;attach -r rq3 /usr/local/vax/data/vaxvmscd.iso
;attach -r rq3 /usr/local/vax/data/softwareproducts1.iso
;attach -r rq3 /usr/local/archive/OpenVMS/7.3-VAX/SPL1-VAXBINJUN043.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:27:19:b1:6f:84
attach xq eth1
set vh enable
att vh 2023
set cpu idle=VMS
set cpu conhalt
dep bdr 0
;
; Now start the emulator
boot cpu
exit
%<----------%<---------%<----------
I have tried both the same and different MAC addresses in the SIMH configuration for 'xq mac' compared to the actual network card. Alas, no joy:
%<----------%<---------%<----------
%%%%%%%%%%% OPCOM 22-SEP-2014 08:45:55.13 %%%%%%%%%%%
Message from user DECNET on SIMVAX
DECnet event 4.18, adjacency down
Hey all,
1). What are the switches for on the halt/run switch board in the BA400? Are they covered in the manual?
2). Is the TOD chip by chance on that board, or have I managed to disable it when the boot mode selector switch broke making it impossible to turn?
(I removed the halt/run switch board as HALT was permanently on and I do not know why. I think the switch is shot.)
A busted TOD would certainly explain why VMS can't boot, why Ultrix machine checks...but not why NetBSD and OpenBSD boot fine.
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
On Tue, 16 Sep 2014, Johnny Billquist wrote:
By the way, Cory. The clock on your system seems to be 3 hours into the future...
Yeah I've noticed that too. I think it sometimes drifts 3 hours due to a KVM/QEMU timekeeping thing with FreeBSD.
Johnny
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
On Tue, 16 Sep 2014, Johnny Billquist wrote:
Ok. Does anyone remember for sure. Is the BA123 3 or 4 slots of Q-CD? If the DHV11 sits in a Q-CD slot, I seem to remember that there are a couple of jumpers that should be different than if it sits in a Q-Q slot.
It's 4. I have it sitting in a Q/CD as IIRC all my DHV11s are configured to sit happily in a Q/CD slot.
The error you got from moving the DELQA, in combination with how I think I should read your illustration of card locations would suggest that it's 4 Q-CD slots.
Yup.
But all this is very hard to debug remotely like this. I would try removing the DHV11 in order to minimize the components in the system that can create problems. That also means moving the DELQA up to the DHV11 location. It should definitely be on the left side in that case.
I added the DHV11 as I thought it was causing issues...that I think were actually related to misconfigure hosts file.
Do I need a continuity card in the CD slot of the Q/CD or no? Can never remember the rules on those damn things.
Johnny
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
On Tue, 16 Sep 2014, Johnny Billquist wrote:
BA123.
5 4 3 2 1
N D R R P
5 4 3 2 1
E D R R P
N = NIC, D = DHV11, R = RAM, P = Processor, E = Emprt. All slots after
are empty
Hum. Hard to say for sure, but this might be a classical case of you having the NIC in the wrong place. Move it over to the "E" side...
That resulted in:
-XQA0
?4B CTRLERR, XQA0
?06 HLT INST
PC = 00000C1A
Failure.
Kept NIC in previously-E slot and put a TQK50 in the former-NIC slot.
Loading operating system image ...
************************************
ULTRIX V4.0 (Rev. 158) System #2: Sat Mar 31 03:23:27 EST 1990
real mem = 16723968
avail mem = 11991040
Buffer configuration adjusted to run with small system page table
using 239 buffers containing 1672192 bytes of memory
KA650 processor with an FPU
CPU microcode rev = 4, processor firmware rev = 83
Q22 bus
klesiu0 at uba0
uq16 at klesiu0 csr 174500 vec 774, ipl 17
qe0 at uba0 csr 174440 vec 770, ipl 17
qe0: DEC DELQA Ethernet Interface DEQNA-lock Mode, hardware address 08:00:2b:18:ba:b4
root on bonerhitler:/dlclient0/lolwat.root
swap on bonerhitler:/dlclient0/lolwat.root/dev/swap
swap size - 131072 blocks
WARNING: todr too small -- CHECK AND RESET THE DATE!
Sat Sep 15 18:56:18 EDT 1990
Automatic reboot in progress...
Time set to Sat Sep 15 20:57:40 1990
/etc/nfsstat does not show increasing values.
Using OpenBSD 4.4's boot.mop with no bootparams gives me:
stray interrupt: vector 0x18, ipl 31
stray interrupt: vector 0x18, ipl 31
stray interrupt: vector 0x18, ipl 31
stray interrupt: vector 0x18, ipl 31
spammed but that could simply be a bootblock bug.
Johnny
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
On Mon, 15 Sep 2014, Mark Pizzolato - Info Comm wrote:
On Monday, September 15, 2014 8:18 PM, Cory Smelosky wrote:
Evening,
I've been trying to netboot ULTRIX today and I have gotten nowhere. Works
fine in SIMH!
The kernel output says my DELQA is in DEQNA-LOCK mode despite any
changes made to the switches...is this Ultrix behaviour or do I have 2 bum
DELQAs?
I wouldn't be too concerned about this detail, but if you want to worry about it, see if you can get a different output when running under SIMH.
Alright.
FYI: This is Ultrix 4.0. It appears to stop at printing what the time has been set
to.
I don't recall what the sequence of output produced at boot time is (maybe you capture that and tell us), but one thing to look at would be proper sequencing of the Qbus bus grants. What type of chassis/backplane are you using and what devices are plugged into the bus and what slots are they in??
BA123.
5 4 3 2 1
N D R R P
5 4 3 2 1
E D R R P
N = NIC, D = DHV11, R = RAM, P = Processor, E = Emprt. All slots after are empty
- Mark
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
Evening,
I've been trying to netboot ULTRIX today and I have gotten nowhere. Works fine in SIMH!
The kernel output says my DELQA is in DEQNA-LOCK mode despite any changes made to the switches...is this Ultrix behaviour or do I have 2 bum DELQAs?
FYI: This is Ultrix 4.0. It appears to stop at printing what the time has been set to.
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
On Mon, 15 Sep 2014, Cory Smelosky wrote:
On Tue, 16 Sep 2014, Johnny Billquist wrote:
No grants in cd slots. These are not the qbus. There is no signals that needs to pass through so no grants. It's actually pretty easy if you understand the actal electronics and the bus protocol.
Still working on getting a grasp of the protocol and electronics. :)
Johnny
Well, pulling the DHV11 did it. All is fine now.
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
On Tue, 16 Sep 2014, Johnny Billquist wrote:
No grants in cd slots. These are not the qbus. There is no signals that needs to pass through so no grants. It's actually pretty easy if you understand the actal electronics and the bus protocol.
Still working on getting a grasp of the protocol and electronics. :)
Johnny
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
No grants in cd slots. These are not the qbus. There is no signals that needs to pass through so no grants. It's actually pretty easy if you understand the actal electronics and the bus protocol.
Johnny
On 16 september 2014 07:40:20 CEST, Cory Smelosky <b4 at gewt.net> wrote:
On Tue, 16 Sep 2014, Johnny Billquist wrote:
Ok. Does anyone remember for sure. Is the BA123 3 or 4 slots of Q-CD?
If the
DHV11 sits in a Q-CD slot, I seem to remember that there are a couple
of
jumpers that should be different than if it sits in a Q-Q slot.
It's 4. I have it sitting in a Q/CD as IIRC all my DHV11s are
configured
to sit happily in a Q/CD slot.
The error you got from moving the DELQA, in combination with how I
think I
should read your illustration of card locations would suggest that
it's 4
Q-CD slots.
Yup.
But all this is very hard to debug remotely like this. I would try
removing
the DHV11 in order to minimize the components in the system that can
create
problems. That also means moving the DELQA up to the DHV11 location.
It
should definitely be on the left side in that case.
I added the DHV11 as I thought it was causing issues...that I think
were
actually related to misconfigure hosts file.
Do I need a continuity card in the CD slot of the Q/CD or no? Can
never
remember the rules on those damn things.
Johnny
--
Skickat fr n min Android-telefon med K-9 E-post. Urs kta min f ordighet.