/[gxemul]/trunk/doc/guestoses.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/doc/guestoses.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by dpavlin, Mon Oct 8 16:18:00 2007 UTC revision 6 by dpavlin, Mon Oct 8 16:18:11 2007 UTC
# Line 13  Line 13 
13    
14  <!--  <!--
15    
16  $Id: guestoses.html,v 1.35 2005/04/27 15:32:40 debug Exp $  $Id: guestoses.html,v 1.48 2005/06/04 01:11:01 debug Exp $
17    
18  Copyright (C) 2003-2005  Anders Gavare.  All rights reserved.  Copyright (C) 2003-2005  Anders Gavare.  All rights reserved.
19    
# Line 101  system, the harddisk image looks and act Line 101  system, the harddisk image looks and act
101    
102  <p>  <p>
103  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
104  <a href="netbsd-pmax-20040630.png"><img src="netbsd-pmax-20040630_small.png"></a>  <a href="20050317-example.png"><img src="20050317-example_small.png"></a>
105    
106  <p>  <p>
107  To install NetBSD/pmax onto a harddisk image in the emulator, follow these  To install NetBSD/pmax onto a harddisk image in the emulator, follow these
# Line 223  follow these instructions: Line 223  follow these instructions:
223          $ <b>dd if=/dev/zero of=nbsd_arc.img bs=1024 count=1 seek=900000</b>          $ <b>dd if=/dev/zero of=nbsd_arc.img bs=1024 count=1 seek=900000</b>
224    
225  </pre>  </pre>
226    <li>Download a NetBSD/arc CDROM image from ftp:<pre>    <li>Download a NetBSD/arc 1.6.2 CDROM image from ftp:<pre>
227          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/arccd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/arccd.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/arccd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/arccd.iso</a>
228    
229  </pre>  </pre>
   <li>Download a NetBSD/arc installation (ramdisk) kernel,  
         and gunzip it:<pre>  
         <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/arc/binary/kernel/netbsd.RAMDISK.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/arc/binary/kernel/netbsd.RAMDISK.gz</a>  
   
 </pre>  
