|
newfs /dev/sd0c
mount /dev/cd0c /mnt
@@ -516,7 +459,7 @@
- Download a NetBSD/pmax (DECstation) install RAMDISK kernel:
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz
- Create an empty harddisk image, which will be the disk image
@@ -524,14 +467,14 @@
dd if=/dev/zero of=nbsd_malta.img bs=1024 count=1 seek=700000
- Download the Malta kernel and the 3.0.1 ISO image:
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz
- ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/evbmips-mipselcd-3.0.1.iso
+ Download the Malta kernel and the 3.1 ISO image:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz
+ ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/evbmips-mipselcd-3.1.iso
Start the emulated DECstation machine like this:
- gxemul -e 3max -d nbsd_malta.img -d evbmips-mipselcd-3.0.1.iso netbsd-INSTALL.gz
+ gxemul -e 3max -d nbsd_malta.img -d evbmips-mipselcd-3.1.iso netbsd-INSTALL.gz
At the Terminal type? [rcons] prompt, type CTRL-B
@@ -556,7 +499,7 @@
NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc
(MIPS64) CPU, add -C 4Kc to the command line. With NetBSD
-3.0.1, however, there will be little or no difference in functionality, as
+3.1, however, there will be little or no difference in functionality, as
NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs. There are two things
that differ:
- The dynamic translation core runs faster when emulating 32-bit
@@ -607,7 +550,7 @@
- Download a NetBSD/pmax (DECstation) install RAMDISK kernel:
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz
- Create an empty harddisk image, which will be the disk image
@@ -615,14 +558,14 @@
dd if=/dev/zero of=nbsd_algor.img bs=1024 count=1 seek=700000
-
- Download the P5064 Algor kernel and the 3.0.1 ISO image:
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/algor/binary/kernel/netbsd-P5064.gz
- ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/algorcd-3.0.1.iso
+ - Download the P5064 Algor kernel and the 3.1 ISO image:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/algor/binary/kernel/netbsd-P5064.gz
+ ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/algorcd-3.1.iso
- Start the emulated DECstation machine like this:
- gxemul -e 3max -d nbsd_algor.img -d algorcd-3.0.1.iso netbsd-INSTALL.gz
+ gxemul -e 3max -d nbsd_algor.img -d algorcd-3.1.iso netbsd-INSTALL.gz
- At the Terminal type? [rcons] prompt, type CTRL-B
@@ -682,7 +625,7 @@
For a simple test with the ramdisk/install kernel, try
dowloading
- ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz
+ ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz
and run gxemul -x -e o2 netbsd-INSTALL32_IP3x.gz.
@@ -694,7 +637,7 @@
- First of all, the "nfs server" machine must be set up.
This needs to have a 750 MB /tftpboot partition.
- Install NetBSD/pmax 3.0.1 from CDROM.
+ Install NetBSD/pmax 3.1 from CDROM.
(Don't forget to add the extra partition!)
- Configure the nfs server machine to act as an nfs server.
@@ -702,7 +645,7 @@
gxemul -e 3max -d nbsd_pmax.img
and enter the following commands as root
inside the emulator:
-
|
+ |
echo hostname=server >> /etc/rc.conf
echo ifconfig_le0=\"inet 10.0.0.2\" >> /etc/rc.conf
echo nameserver 10.0.0.254 >> /etc/resolv.conf
@@ -727,27 +670,31 @@
echo 10.0.0.1 client > /etc/hosts
reboot
|
- - Start the DECstation emulation again, and download the
- NetBSD/sgimips distribution sets:
(NOTE: This
- takes quite some time, even if you have a fast network connection.)
- |
-cd /tftpboot; ftp -i ftp.se.netbsd.org
-(log in as anonymous...)
-cd /pub/NetBSD/NetBSD-3.0.1/sgimips/binary/sets
-mget base.tgz comp.tgz etc.tgz games.tgz man.tgz misc.tgz text.tgz
-quit
-sh
-for a in *.tgz; do echo $a; tar zxfp $a; rm -f $a; done
+
+ - Download the NetBSD/sgimips CD-ROM iso image, and the
+ GENERIC and INSTALL kernels:
+ ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/sgimipscd-3.1.iso
+ ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz
+ ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz
+
+
+ - Start the DECstation emulation again:
+ gxemul -e 3max -d nbsd_pmax.img -d sgimipscd-3.1.iso
+
+ and extract the files from the sgimips CD-ROM image to the
+ DECstation disk image:
+ |
+cd /tftpboot; mount /dev/cd0a /mnt
+for a in /mnt/sgimips/binary/sets/[bcegmt]*; do echo $a; tar zxfp $a; done
echo 10.0.0.2:/tftpboot / nfs rw 0 0 > /tftpboot/etc/fstab
echo rc_configured=YES >> /tftpboot/etc/rc.conf
-dd if=/dev/zero of=swap bs=1024 count=32768
-halt
+echo 10.0.0.254 >> /tftpboot/etc/mygate
+echo nameserver 10.0.0.254 >> /tftpboot/etc/resolv.conf
+echo rc_configured=YES >> /tftpboot/etc/rc.conf
+dd if=/dev/zero of=swap bs=1024 count=65536
+cd /; umount /mnt; halt
|
- - Download the NetBSD/sgimips GENERIC and INSTALL kernels:
- ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz
- ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz
-
-
+
- Create a configuration file called config_client:
|
! Configuration file for running NetBSD/sgimips diskless with
@@ -868,15 +815,15 @@
dd if=/dev/zero of=nbsd_cats.img bs=1024 count=1 seek=2000000
- - Download the NetBSD/cats 3.0.1 ISO image and the generic and install kernels:
- ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/catscd-3.0.1.iso
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cats/binary/kernel/netbsd.aout-GENERIC.gz
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cats/binary/kernel/netbsd.aout-INSTALL.gz
+ - Download the NetBSD/cats 3.1 ISO image and the generic and install kernels:
+ ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/catscd-3.1.iso
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-GENERIC.gz
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz
- Start the installation like this:
- gxemul -XEcats -d nbsd_cats.img -d catscd-3.0.1.iso netbsd.aout-INSTALL.gz
+ gxemul -XEcats -d nbsd_cats.img -d catscd-3.1.iso netbsd.aout-INSTALL.gz
and proceed like you would do if you were installing NetBSD on a real
@@ -884,7 +831,7 @@
Alternatively, to install from FTP, you can skip downloading the ISO,
-and start the install without -d catscd-3.0.1.iso. Suitable network
+and start the install without -d catscd-3.1.iso. Suitable network
settings are IP 10.0.0.1, gateway/default route 10.0.0.254, netmask
255.0.0.0, nameserver 10.0.0.254.
@@ -919,7 +866,7 @@
- - Install NetBSD/cats 3.0.1 according to instructions
+
- Install NetBSD/cats 3.1 according to instructions
further up on this page.
- Create an empty harddisk image, which will be the disk image
@@ -933,7 +880,7 @@
- - The first step is to copy the .tgz files we want onto the CATS
+
- The first step is to copy the distribution .tgz files onto the CATS
machine's harddisk. Start the CATS machine like this:
gxemul -XEcats -d nbsd_cats.img -d evbarmcd.iso netbsd.aout-GENERIC.gz
@@ -996,7 +943,7 @@
- Download a NetBSD/pmax (DECstation) install RAMDISK kernel:
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz
- Create an empty harddisk image, which will be the disk image
@@ -1004,14 +951,14 @@
dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000
- - Download the generic kernel and the 3.0.1 ISO image:
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/netwinder/binary/kernel/netbsd-GENERIC.gz
- ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/netwindercd-3.0.1.iso
+ - Download the generic kernel and the 3.1 ISO image:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/netwinder/binary/kernel/netbsd-GENERIC.gz
+ ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/netwindercd-3.1.iso
- Start the emulated DECstation machine like this:
- gxemul -e 3max -d nbsd_netwinder.img -d netwindercd-3.0.1.iso netbsd-INSTALL.gz
+ gxemul -e 3max -d nbsd_netwinder.img -d netwindercd-3.1.iso netbsd-INSTALL.gz
- At the Terminal type? [rcons] prompt, type CTRL-B
@@ -1174,6 +1121,45 @@
+
+
+
NetBSD/dreamcast:
+
+SuperH emulation is very new in GXemul. This is
+still highly experimental.
+
+It is possible to run NetBSD/dreamcast
+3.1 in GXemul. Only enough of the Dreamcast is emulated to let a NetBSD
+ramdisk kernel reach userland; no network interface is emulated yet, so
+root-on-nfs is not possible.
+
+
+
+
+ Download the 3.1 kernel and symbols here:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/dreamcast/binary/kernel/netbsd-GENERIC_MD.gz
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/dreamcast/binary/kernel/netbsd-GENERIC_MD.symbols.gz
+
+
+Start NetBSD/dreamcast using the following command line:
+ gxemul -XEdreamcast netbsd-GENERIC_MD.*
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1325,7 +1311,10 @@
It is possible to install and run
OpenBSD/cats
-in GXemul.
+in GXemul. Unfortunately, "The OpenBSD/cats port has been discontinued
+after the 4.0 release." according to
+http://www.openbsd.org/cats.html,
+but 4.0 should run fine.
@@ -1341,24 +1330,24 @@
- Download the entire cats directory from the ftp server:
- wget -np -l 0 -r ftp://ftp.openbsd.org/pub/OpenBSD/3.9/cats/
- cp ftp.openbsd.org/pub/OpenBSD/3.9/cats/bsd .
- cp ftp.openbsd.org/pub/OpenBSD/3.9/cats/bsd.rd .
+ wget -np -l 0 -r ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/
+ cp ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/bsd .
+ cp ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/bsd.rd .
- (Replace ftp.openbsd.org with a server closer to you, for
+ (Replace ftp.se.openbsd.org with a server closer to you, for
increased download speed.)
- You now need to make an ISO image of the entire directory you downloaded.
(I recommend using mkisofs for that purpose. If you don't
already have mkisofs installed on your system, you need
to install it in order to do this.)
- mkisofs -allow-lowercase -o openbsd_cats_3.9.iso ftp.openbsd.org/pub/OpenBSD/
- rm -rf ftp.openbsd.org (this directory is not needed anymore)
+ mkisofs -allow-lowercase -o openbsd_cats_4.0.iso ftp.se.openbsd.org/pub/OpenBSD/
+ rm -rf ftp.se.openbsd.org (this directory is not needed anymore)
- Start the emulator using this command line:
- gxemul -XEcats -d obsd_cats.img -d openbsd_cats_3.9.iso bsd.rd
+ gxemul -XEcats -d obsd_cats.img -d openbsd_cats_4.0.iso bsd.rd
and proceed like you would do if you were installing OpenBSD
@@ -1440,11 +1429,14 @@
triggered when the emulation goes faster than any real DECstation machine
was capable of running. A temporary workaround is to add
-I33000000 to fix the emulated clock speed to 33 million
-instructions per emulated second. (When using -CR4400,
--I16000000 should be used instead.)
+instructions per emulated second.
-
-You can experiment with adding -Z2 (for emulating a
+ If the workaround above doesn't work, you can also start up other
+processes on the host, apart from the emulator, so that the emulator runs
+more slowly. This is an ugly workaround, but seems to work. Once you have
+logged in into Ultrix, you can kill the extra processes.
+
+ You can experiment with adding -Z2 (for emulating a
dual-headed workstation) or even -Z3 (tripple-headed), and
also the -Y2 option for scaling down the framebuffer
windows by a factor 2x2.
@@ -1456,30 +1448,25 @@
-XZ3 -z remote1:0.0 -z localhost:0.0 -z remote2:0.0
-
-The photo below shows a single Ultrix session running tripple-headed in
+ The photo below shows a single Ultrix session running tripple-headed in
GXemul on an Alpha 21164PC, with displays on a Sun Ultra1 (to the left),
on the Alpha itself (in the middle), and on an HP700/RX X-terminal (8-bit
color depth, running off the Alpha) to the right.
-
-
+
-
-The X11 displays may differ in bit depth and endianness. Unfortunately,
+ The X11 displays may differ in bit depth and endianness. Unfortunately,
there is no way yet to set the scaledown factor on a per-window basis, so
the scaledown factor affects all windows.
-
-(If you didn't use -Zn during the installation, and
+ (If you didn't use -Zn during the installation, and
compiled your own /vmunix, then it will not contain support for
multiple graphics cards. To overcome this problem, use the generic kernel,
-j genvmunix, whenever you are running the emulator with a
different setup than the one you used when Ultrix was installed.)
-
-A note for the historically interested: OSF/1 for MIPS was quite similar
+ A note for the historically interested: OSF/1 for MIPS was quite similar
to Ultrix, so that is possible to run as well. If you are unsuccessful
in installing Ultrix or OSF/1 directly in the emulator, you can always
install it on your real machine onto a real SCSI disk, and then copy the
@@ -1560,35 +1547,48 @@
Debian GNU/Linux for DECstation:
It is possible to run Debian GNU/Linux for DECstation in the emulator,
-on an emulated 5000/200 ("3max"). Although the Debian project has released
-install ramdisk kernels for this purpose, these do not always work:
-
- - Serial console output doesn't work too well in GXemul. Linux
- oopses randomly, which may be due to bugs in GXemul, but may
- also be due to bugs in the serial controller code in Linux.
+on an emulated 5000/200 ("3max"). However, just choosing any
+Linux/DECstation kernel at random for the installation will not work.
+
+
+ - Linux 2.4/DECstation DZ serial console output doesn't work too well in
+ GXemul. Linux oopses randomly, which may be due to bugs in GXemul,
+ but may also be due to bugs in the serial controller code in Linux.
(The speed at which serial interrupts are generated can be
lowered with the -U command line option, but it only
reduces the risk, it doesn't take away the oopses completely.)
-
- Old install kernels supported the graphical framebuffer on the
- 3max, but not the keyboard.
-
- For quite some time, the MIPS linux cvs tree had support for the
- keyboard, but it did not include Debian's patches for
- networking. (Perhaps this has been fixed now, I don't know.)
+
- The Linux 2.6/DECstation DZ serial console driver doesn't work at
+ all in the emulator, and I'm not really sure it would work on a
+ real 5000/200 either. Hopefully this will be fixed in Linux in
+ the future.
+
- To get around the serial console problem, the obvious solution is to
+ use a graphical framebuffer instead. Old Debian install kernels
+ supported the graphical framebuffer on the 3max, but not the
+ keyboard. (This has been fixed now, it seems.)
+
- For quite some time, the MIPS linux cvs tree has had support for the
+ framebuffer and keyboard, but it did not include Debian's
+ patches for networking, which made it unusable for network
+ installs. (Possibly fixed now.)
+
- The kernel has to be for 5000/200. This rules out using
+ the default kernel on netinst ISO images provided by Debian.
+ These ISO images boot directly into a kernel which is meant
+ for a different DECstation model.
+
- The kernel has to have an initrd which more or less matches the
+ version of Debian that will be installed.
-David Muse has made available a precompiled install kernel which
-has support for framebuffer, keyboard, and networking, which works
-pretty well. Thanks David. :-)
+ Luckily, a precompiled install kernel has been made available by David
+Muse, for Debian for R3000 DECstations, which has support for framebuffer,
+keyboard, and networking, which works pretty well. Thanks David. :-)
-
-The following steps should let you install Debian GNU/Linux for DECstation
-onto a harddisk image:
+ The following steps should let you install Debian GNU/Linux for
+DECstation onto a harddisk image in the emulator:
- Create an empty harddisk image, which will be the root disk
that Debian installs itself onto:
- dd if=/dev/zero of=debian_pmax.img bs=1024 count=1 seek=3300000
+ dd if=/dev/zero of=debian_pmax.img bs=1024 count=1 seek=6000000
- Download David Muse' install kernel, and a Debian Netinstall CD-ROM:
@@ -1652,6 +1652,9 @@
The post-install step takes quite some time as well. A perfect opportunity
for more coffee.
+ When asked about whether the hardware clock is set to GMT or
+ not, answer Yes.
+
When asked about "Apt configuration", choose http as the method
to use for accessing the Debian archive.
@@ -1697,8 +1700,7 @@
- Download a root filesystem tree:
- ftp://ftp.uni-wuppertal.de/pub/linux/mips/
- mipsel-linux/root/mipsel-root-20011216.tgz
+ ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz
19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414
@@ -1855,7 +1857,7 @@
- First of all, the "nfs server" machine must be set up.
This needs to have a 800 MB /tftpboot partition.
- Install NetBSD/pmax 3.0.1 from CDROM.
+ Install NetBSD/pmax 3.1 from CDROM.
(Don't forget to add the extra partition!)
- Configure the nfs server machine to act as an nfs server.
@@ -2135,6 +2137,73 @@
+
+
+
+
+
+
@@ -2164,23 +2233,23 @@
href="http://fabrice.bellard.free.fr/qemu/qemu-doc.html">http://fabrice.bellard.free.fr/qemu/qemu-doc.html.
Sometimes QEMU is faster than GXemul, sometimes it is the other way
around. A quick (and quite unfair) test on my laptop (1.8 GHz Turion ML32,
-I think, in AMD64 mode) comparing QEMU 0.8.1 installed as a binary package
-from FreeBSD ports with GXemul gave the following result:
+in AMD64 mode) comparing QEMU 0.8.2 (installed from FreeBSD ports)
+with GXemul gave the following result:
while true; do ls -l > /dev/null; echo -n .; done
(80 x 36 dots)
- QEMU 0.8.1: 13 min 48 sec
+ QEMU 0.8.2: 13 min 52 sec
GXemul 0.4.2: 4 min 31 sec
while true; do /usr/bin/md5sum /usr/bin/* > /dev/null; echo -n .; done
(80 dots)
- QEMU 0.8.1: 2 min 9 sec
+ QEMU 0.8.2: 2 min 8 sec
GXemul 0.4.2: 5 min 18 sec
while true; do grep hej lib/libtextwrap.so.1 > /dev/null; echo -n .; done
(80 dots)
- QEMU 0.8.1: 10 min 5 sec
+ QEMU 0.8.2: 9 min 57 sec
GXemul 0.4.2: 1 min 36 sec
|
|
|
|