On Tue, 23 Jul 2013, Cory Smelosky wrote:
Final update: All is working as it should. Enabling SYSVIPS in jails, manually modifying the arp tables the way dpni20 does it, and manually changing the MAC addresses and I have TOPS-10 and TOPS-20 jailed on FreeBSD/SPARC.
(Oh...can't forget the devfs rules to allow access to /dev/bpf in a jail!)
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
With Johnny's gracious permission:
DEC Legacy is back!
To be held on October 19th and 20th 2013 at the usual venue, The Marchesi Centre, in Windermere, Cumbria, UK.
More details on the website: http://declegacy.org.uk
Registration is now open, please follow the Registration tab at the top of the page.
Last time the event was opened to anyone with an interest in the highlights of 20th Century computer technology - this provided an interesting mix of hardware from a variety of manufacturers. I would like to continue the event in this vein. So if you own interesting hardware, whatever the origin, we would love to see you at the event.
There will hopefully be a couple keynote speakers this time as well, to be announced.
Please feel free to forward this email to anyone who might have an interest.
I look forward to catching up with familiar faces and making some new acquaintances.
Regards, Mark.
On Tue, 23 Jul 2013, Cory Smelosky wrote:
Using klh10-2.0h with the same patch:
Starting KN10 at loc 0703667...
[KLH10: Illegal exec mode op, PC = 6: 0 0,0][HALTED: Exec program error?
("set cpu_exsafe=1" to continue)]
Endianness issue?
Nevermind, found the problem: change -O3 in CFLAGS to -O0 and all is good.
root at maddy:/jails/green/home/b4/marley # ./kn10-kl twonky.ini
KLH10 V2.0H (MyKL) built Jul 23 2013 09:51:19
Copyright ? 2002 Kenneth L. Harrenstien -- All Rights Reserved.
This program comes "AS IS" with ABSOLUTELY NO WARRANTY.
Compiled for FREEBSD on SPARC with word model USEGCCSPARC
Emulated config:
CPU: KL10-extend SYS: T20 Pager: KL APRID: 3600
Memory: 8192 pages of 512 words (SHARED)
Time interval: INTRP Base: OSGET
Interval default: 60Hz
Internal clock: OSINT
Other: MCA25 JPC DEBUG PCCACHE CTYINT EVHINT
Devices: DTE RH20 RPXX(DP) TM03(DP) NI20(DP)
[MEM: Allocating 8192 pages shared memory, clearing...done]
KLH10# ; KLH10 configuration for TOPS-10 test system
KLH10#
KLH10# ; DTE requires ackdly to avoid T10 race condition
KLH10# devdef dte0 200 dte master ackdly=5
KLH10# devdef rh0 540 rh20
KLH10# devdef rh1 544 rh20
KLH10# devdef dsk0 rh0.0 rp type=rp06 sn=4747 format=dbd9 path=T10-RP06.0-dbd9
KLH10# devdef dsk1 rh0.1 rp type=rp06 sn=1026 format=dbd9 path=T10-RP06.1-dbd9
KLH10# devdef dsk2 rh0.2 rp type=rp06 sn=3737 format=dbd9 path=T10-RP06.cust.0-dbd9
KLH10# devdef dsk3 rh0.3 rp type=rp06 sn=5858 format=dbd9 path=stag.dsk
KLH10# devdef mta0 rh1.0 tm03 type=TU77
KLH10# devdef idler 740 host
KLH10#
KLH10# ; NI: param "c3dly" to avoid T10 race.
KLH10# ; NI: param "rdtmo" to avoid system hangups with OSF/1 V3.0
KLH10# ;
KLH10# ; Decnet node TWONKY, 9.429
KLH10# devdef ni0 564 ni20 dedic=1 decnet=1 doarp=0 enaddr=aa:00:04:00:a:24 ifc=qfe0 dpdelay=12 c3dly=3 rdtmo=3
KLH10#
KLH10# load klboot.exe
Using word format "c36"...
Loaded "klboot.exe":
Format: DEC-PEXE
Data: 0, Symwds: 0, Low: 01000000, High: 0, Startaddress: 0703667
Entvec: 0 wds at 0
KLH10# [EOF on twonky.ini]
KLH10# go
Starting KN10 at loc 0703667...
BOOT V4(100)
BOOT>monidl
[Loading from DSKB:MONIDL.EXE[1,4]]
MARLEY TOPS-10 MONITOR 15-May-13
Why reload: test
Options are: OPR PARITY POWER STATIC HARDWA NXM
HALT LOOP HUNG PM CM SA
NEW SCHED OTHER
Type "HELP" for additional information
Why reload: other;test
Date: 23-JUL-2013
Time: 05:54
[dpni20: Fatal error: BIOCSETIF failed for interface "qfe0" - Device not configured]
%[DTEI: 146 (old 146!)]% [DTEI: 144 (old 146!)][DTEI: 177 (old 144!)]K[DTEI: 15 (old 177!)]LNI microcode load failed on NIA20 564
Microprocessor check
^O
% Bad response, try again
Startup option:
Options are: CHANGE DEFINE DESTRO DISSOL GO NOINIT
REFRES SHOW
Type "HELP" for additional information
Startup option: go
[Rebuilding the system search list from the HOM blocks]
[Rebuilding the active swapping list from the HOM blocks]
[Rebuilding the system dump list from the HOM blocks]
MARLEY TOPS-10 MONITOR 05:54:56 CTY system 3600
Connected to Node MARLEY(0) Line CTY
.LOGIN 1,2
.R OPR
[CCPWFD Waiting for file daemon to start]
%%TTY STOMPER - Starting
OPR>
5:55:12 -- Log file DSKB:OPERAT.LOG[3,3] renamed to DSKB:OPERAT.005[3,3]
--
OPR>quit
? Invalid OPR command specified: "quit"
? : "quit"
OPR>exit
.
I will investigate further later and see if I can't get it to run in a jail...at present it segfaults upon attempting to load the monitor if run in a jail. If run outside a jail it boots fine...I still have yet to test stability.
Networking is also functional:
$ set host/app=rterm marley
%REM-I-CONNECTION, connection made using RTERM protocol
%REM-I-REMOTE, connection established to remote node MARLEY::
MARLEY TOPS-10 MONITOR 06:02:15 TTY4 system 3600
Connected to Node 9.13
Please LOGIN
.login csmelosky
Job 15 MARLEY TOPS-10 MONITOR TTY4
Password:
[LGNLAS Last access to [400,400] succeeded on 25-May-13:21:03:33]
06:02 23-Jul-13 Tuesday
Welcome to MARLEY. A part of the gimme-sympathy.org family.
This is a simulated DECSYSTEM-10.
It is configured with:
1). Ethernet (HECnet address: 9,10)
2). 4 RP06 disks (DSKB:, TSU:, USER:, DSKA:)
3). 4096K memory
To request an account: email b4 at gewt.net or MAIL GEWT::b4.
I will later write up a blog post or something and see if -O2 will work. Amusingly enough: idling in klh10 works, too...
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
On Tue, 23 Jul 2013, Cory Smelosky wrote:
Morning all,
I've made a bit of progress...it builds now.
[b4 at green ~/marley]$ uname -a
FreeBSD green 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243836: Tue Dec 4
15:49:34 UTC 2012
root at heller.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64
[b4 at green ~/marley]$ ./kn10-kl twonky.ini
KLH10 V2.0A release (MyKL) built Jul 23 2013 09:24:42
Copyright ? 2001 Kenneth L. Harrenstien -- All Rights Reserved.
This program comes "AS IS" with ABSOLUTELY NO WARRANTY.
Compiled for LINUX on I386 with word model USEINT
Emulated config:
CPU: KL10-extend SYS: T20 Pager: KL APRID: 1
Memory: 8192 pages of 512 words (SHARED)
Time interval: INTRP Base: OSGET
Interval default: 60Hz
Internal clock: OSINT
Other: MCA25 JPC DEBUG PCCACHE CTYINT EVHINT
Devices: DTE RH20 RPXX(DP) TM03(DP) NI20(DP)
[MEM: Allocating 8192 pages [os_mmcreate: shmget failed for 33554432 bytes
- Function not implemented]
private memory, clearing...done]
KLH10> ; KLH10 configuration for TOPS-10 test system
KLH10>
KLH10> ; DTE requires ackdly to avoid T10 race condition
KLH10> devdef dte0 200 dte master ackdly=5
KLH10> devdef rh0 540 rh20
KLH10> devdef rh1 544 rh20
KLH10> devdef dsk0 rh0.0 rp type=rp06 sn=4747 format=dbd9
path=T10-RP06.0-dbd9
[dp_init: shmget failed - 78]
RPXX subproc init failed!
Final init of device "dsk0" failed!
KLH10> devdef dsk1 rh0.1 rp type=rp06 sn=1026 format=dbd9
path=T10-RP06.1-dbd9
[dp_init: shmget failed - 78]
RPXX subproc init failed!
Final init of device "dsk1" failed!
KLH10> devdef dsk2 rh0.2 rp type=rp06 sn=3737 format=dbd9
path=T10-RP06.cust.0-dbd9
[dp_init: shmget failed - 78]
RPXX subproc init failed!
Final init of device "dsk2" failed!
KLH10> devdef dsk3 rh0.3 rp type=rp06 sn=5858 format=dbd9 path=stag.dsk
[dp_init: shmget failed - 78]
RPXX subproc init failed!
Final init of device "dsk3" failed!
KLH10> devdef mta0 rh1.0 tm03 type=TU77
[dp_init: shmget failed - 78]
TM03 subproc init failed!
Final init of device "mta0" failed!
KLH10> devdef idler 740 host
KLH10>
KLH10> ; NI: param "c3dly" to avoid T10 race.
KLH10> ; NI: param "rdtmo" to avoid system hangups with OSF/1 V3.0
KLH10> ;
KLH10> ; Decnet node TWONKY, 9.429
KLH10> devdef ni0 564 ni20 dedic=1 decnet=1 doarp=0
enaddr=aa:00:04:00:a:24 ifc=qfe0 dpdelay=12 c3dly=3 rdtmo=3
[dp_init: shmget failed - 78]
NI20 subproc init failed!
Final init of device "ni0" failed!
KLH10>
KLH10> load klboot.exe
Using word format "c36"...
Loaded "klboot.exe":
Format: DEC-PEXE
Data: 0, Symwds: 0, Low: 01000000, High: 0, Startaddress: 0703667
Entvec: 0 wds at 0
KLH10> [EOF on twonky.ini]
KLH10> quit
Are you sure you want to quit? [Confirm]
Shutting down...Bye!
http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2006-September/102395…
and a little bit on Jordi's blog helped me get it to build.
Obviously there's still a ways to go...but this is progress.,,,
Using klh10-2.0h with the same patch:
Starting KN10 at loc 0703667...
[KLH10: Illegal exec mode op, PC = 6: 0 0,0][HALTED: Exec program error? ("set cpu_exsafe=1" to continue)]
Endianness issue?
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
On 2013-07-22 19:01, Cory Smelosky wrote:
On Mon, 22 Jul 2013, Johnny Billquist wrote:
Someone left a device online who is trying to mop boot the whole time? I
have a few days worth of logs by now...
Johnny
What's the MAC address?
DECnet logging isn't telling me. I haven't come around to dump the raw ethernet packets to spot it, as it only tries once every eight minutes or so.
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
On Mon, 22 Jul 2013, Johnny Billquist wrote:
Someone left a device online who is trying to mop boot the whole time? I
have a few days worth of logs by now...
Johnny
What's the MAC address?
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
On 2013-07-21 22:30, Julian Wolfe wrote:
On Jul 21, 2013, at 2:18 PM, Johnny Billquist <bqt at softjar.se> wrote:
MIM::DU:[FED]
I tried building 'font.c' with PDP-11 C on RSTS, and got:
$ cc font.c
The following messages pertain to file SY:FONT.C
81: %PDP11C-E-SYN_SYNTAXERROR, Found { when expecting one of { "auto" "char"
"const" "double" "enum" "extern" "float" "int" "long" "register" "short" "
signed" "static" "struct" "typedef" "union" "unsigned" "void" "volatile" "
globaldef" "globalref" "globalvalue" "noshare" "readonly" "variant_struct"
"variant_union" "*" "(" identifier typedef-name }.
The following messages pertain to the entire compilation
%PDP11C-E-SYN_FATALSYNTAX, Fatal syntax error.
%PDP11C-I-OGN_NO_OBJ_PRODUCED, No object file produced
Message summary: Informational 1 Warning 0 Error 2
Which C was this compiled with? I can install DECUS C if I need to, but normally I use ANSI C because it is newer (1992) and claims to be ansi compliant.
Yes, this is for DECUS C... However, the code originally (very long time ago) was written for ANSI C. I hacked and changed some stuff to get it to compile under DECUS C. I think much of it should be conditionalized. However, I also use a routine or two written in MACRO-11 to do character based terminal reads without echo.
Look at the code, and fix it. :-)
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
On Jul 21, 2013, at 2:18 PM, Johnny Billquist <bqt at softjar.se> wrote:
MIM::DU:[FED]
I tried building 'font.c' with PDP-11 C on RSTS, and got:
$ cc font.c
The following messages pertain to file SY:FONT.C
81: %PDP11C-E-SYN_SYNTAXERROR, Found { when expecting one of { "auto" "char"
"const" "double" "enum" "extern" "float" "int" "long" "register" "short" "
signed" "static" "struct" "typedef" "union" "unsigned" "void" "volatile" "
globaldef" "globalref" "globalvalue" "noshare" "readonly" "variant_struct"
"variant_union" "*" "(" identifier typedef-name }.
The following messages pertain to the entire compilation
%PDP11C-E-SYN_FATALSYNTAX, Fatal syntax error.
%PDP11C-I-OGN_NO_OBJ_PRODUCED, No object file produced
Message summary: Informational 1 Warning 0 Error 2
Which C was this compiled with? I can install DECUS C if I need to, but normally I use ANSI C because it is newer (1992) and claims to be ansi compliant.
Afternoon all,
Anyone gotten this to work? I got it to build on Solaris/SPARC but FreeBSD/SPARC seems to be a bit of a different beast.
cc -c -g3 -O3 -I. -I../../src -DCENV_CPU_I386=1 -DCENV_SYS_FREEBSD=1 -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/kn10ops.c
../../src/kn10ops.c: In function 'x_ashc':
../../src/kn10ops.c:796: error: address of register variable 'd' requested
../../src/kn10ops.c:796: error: address of register variable 'd' requested
../../src/kn10ops.c:796: error: address of register variable 'd' requested
../../src/kn10ops.c:798: error: address of register variable 'd' requested
../../src/kn10ops.c:798: error: address of register variable 'd' requested
../../src/kn10ops.c:798: error: address of register variable 'd' requested
../../src/kn10ops.c: In function 'qdivstep':
../../src/kn10ops.c:3266: error: address of register variable 'qw' requested
../../src/kn10ops.c:3266: error: address of register variable 'qw' requested
../../src/kn10ops.c:3266: error: address of register variable 'qw' requested