QEMU networking test...

NeXTComputers.org -> The Mothership

Poll
Question: This is
Option 1: silly votes: 0
Option 2: cool votes: 0
Option 3: insane! votes: 0
Option 4: Not as cool as a white box votes: 0
Option 5: Clever way to sneak NS onto the internet votes: 3
Title: QEMU networking test...
Post by: neozeed on August 30, 2007, 11:29:20 PM
Well I know this is insane, but I'm going to be moving internet connections soon so I feel brave enough to post this...

I just setup qemu 0.9.0 with my pcap patches & the busmouse patches that I've found.  It's running apache (I shut down sendmail)

http://tiger.vaxenrule.com/

click & check it out!

Now I just need to change the default page....

Also the VNC aspect of qemu is quite nice for controlling this thing.. Just have your OS installed first...

I suppose if you used physical media, you could use the vnc2swf programs and make a video of the installation... But I don't think anyone would care about that...

I've put the developer & EOF on it, plus apache 1.3 & some other nonsense...

Thoughts?
Title: QEMU networking test...
Post by: helf on August 31, 2007, 07:48:52 AM
cool, it works :P

Also, nice domain... ;)
Title: QEMU networking test...
Post by: neozeed on August 31, 2007, 09:01:58 AM
Quote from: "helf"cool, it works :P
Yes much to my amazement it's still running.. Somewhere someone made fun of my pcap patch to qemu... But it works!!!  Even though I've commented out stuff until it compiled... But I'll admit I ripped it from simh.

Quote from: "helf"
Also, nice domain... ;)

Yeah I've planned on doing something with simh & whatnot.. I used to keep a copy on the outside but Apache never quite built on stock BSD4.3...  But it runs fine on NeXTSTEP... Go figure when both are 4.3's.

I was thinking something along the lines of Anonet (http://anonet.org/) but less paranoid.  I've gotten qemu & simh to do file/IO networking so I can now easily replace the network transport but I was thinking of a good method...  I've done UDP, IRC..

Udp is nice since I can compress & crypt it, but it needs someone to setup rules if it's natting.  IRC doesn't need any nat, but the central server gets all the traffic (not cool)...  

Then again would people care about a 'dark' retro internet?

I just updated the page somewhat, but it'll be interesting to see how much uptime I can keep on it.. Although I'm tempted to back it up again..
Title: QEMU networking test...
Post by: helf on August 31, 2007, 09:08:49 AM
wait, simh runs on nextstep 3.3?

oh my... I must compile. Have any precompiled binaries? :P I want to install OpenVMS 7... :)
Title: I know the old ones do
Post by: neozeed on August 31, 2007, 09:14:46 AM
Let me dig about I'll see what I can come up with... !
Title: QEMU networking test...
Post by: helf on August 31, 2007, 09:29:08 AM
oh, I misread you. You said Apache built correctly. I thought you meant simh and i got all excited... :)

Pretty cool what you have running though!

I'll mess with the simh source later and see if I can get it to compile on NS3.3
Title: well it's not too far off
Post by: neozeed on August 31, 2007, 09:33:25 AM
a whlie ago I actually got an old verison of SIMH to run on my cube.. it was *SLOW*.. I think it took 5 minutes for the microvax to do it's POST...  

I'm starting to tackle the source now... What platforms would you want it on?

IE should I re-install the dev tools for 68k?  Although I suspect it would be kind of pointles....... :)
Title: QEMU networking test...
Post by: helf on August 31, 2007, 10:04:03 AM
Well, i was going to run it on my turbo slab... if for just novelty factor.

Someone needs to make a 68k 'cpu core' for simh that makes 68k commands run completely native on a 68k based machine. like qemus linux plugin for x86 stuff.

be nice :)

NEXTSTEP 3.3, MacOS 7.x.x, some form of DOS, and OpenVMS all running side by side on a NeXT :P

Oh, and I need to get UAE working again. :]
Title: I'm almost there!
Post by: neozeed on August 31, 2007, 10:42:11 AM
I've just got to hunt down some ioctl stuff and I think I'll have the vax780 built on the i386 ....

I'll post more as I get there...

But in the meantime you'll *NEED* gnumake.  I'm using 37-2.

I suppose gcc 2.7.2.3 wouldn't hurt either but I'm going to try with 2.5.8 sp2.
Title: HA!
Post by: neozeed on August 31, 2007, 11:01:40 AM
well it compiled (the 780)

download it from here!

http://tiger.vaxenrule.com/simh-nextstep.tar.gz