230    <li>Start the emulator using this command line:<pre>    <li>Start the emulator using this command line:<pre>
231          $ <b>gxemul -E arc -e pica -b -d nbsd_arc.img -d arccd.iso netbsd.RAMDISK</b>          $ <b>gxemul -E arc -e pica -x -b -d nbsd_arc.img -d bc:arccd.iso \
232              -j arc/binary/kernel/netbsd.RAMDISK.gz</b>
233    
234  </pre>  </pre>
235            (Try removing <tt>-x</tt> if you have problems with the xterm.)
236        <p>
237    <li>From now on, you have to use your imagination, as there is no    <li>From now on, you have to use your imagination, as there is no
238          automatic installation program for NetBSD/arc. Here are some tips          automatic installation program for NetBSD/arc. Here are some tips
239          and hints on how you can proceed with the install:<pre>          and hints on how you can proceed with the install:<pre>
# Line 245  follow these instructions: Line 243  follow these instructions:
243          $ <b>newfs /dev/sd0a</b>          $ <b>newfs /dev/sd0a</b>
244          $ <b>mount /dev/sd0a /mnt</b>          $ <b>mount /dev/sd0a /mnt</b>
245          $ <b>cd /mnt</b>          $ <b>cd /mnt</b>
246          $ <b>for a in /mnt2/arc/binary/sets/*.tgz; do tar xvzpf $a; done</b>          $ <b>for a in /mnt2/arc/binary/sets/*.tgz; do echo $a; tar xzpf $a; done</b>
247          $ <b>cd dev; sh MAKEDEV all</b>          $ <b>cd dev; sh MAKEDEV all</b>
248          $ <b>cd ../etc; echo "rc_configured=YES" &gt;&gt; rc.conf</b>          $ <b>cd ../etc; echo "rc_configured=YES" &gt;&gt; rc.conf</b>
249          $ <b>cat > /mnt/etc/fstab</b>          $ <b>cat > /mnt/etc/fstab</b>
# Line 268  You can now use the generic NetBSD/arc k Line 266  You can now use the generic NetBSD/arc k
266  image, using the following command:  image, using the following command:
267  <p>  <p>
268  <pre>  <pre>
269          $ <b>gxemul -E arc -e pica -b -d nbsd_arc.img netbsd-GENERIC</b>          $ <b>gxemul -E arc -e pica -xb -d nbsd_arc.img netbsd-GENERIC</b>
270    
271  </pre>  </pre>
272    
 <p>  
 Using <b>-b</b> (enabling dynamic binary translation), as in the instructions  
 above, is not 100% stable. If you experiment weird crashes, try removing that  
 option and try again.  
273    
274    
275    
# Line 363  NetBSD/hpcmips on an emulated MobilePro Line 357  NetBSD/hpcmips on an emulated MobilePro
357          $ <b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=1990000</b>          $ <b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=1990000</b>
358    
359  </pre>  </pre>
360    <li>Download the installation kernel (and gunzip it) and an ISO    <li>Download the NetBSD 2.0 for hpcmips ISO image:<pre>
         image of NetBSD 2.0 for hpcmips:<pre>  
         <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation/netbsd.gz">netbsd.gz</a>  
361          <a href="ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/">ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0</a>/<a href="ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/hpcmipscd.iso">hpcmipscd.iso</a>          <a href="ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/">ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0</a>/<a href="ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/hpcmipscd.iso">hpcmipscd.iso</a>
362    
363  </pre>(You may want to choose a mirror closer to you, if .se is slow.)  </pre>(You may want to choose a mirror closer to you, if .se is slow.)
364    <p>    <p>
365    <li>Start the installation like this:<pre>    <li>Start the installation like this:<pre>
366          $ <b>gxemul -E hpc -e mobilepro800 -b -X -d nbsd_hpcmips.img -d hpcmipscd.iso netbsd</b>          $ <b>gxemul -E hpc -e mobilepro800 -b -X -d nbsd_hpcmips.img  \
367              -d b:hpcmipscd.iso -j hpcmips/installation/netbsd.gz</b>
368    
369  </pre>  </pre>
370          and proceed like you would do if you were installing NetBSD on a real          and proceed like you would do if you were installing NetBSD on a real
# Line 432  image, from an emulated DECstation 3MAX Line 425  image, from an emulated DECstation 3MAX
425          $ <b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=1999000</b>          $ <b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=1999000</b>
426    
427  </pre>  </pre>
   <li>Install NetBSD/pmax 2.0 according to instructions further up  
         on this page.  
   <p>  
428    <li>Download the generic kernel for Cobalt (and gunzip it) and    <li>Download the generic kernel for Cobalt (and gunzip it) and
429          the 2.0 ISO image:<pre>          the 2.0 ISO image:<pre>
430          <a href="ftp://ftp.se.netbsd.org/pub/NetBSD/NetBSD-2.0/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.se.netbsd.org/pub/NetBSD/NetBSD-2.0/cobalt/binary/kernel/netbsd-GENERIC.gz</a>          <a href="ftp://ftp.se.netbsd.org/pub/NetBSD/NetBSD-2.0/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.se.netbsd.org/pub/NetBSD/NetBSD-2.0/cobalt/binary/kernel/netbsd-GENERIC.gz</a>
# Line 442  image, from an emulated DECstation 3MAX Line 432  image, from an emulated DECstation 3MAX
432    
433  </pre>(You may want to choose a mirror closer to you, if .se is slow.)  </pre>(You may want to choose a mirror closer to you, if .se is slow.)
434    <p>    <p>
435      <li>Install NetBSD/pmax 2.0 according to instructions further up
436            on this page.
437      <p>
438    <li>Start NetBSD/pmax like this:<pre>    <li>Start NetBSD/pmax like this:<pre>
439          $ <b>gxemul -b -Edec -e3max -d nbsd_pmax.img -d cobaltcd.iso -d nbsd_cobalt.img</b>          $ <b>gxemul -b -Edec -e3max -d nbsd_pmax.img -d cobaltcd.iso -d nbsd_cobalt.img</b>
440    
# Line 473  generic kernel:<pre> Line 466  generic kernel:<pre>
466          root device (default wd0a): <b>wd0d</b>          root device (default wd0a): <b>wd0d</b>
467          dump device (default wd0b): <b>none</b>          dump device (default wd0b): <b>none</b>
468          file system (default generic): <b>ffs</b>          file system (default generic): <b>ffs</b>
469            init path (default /sbin/init):     <i>(just press enter here)</i>
470  </pre>  </pre>
471    
472    
# Line 501  for more information. Line 495  for more information.
495  TODO...  TODO...
496    
497  <pre>  <pre>
498  cd /x; ftp -i ftp.se.netbsd.org  cd /tftpboot; ftp -i ftp.se.netbsd.org
499  ..  ..
500  cd pub/NetBSD/NetBSD-2.0/sgimips/binary/sets  cd pub/NetBSD/NetBSD-2.0/sgimips/binary/sets
501  mget *.tgz  mget *.tgz
# Line 564  common sense and imagination to modify t Line 558  common sense and imagination to modify t
558    
559  </pre>  </pre>
560    <li>You now need to make an ISO image of the entire directory you downloaded.    <li>You now need to make an ISO image of the entire directory you downloaded.
561          I recommend using <b>mkisofs</b> for that purpose. If you don't already          I recommend using <tt>mkisofs</tt> for that purpose. If you don't
562          have mkisofs installed on your system, you need to install that in          already have <tt>mkisofs</tt> installed on your system, you need
563          order to do this.<pre>          to install it in order to do this.<pre>
564          $ <b>mkisofs -o openbsd_pmax_2.8.iso ftp.se.openbsd.org/pub/OpenBSD/2.8/pmax</b>          $ <b>mkisofs -o openbsd_pmax_2.8.iso ftp.se.openbsd.org/pub/OpenBSD/2.8/pmax</b>
565    
566  </pre>  </pre>
# Line 574  common sense and imagination to modify t Line 568  common sense and imagination to modify t
568          $ <b>gxemul -E dec -e 3max -b -d obsd_pmax.img -d b:simpleroot28.fs -j bsd -d c:openbsd_pmax_2.8.iso</b>          $ <b>gxemul -E dec -e 3max -b -d obsd_pmax.img -d b:simpleroot28.fs -j bsd -d c:openbsd_pmax_2.8.iso</b>
569    
570  </pre>  </pre>
571          (If you add -X, you will run with the graphical framebuffer. This is <i>REALLY</i> slow          (If you add <tt><b>-X</b></tt>, you will run with the graphical
572          because the console has to scroll a lot during the install. I don't recommend it.)          framebuffer. This is <i>REALLY</i> slow because the console has to
573            scroll a lot during the install. I don't recommend it.)
574    <p>    <p>
575    <li>Go on with the installation as you would do if you were installing on a real machine.    <li>Go on with the installation as you would do if you were installing on a real machine.
576          If you are not used to the OpenBSD installer, then this will most likely          If you are not used to the OpenBSD installer, then this will most likely
# Line 619  Execute the following commands in the em Line 614  Execute the following commands in the em
614          # <b>mount /</b>          # <b>mount /</b>
615          # <b>passwd root</b>          # <b>passwd root</b>
616    
617          # <b>cd /</b>          # <b>cd /; mount -t cd9660 /dev/rz2c /mnt; sh</b>
         # <b>mount -t cd9660 /dev/rz2c /mnt</b>  
         # <b>sh</b>  
618          # <b>for a in /mnt/[xX]*; do tar zxvf $a; done</b>          # <b>for a in /mnt/[xX]*; do tar zxvf $a; done</b>
619          # <b>ln -s /usr/X11R6/bin/Xcfbpmax /usr/X11R6/bin/X</b>          # <b>ln -s /usr/X11R6/bin/Xcfbpmax /usr/X11R6/bin/X</b>
620          # <b>ln -s /dev/fb0 /dev/mouse</b>          # <b>ln -s /dev/fb0 /dev/mouse</b>
# Line 647  will let you boot from the new rootdisk Line 640  will let you boot from the new rootdisk
640  </pre>  </pre>
641    
642  <p>  <p>
643  OpenBSD/pmax seems to work fine with dynamic binary translation (enabled  (Normally, you would be asked about which root device to use (<tt>rz0</tt>),
644  by the <b>-b</b> command line option).  but using <b><tt>-o '-aN'</tt></b> supresses that.)
645    
646  <p>  <p>
 (Normally, you would be asked about which root device to use (rz0), but  
 using -o '-aN' supresses that.)  
 <p>  
647  When asked for which terminal type to use, when logging in as root,  When asked for which terminal type to use, when logging in as root,
648  enter <b>rcons</b> if you are using the graphical framebuffer,  enter <b><tt>rcons</tt></b> if you are using the graphical framebuffer,
649  <b>vt100</b> for text-mode.  <b><tt>vt100</tt></b> for text-mode.
650  <br>Use <b>startx</b> to start X windows.  <br>Use <b><tt>startx</tt></b> to start X windows.
651    
652    
653    
# Line 699  instructions: Line 689  instructions:
689  </pre>  </pre>
690    
691    <li>You now need to make an ISO image of the entire directory you downloaded.    <li>You now need to make an ISO image of the entire directory you downloaded.
692          I recommend using <b>mkisofs</b> for that purpose. If you don't already          I recommend using <tt>mkisofs</tt> for that purpose. If you don't
693          have mkisofs installed on your system, you need to install that in          already have <tt>mkisofs</tt> installed on your system, you need
694          order to do this.<pre>          to install it in order to do this.<pre>
695          $ <b>mkisofs -o openbsd_arc_2.3.iso ftp.se.openbsd.org/pub/OpenBSD/</b>          $ <b>mkisofs -o openbsd_arc_2.3.iso ftp.se.openbsd.org/pub/OpenBSD/</b>
696    
697  </pre>  </pre>
698    <li>Start the emulator using this command line:<pre>    <li>Start the emulator using this command line:<pre>
699          $ <b>gxemul -X -b -E arc -e pica -d obsd_arc.img -d openbsd_arc_2.3.iso \          $ <b>gxemul -X -b -E arc -e pica -d obsd_arc.img -d b:openbsd_arc_2.3.iso -j 2.3/arc/bsd.rd</b>
             ftp.se.openbsd.org/pub/OpenBSD/2.3/arc/bsd.rd.elf</b>  
700    
701  </pre>  </pre>
702          and proceed like you would do if you were installing OpenBSD          and proceed like you would do if you were installing OpenBSD
# Line 724  boot from the harddisk image: Line 713  boot from the harddisk image:
713    
714  </pre>  </pre>
715    
 <p>  
 (The <b>-b</b> command line option enables dynamic binary translation,  
 which isn't always 100% stable, so if things seem buggy you might want  
 to try to remove that from the command line.)  
   
716    
717    
718    
# Line 746  can theoretically run in GXemul on an em Line 730  can theoretically run in GXemul on an em
730  <font color="#ff0000">NOTE: I haven't succeeded with this yet.</font>  <font color="#ff0000">NOTE: I haven't succeeded with this yet.</font>
731    
732  <p>  <p>
 <font color="#0000f0">  
 [&nbsp;2005-02-09: There is no stable release yet of OpenBSD/sgi, but there  
 are -current snapshots available on ftp sites.&nbsp;]</font>  
   
 <p>  
733  GXemul does not yet emulate the AHC PCI SCSI controller in the O2, so  GXemul does not yet emulate the AHC PCI SCSI controller in the O2, so
734  another emulated machine must be used as the nfs root server, and the  another emulated machine must be used as the nfs root server, and the
735  emulated O2 machine must boot as a  emulated O2 machine must boot as a
# Line 759  client. Performing this setup is very ti Line 738  client. Performing this setup is very ti
738    
739  <p>  <p>
740  <ol>  <ol>
741    <li><a href="#netbsdinstall">Install NetBSD/pmax 1.6.2</a> or some other    <li><a href="#netbsdinstall">Install NetBSD/pmax 2.0 from CDROM</a>
742          similar OS inside the emulator. This will be the "nfs server" machine.          (or install some other similar OS) inside the emulator. This will
743            be the "nfs server" machine. Create a 600 MB <tt>/tftpboot</tt>
744            partition during the installation.
745    <p>    <p>
746    <li>Configure the nfs server machine to act as an nfs server.<pre>    <li>Configure the nfs server machine to act as an nfs server.<pre>
747          # <b>echo hostname=blahblah &gt;&gt; /etc/rc.conf</b>          # <b>echo hostname=server &gt;&gt; /etc/rc.conf</b>
748          # <b>echo ifconfig_le0="inet 10.0.0.2" &gt;&gt; /etc/rc.conf</b>          # <b>echo ifconfig_le0=\"inet 10.0.0.2\" &gt;&gt; /etc/rc.conf</b>
749          # <b>echo nameserver 10.0.0.254 &gt;&gt; /etc/rc.conf</b>          # <b>echo nameserver 10.0.0.254 &gt;&gt; /etc/rc.conf</b>
750          # <b>echo 10.0.0.254 &gt; /etc/mygate</b>          # <b>echo 10.0.0.254 &gt; /etc/mygate</b>
751          # <b>mkdir /x; echo /x -maproot=root 10.0.0.1 &gt; /etc/exports</b>          # <b>echo /tftpboot -maproot=root 10.0.0.1 &gt; /etc/exports</b>
752          # <b>echo rpcbind=YES &gt;&gt; /etc/rc.conf</b>          # <b>echo rpcbind=YES &gt;&gt; /etc/rc.conf</b>
753          # <b>echo nfs_server=YES &gt;&gt; /etc/rc.conf</b>          # <b>echo nfs_server=YES &gt;&gt; /etc/rc.conf</b>
754          # <b>echo mountd=YES &gt;&gt; /etc/rc.conf</b>          # <b>echo mountd=YES &gt;&gt; /etc/rc.conf</b>
755          # <b>echo bootparamd=YES &gt;&gt; /etc/rc.conf</b>          # <b>echo bootparamd=YES &gt;&gt; /etc/rc.conf</b>
756          # <b>printf "client root=10.0.0.2:/x \\\n swap=10.0.0.2:/x/swap\n" &gt; /etc/bootparams</b>          # <b>printf "client root=10.0.0.2:/tftpboot \\\n swap=10.0.0.2:/tftpboot/swap\n" &gt; /etc/bootparams</b>
757          # <b>echo 10.0.0.1 client &gt; /etc/hosts</b>          # <b>echo 10.0.0.1 client &gt; /etc/hosts</b>
758    
759          Reboot. Then download the OpenBSD/sgi distribution:          Reboot. Then download the OpenBSD/sgi distribution:  (NOTE: This
760            takes quite some time, even if you have a fast network connection.)
761    
762          # <b>cd /x; ftp -i ftp.se.openbsd.org</b>          # <b>cd /tftpboot; ftp -i ftp.se.openbsd.org</b>
763          ...          ...
764          <b>cd pub/OpenBSD/snapshots/sgi</b>          <b>cd pub/OpenBSD/3.7/sgi</b>
765          <b>mget *</b>          <b>mget *</b>
766    
767          # <b>sh</b>          # <b>sh</b>
# Line 844  TODO... Line 826  TODO...
826    
827    
828    
   
829  <p><br>  <p><br>
830  <a name="ultrixinstall"></a>  <a name="ultrixinstall"></a>
831  <h3>Installing Ultrix/RISC in GXemul:</h3>  <h3>Installing Ultrix/RISC in GXemul:</h3>
# Line 866  The following instructions should let yo Line 847  The following instructions should let yo
847          $ <b>dd if=/dev/zero of=rootdisk.img bs=1024 count=1 seek=800000</b>          $ <b>dd if=/dev/zero of=rootdisk.img bs=1024 count=1 seek=800000</b>
848    
849  </pre>  </pre>
850    <li>Place your Ultrix installation media in your CDROM drive. (I'm assuming    <li>Place your Ultrix installation media in your CDROM drive.
851          it is called /dev/cd0c here, replace that with the name of your          (On FreeBSD and similar systems, it is called <tt>/dev/cd0c</tt>.
852          CDROM drive, or the name of a .iso image file.)          Replace that with the name of your CDROM drive, or the name of a
853          Then, start the emulator like this:<pre>          .iso image file.) Then, start the emulator like this:<pre>
854          $ <b>gxemul -X -b -M64 -E dec -e 3max -d rootdisk.img -d bc:/dev/cd0c -j vmunix</b>          $ <b>gxemul -X -b -M64 -E dec -e 3max -d rootdisk.img -d bc:/dev/cd0c -j vmunix</b>
855    
856  </pre>  </pre>
857    <li>Once the first stage of the installation is done (restoring the root    <li>Once the first stage of the installation is done (restoring the root
858          filesystem), you need to restart the emulator, booting from the          filesystem), you need to restart the emulator, booting from the
859          new rootdisk, to continue the installation process.          new rootdisk, to continue the installation process.
860          This is done by removing the bootflag ('b') from the second          This is done by removing the bootflag ('<tt>b</tt>') from the second
861          diskimage argument:<pre>          diskimage argument:<pre>
862          $ <b>gxemul -X -b -M64 -E dec -e 3max -d rootdisk.img -d c:/dev/cd0c -j vmunix</b>          $ <b>gxemul -X -b -M64 -E dec -e 3max -d rootdisk.img -d c:/dev/cd0c -j vmunix</b>
863    
# Line 891  Ultrix from the harddisk image:<pre> Line 872  Ultrix from the harddisk image:<pre>
872    
873  <p>  <p>
874  Ultrix mostly seems to work with dynamic binary translation (enabled by  Ultrix mostly seems to work with dynamic binary translation (enabled by
875  the <b>-b</b> command line option). If you have a very fast  the <b><tt>-b</tt></b> command line option). If you have a very fast
876  host machine, and use bintrans, you might experience a weird timer related  host machine, and use bintrans, you might experience a weird timer related
877  bug, which makes it impossible to logon to the system. It is triggered  bug, which makes it impossible to logon to the system. It is triggered
878  when the emulation goes faster than any real DECstation machine was  when the emulation goes faster than any real DECstation machine was
879  capable of running. A temporary workaround is to add <b>-I33000000</b>  capable of running. A temporary workaround is to add <b><tt>-I33000000</tt></b>
880  to fix the emulated clock speed to 33 million instructions per emulated  to fix the emulated clock speed to 33 million instructions per emulated
881  second. (When using -CR4400, -I16000000 should be used instead.)  second. (When using <tt><b>-CR4400</b></tt>, <b><tt>-I16000000</tt></b>
882    should be used instead.)
883    
884  <p>  <p>
885  You can experiment with adding <b>-Z2</b> (for emulating a  You can experiment with adding <b><tt>-Z2</tt></b> (for emulating a
886  dual-headed workstation) or even <b>-Z3</b> (tripple-headed), and also the  dual-headed workstation) or even <b><tt>-Z3</tt></b> (tripple-headed), and
887  <b>-Y2</b> option for scaling down the framebuffer windows by a factor 2x2.  also the <b><tt>-Y2</tt></b> option for scaling down the framebuffer
888  There is also a <b>-z</b> option for supplying names of X11 displays to  windows by a factor 2x2.
889  use. The following example starts Ultrix on an emulated tripple-headed  There is also a <b><tt>-z</tt></b> option for supplying names of X11
890  workstation, on three different displays (remote1:0.0, localhost:0.0, and  displays to use. The following example starts Ultrix on an emulated
891  remote2:0.0), using no scaledown:<pre>  tripple-headed workstation, on three different displays (<tt>remote1:0.0</tt>,
892    <tt>localhost:0.0</tt>, and <tt>remote2:0.0</tt>), using no scaledown:<pre>
893          $ <b>gxemul -M64 -bN -E dec -e 3max -jgenvmunix -d rootdisk.img \          $ <b>gxemul -M64 -bN -E dec -e 3max -jgenvmunix -d rootdisk.img \
894              -XZ3 -z remote1:0.0 -z localhost -z remote2:0.0</b>              -XZ3 -z remote1:0.0 -z localhost:0.0 -z remote2:0.0</b>
895  </pre>  </pre>
896    
897  <p>  <p>
898    The photo below shows a single Ultrix session running tripple-headed in
899    GXemul on an Alpha 21164PC, with displays on a Sun Ultra1 (to the left),
900    on the Alpha itself (in the middle), and on an HP700/RX X-terminal (8-bit
901    color depth, running off the Alpha) to the right.
902    
903    <p>
904    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
905    <a href="20041209-ultrix-tripplehead.jpg"><img src="20041209-ultrix-tripplehead_small.jpg"></a>
906    
907    <p>
908  The X11 displays may differ in bit depth and endianness. Unfortunately,  The X11 displays may differ in bit depth and endianness. Unfortunately,
909  there is no way yet to set the scaledown factor on a per-window basis, so  there is no way yet to set the scaledown factor on a per-window basis, so
910  the scaledown factor affects all windows.  the scaledown factor affects all windows.
911    
912  <p>  <p>
913  (If you didn't use -Z<i>n</i> during the installation, and  (If you didn't use <tt><b>-Z<i>n</i></b></tt> during the installation, and
914  compiled your own /vmunix, then it will not contain support for multiple  compiled your own <tt>/vmunix</tt>, then it will not contain support for
915  graphics cards. To overcome this problem, use the generic kernel, <b>-j  multiple graphics cards. To overcome this problem, use the generic kernel,
916  genvmunix</b>, whenever you are running the emulator with a different  <tt><b>-j genvmunix</b></tt>, whenever you are running the emulator with a
917  setup than the one you used when Ultrix was installed.)  different setup than the one you used when Ultrix was installed.)
918    
919  <p>  <p>
920  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
921  to Ultrix, so that is possible to run as well.  If you are unsuccessful  to Ultrix, so that is possible to run as well.  If you are unsuccessful
922  in installing Ultrix or OSF/1 directly in the emulator, you can always  in installing Ultrix or OSF/1 directly in the emulator, you can always
923  install it on your real machine onto a real SCSI disk, and then copy the  install it on your real machine onto a real SCSI disk, and then copy the
924  contents of that SCSI disk into a file (using <b>dd(1)</b>), and use  contents of that SCSI disk into a file (using <b><tt>dd(1)</tt></b>), and use
925  that file as a disk image file in the emulator.  that file as a disk image file in the emulator.
926    
927    
# Line 998  following sad statement can be found: Line 991  following sad statement can be found:
991  Once you are logged in as root, running <b>xinit</b> will start the X11  Once you are logged in as root, running <b>xinit</b> will start the X11
992  environment.  environment.
993    
 <p>  
 Sprite works fine with dynamic binary translation (enabled by  
 adding <b>-b</b> to the command line options).  
   
994    
995    
996    
# Line 1014  adding <b>-b</b> to the command line opt Line 1003  adding <b>-b</b> to the command line opt
1003  unstable. During my tests, even pressing the wrong key during the install  unstable. During my tests, even pressing the wrong key during the install
1004  (for example the wrong cursor key) can cause a kernel Oops.  (for example the wrong cursor key) can cause a kernel Oops.
1005  I <i>think</i> this has to do with interrupts from the serial controller.  I <i>think</i> this has to do with interrupts from the serial controller.
1006  Hopefully using the -U command line option will reduce the risk for such  Hopefully using the <tt><b>-U</b></tt> command line option will reduce the
1007  crashes. (I haven't had time to come up with a clean solution to this yet;  risk for such crashes. (I haven't had time to come up with a clean
1008  it feels like a buffer overflow in Linux' serial driver for the 5000/200,  solution to this yet; it feels like a buffer overflow in Linux' serial
1009  but it is also likely that it is a bug in GXemul.)  driver for the 5000/200, but it is also likely that it is a bug in GXemul.)
1010  </font>  </font>
1011    
1012  <p>  <p>
# Line 1060  onto a harddisk image: Line 1049  onto a harddisk image:
1049    
1050  <p>  <p>
1051  Debian GNU/Linux on DECstation works reasonably fine with dynamic  Debian GNU/Linux on DECstation works reasonably fine with dynamic
1052  binary translation, enabled by the <b>-b</b> command line option. (Without  binary translation, enabled by the <b><tt>-b</tt></b> command line option.
1053  this option, the emulator might be less buggy, but also too slow to be  (Without this option, the emulator might be less buggy, but also too slow
1054  useful when running Linux as a guest OS.)  to be useful when running Linux as a guest OS.)
1055    
1056  <p>  <p>
1057  (If you want to, you can try <b>-X</b> instead of <b>-o 'console=ttyS3'</b> on  (If you want to, you can try <b>-X</b> instead of <b>-o 'console=ttyS3'</b> on
# Line 1136  Kaj-Michael Lang noticed that the curren Line 1125  Kaj-Michael Lang noticed that the curren
1125  <a href="http://www.linux-mips.org/">linux-mips</a> has  <a href="http://www.linux-mips.org/">linux-mips</a> has
1126  support for keyboards now, on DECstation 5000/200, so it is  support for keyboards now, on DECstation 5000/200, so it is
1127  possible to run Debian GNU/Linux with framebuffer/keyboard.  possible to run Debian GNU/Linux with framebuffer/keyboard.
1128  (Add -X (or -XY2) and remove the console=ttyS3 option.)  (Add <b><tt>-X</tt></b> (or <b><tt>-XY2</tt></b>) and remove the
1129  He has made a kernel available here:  <b><tt>console=ttyS3</tt></b> option.) He has made a kernel available here:
1130  <a href="http://home.tal.org/~milang/o2/patches/vmlinux-2.4.29-rc2-r3k-mipsel-decstation">  <a href="http://home.tal.org/~milang/o2/kernels/vmlinux-2.4.29-rc2-r3k-mipsel-decstation">
1131  http://home.tal.org/~milang/o2/patches/vmlinux-2.4.29-rc2-r3k-mipsel-decstation</a>  http://home.tal.org/~milang/o2/kernels/vmlinux-2.4.29-rc2-r3k-mipsel-decstation</a>
1132  It has other problems (ethernet doesn't seem to work, for  It has other problems (ethernet doesn't seem to work, for
1133  example), but at least it doesn't Oops that often.&nbsp;]  example), but at least it doesn't Oops that often.&nbsp;]
1134    
# Line 1153  example), but at least it doesn't Oops t Line 1142  example), but at least it doesn't Oops t
1142  <h3>Running Redhat Linux for DECstation in GXemul:</h3>  <h3>Running Redhat Linux for DECstation in GXemul:</h3>
1143    
1144  <font color="#ff0000">NOTE: This is experimental, and <i>extremely</i>  <font color="#ff0000">NOTE: This is experimental, and <i>extremely</i>
1145  unstable. Read the note about '-U' in the section on how to install  unstable. Read the note about <b><tt>-U</tt></b> in the section on how to
1146  Debian.  install Debian.
1147  </font>  </font>
1148    
1149  <p>  <p>

Legend:
Removed from v.4  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.26