FWIW, errno 97 would be address family not supported. (It would be nice if strerror() (or the thread-safe strerror_r() if available) was called instead of just printing the decimal error number.)

You didn't say which OS you're running on your RPi.  The default is debian.

You probably have an IPv6 configuration issue; the new simh code tries to use it if it thinks its available. From a quick look at the code, you may want to replace the 13900 port number with your ip (v4 1.2.3.4:13900 or v6 [2001:db8::123]:13900).

But I'll leave further diagnosis to Mark, who checked-in the changes to support IPv6. He'll probably need the commands that you used to build simh.


This communication may not represent my employer's views,
if any, on the matters discussed.

This communication may not represent my employer's views,
if any, on the matters discussed.

On 22-Apr-13 19:24, Mark Benson wrote:
Hi,

I have been trying to upgrade my RaspberryPi dedicated machine with the 4.0.0 
beta of simh (because it does buffered TELNET and is thus way more useful as a 
persistent background process) but I hit a snag:

OUTPUT:

MicroVAX 3900 simulator V4.0-0 Beta        git commit id: ba09b2d3
Logging to file "/var/log/vax/star69.log"
Sockets: socket error 97
/etc/vax/config_daemon.ini-2> set CONSOLE TELNET=13900
File open error
/etc/vax/config_daemon.ini-30> set RY disabled
Non-existent device
Sockets: socket error 97
/etc/vax/config_daemon.ini-43> attach -am DZ 3900
File open error
NVR: buffering file in memory
libpcap version 1.3.0
Eth: opened OS device eth0


KA655-B V5.3, VMB 2.7 (etc...)

===


It appears simh is struggling to attach to a telnet port? 3.9.0 worked just 
dandy.


CONFIG.INI:

set CONSOLE LOG=/var/log/vax/star69.log
set CONSOLE TELNET=13900
; Buffering for TELNET ;
set console TELNET=BUFFERED=65536
; set CONSOLE SERIAL=/dev/ttyAMA0
set CPU 64M
set cpu idle=VMS
set CPU CONHALT
set CR disabled
set DZ lines=8
set LPT disabled
set RL disabled
set RQ0 RA90
set RQ1 RA90
;set RQ2 RA90
set RQ2 disabled
;set RQ3 RA90
set RQ3 disabled
;set RQB enabled
;set RQB0 RA90
;set RQB1 RA90
;set RQB2 RA90
;set RQB3 RA90
set RQC enabled
set RQC0 RRD40
;set RQC1 RRD40
set RQC1 disabled
set RQC2 disabled
set RQC3 disabled
set RY disabled
set TQ disabled
set TQ enabled
set TQ TK70
;set TQ0 format=TPC
set TQ1 disabled
;set TQ0 format=TPC
set TQ1 disabled
set TQ2 disabled
set TQ3 disabled
set TS disabled
set XQ MAC=AA:00:00:00:19:42
;set XQB enabled
;set XQB MAC=AA:00:00:02:30:42
;
attach -am DZ 3900
;
attach NVR /usr/local/vax/nvram.bin
;attach dz line=2,connect=ser0
;
; KDA50 #1
;
attach RQ0 /usr/local/vax/disk/VAXVMS.SYSTEM.DSK
attach RQ1 /usr/local/vax/disk/VAXVMS.DATA01.DSK
;
; RRD50
;
attach RQC0 /usr/local/vax/cdrom/OpenVMS7.3VAX.iso
;attach RQC1 /data/disks/?????????.DSK
;
;attach TQ0 /usr/local/vax/tape/SYSTEM.BCK
;
;
load -r /usr/local/vax/ka655x.bin
;
attach XQ eth0
;
deposit BDR 0
;
boot CPU
;
exit

===



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to