bash-2.01# gmake -f GNUMakefile
cc -O0 -pipe -DVM_VAX -DVAX_780 -DUSE_INT64 -DUSE_ADDR64 -DNO_vsnprintf -I. -I VAX -I PDP11   -c null.c -o null.o
cc -O0 -pipe -DVM_VAX -DVAX_780 -DUSE_INT64 -DUSE_ADDR64 -DNO_vsnprintf -I. -I VAX -I PDP11   -c VAX/vax_cpu.c -o VAX/vax_cpu.o
......
Lots of warnings & stuff... I'm ignoring those for now! :)
......
cc -o vax780 -O0 -pipe -DVM_VAX -DVAX_780 -DUSE_INT64 -DUSE_ADDR64 -DNO_vsnprint
f -I. -I VAX -I PDP11 null.o \
VAX/vax_cpu.o VAX/vax_cpu1.o VAX/vax_fpa.o VAX/vax_cis.o \
VAX/vax_octa.o  VAX/vax_cmode.o VAX/vax_mmu.o VAX/vax_sys.o  \
VAX/vax_syscm.o VAX/vax780_stddev.o VAX/vax780_sbi.o \
VAX/vax780_mem.o VAX/vax780_uba.o VAX/vax780_mba.o \
VAX/vax780_fload.o VAX/vax780_syslist.o PDP11/pdp11_rl.o \
PDP11/pdp11_rq.o PDP11/pdp11_ts.o PDP11/pdp11_dz.o \
PDP11/pdp11_lp.o PDP11/pdp11_tq.o PDP11/pdp11_xu.o \
PDP11/pdp11_ry.o PDP11/pdp11_cr.o PDP11/pdp11_rp.o \
PDP11/pdp11_tu.o PDP11/pdp11_hk.o scp.o sim_console.o \
sim_fio.o sim_timer.o sim_sock.o sim_tmxr.o sim_ether.o \
sim_tape.o

bash-2.01# ./vax780

VAX780 simulator V3.7-2
sim>


So it looks ok to me!  Since I've used the default 'cc' it ought to work on SUN/HP/68K

bash-2.01# cc -v
Reading specs from /lib/i386/specs
NeXT Computer, Inc. version cc-437.2.6, gcc version 2.5.8
Title: Much to my amazement:
Post by: neozeed on August 31, 2007, 11:41:59 AM
I have a pre-installed copy of BSD 4.2 so I just wget'ted it into the emulator....

Here is my config:

att rq0 rq-42.dsk
set rq1 dis
set rq2 dis
set rq3 dis
set rp dis
set lpt dis
set rl dis
set tq dis
set tu dis
set ts dis
set cr dis
set hk dis
set ry dis
set ts dis
set tti 7b
set tto 7
set dz 7b
set dz lines=8
at -m dz0 2311
load -o boot42 0
d r10 9
d r11 0
run 2

bash-2.01# uname -a
NEXTSTEP qemunext Lightning9I  Intel 486

bash-2.01# ls
.hidden         boot42          rq-42.dsk       vmb.exe
42.ini          lost+found      vax780

bash-2.01# ls -l
total 446489
-rw-r--r--  1 root          11 Nov 12  1994 .hidden
-rw-r--r--  1 root         280 Aug 31 12:27 42.ini
-rw-r--r--  1 root       19296 Aug 31 11:57 boot42
drwxr-xr-x  2 root        8192 Nov 12  1994 lost+found
-rw-r--r--  1 root     456228864 Aug 26  2006 rq-42.dsk
-rwxr-xr-x  1 root      651392 Aug 31 12:24 vax780
-rw-r--r--  1 root       44544 Aug 31 11:57 vmb.exe
bash-2.01# ./vax780 42.ini

VAX780 simulator V3.7-2
Listening on port 2311 (socket 5)
Modem control activated

Boot
: ra(0,0)vmunix
199488+56036+51360 start 0x11a0
4.2 BSD UNIX #9: Wed Nov 2 16:00:29 PST 1983
real mem  = 8384512
avail mem = 7073792
using 102 buffers containing 835584 bytes of memory
mcr0 at tr1
mcr1 at tr2
uba0 at tr3
uda0 at uba0 csr 172150 vec 774, ipl 15
ra0 at uda0 slave 0
ra1 at uda0 slave 1
dz0 at uba0 csr 160100 vec 300, ipl 15
root on ra0
WARNING: clock gained 4 days -- CHECK AND RESET THE DATE!
WARNING: should run interleaved swap with >= 2Mb
Automatic reboot in progress...
Wed Aug 31 05:31:26 PDT 1983
/dev/ra0a: 327 files, 3570 used, 3859 free (19 frags, 480 blocks)


The disk IO is *SLOW*.  It's taking simply forever for this thing to boot.  So yes it appears to work.  No it's not terribly usefull... :)
Title: Flogging a dead horse.....
Post by: neozeed on August 31, 2007, 01:38:02 PM
Ok I'll start a thread in the software section!.. :)

Anyways I loaded this on my 'white' box (the disk is dying...!) but anyways it is SIGNIFIGANTLY faster.

CFLAGS=-O2 -m486 -pipe -DVM_VAX -DVAX_780 -DNO_vsnprintf -I. -I VAX -I PDP11

I stripped out the 64 bit stuff, since NeXTSTEP 3.3 isn't 64bit by any stretch (hello 2 gig filesystems!)

me & a friend are playing hack & wump on it, and it doesn't feel like it's running a 100 load and we are connected at 300 baud...

Go to top  Forum index