/[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 28 by dpavlin, Mon Oct 8 16:20:26 2007 UTC revision 42 by dpavlin, Mon Oct 8 16:22:32 2007 UTC
# Line 10  Line 10 
10    
11  <!--  <!--
12    
13  $Id: guestoses.html,v 1.157 2006/07/22 10:23:39 debug Exp $  $Id: guestoses.html,v 1.226 2007/06/15 06:26:19 debug Exp $
14    
15  Copyright (C) 2003-2006  Anders Gavare.  All rights reserved.  Copyright (C) 2003-2007  Anders Gavare.  All rights reserved.
16    
17  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
18  modification, are permitted provided that the following conditions are met:  modification, are permitted provided that the following conditions are met:
# Line 48  SUCH DAMAGE. Line 48  SUCH DAMAGE.
48  <p>  <p>
49  <ul>  <ul>
50    <li><a href="#generalnotes">General notes on running "guest OSes"</a>    <li><a href="#generalnotes">General notes on running "guest OSes"</a>
51    <li><a href="#netbsdpmaxinstall">NetBSD/pmax 3.0 or 1.6.2</a>    <li><a href="#netbsdpmaxinstall">NetBSD/pmax 3.1 or 1.6.2</a>
52    <li><a href="#netbsdarcinstall">NetBSD/arc 1.6.2</a>    <li><a href="#netbsdarcinstall">NetBSD/arc 1.6.2</a>
53    <li><a href="#netbsdhpcmipsinstall">NetBSD/hpcmips 3.0</a>    <li><a href="#netbsdhpcmipsinstall">NetBSD/hpcmips 3.1</a>
54    <li><a href="#netbsdcobaltinstall">NetBSD/cobalt 2.1</a>    <li><a href="#netbsdcobaltinstall">NetBSD/cobalt 3.1</a>
55    <li><a href="#netbsdevbmipsinstall">NetBSD/evbmips 2.1</a>    <li><a href="#netbsdevbmipsinstall">NetBSD/evbmips 3.1</a>
56    <li><a href="#netbsdsgimips">NetBSD/sgimips 3.0</a>    <li><a href="#netbsdalgorinstall">NetBSD/algor 3.1</a>
57    <li><a href="#netbsdcatsinstall">NetBSD/cats 3.0</a>    <li><a href="#netbsdsgimips">NetBSD/sgimips 3.1</a>
58      <li><a href="#netbsdcatsinstall">NetBSD/cats 3.1</a>
59    <li><a href="#netbsdevbarminstall">NetBSD/evbarm 2.1</a>    <li><a href="#netbsdevbarminstall">NetBSD/evbarm 2.1</a>
60      <li><a href="#netbsdnetwinderinstall">NetBSD/netwinder 3.1</a>
61    <li><a href="#netbsdprepinstall">NetBSD/prep 2.1</a>    <li><a href="#netbsdprepinstall">NetBSD/prep 2.1</a>
62      <li><a href="#netbsdmacppcinstall">NetBSD/macppc 3.1</a>
63      <li><a href="#netbsdpmppc">NetBSD/pmppc 3.1</a>
64      <li><a href="dreamcast.html#netbsd_generic_md">NetBSD/dreamcast 3.1</a>
65      <li><a href="dreamcast.html#linux_live_cd">Linux/dreamcast</a>
66    <li><a href="#openbsdpmaxinstall">OpenBSD/pmax 2.8-BETA</a>    <li><a href="#openbsdpmaxinstall">OpenBSD/pmax 2.8-BETA</a>
67    <li><a href="#openbsdcatsinstall">OpenBSD/cats 3.9</a>    <li><a href="#openbsdcatsinstall">OpenBSD/cats 4.0</a>
68      <li><a href="#openbsdlandiskinstall">OpenBSD/landisk 4.1</a>
69    <li><a href="#ultrixinstall">Ultrix/RISC 4.5</a>    <li><a href="#ultrixinstall">Ultrix/RISC 4.5</a>
70    <li><a href="#sprite">Sprite for DECstation</a>    <li><a href="#sprite">Sprite for DECstation</a>
71    <li><a href="#declinux">Debian GNU/Linux for DECstation</a>    <li><a href="#declinux">Debian GNU/Linux for DECstation</a>
   <li><a href="#declinuxredhat">Redhat Linux for DECstation</a>  
72  </ul>  </ul>
73    
74    
# Line 90  updated; if new versions have been relea Line 96  updated; if new versions have been relea
96  well.  well.
97    
98  <p>In addition to the "working" guest operating systems listed above,  <p>In addition to the "working" guest operating systems listed above,
99  you might find the following information interesting: (Some of these might  you might find the following information interesting:
 not be relevant for this specific release of GXemul.)  
100    
101  <ul>  <ul>
102    <li><a href="#mach">Mach/PMAX</a>    <li><a href="#mach">Mach/PMAX</a>
103      <li><a href="#declinuxredhat">Redhat Linux for DECstation</a>
104    <li><a href="#openbsdsgiinstall">OpenBSD/sgi</a>    <li><a href="#openbsdsgiinstall">OpenBSD/sgi</a>
105    <li><a href="#openbsdarcinstall">OpenBSD/arc 2.3</a>    <li><a href="#openbsdarcinstall">OpenBSD/arc 2.3</a>
106    <li><a href="#debiancats">Debian GNU/Linux for CATS</a>    <li><a href="#debiancats">Debian GNU/Linux for CATS</a>
107      <!-- <li><a href="#linux_malta">Linux/Malta</a> -->
108    <li><a href="#linux_qemu_mips">Linux/QEMU_MIPS</a>    <li><a href="#linux_qemu_mips">Linux/QEMU_MIPS</a>
109    <li><a href="#windows_nt_mips">Windows NT/MIPS</a>    <li><a href="#windows_nt_mips">Windows NT/MIPS</a>
110    <li><a href="#netbsdnetwinderinstall">NetBSD/netwinder 2.1</a>    <li><a href="#netbsdbeboxinstall">NetBSD/bebox 19981119</a>
111    <li><a href="#netbsdmacppcinstall">NetBSD/macppc 3.0</a>    <li><a href="#netbsdlandiskinstall">NetBSD/landisk</a>
112  </ul>  </ul>
113    
114    <p><b><font color="#ff0000">NOTE:</b>
115    Some of these sections may not be relevant to this
116    specific release of GXemul,</font> for example some of these
117    modes may be legacy modes that worked before but not any longer,
118    or are not yet working but could be in the future.
119    
120  <p>Some operating systems are listed with a version number <i>less</i>  <p>Some operating systems are listed with a version number <i>less</i>
121  than what was available at the time of this GXemul release (e.g.  than what was available at the time of this GXemul release (e.g.
122  NetBSD/prep). The reasons for this is because of incompleteness in  NetBSD/prep). The reasons for this is because of incompleteness in
# Line 119  GXemul's machine, device, and/or process Line 132  GXemul's machine, device, and/or process
132  <a name="netbsdpmaxinstall"></a>  <a name="netbsdpmaxinstall"></a>
133  <h3>NetBSD/pmax:</h3>  <h3>NetBSD/pmax:</h3>
134    
135  <p><a href="http://www.netbsd.org/Ports/pmax/">NetBSD/pmax</a> was the  <p><a href="http://www.netbsd.org/ports/pmax/">NetBSD/pmax</a> was the
136  first guest OS that could be  first guest OS that could be
137  <a href="http://mail-index.netbsd.org/port-pmax/2004/04/18/0000.html">installed</a>  <a href="http://mail-index.netbsd.org/port-pmax/2004/04/18/0000.html">installed</a>
138  onto a disk image in GXemul. The device emulation of the DECstation  onto a disk image in GXemul. The device emulation of the DECstation
139  5000/200 is reasonably complete; it should be enough to emulate a  5000/200 is reasonably complete; it should be enough to emulate a
140  networked X-windows-capable workstation.  networked X-windows-capable workstation.
141    
142  <p>NetBSD/pmax 1.6.2 works perfectly with X out-of-the-box. Unfortunately,  <p>NetBSD/pmax 1.6.2 works perfectly with X out-of-the-box. Unfortunately,
143  newer NetBSD releases have changed slightly, and nowadays X does not  newer NetBSD releases have changed slightly, and X does not work straight
144  work straight away. (It seems that this has to do with NetBSD switching  away with NetBSD 2.x and 3.x. It seems that this has to do with NetBSD
145  console system to "WSCONS" somewhere between 1.6.2 and 2.0. I haven't had  switching console system to "WSCONS" somewhere between 1.6.2 and 2.0.
146  time to figure out how to make it work; at worst it might require a kernel  
147  recompilation.) What this means is that if you want to use emulated X11,  <p>What this means is that if you want to use emulated X11, then you need
148  then you need to run NetBSD 1.6.2. If you feel that you only need  to run NetBSD 1.6.2. At the time of writing this, 4.0_BETA snapshots work
149  serial-console emulation, then choose the latest NetBSD version available.  fine too, but 4.0 isn't released yet. If you feel that you only need
150    serial-console emulation, then choose 3.1.
151    
152  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
153  <a href="20050317-example.png"><img src="20050317-example_small.png"></a>  <a href="20050317-example.png"><img src="20050317-example_small.png"></a>
# Line 141  serial-console emulation, then choose th Line 155  serial-console emulation, then choose th
155  <p>To install NetBSD/pmax onto a harddisk image in the emulator,  <p>To install NetBSD/pmax onto a harddisk image in the emulator,
156  follow these instructions:  follow these instructions:
157    
158  <p><ol start="1">  <p><ol>
159    <li>Create an empty harddisk image, which will be the root disk    <li>Create an empty harddisk image, which will be the root disk
160          that NetBSD installs itself onto:<pre>          that NetBSD installs itself onto:<pre>
161          <b>dd if=/dev/zero of=nbsd_pmax.img bs=1024 count=1 seek=1900000</b>          <b>dd if=/dev/zero of=nbsd_pmax.img bs=1024 count=1 seek=3000000</b>
162    
163  </pre>  </pre>
 </ol>  
   
 <p>  
 From this point, there are two separate ways to continue the installation.  
 You can either download a CD-ROM iso image (and let the installation  
 program copy files from the CD-ROM image to the harddisk image), or you  
 can install via ftp. For an installation from a CD-ROM image, follow these  
 steps:  
 <p>  
 <ol start="2">  
   
164    <li>Download a NetBSD CD-ROM iso image:<pre>    <li>Download a NetBSD CD-ROM iso image:<pre>
165          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso</a>
166          or          or
167          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/pmaxcd-3.0.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/pmaxcd-3.0.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/pmaxcd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/pmaxcd-3.1.iso</a>
168    
169  </pre>  </pre>
170    <li>Start the emulator like this:<pre>    <li>Start the emulator like this:<pre>
171          <b>gxemul -e 3max -d nbsd_pmax.img -d bc:pmaxcd-3.0.iso</b>          <b>gxemul -e 3max -d nbsd_pmax.img -d b:pmaxcd-3.1.iso</b>
172          (or <b>pmaxcd.iso</b>)          (or <b>pmaxcd.iso</b>)
173  </pre>  </pre>
174          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
175          DECstation. Remember to choose <tt>vt100</tt> as your terminal          DECstation. Remember to choose <tt>vt100</tt> as your terminal
176          type, and not <tt>rcons</tt>.          type, and not <tt>rcons</tt>.
177  </ol>  </ol>
178    
179    <p>If you prefer to do an ftp install (usually much slower), you can
180    follow these instructions instead:
181    
182  <p>  <p>
183  For an ftp install, substitute steps 2 and 3 above with these:  <ol>
184  <p>    <li>Create an empty harddisk image, which will be the root disk
185  <ol start="2">          that NetBSD installs itself onto:<pre>
186            <b>dd if=/dev/zero of=nbsd_pmax.img bs=1024 count=1 seek=3000000</b>
187    
188    </pre>
189    <li>Download a NetBSD pmax INSTALL kernel:<pre>    <li>Download a NetBSD pmax INSTALL kernel:<pre>
190          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz</a>
191          or          or
192          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/pmax/binary/kernel/netbsd-INSTALL.gz</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a>
193    
194  </pre>  </pre>
195    <li>Start the emulator like this:<pre>    <li>Start the emulator like this:<pre>
# Line 201  For an ftp install, substitute steps 2 a Line 210  For an ftp install, substitute steps 2 a
210  </pre>  </pre>
211          (If using 10.0.0.254 as the nameserver fails, then try entering the          (If using 10.0.0.254 as the nameserver fails, then try entering the
212          IP number of a real-world nameserver instead.)          IP number of a real-world nameserver instead.)
213            <p>
214            Note that NetBSD 1.6.2 is nowadays located at
215            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2</a>
216            (note <tt>NetBSD-archive</tt> part).
217  </ol>  </ol>
218    
219  <p>If you want to use a graphical framebuffer during the install, you can  <p>If you want to use a graphical framebuffer during the install, you can
# Line 214  NetBSD from the harddisk image:<pre> Line 227  NetBSD from the harddisk image:<pre>
227          <b>gxemul -e 3max -d nbsd_pmax.img</b>          <b>gxemul -e 3max -d nbsd_pmax.img</b>
228  </pre>  </pre>
229    
230  <p>If you installed NetBSD/pmax 1.6.2, then try the following to start  <p>If you installed NetBSD/pmax 1.6.2, or 4.0_BETA, then try the
231  with a framebuffer:<pre>  following to start with a framebuffer:<pre>
232          <b>gxemul -X -e 3max -d nbsd_pmax.img</b>          <b>gxemul -X -e 3max -d nbsd_pmax.img</b>
233  </pre>  </pre>
234  and log in as <tt>root</tt> and type <tt>startx</tt> to start X windows.  and log in as <tt>root</tt> and type <tt>startx</tt> to start X windows.
# Line 232  and log in as <tt>root</tt> and type <tt Line 245  and log in as <tt>root</tt> and type <tt
245  <h3>NetBSD/arc:</h3>  <h3>NetBSD/arc:</h3>
246    
247  It is possible to install and run an old version of <a  It is possible to install and run an old version of <a
248  href="http://www.netbsd.org/Ports/arc/">NetBSD/arc</a>  href="http://www.netbsd.org/ports/arc/">NetBSD/arc</a>
249  on an emulated Acer PICA-61 in the emulator.  on an emulated Acer PICA-61 in the emulator.
250    
251  <p>  <p>
# Line 247  harddisk image, follow these instruction Line 260  harddisk image, follow these instruction
260  <ol start="1">  <ol start="1">
261    <li>Create an empty harddisk image, which will be the root disk    <li>Create an empty harddisk image, which will be the root disk
262          that NetBSD installs itself onto:<pre>          that NetBSD installs itself onto:<pre>
263          <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=2000000</b>
264    
265  </pre>  </pre>
266    <li>Download a NetBSD/arc 1.6.2 CDROM image, and a generic NetBSD/arc    <li>Download a NetBSD/arc 1.6.2 CDROM image, and a generic NetBSD/arc
# Line 257  harddisk image, follow these instruction Line 270  harddisk image, follow these instruction
270    
271  </pre>  </pre>
272    <li>Start the emulator using this command line:<pre>    <li>Start the emulator using this command line:<pre>
273          <b>gxemul -e pica -x -d nbsd_arc.img -d bc:arccd.iso \          <b>gxemul -e pica -x -d nbsd_arc.img -d b:arccd.iso -j arc/binary/kernel/netbsd.RAMDISK.gz</b>
           -j arc/binary/kernel/netbsd.RAMDISK.gz</b>  
274    
275  </pre>  </pre>
276          (Try removing <tt>-x</tt> if you have problems with the xterm.)          (Try removing <tt>-x</tt> if you have problems with the xterm.)
# Line 304  image, using the following command:<pre> Line 316  image, using the following command:<pre>
316  <h3>NetBSD/hpcmips:</h3>  <h3>NetBSD/hpcmips:</h3>
317    
318  It is possible to install <a  It is possible to install <a
319  href="http://www.netbsd.org/Ports/hpcmips/">NetBSD/hpcmips</a> onto a disk  href="http://www.netbsd.org/ports/hpcmips/">NetBSD/hpcmips</a> onto a disk
320  image, on an an emulated MobilePro 770, 780, 800, or 880. The emulator  image, on an an emulated MobilePro 770 or 800. (MobilePro 780 and 880 might
321  treats the different machine models as being almost identical; the most  work too, but I don't test those for every release of the emulator. They
322  important difference is regarding the framebuffer.  have unaligned framebuffers, and run a bit slower.)
   
 <p><table border="0">  
         <tr>  
                 <td width="80">&nbsp;</td>  
                 <td><u>Model:</u></td>  
                 <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>  
                 <td><u>Framebuffer size/depth:</u></td>  
                 <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>  
                 <td><u>Framebuffer address:</u></td>  
         </tr>  
         <tr>  
                 <td></td>  
                 <td>MobilePro 770 (<super>*2</super>)</td>  
                 <td></td>  
                 <td>640 x 240, 16 bits</td>  
                 <td></td>  
                 <td>0xa000000</td>  
         </tr>  
         <tr>  
                 <td></td>  
                 <td>MobilePro 780</td>  
                 <td></td>  
                 <td>640 x 240, 16 bits</td>  
                 <td></td>  
                 <td>0xa180100 (<super>*</super>)</td>  
         </tr>  
         <tr>  
                 <td></td>  
                 <td>MobilePro 800</td>  
                 <td></td>  
                 <td>800 x 600, 16 bits</td>  
                 <td></td>  
                 <td>0xa000000</td>  
         </tr>  
         <tr>  
                 <td></td>  
                 <td>MobilePro 880</td>  
                 <td></td>  
                 <td>800 x 600, 16 bits</td>  
                 <td></td>  
                 <td>0xa0ea600 (<super>*</super>)</td>  
         </tr>  
 </table>  
   
 <p>  
 (<super>*</super>) = not aligned at a page boundary, so it will not work  
 efficiently with the current dyntrans system. Using this mode will still  
 work, but each load and store will be emulated much more slowly than is  
 possible with an aligned framebuffer.  
   
 <p>  
 (<super>*2</super>) = The MobilePro 770's cursor keys work differently  
 than the other models, for some reason. (This is a known bug.)  
323    
324  <p>  <p>
325  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Line 376  NetBSD/hpcmips on an emulated MobilePro Line 335  NetBSD/hpcmips on an emulated MobilePro
335  <ol start="1">  <ol start="1">
336    <li>Create an empty harddisk image, which will be the root disk    <li>Create an empty harddisk image, which will be the root disk
337          that you will install NetBSD/hpcmips onto:<pre>          that you will install NetBSD/hpcmips onto:<pre>
338          <b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=999000</b>          <b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=3000000</b>
339    
340  </pre>  </pre>
341    <li>Download the NetBSD/hpcmips 3.0 ISO image, and a generic kernel:<pre>    <li>Download the NetBSD/hpcmips 3.1 ISO image, and a generic kernel:<pre>
342          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/hpcmipscd-3.0.iso">hpcmipscd-3.0.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/hpcmipscd-3.1.iso">hpcmipscd-3.1.iso</a>
343            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/hpcmips/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/hpcmips/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/hpcmips/binary/kernel/netbsd-GENERIC.gz">netbsd-GENERIC.gz</a>
         <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/hpcmips/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/hpcmips/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/hpcmips/binary/kernel/netbsd-GENERIC.gz">netbsd-GENERIC.gz</a>  
344    
345  </pre>  </pre>
346    <p>    <p>
347    <li>Start the installation like this:<pre>    <li>Start the installation like this:<pre>
348          <b>gxemul -e mobilepro770 -X -d nbsd_hpcmips.img  \          <b>gxemul -e mobilepro770 -X -d nbsd_hpcmips.img -d b:hpcmipscd-3.1.iso -j hpcmips/installation/netbsd.gz</b>
           -d b:hpcmipscd-3.0.iso -j hpcmips/installation/netbsd.gz</b>  
349    
350  </pre>  </pre>
351          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 403  Use the following command line to boot t Line 360  Use the following command line to boot t
360    
361  </pre>  </pre>
362    
 <p>If you change your mind at this point regarding which machine type to  
 emulate, you might for example prefer a MobilePro 800, then you can change  
 that at any time. NetBSD/hpcmips is designed to be able to boot on many  
 types, without any need to change the kernel.  
   
363  <p>When you have logged in as <tt>root</tt>, you can use <tt>startx</tt> to  <p>When you have logged in as <tt>root</tt>, you can use <tt>startx</tt> to
364  start X Windows, but there is no mouse support yet so only keyboard input  start X Windows, but there is no mouse support yet so only keyboard input
365  is available. This makes it a bit akward to use X.  is available. This makes it a bit akward to use X.
# Line 423  is available. This makes it a bit akward Line 375  is available. This makes it a bit akward
375  <a name="netbsdcobaltinstall"></a>  <a name="netbsdcobaltinstall"></a>
376  <h3>NetBSD/cobalt:</h3>  <h3>NetBSD/cobalt:</h3>
377    
378  <a href="http://www.netbsd.org/Ports/cobalt/">NetBSD/cobalt</a> is tricky  <a href="http://www.netbsd.org/ports/cobalt/">NetBSD/cobalt</a> is tricky
379  to install, because the Cobalt machines were designed for Linux, and not  to install, because the Cobalt machines were designed for Linux, and not
380  very flexible. There is no traditional INSTALL kernel for NetBSD/cobalt.  very flexible. There is no traditional INSTALL kernel for NetBSD/cobalt.
381  One way to install the NetBSD/cobalt distribution onto a disk image is to  One way to install the NetBSD/cobalt distribution onto a disk image is to
# Line 431  do it from another (emulated) machine. Line 383  do it from another (emulated) machine.
383    
384  <p>  <p>
385  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
386  <a href="20050413-netbsd-cobalt.png"><img src="20050413-netbsd-cobalt_small.png"></a>  <a href="20060812-netbsd-cobalt-3.0.1.png"><img src="20060812-netbsd-cobalt-3.0.1_small.png"></a>
387    
388  <p>  <p>
389  The following instructions will let you install NetBSD/cobalt onto a disk  The following instructions will let you install NetBSD/cobalt onto a disk
# Line 439  image, from an emulated DECstation 3MAX Line 391  image, from an emulated DECstation 3MAX
391    
392  <p>  <p>
393  <ol>  <ol>
394      <li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre>
395            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a>
396    </pre>
397      <p>
398    <li>Create an empty harddisk image, which will be the disk image    <li>Create an empty harddisk image, which will be the disk image
399          that you will install NetBSD/cobalt onto:<pre>          that you will install NetBSD/cobalt onto:<pre>
400          <b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=999000</b>          <b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=700000</b>
401    
402  </pre>  </pre>
403    <li>Download the generic kernel for Cobalt and the 2.1 ISO image:<pre>    <li>Download the generic kernel for Cobalt and the 3.1 ISO image:<pre>
404          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/cobalt/binary/kernel/netbsd-GENERIC.gz</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cobalt/binary/kernel/netbsd-GENERIC.gz</a>
405          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/cobaltcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/cobaltcd.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/cobaltcd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/cobaltcd-3.1.iso</a>
406    
407  </pre>  </pre>
408    <p>    <li>Start the emulated DECstation machine like this:<pre>
409    <li>Install NetBSD/pmax 3.0 according to instructions          <b>gxemul -e 3max -d nbsd_cobalt.img -d cobaltcd-3.1.iso netbsd-INSTALL.gz</b>
         <a href="#netbsdpmaxinstall">further up on this page</a>.  
   <p>  
   <li>Start NetBSD/pmax like this:<pre>  
         <b>gxemul -e3max -d nbsd_pmax.img -d cobaltcd.iso -d nbsd_cobalt.img</b>  
410    
411  </pre>  </pre>
412    <li>Log in as root (on the emulated 3MAX machine), and execute the    <li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b>
413          following commands: (adjust according to taste)  to simulate a CTRL-C sent to NetBSD/pmax. Then execute the following commands:
414  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
415  <b>newfs /dev/sd1c  <b>newfs /dev/sd0c
416  mount /dev/cd0c /mnt  mount /dev/cd0c /mnt
417  mkdir /mnt2; mount /dev/sd1c /mnt2  mkdir /mnt2; mount /dev/sd0c /mnt2
418  cd /mnt2; sh  cd /mnt2; sh
419  for a in /mnt/cobalt/binary/sets/*.tgz; do echo $a; tar zxfp $a; done  for a in /mnt/*/binary/sets/[bcekmt]*.tgz; do echo $a; tar zxfp $a; done
420  exit  exit
421  cd dev; sh ./MAKEDEV all; cd ../etc  cd dev; sh ./MAKEDEV all; cd ../etc
422  echo rc_configured=YES &gt;&gt; rc.conf  echo rc_configured=YES >> rc.conf
423  echo "/dev/wd0d / ffs rw 1 1" > fstab  echo "/dev/wd0d / ffs rw 1 1" > fstab
424  cd /; umount /mnt; umount /mnt2; halt</b>  cd /; umount /mnt; umount /mnt2; halt</b>
425  </pre></td></tr></table>  </pre></td></tr></table>
# Line 475  cd /; umount /mnt; umount /mnt2; halt</b Line 427  cd /; umount /mnt; umount /mnt2; halt</b
427    
428  <p>  <p>
429  You should now be able to boot NetBSD/cobalt like this:<pre>  You should now be able to boot NetBSD/cobalt like this:<pre>
430          <b>gxemul -M128 -E cobalt -d nbsd_cobalt.img netbsd-GENERIC.gz</b>          <b>gxemul -E cobalt -d nbsd_cobalt.img netbsd-GENERIC.gz</b>
431  </pre>  </pre>
432    
433  Note that the installation instructions above create a filesystem  Note that the installation instructions above create a filesystem
# Line 498  generic kernel:<pre> Line 450  generic kernel:<pre>
450  <a name="netbsdevbmipsinstall"></a>  <a name="netbsdevbmipsinstall"></a>
451  <h3>NetBSD/evbmips:</h3>  <h3>NetBSD/evbmips:</h3>
452    
453  <a href="http://www.netbsd.org/Ports/evbmips/">NetBSD/evbmips</a> can run  <a href="http://www.netbsd.org/ports/evbmips/">NetBSD/evbmips</a> can run
454  in GXemul on an emulated Malta evaluation board, with a 5Kc (MIPS64) or  in GXemul on an emulated Malta evaluation board, with a 5Kc (MIPS64) or
455  4Kc (MIPS32) processor. 5Kc is the default.  4Kc (MIPS32) processor. 5Kc is the default.
456    
457  <p>  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
458  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <a href="20060812-netbsd-malta-3.0.1.png"><img src="20060812-netbsd-malta-3.0.1_small.png"></a>
 <a href="20050622-netbsd-evbmips-malta.png"><img src="20050622-netbsd-evbmips-malta_small.png"></a>  
459    
460  <p>It is tricky to install, because there is (as far as I know) no INSTALL  <p>One way to install the NetBSD/evbmips distribution onto a disk
 kernel. One way to install the NetBSD/evbmips distribution onto a disk  
461  image is to install the files using another (emulated) machine.  image is to install the files using another (emulated) machine.
462    
463  <p>  <p>
# Line 516  image, from an emulated DECstation 3MAX Line 466  image, from an emulated DECstation 3MAX
466    
467  <p>  <p>
468  <ol>  <ol>
469    <li>Install NetBSD/pmax 3.0 according to instructions    <li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre>
470          <a href="#netbsdpmaxinstall">further up on this page</a>.          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a>
471    </pre>
472    <p>    <p>
473    <li>Create an empty harddisk image, which will be the disk image    <li>Create an empty harddisk image, which will be the disk image
474          that you will install NetBSD onto:<pre>          that you will install NetBSD onto:<pre>
475          <b>dd if=/dev/zero of=nbsd_malta.img bs=1024 count=1 seek=999000</b>          <b>dd if=/dev/zero of=nbsd_malta.img bs=1024 count=1 seek=700000</b>
476    
477  </pre>  </pre>
478    <li>Download the generic kernel and the 2.1 ISO image:<pre>    <li>Download the Malta kernel and the 3.1 ISO image:<pre>
479          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz</a>
480          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/evbmips-mipselcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/evbmips-mipselcd.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/evbmips-mipselcd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/evbmips-mipselcd-3.1.iso</a>
481    
482  </pre>  </pre>
483    <p>    <p>
484    <li>Start NetBSD/pmax like this:<pre>    <li>Start the emulated DECstation machine like this:<pre>
485          <b>gxemul -e 3max -d nbsd_pmax.img -d nbsd_malta.img -d evbmips-mipselcd.iso</b>          <b>gxemul -e 3max -d nbsd_malta.img -d evbmips-mipselcd-3.1.iso netbsd-INSTALL.gz</b>
486    
487  </pre>and execute the following commands as <tt>root</tt>:  </pre>
488      <li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b>
489    to simulate a CTRL-C sent to NetBSD/pmax. Then execute the following commands:
490  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
491  <b>newfs /dev/sd1c  <b>newfs /dev/sd0c
492  mount /dev/cd0c /mnt  mount /dev/cd0c /mnt
493  mkdir /mnt2; mount /dev/sd1c /mnt2  mkdir /mnt2; mount /dev/sd0c /mnt2
494  cd /mnt2; sh  cd /mnt2; sh
495  for a in /mnt/evbmips-mipsel/binary/sets/*.tgz; do echo $a; tar zxfp $a; done  for a in /mnt/*/binary/sets/[bcemt]*.tgz; do echo $a; tar zxfp $a; done
496  exit  exit
497  cd dev; sh ./MAKEDEV all; cd ../etc  cd dev; sh ./MAKEDEV all; cd ../etc
498  echo rc_configured=YES >> rc.conf  echo rc_configured=YES >> rc.conf
# Line 549  cd /; umount /mnt; umount /mnt2; halt</b Line 502  cd /; umount /mnt; umount /mnt2; halt</b
502  </ol>  </ol>
503    
504  <p>You should now be able to boot NetBSD/evbmips using this command:<pre>  <p>You should now be able to boot NetBSD/evbmips using this command:<pre>
505          <b>gxemul -e malta -d nbsd_malta.img netbsd-MALTA.gz</b>          <b>gxemul -x -e malta -d nbsd_malta.img netbsd-MALTA.gz</b>
506  </pre>  </pre>
507    
508  <p>NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc  <p>NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc
509  (MIPS64) CPU, add <tt><b>-C 4Kc</b></tt> to the command line. With NetBSD  (MIPS64) CPU, add <tt><b>-C 4Kc</b></tt> to the command line. With NetBSD
510  2.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
511  NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs. There are two things  NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs. There are two things
512  that differ:<ol>  that differ:<ol>
513    <li>The dynamic translation core runs faster when emulating 32-bit    <li>The dynamic translation core runs faster when emulating 32-bit
# Line 568  that differ:<ol> Line 521  that differ:<ol>
521  swap. You will need to enter the following things when booting with the  swap. You will need to enter the following things when booting with the
522  generic kernel:<pre>  generic kernel:<pre>
523          root device (default wd0a): <b>wd0c</b>          root device (default wd0a): <b>wd0c</b>
524          dump device (default wd0b): <b>none</b>          dump device (default wd0b):             <i>(just press enter)</i>
525          file system (default generic): <b>ffs</b>          file system (default generic):          <i>(just press enter)</i>
526          init path (default /sbin/init):     <i>(just press enter here)</i>          init path (default /sbin/init):         <i>(just press enter)</i>
527  </pre>  </pre>
528    
529    
# Line 579  generic kernel:<pre> Line 532  generic kernel:<pre>
532    
533    
534    
535    
536    
537    
538    
539    
540    
541    
542    <p><br>
543    <a name="netbsdalgorinstall"></a>
544    <h3>NetBSD/algor:</h3>
545    
546    <a href="http://www.netbsd.org/ports/algor/">NetBSD/algor</a> can
547    run in GXemul on an emulated Algorithmics P5064 evaluation board.
548    
549    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
550    <a href="20060814-netbsd-algor-3.0.1.png"><img src="20060814-netbsd-algor-3.0.1_small.png"></a>
551    
552    <p>One way to install the NetBSD/algor distribution onto a disk
553    image is to install the files using another (emulated) machine.
554    
555    <p>The following instructions will let you install NetBSD/algor onto a disk
556    image, from an emulated DECstation 3MAX machine:
557    
558    <p>
559    <ol>
560      <li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre>
561            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a>
562    </pre>
563      <p>
564      <li>Create an empty harddisk image, which will be the disk image
565            that you will install NetBSD/algor onto:<pre>
566            <b>dd if=/dev/zero of=nbsd_algor.img bs=1024 count=1 seek=700000</b>
567    
568    </pre>
569      <li>Download the P5064 Algor kernel and the 3.1 ISO image:<pre>
570            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/algor/binary/kernel/netbsd-P5064.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/algor/binary/kernel/netbsd-P5064.gz</a>
571            <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/algorcd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/algorcd-3.1.iso</a>
572    
573    </pre>
574      <p>
575      <li>Start the emulated DECstation machine like this:<pre>
576            <b>gxemul -e 3max -d nbsd_algor.img -d algorcd-3.1.iso netbsd-INSTALL.gz</b>
577    
578    </pre>
579      <li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b>
580    to simulate a CTRL-C sent to NetBSD/pmax. Then execute the following commands:
581    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
582    <b>newfs /dev/sd0c
583    mount /dev/cd0c /mnt
584    mkdir /mnt2; mount /dev/sd0c /mnt2
585    cd /mnt2; sh
586    for a in /mnt/*/binary/sets/[bcekmt]*.tgz; do echo $a; tar zxfp $a; done
587    exit
588    cd dev; sh ./MAKEDEV all; cd ../etc
589    echo rc_configured=YES >> rc.conf
590    echo "/dev/wd0c / ffs rw 1 1" > fstab
591    cd /; umount /mnt; umount /mnt2; halt</b>
592    </pre></td></tr></table>
593    </ol>
594    
595    <p>You should now be able to boot NetBSD/algor using this command:<pre>
596            <b>gxemul -x -e p5064 -d nbsd_algor.img netbsd-P5064.gz</b>
597    </pre>
598    
599    <p>The installation instructions above create a filesystem
600    <i>without</i> a disklabel, so there is only one ffs partition and no
601    swap. You will need to enter the following things when booting with the
602    generic kernel:<pre>
603            root device (default wd0a): <b>wd0c</b>
604            dump device (default wd0b):             <i>(just press enter)</i>
605            file system (default generic):          <i>(just press enter)</i>
606            init path (default /sbin/init):         <i>(just press enter)</i>
607    </pre>
608    
609    
610    
611    
612    
613    
614    
615    
616    
617    
618    
619    
620  <p><br>  <p><br>
621  <a name="netbsdsgimips"></a>  <a name="netbsdsgimips"></a>
622  <h3>NetBSD/sgimips:</h3>  <h3>NetBSD/sgimips:</h3>
# Line 587  generic kernel:<pre> Line 625  generic kernel:<pre>
625  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
626  <a href="20060623-netbsd-sgimips-3.0.png"><img src="20060623-netbsd-sgimips-3.0_small.png"></a>  <a href="20060623-netbsd-sgimips-3.0.png"><img src="20060623-netbsd-sgimips-3.0_small.png"></a>
627    
628  <p><a href="http://www.netbsd.org/Ports/sgimips/">NetBSD/sgimips</a> can run  <p><a href="http://www.netbsd.org/ports/sgimips/">NetBSD/sgimips</a> can run
629  in GXemul on an emulated O2 (SGI-IP32). However, GXemul does not yet  in GXemul on an emulated O2 (SGI-IP32). However, GXemul does not yet
630  emulate the AHC PCI SCSI controller in the O2. (I have mailed Adaptec  emulate the AHC PCI SCSI controller in the O2. (I have mailed Adaptec
631  several times, asking for documentation, but never received any reply.)  several times, asking for documentation, but never received any reply.)
# Line 595  NetBSD can still run in the emulator, as Line 633  NetBSD can still run in the emulator, as
633    
634  <p>For a simple test with the ramdisk/install kernel, try  <p>For a simple test with the ramdisk/install kernel, try
635  dowloading<pre>  dowloading<pre>
636          <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a>          <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a>
637    
638  </pre>and run&nbsp;&nbsp;<b><tt>gxemul -x -e o2 netbsd-INSTALL32_IP3x.gz</tt></b>.  </pre>and run&nbsp;&nbsp;<b><tt>gxemul -x -e o2 netbsd-INSTALL32_IP3x.gz</tt></b>.
639    
# Line 607  time consuming, but necessary: Line 645  time consuming, but necessary:
645  <ol>  <ol>
646    <li>First of all, the "<tt>nfs server</tt>" machine must be set up.    <li>First of all, the "<tt>nfs server</tt>" machine must be set up.
647          This needs to have a 750 MB <tt>/tftpboot</tt> partition.          This needs to have a 750 MB <tt>/tftpboot</tt> partition.
648          <a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.0 from CDROM</a>.          <a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.1 from CDROM</a>.
649          (Don't forget to add the extra partition!)          (Don't forget to add the extra partition!)
650    <p>    <p>
651    <li>Configure the nfs server machine to act as an nfs server.    <li>Configure the nfs server machine to act as an nfs server.
# Line 615  time consuming, but necessary: Line 653  time consuming, but necessary:
653          <b>gxemul -e 3max -d nbsd_pmax.img</b>          <b>gxemul -e 3max -d nbsd_pmax.img</b>
654  </pre>and enter the following commands as <tt>root</tt>  </pre>and enter the following commands as <tt>root</tt>
655          inside the emulator:          inside the emulator:
656  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
657  <b>echo hostname=server &gt;&gt; /etc/rc.conf  <b>echo hostname=server &gt;&gt; /etc/rc.conf
658  echo ifconfig_le0=\"inet 10.0.0.2\" &gt;&gt; /etc/rc.conf  echo ifconfig_le0=\"inet 10.0.0.2\" &gt;&gt; /etc/rc.conf
659  echo nameserver 10.0.0.254 &gt;&gt; /etc/resolv.conf  echo nameserver 10.0.0.254 &gt;&gt; /etc/resolv.conf
# Line 640  client:\ Line 678  client:\
678  echo 10.0.0.1 client &gt; /etc/hosts  echo 10.0.0.1 client &gt; /etc/hosts
679  reboot</b>  reboot</b>
680  </pre></td></tr></table>  </pre></td></tr></table>
681    <li>Start the DECstation emulation again, and download the    <p>
682          NetBSD/sgimips distribution sets:<br>(NOTE: This    <li>Download the NetBSD/sgimips CD-ROM iso image, and the
683          takes quite some time, even if you have a fast network connection.)          GENERIC and INSTALL kernels:<pre>
684  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/sgimipscd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/sgimipscd-3.1.iso</a>
685  <b>cd /tftpboot; ftp -i ftp.se.netbsd.org</b>          <a href="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-GENERIC32_IP3x.gz</a>
686  (log in as anonymous...)          <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a>
687  <b>cd /pub/NetBSD/NetBSD-3.0/sgimips/binary/sets  
688  mget base.tgz comp.tgz etc.tgz games.tgz man.tgz misc.tgz text.tgz  </pre>
689  quit    <li>Start the DECstation emulation again:<pre>
690  sh          <b>gxemul -e 3max -d nbsd_pmax.img -d sgimipscd-3.1.iso</b>
691  for a in *.tgz; do echo $a; tar zxfp $a; rm -f $a; done  
692    </pre>and extract the files from the sgimips CD-ROM image to the
693            DECstation disk image:
694    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
695    <b>cd /tftpboot; mount /dev/cd0a /mnt
696    for a in /mnt/*/binary/sets/[bcegmt]*; do echo $a; tar zxfp $a; done
697  echo 10.0.0.2:/tftpboot / nfs rw 0 0 &gt; /tftpboot/etc/fstab  echo 10.0.0.2:/tftpboot / nfs rw 0 0 &gt; /tftpboot/etc/fstab
698  echo rc_configured=YES &gt;&gt; /tftpboot/etc/rc.conf  echo rc_configured=YES &gt;&gt; /tftpboot/etc/rc.conf
699  dd if=/dev/zero of=swap bs=1024 count=32768  echo 10.0.0.254 &gt;&gt; /tftpboot/etc/mygate
700  halt</b>  echo nameserver 10.0.0.254 &gt;&gt; /tftpboot/etc/resolv.conf
701    echo rc_configured=YES &gt;&gt; /tftpboot/etc/rc.conf
702    dd if=/dev/zero of=swap bs=1024 count=65536
703    cd /; umount /mnt; halt</b>
704  </pre></td></tr></table>  </pre></td></tr></table>
705    <li>Download the NetBSD/sgimips GENERIC and INSTALL kernels:<pre>    <p>
         <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz</a>  
         <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a>  
   
 </pre>  
706    <li>Create a configuration file called <tt>config_client</tt>:    <li>Create a configuration file called <tt>config_client</tt>:
707  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
708  <font color="#2020cf">!  Configuration file for running NetBSD/sgimips diskless with  <font color="#2020cf">!  Configuration file for running NetBSD/sgimips diskless with
709  !  a NetBSD/pmax machine as the nfs server.</font>  !  a NetBSD/pmax machine as the nfs server.</font>
710    
711  <b>    net(  <b>net(
712          add_remote("localhost:12444")   </b>! the server<b>          add_remote("localhost:12444")   </b>! the server<b>
713          local_port(12445)               </b>! the client<b>          local_port(12445)               </b>! the client<b>
714      )  )
715    
716      machine(  machine(
717          name("client machine")          name("client machine")
718          serial_nr(1)          serial_nr(1)
719    
# Line 680  halt</b> Line 722  halt</b>
722    
723          load("netbsd-INSTALL32_IP3x.gz")</b>          load("netbsd-INSTALL32_IP3x.gz")</b>
724          ! load("netbsd-GENERIC32_IP3x.gz")<b>          ! load("netbsd-GENERIC32_IP3x.gz")<b>
725      )  )
726  </b>  </b>
727  </pre></td></tr></table>  </pre></td></tr></table>
728          ... and another configuration file for the server,          ... and another configuration file for the server,
729          <tt>config_server</tt>:          <tt>config_server</tt>:
730  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
731  <b>    net(  <b>net(
732          local_port(12444)               </b>! the server<b>          local_port(12444)               </b>! the server<b>
733          add_remote("localhost:12445")   </b>! the client<b>          add_remote("localhost:12445")   </b>! the client<b>
734      )  )
735    
736      machine(  machine(
737          name("nfs server")          name("nfs server")
738          serial_nr(2)          serial_nr(2)
739    
# Line 699  halt</b> Line 741  halt</b>
741          subtype("5000/200")          subtype("5000/200")
742    
743          disk("nbsd_pmax.img")          disk("nbsd_pmax.img")
744      )  )
745  </b>  </b>
746  </pre></td></tr></table>  </pre></td></tr></table>
747    <li>Boot the "<tt>nfs server</tt>" and the NetBSD/sgimips    <li>Boot the "<tt>nfs server</tt>" and the NetBSD/sgimips
# Line 766  to IPv4. Line 808  to IPv4.
808  <h3>NetBSD/cats:</h3>  <h3>NetBSD/cats:</h3>
809    
810  It is possible to install and run  It is possible to install and run
811  <a href="http://www.netbsd.org/Ports/cats/">NetBSD/cats</a> in GXemul.  <a href="http://www.netbsd.org/ports/cats/">NetBSD/cats</a> in GXemul.
812    
813  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
814  <a href="20051007-netbsd-cats-installed.png"><img src="20051007-netbsd-cats-installed_small.png"></a>  <a href="20051007-netbsd-cats-installed.png"><img src="20051007-netbsd-cats-installed_small.png"></a>
# Line 778  To install NetBSD/cats onto a disk image Line 820  To install NetBSD/cats onto a disk image
820  <ol start="1">  <ol start="1">
821    <li>Create an empty harddisk image, which will be the root disk    <li>Create an empty harddisk image, which will be the root disk
822          that you will install NetBSD/cats onto:<pre>          that you will install NetBSD/cats onto:<pre>
823          <b>dd if=/dev/zero of=nbsd_cats.img bs=1024 count=1 seek=2000000</b>          <b>dd if=/dev/zero of=nbsd_cats.img bs=1024 count=1 seek=3000000</b>
824    
825  </pre>  </pre>
826    <li>Download the NetBSD/cats 3.0 ISO image and the generic and install kernels:<pre>    <li>Download the NetBSD/cats 3.1 ISO image and the generic and install kernels:<pre>
827          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/catscd-3.0.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/catscd-3.0.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/catscd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/catscd-3.1.iso</a>
828          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/cats/binary/kernel/netbsd.aout-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/cats/binary/kernel/netbsd.aout-GENERIC.gz</a>          <a href="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-GENERIC.gz</a>
829          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/cats/binary/kernel/netbsd.aout-INSTALL.gz</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz</a>
830    
831  </pre>  </pre>
832    <p>    <p>
833    <li>Start the installation like this:<pre>    <li>Start the installation like this:<pre>
834          <b>gxemul -XEcats -d nbsd_cats.img -d catscd-3.0.iso netbsd.aout-INSTALL.gz</b>          <b>gxemul -XEcats -d nbsd_cats.img -d catscd-3.1.iso netbsd.aout-INSTALL.gz</b>
835    
836  </pre>  </pre>
837          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 797  To install NetBSD/cats onto a disk image Line 839  To install NetBSD/cats onto a disk image
839  </ol>  </ol>
840    
841  <p>Alternatively, to install from FTP, you can skip downloading the ISO,  <p>Alternatively, to install from FTP, you can skip downloading the ISO,
842  and start the install without <tt>-d catscd-3.0.iso</tt>. Suitable network  and start the install without <tt>-d catscd-3.1.iso</tt>. Suitable network
843  settings are IP 10.0.0.1, gateway/default route 10.0.0.254, netmask  settings are IP 10.0.0.1, gateway/default route 10.0.0.254, netmask
844  255.0.0.0, nameserver 10.0.0.254.  255.0.0.0, nameserver 10.0.0.254.
845    
# Line 817  Use the following command line to boot t Line 859  Use the following command line to boot t
859  <a name="netbsdevbarminstall"></a>  <a name="netbsdevbarminstall"></a>
860  <h3>NetBSD/evbarm:</h3>  <h3>NetBSD/evbarm:</h3>
861    
862  <a href="http://www.netbsd.org/Ports/evbarm/">NetBSD/evbarm</a> can  <a href="http://www.netbsd.org/ports/evbarm/">NetBSD/evbarm</a> can
863  run in GXemul on an emulated IQ80321 evaluation board.  run in GXemul on an emulated IQ80321 evaluation board.
864    
865  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Line 832  image, from an emulated CATS machine: Line 874  image, from an emulated CATS machine:
874    
875  <p>  <p>
876  <ol>  <ol>
877    <li>Install NetBSD/cats 3.0 according to instructions    <li>Download a NetBSD/cats 3.1 ramdisk kernel:<pre>
878          <a href="#netbsdcatsinstall">further up on this page</a>.          <b>wget <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz</a></b>
879    <p>  
880    </pre>
881    <li>Create an empty harddisk image, which will be the disk image    <li>Create an empty harddisk image, which will be the disk image
882          that you will install NetBSD onto:<pre>          that you will install NetBSD/evbarm onto:<pre>
883          <b>dd if=/dev/zero of=nbsd_iq80321.img bs=1024 count=1 seek=999000</b>          <b>dd if=/dev/zero of=nbsd_iq80321.img bs=1024 count=1 seek=999000</b>
884    
885  </pre>  </pre>
# Line 846  image, from an emulated CATS machine: Line 889  image, from an emulated CATS machine:
889    
890  </pre>  </pre>
891    <p>    <p>
892    <li>The first step is to copy the .tgz files we want onto the CATS    <li>Now let's extract the files from the CD-ROM image onto the IQ80321's disk image. Start the
893          machine's harddisk. Start the CATS machine like this:<pre>          CATS machine using the following command line:<pre>
894          <b>gxemul -XEcats -d nbsd_cats.img -d evbarmcd.iso netbsd.aout-GENERIC.gz</b>          <b>gxemul -XEcats -d nbsd_iq80321.img -d evbarmcd.iso netbsd.aout-INSTALL.gz</b>
895    
896  </pre>and execute the following commands as <tt>root</tt>:  </pre>Exit from the installer, and execute the following commands as <tt>root</tt>:
897  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
 <b>mount /dev/cd0a /mnt; cd /root; cp /mnt/evbarm/binary/sets/[bcegmt]* .  
 sync; halt</b>  
 </pre></td></tr></table>  
   <p>  
   <li>Now let's extract the files onto the IQ80321's disk image. Start the  
         CATS machine again, with the following command line:<pre>  
         <b>gxemul -XEcats -d nbsd_cats.img -d nbsd_iq80321.img netbsd.aout-GENERIC.gz</b>  
898    
899  </pre>and execute the following commands as <tt>root</tt>:  <b>disklabel -I -i wd0</b>
 <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  
 <b>disklabel -I -i wd1</b>  
900      (enter suitable commands, e.g. <i>a, 4.2BSD, 1c, 750M, b,      (enter suitable commands, e.g. <i>a, 4.2BSD, 1c, 750M, b,
901       swap, a, 200M, P, W, y, Q</i>)       swap, a, 200M, P, W, y, Q</i>)
902  <b>newfs /dev/wd1a; mount /dev/wd1a /mnt; cd /mnt; sh  <b>newfs /dev/wd0a; mount /dev/wd0a /mnt2; cd /mnt2
903  for a in /root/[bcegmt]*.tgz; do echo $a; tar zxfp $a; done  mount /dev/cd0a /mnt; sh
904    for a in /mnt/*/binary/sets/[bcegmt]*.tgz; do echo $a; tar zxfp $a; done
905  exit  exit
906  cd dev; sh ./MAKEDEV all; cd ../etc  cd dev; sh ./MAKEDEV all; cd ../etc
907  echo rc_configured=YES &gt;&gt; rc.conf  echo rc_configured=YES &gt;&gt; rc.conf
908  echo "/dev/wd0a / ffs rw 1 1" &gt; fstab  echo "/dev/wd0a / ffs rw 1 1" &gt; fstab
909  echo "/dev/wd0b none swap sw 0 0" &gt;&gt; fstab  echo "/dev/wd0b none swap sw 0 0" &gt;&gt; fstab
910  cd /; umount /mnt; sync; halt</b>  cd /; umount /mnt; umount /mnt2; sync; halt</b>
911  </pre></td></tr></table>  </pre></td></tr></table>
912  </ol>  </ol>
913    
914  <p>You should now be able to boot NetBSD/evbarm using this command:<pre>  <p>You should now be able to boot NetBSD/evbarm using this command:<pre>
915          <b>gxemul -xEiq80321 -d nbsd_iq80321.img netbsd-wd0-IQ80321.gz</b>          <b>gxemul -x -E iq80321 -d nbsd_iq80321.img netbsd-wd0-IQ80321.gz</b>
916    </pre>
917    
918    
919    
920    
921    
922    
923    
924    
925    
926    <p><br>
927    <a name="netbsdnetwinderinstall"></a>
928    <h3>NetBSD/netwinder:</h3>
929    
930    It is possible to run <a
931    href="http://www.netbsd.org/ports/netwinder/">NetBSD/netwinder</a>
932    in GXemul.
933    
934    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
935    <a href="20060724-netbsd-netwinder-1.png"><img src="20060724-netbsd-netwinder-1_small.png"></a>
936    &nbsp;&nbsp;&nbsp;<a href="20060724-netbsd-netwinder-2.png"><img src="20060724-netbsd-netwinder-2_small.png"></a>
937    
938    <p>There is no INSTALL ramdisk kernel, so one way to install the
939    NetBSD/netwinder distribution onto a disk image is to install the files
940    using another (emulated) machine. The following instructions will let you
941    install the NetBSD/netwinder distribution onto a disk image, from an
942    emulated DECstation 3MAX machine:
943    
944    <p>
945    <ol>
946      <li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre>
947            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a>
948    </pre>
949      <p>
950      <li>Create an empty harddisk image, which will be the disk image
951            that you will install NetBSD onto:<pre>
952            <b>dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000</b>
953    
954    </pre>
955      <li>Download the generic kernel and the 3.1 ISO image:<pre>
956            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/netwinder/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/netwinder/binary/kernel/netbsd-GENERIC.gz</a>
957            <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/netwindercd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/netwindercd-3.1.iso</a>
958    
959    </pre>
960      <p>
961      <li>Start the emulated DECstation machine like this:<pre>
962            <b>gxemul -e 3max -d nbsd_netwinder.img -d netwindercd-3.1.iso netbsd-INSTALL.gz</b>
963    
964    </pre>
965      <li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b>
966    to simulate a CTRL-C sent to NetBSD/pmax. Then execute the following commands:
967    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
968    <b>newfs /dev/sd0c
969    mount /dev/cd0c /mnt
970    mkdir /mnt2; mount /dev/sd0c /mnt2
971    cd /mnt2; sh
972    for a in /mnt/*/binary/sets/*.tgz; do echo $a; tar zxfp $a; done
973    exit
974    cd dev; sh ./MAKEDEV all; cd ../etc
975    echo rc_configured=YES >> rc.conf
976    echo "/dev/wd0c / ffs rw 1 1" > fstab
977    cd /; umount /mnt; umount /mnt2; halt</b>
978    </pre></td></tr></table>
979    </ol>
980    
981    <p>NetBSD/netwinder is now installed on the disk image. The following command
982    line can be used to start NetBSD/netwinder:<pre>
983            <b>gxemul -X -E netwinder -d nbsd_netwinder.img netbsd-GENERIC.gz</b>
984    </pre>
985    
986    <p>This will result in a 1024x768 framebuffer. Add <tt>-Y2</tt> to the
987    command line if you want to scale it down to 512x384.
988    
989    <p>Note: The installation instructions above create a filesystem
990    <i>without</i> a disklabel, so there is only one ffs partition and no
991    swap. You will need to enter the following things when booting with the
992    generic kernel:<pre>
993            root device (default wd0a): <b>wd0c</b>
994            dump device (default wd0b): <i>(just press enter)</i>
995            file system (default generic):    <i>(just press enter)</i>
996            init path (default /sbin/init):   <i>(just press enter)</i>
997  </pre>  </pre>
998    
999    <p>Known bugs/problems:
1000    
1001    <ul>
1002            <li>There is a long delay when starting up NetBSD/netwinder
1003                    (several seconds even on a very fast host machine),
1004                    so you need to be patient.
1005            <li>There is a minor bug in the keyboard device, so you need to
1006                    press a key (any key) before typing wd0c.
1007            <li>When halting/rebooting NetBSD/netwinder, the emulator
1008                    prints a message saying something about an internal
1009                    error. This doesn't matter; ignore the message.
1010    </ul>
1011    
1012    
1013    
1014    
1015    
1016    
1017    
1018    
1019    
1020    
# Line 889  cd /; umount /mnt; sync; halt</b> Line 1024  cd /; umount /mnt; sync; halt</b>
1024  <a name="netbsdprepinstall"></a>  <a name="netbsdprepinstall"></a>
1025  <h3>NetBSD/prep:</h3>  <h3>NetBSD/prep:</h3>
1026    
1027  It is possible to install and run  It is possible to install and run <a
1028  <a href="http://www.netbsd.org/Ports/prep/">NetBSD/prep</a> 2.1 in GXemul  href="http://www.netbsd.org/ports/prep/">NetBSD/prep</a> 2.1 in GXemul on
1029  on an emulated IBM 6050 (PowerPC) machine. (NetBSD 3.0 uses the wdc  an emulated IBM 6050 (PowerPC) machine. (Newer versions of NetBSD/prep use
1030  controller in a way which isn't implemented in GXemul yet.)  the wdc controller in a way which isn't implemented in GXemul yet, or
1031    there are bugs in GXemul's PowerPC CPU emulation.)
1032    
1033  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1034  <a href="20051123-netbsd-prep.png"><img src="20051123-netbsd-prep_small.png"></a>  <a href="20051123-netbsd-prep.png"><img src="20051123-netbsd-prep_small.png"></a>
# Line 913  controller in a way which isn't implemen Line 1049  controller in a way which isn't implemen
1049  </pre>  </pre>
1050    <p>    <p>
1051    <li>Start the installation like this:<pre>    <li>Start the installation like this:<pre>
1052      <b>gxemul -x -e ibm6050 -d nbsd_prep.img -d rdb:prepcd.iso -j prep/binary/kernel/netbsd-INSTALL.gz</b>      <b>gxemul -X -e ibm6050 -d nbsd_prep.img -d rdb:prepcd.iso -j prep/binary/kernel/netbsd-INSTALL.gz</b>
1053    
1054  </pre>  </pre>
1055    <p>    <p>
# Line 966  controller in a way which isn't implemen Line 1102  controller in a way which isn't implemen
1102    
1103  <p>If everything worked, NetBSD should now be installed on the disk image.  <p>If everything worked, NetBSD should now be installed on the disk image.
1104  Use the following command line to boot the emulated machine:<pre>  Use the following command line to boot the emulated machine:<pre>
1105          <b>gxemul -x -e ibm6050 -d nbsd_prep.img netbsd-GENERIC.gz</b>          <b>gxemul -X -e ibm6050 -d nbsd_prep.img netbsd-GENERIC.gz</b>
1106    
1107  </pre>  </pre>
1108    
# Line 979  system type, and init path. Line 1115  system type, and init path.
1115    
1116    
1117    
1118    
1119    
1120    
1121    
1122    
1123    
1124    <p><br>
1125    <a name="netbsdmacppcinstall"></a>
1126    <h3>NetBSD/macppc:</h3>
1127    
1128    It is possible to install and run <a
1129    href="http://www.netbsd.org/ports/macppc/">NetBSD/macppc</a> in GXemul on
1130    an emulated generic PowerPC machine. No specific Machintosh model is
1131    emulated, but it is enough to for NetBSD to recognize it.
1132    
1133    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1134    <a href="20070318-netbsd-macppc.png"><img src="20070318-netbsd-macppc_small.png"></a>
1135    
1136    <p>To install NetBSD/macppc onto a disk image, follow these instructions:
1137    
1138    <p>
1139    <ol start="1">
1140      <li>Create an empty harddisk image, which will be the root disk
1141            that you will install NetBSD/macppc onto:<pre>
1142        <b>dd if=/dev/zero of=nbsd_macppc.img bs=1024 count=1 seek=3000000</b>
1143    
1144    </pre>
1145      <li>Download the NetBSD/macppc 3.1 ISO image and a generic kernel:<pre>
1146        <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/macppccd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/macppccd-3.1.iso</a>
1147        <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/macppc/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/macppc/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/macppc/binary/kernel/netbsd-GENERIC.MP.gz">netbsd-GENERIC.MP.gz</a>
1148    
1149    </pre>
1150      <p>
1151      <li>Start the installation like this:<pre>
1152        <b>gxemul -x -e g4 -d nbsd_macppc.img -d b:macppccd-3.1.iso -j macppc/binary/kernel/netbsd-INSTALL.gz</b>
1153    
1154    </pre>
1155            and continue as you would do when installing NetBSD on a real
1156            machine.
1157      <p>
1158      <li>Before turning the emulated machine off, quit the NetBSD installer
1159            and execute the following commands:<pre>
1160            <b>cd /; mount /dev/wd0a /mnt
1161            echo 'console "/usr/libexec/getty std.38400" vt100 on secure' > /mnt/etc/ttys
1162            echo 'rc_configured=YES' >> /mnt/etc/rc.conf
1163            umount /mnt; sync
1164            reboot</b>
1165    
1166    </pre>
1167    </ol>
1168    
1169    <p>If everything worked, NetBSD/macppc should now be installed on
1170    the disk image.
1171    
1172    <p>Use the following command line to boot the emulated machine:<pre>
1173            <b>gxemul -x -e g4 -d nbsd_macppc.img netbsd-GENERIC.MP.gz</b>
1174    
1175    </pre>
1176    
1177    <p>If asked about <tt>root device</tt>, enter <tt><b>wd0</b></tt>.
1178    
1179    
1180    
1181    
1182    
1183    
1184    
1185    
1186    
1187    
1188    
1189    <p><br>
1190    <a name="netbsdpmppc"></a>
1191    <h3>NetBSD/pmppc:</h3>
1192    
1193    <p><a href="http://www.netbsd.org/ports/pmppc/">NetBSD/pmppc</a> can
1194    run in GXemul on an emulated Artesyn PM/PPC board. Currently, no SCSI or other
1195    disk controller is emulated for this machine type, but it is possible to run
1196    NetBSD with root-on-nfs.
1197    
1198    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1199    <a href="20070616-netbsd-pmppc-diskless.png"><img src="20070616-netbsd-pmppc-diskless_small.png"></a>
1200    
1201    <p>These setup steps will let you run NetBSD/pmppc with root-on-nfs:
1202    
1203    <p>
1204    <ol>
1205      <li>First of all, the "<tt>nfs server</tt>" machine must be set up.
1206            This needs to have a 750 MB <tt>/tftpboot</tt> partition.
1207            <a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.1 from CDROM</a>.
1208            (Don't forget to add the extra partition!)
1209      <p>
1210      <li>Configure the nfs server machine to act as an nfs server.
1211            Start up the emulated DECstation:<pre>
1212            <b>gxemul -e 3max -d nbsd_pmax.img</b>
1213    </pre>and enter the following commands as <tt>root</tt>
1214            inside the emulator:
1215    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1216    <b>echo hostname=server &gt;&gt; /etc/rc.conf
1217    echo ifconfig_le0=\"inet 10.0.0.2\" &gt;&gt; /etc/rc.conf
1218    echo nameserver 10.0.0.254 &gt;&gt; /etc/resolv.conf
1219    echo 10.0.0.254 &gt; /etc/mygate
1220    echo /tftpboot -maproot=root 10.0.0.1 &gt; /etc/exports
1221    echo rpcbind=YES &gt;&gt; /etc/rc.conf
1222    echo nfs_server=YES &gt;&gt; /etc/rc.conf
1223    echo mountd=YES &gt;&gt; /etc/rc.conf
1224    echo bootparamd=YES &gt;&gt; /etc/rc.conf
1225    printf "client root=10.0.0.2:/tftpboot \\\n swap=10.0.0.2:/tftpboot/swap\n" &gt; /etc/bootparams
1226    echo "bootps dgram udp wait root /usr/sbin/bootpd bootpd -d 4 -h 10.0.0.2" &gt;&gt; /etc/inetd.conf
1227    cat &gt;&gt; /etc/bootptab
1228    client:\
1229            :ht=ether:\
1230            :ha=102030000010:\
1231            :sm=255.0.0.0:\
1232            :lg=10.0.0.254:\
1233            :ip=10.0.0.1:\
1234            :rp=/tftpboot:
1235    </b>(press CTRL-D)
1236    <b>echo "10:20:30:00:00:10 client" &gt; /etc/ethers
1237    echo 10.0.0.1 client &gt; /etc/hosts
1238    reboot</b>
1239    </pre></td></tr></table>
1240      <p>
1241      <li>Download the NetBSD/pmppc CD-ROM iso image, and the GENERIC kernel:<pre>
1242            <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/pmppccd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/pmppccd-3.1.iso</a>
1243            <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/pmppc/binary/kernel/netbsd-PMPPC.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/pmppc/binary/kernel/netbsd-PMPPC.gz</a>
1244    
1245    </pre>
1246      <li>Start the DECstation emulation again:<pre>
1247            <b>gxemul -e 3max -d nbsd_pmax.img -d pmppccd-3.1.iso</b>
1248    
1249    </pre>and extract the files from the PM/PPC CD-ROM image to the
1250            DECstation disk image:
1251    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1252    <b>cd /tftpboot; mount /dev/cd0a /mnt
1253    for a in /mnt/*/binary/sets/[bcemt]*; do echo $a; tar zxfp $a; done
1254    echo 10.0.0.2:/tftpboot / nfs rw 0 0 &gt; /tftpboot/etc/fstab
1255    echo rc_configured=YES &gt;&gt; /tftpboot/etc/rc.conf
1256    echo 10.0.0.254 &gt;&gt; /tftpboot/etc/mygate
1257    echo nameserver 10.0.0.254 &gt;&gt; /tftpboot/etc/resolv.conf
1258    echo rc_configured=YES &gt;&gt; /tftpboot/etc/rc.conf
1259    dd if=/dev/zero of=swap bs=1024 count=65536
1260    cd /tftpboot/dev; sh MAKEDEV all
1261    cd /; umount /mnt; halt</b>
1262    </pre></td></tr></table>
1263      <p>
1264      <li>Create a configuration file called <tt>config_client</tt>:
1265    <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1266    <font color="#2020cf">!  Configuration file for running NetBSD/pmppc diskless with
1267    !  a NetBSD/pmax machine as the nfs server.</font>
1268    
1269    <b>net(
1270            add_remote("localhost:12444")   </b>! the server<b>
1271            local_port(12445)               </b>! the client<b>
1272    )
1273    
1274    machine(
1275            name("client machine")
1276            serial_nr(1)
1277    
1278            type("pmppc")
1279    
1280            load("netbsd-PMPPC.gz")</b>
1281    )
1282    </b>
1283    </pre></td></tr></table>
1284            ... and another configuration file for the server,
1285            <tt>config_server</tt>:
1286    <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1287    <b>net(
1288            local_port(12444)               </b>! the server<b>
1289            add_remote("localhost:12445")   </b>! the client<b>
1290    )
1291    
1292    machine(
1293            name("nfs server")
1294            serial_nr(2)
1295    
1296            type("dec")
1297            subtype("5000/200")
1298    
1299            disk("nbsd_pmax.img")
1300    )
1301    </b>
1302    </pre></td></tr></table>
1303    </ol>
1304    
1305    <p>It should now be possible to boot NetBSD/pmppc using the NetBSD/pmax
1306    nfs server, using the following commands: (NOTE! Execute these two
1307    commands in separate xterms!)<pre>
1308            <b>gxemul @config_server</b>
1309            <b>gxemul @config_client</b>
1310    </pre>
1311    
1312    <p>You might want to log in as <tt>root</tt> on the server machine, and
1313    run <tt>tcpdump -lnvv</tt> or similar, to see that what the client machine
1314    actually does on the network.
1315    
1316    <p>When asked for "<tt>root device:</tt>" etc. on the client machine, enter
1317    the following values:<pre>
1318            root device: <b>tlp0</b>
1319            dump device:                            <b>(leave blank)</b>
1320            file system (default generic):          <b>(leave blank)</b>
1321            ..
1322            init path (default /sbin/init):         <b>(leave blank)</b>
1323    </pre>
1324    
1325    
1326    
1327    
1328    
1329    
1330    
1331    
1332    
1333    <p><br>
1334    <a name="netbsddreamcast"></a>
1335    <h3>NetBSD/dreamcast:</h3>
1336    
1337    Moved <a href="dreamcast.html#netbsd_generic_md">here</a>.
1338    
1339    
1340    
1341    
1342    
1343    
1344    
1345    
1346    
1347  <p><br>  <p><br>
1348  <a name="openbsdpmaxinstall"></a>  <a name="openbsdpmaxinstall"></a>
1349  <h3>OpenBSD/pmax:</h3>  <h3>OpenBSD/pmax:</h3>
# Line 1052  chmod +w simpleroot28.fs</b>           &lt;--- ma Line 1417  chmod +w simpleroot28.fs</b>           &lt;--- ma
1417            <li>At the # prompt, do the following:<pre>            <li>At the # prompt, do the following:<pre>
1418          <b>fsck /dev/rz1a</b>        (and mark the filesystem as clean)          <b>fsck /dev/rz1a</b>        (and mark the filesystem as clean)
1419          <b>mount /dev/rz1a /</b>          <b>mount /dev/rz1a /</b>
1420            <b>mkdir /kern</b>
1421            <b>mkdir /mnt2</b>
1422          <b>mount -t kernfs kern kern</b>          <b>mount -t kernfs kern kern</b>
1423          <b>./install</b>          <b>./install</b>
1424    
# Line 1129  enter <b><tt>rcons</tt></b> if you are u Line 1496  enter <b><tt>rcons</tt></b> if you are u
1496    
1497  It is possible to install and run  It is possible to install and run
1498  <a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a>  <a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a>
1499  in GXemul.  in GXemul. Unfortunately, "The OpenBSD/cats port has been discontinued
1500    after the 4.0 release." according to
1501    <a href="http://www.openbsd.org/cats.html">http://www.openbsd.org/cats.html</a>,
1502    but 4.0 should run fine.
1503    
1504  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1505  <a href="20051007-openbsd-cats-installed.png"><img src="20051007-openbsd-cats-installed_small.png"></a>  <a href="20051007-openbsd-cats-installed.png"><img src="20051007-openbsd-cats-installed_small.png"></a>
# Line 1145  follow these instructions: Line 1515  follow these instructions:
1515    
1516  </pre>  </pre>
1517    <li>Download the entire cats directory from the ftp server:<pre>    <li>Download the entire cats directory from the ftp server:<pre>
1518          <b>wget -np -l 0 -r <a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.9/cats/">ftp://ftp.openbsd.org/pub/OpenBSD/3.9/cats/</a></b>          <b>wget -np -l 0 -r <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/</a></b>
1519          <b>cp ftp.openbsd.org/pub/OpenBSD/3.9/cats/bsd .</b>          <b>cp ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/bsd .</b>
1520          <b>cp ftp.openbsd.org/pub/OpenBSD/3.9/cats/bsd.rd .</b>          <b>cp ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/bsd.rd .</b>
1521    
1522  </pre>  </pre>
1523          (Replace ftp.openbsd.org with a server closer to you, for          (Replace ftp.se.openbsd.org with a server closer to you, for
1524          increased download speed.)          increased download speed.)
1525    <p>    <p>
1526    <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.
1527          (I recommend using <tt>mkisofs</tt> for that purpose. If you don't          (I recommend using <tt>mkisofs</tt> for that purpose. If you don't
1528          already have <tt>mkisofs</tt> installed on your system, you need          already have <tt>mkisofs</tt> installed on your system, you need
1529          to install it in order to do this.)<pre>          to install it in order to do this.)<pre>
1530          <b>mkisofs -allow-lowercase -o openbsd_cats_3.9.iso ftp.openbsd.org/pub/OpenBSD/</b>          <b>mkisofs -allow-lowercase -o openbsd_cats_4.0.iso ftp.se.openbsd.org/pub/OpenBSD/</b>
1531          <b>rm -rf ftp.openbsd.org</b>      <i>(this directory is not needed anymore)</i>          <b>rm -rf ftp.se.openbsd.org</b>      <i>(this directory is not needed anymore)</i>
1532    
1533  </pre>  </pre>
1534    <li>Start the emulator using this command line:<pre>    <li>Start the emulator using this command line:<pre>
1535          <b>gxemul -XEcats -d obsd_cats.img -d openbsd_cats_3.9.iso bsd.rd</b>          <b>gxemul -XEcats -d obsd_cats.img -d openbsd_cats_4.0.iso bsd.rd</b>
1536    
1537  </pre>  </pre>
1538          and proceed like you would do if you were installing OpenBSD          and proceed like you would do if you were installing OpenBSD
# Line 1194  boot from the harddisk image: Line 1564  boot from the harddisk image:
1564    
1565    
1566  <p><br>  <p><br>
1567    <a name="openbsdlandiskinstall"></a>
1568    <h3>OpenBSD/landisk:</h3>
1569    
1570    It is possible to install and run
1571    <a href="http://www.openbsd.org/landisk.html">OpenBSD/landisk</a>
1572    in GXemul.
1573    
1574    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1575    <a href="20070419-openbsd-landisk.png"><img src="20070419-openbsd-landisk_small.png"></a>
1576    
1577    <p>To install OpenBSD/landisk onto an emulated harddisk image,
1578    follow these instructions:
1579    
1580    <p>
1581    <ol>
1582      <li>Create an empty harddisk image, which will be the root disk
1583            that OpenBSD installs itself onto:<pre>
1584            <b>dd if=/dev/zero of=obsd_landisk.img bs=1024 count=1 seek=2000000</b>
1585    
1586    </pre>
1587      <li>Download the entire landisk directory from the ftp server:<pre>
1588            <b>wget -np -l 0 -r <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/</a></b>
1589            <b>cp ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/bsd .</b>
1590            <b>cp ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/bsd.rd .</b>
1591    
1592    </pre>
1593            (Replace ftp.se.openbsd.org with a server closer to you, for
1594            increased download speed.)
1595      <p>
1596      <li>You now need to make an ISO image of the entire directory you downloaded.
1597            (I recommend using <tt>mkisofs</tt> for that purpose. If you don't
1598            already have <tt>mkisofs</tt> installed on your system, you need
1599            to install it in order to do this.)<pre>
1600            <b>mkisofs -U -o openbsd_landisk_4.1.iso ftp.se.openbsd.org/pub/OpenBSD/</b>
1601            <b>rm -rf ftp.se.openbsd.org</b>      <i>(this directory is not needed anymore)</i>
1602    
1603    </pre>
1604      <li>Start the emulator using this command line:<pre>
1605            <b>gxemul -x -E landisk -d obsd_landisk.img -d d:openbsd_landisk_4.1.iso bsd.rd</b>
1606    
1607    </pre>
1608            and proceed like you would do if you were installing OpenBSD
1609            on a real landisk. The following hints are useful to get you
1610            through the installation:
1611            <ul>
1612              <li>Terminal type = <b>xterm</b>
1613              <li>root disk = <b>wd0</b> (the disk to install onto)
1614              <li>Use the entire disk for OpenBSD = <b>yes</b>
1615              <li>Create one big root partition (a) and a small swap partition (b). c is the entire disk.
1616              <li>Do <b>not</b> configure the network. (The Realtek NIC
1617                    found in the Landisk machine is not implemented yet
1618                    in the emulator.)
1619              <li>Location of sets = <b>disk</b>
1620              <li>Is the disk partition already mounted = <b>no</b>
1621              <li>Disk containing the install media = <b>wd1</b>
1622              <li>Pathname to the sets = <b>4.1/landisk</b>
1623            </ul>
1624    </ol>
1625    
1626    <p>Once the install has finished, the following command should let you
1627    boot from the disk image:
1628    
1629    <p><pre>
1630            <b>gxemul -x -E landisk -d obsd_landisk.img bsd</b>
1631    
1632    </pre>
1633    
1634    <p>As with most emulation modes in GXemul, the NIC in this machine is
1635    not emulated yet. If you want to transfer files to/from the emulated
1636    landisk machine, see
1637    <a href="misc.html#filexfer">this chapter</a> in the documentation.
1638    
1639    
1640    
1641    
1642    
1643    
1644    
1645    <p><br>
1646  <a name="ultrixinstall"></a>  <a name="ultrixinstall"></a>
1647  <h3>Ultrix/RISC:</h3>  <h3>Ultrix/RISC:</h3>
1648    
1649  Ultrix 4.x can run in GXemul on an emulated DECstation 5000/200.  Ultrix 4.x can run in GXemul on an emulated DECstation 5000/200.
1650  (Ultrix was the native OS for these machines, but NetBSD/pmax is  (Ultrix was the native OS for these machines, but
1651  also usable.)  <a href="#netbsdpmaxinstall">NetBSD/pmax</a> is also usable.)
1652    
1653  <p>  <p>
1654  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Line 1244  timer related bug, which makes it imposs Line 1693  timer related bug, which makes it imposs
1693  triggered when the emulation goes faster than any real DECstation machine  triggered when the emulation goes faster than any real DECstation machine
1694  was capable of running. A temporary workaround is to add  was capable of running. A temporary workaround is to add
1695  <b><tt>-I33000000</tt></b> to fix the emulated clock speed to 33 million  <b><tt>-I33000000</tt></b> to fix the emulated clock speed to 33 million
1696  instructions per emulated second. (When using <tt><b>-CR4400</b></tt>,  instructions per emulated second.
 <b><tt>-I16000000</tt></b> should be used instead.)  
1697    
1698  <p>  <p>If the workaround above doesn't work, you can also start up other
1699  You can experiment with adding <b><tt>-Z2</tt></b> (for emulating a  processes on the host, apart from the emulator, so that the emulator runs
1700    more slowly. This is an ugly workaround, but seems to work. Once you have
1701    logged in into Ultrix, you can kill the extra processes.
1702    
1703    <p>You can experiment with adding <b><tt>-Z2</tt></b> (for emulating a
1704  dual-headed workstation) or even <b><tt>-Z3</tt></b> (tripple-headed), and  dual-headed workstation) or even <b><tt>-Z3</tt></b> (tripple-headed), and
1705  also the <b><tt>-Y2</tt></b> option for scaling down the framebuffer  also the <b><tt>-Y2</tt></b> option for scaling down the framebuffer
1706  windows by a factor 2x2.  windows by a factor 2x2.
# Line 1260  tripple-headed workstation, on three dif Line 1712  tripple-headed workstation, on three dif
1712              -XZ3 -z remote1:0.0 -z localhost:0.0 -z remote2:0.0</b>              -XZ3 -z remote1:0.0 -z localhost:0.0 -z remote2:0.0</b>
1713  </pre>  </pre>
1714    
1715  <p>  <p>The photo below shows a single Ultrix session running tripple-headed in
 The photo below shows a single Ultrix session running tripple-headed in  
1716  GXemul on an Alpha 21164PC, with displays on a Sun Ultra1 (to the left),  GXemul on an Alpha 21164PC, with displays on a Sun Ultra1 (to the left),
1717  on the Alpha itself (in the middle), and on an HP700/RX X-terminal (8-bit  on the Alpha itself (in the middle), and on an HP700/RX X-terminal (8-bit
1718  color depth, running off the Alpha) to the right.  color depth, running off the Alpha) to the right.
1719    
1720  <p>  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
1721  <a href="20041209-ultrix-tripplehead.jpg"><img src="20041209-ultrix-tripplehead_small.jpg"></a>  <a href="20041209-ultrix-tripplehead.jpg"><img src="20041209-ultrix-tripplehead_small.jpg"></a>
1722    
1723  <p>  <p>The X11 displays may differ in bit depth and endianness. Unfortunately,
 The X11 displays may differ in bit depth and endianness. Unfortunately,  
1724  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
1725  the scaledown factor affects all windows.  the scaledown factor affects all windows.
1726    
1727  <p>  <p>(If you didn't use <tt><b>-Z<i>n</i></b></tt> during the installation, and
 (If you didn't use <tt><b>-Z<i>n</i></b></tt> during the installation, and  
1728  compiled your own <tt>/vmunix</tt>, then it will not contain support for  compiled your own <tt>/vmunix</tt>, then it will not contain support for
1729  multiple graphics cards. To overcome this problem, use the generic kernel,  multiple graphics cards. To overcome this problem, use the generic kernel,
1730  <tt><b>-j genvmunix</b></tt>, whenever you are running the emulator with a  <tt><b>-j genvmunix</b></tt>, whenever you are running the emulator with a
1731  different setup than the one you used when Ultrix was installed.)  different setup than the one you used when Ultrix was installed.)
1732    
1733  <p>  <p>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  
1734  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
1735  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
1736  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
# Line 1364  start the X11 environment. Line 1811  start the X11 environment.
1811  <h3>Debian GNU/Linux for DECstation:</h3>  <h3>Debian GNU/Linux for DECstation:</h3>
1812    
1813  It is possible to run Debian GNU/Linux for DECstation in the emulator,  It is possible to run Debian GNU/Linux for DECstation in the emulator,
1814  on an emulated 5000/200 ("3max"). Although the Debian project has released  on an emulated 5000/200 ("3max"). However, just choosing any
1815  install ramdisk kernels for this purpose, these do not always work:  Linux/DECstation kernel at random for the installation will not work.
1816  <ul>  
1817    <li>Serial console output doesn't work too well in GXemul. Linux  <p><ul>
1818          oopses randomly, which may be due to bugs in GXemul, but may    <li>Linux 2.4/DECstation DZ serial console output doesn't work too well in
1819          also be due to bugs in the serial controller code in Linux.          GXemul. Linux oopses randomly, which may be due to bugs in GXemul,
1820            but may also be due to bugs in the serial controller code in Linux.
1821          (The speed at which serial interrupts are generated can be          (The speed at which serial interrupts are generated can be
1822          lowered with the <tt>-U</tt> command line option, but it only          lowered with the <tt>-U</tt> command line option, but it only
1823          reduces the risk, it doesn't take away the oopses completely.)          reduces the risk, it doesn't take away the oopses completely.)
1824    <li>Old install kernels supported the graphical framebuffer on the    <li>The Linux 2.6/DECstation DZ serial console driver doesn't work at
1825          3max, but not the keyboard.          all in the emulator, and I'm not really sure it would work on a
1826    <li>For quite some time, the MIPS linux cvs tree had support for the          real 5000/200 either. Hopefully this will be fixed in Linux in
1827          keyboard, but it did <i>not</i> include Debian's patches for          the future.
1828          networking. (Perhaps this has been fixed now, I don't know.)    <li>To get around the serial console problem, the obvious solution is to
1829            use a graphical framebuffer instead. Old Debian install kernels
1830            supported the graphical framebuffer on the 3max, but not the
1831            keyboard. (This has been fixed now, it seems.)
1832      <li>For quite some time, the MIPS linux cvs tree has had support for the
1833            framebuffer and keyboard, but it did not include Debian's
1834            patches for networking, which made it unusable for network
1835            installs. (Possibly fixed now.)
1836      <li>The kernel has to be for 5000/200. This rules out using
1837            the default kernel on netinst ISO images provided by Debian.
1838            These ISO images boot directly into a kernel which is meant
1839            for a different DECstation model.
1840      <li>The kernel has to have an initrd which more or less matches the
1841            version of Debian that will be installed.
1842  </ul>  </ul>
1843    
1844  <p>David Muse has made available a precompiled install kernel which  <p>Luckily, a precompiled install kernel has been made available by David
1845  has support for framebuffer, keyboard, and networking, which works  Muse, for Debian for R3000 DECstations, which has support for framebuffer,
1846  pretty well. Thanks David. :-)  keyboard, and networking, which works pretty well. Thanks David. :-)
1847    
1848  <p>  <p>The following steps should let you install Debian GNU/Linux for
1849  The following steps should let you install Debian GNU/Linux for DECstation  DECstation onto a harddisk image in the emulator:
 onto a harddisk image:  
1850    
1851  <p>  <p>
1852  <ol>  <ol>
1853    <li>Create an empty harddisk image, which will be the root disk    <li>Create an empty harddisk image, which will be the root disk
1854          that Debian installs itself onto:<pre>          that Debian installs itself onto:<pre>
1855          <b>dd if=/dev/zero of=debian_pmax.img bs=1024 count=1 seek=3300000</b>          <b>dd if=/dev/zero of=debian_pmax.img bs=1024 count=1 seek=6000000</b>
1856    
1857  </pre>  </pre>
1858    <li>Download David Muse' install kernel, and a Debian Netinstall CD-ROM:<pre>    <li>Download David Muse' install kernel, and a Debian Netinstall CD-ROM:<pre>
# Line 1400  onto a harddisk image: Line 1860  onto a harddisk image:
1860          <a href="http://cdimage.debian.org/debian-cd/3.1_r0a/mipsel/iso-cd/debian-31r0a-mipsel-netinst.iso">http://cdimage.debian.org/debian-cd/3.1_r0a/mipsel/iso-cd/debian-31r0a-mipsel-netinst.iso</a>          <a href="http://cdimage.debian.org/debian-cd/3.1_r0a/mipsel/iso-cd/debian-31r0a-mipsel-netinst.iso">http://cdimage.debian.org/debian-cd/3.1_r0a/mipsel/iso-cd/debian-31r0a-mipsel-netinst.iso</a>
1861    
1862  </pre>  </pre>
1863            <font color="#ff0000"><b>NOTE 2007-04-14:</b></font> It seems that the ISO image
1864            has been removed from the cdimage site. You may need to search
1865            for it elsewhere. Alternatively, you can follow Michel Lespinasse's instructions at
1866            <a href="http://people.zoy.org/~walken/gxemul-etch/HOWTO.html">http://people.zoy.org/~walken/gxemul-etch/HOWTO.html</a>.
1867    
1868            <p><font color="#ff0000"><b>NOTE 2007-05-05:</b></font> John Reiser has been kind enough to
1869            place a copy of debian-31r0a-mipsel-netinst.iso <a href="http://bitwagon.com/ftp/debian-31r0a-mipsel-netinst.iso">here</a>.
1870    <p>    <p>
1871    <li>Start the installation like this:<pre>    <li>Start the installation like this:<pre>
1872          <b>gxemul -X -e3max -d debian_pmax.img -d debian-31r0a-mipsel-netinst.iso vmlinux-2.4.31</b>          <b>gxemul -X -e3max -d debian_pmax.img -d debian-31r0a-mipsel-netinst.iso vmlinux-2.4.31</b>
# Line 1456  onto a harddisk image: Line 1923  onto a harddisk image:
1923          <p>The post-install step takes quite some time as well. A perfect opportunity          <p>The post-install step takes quite some time as well. A perfect opportunity
1924          for more coffee.          for more coffee.
1925    
1926            <p>When asked about whether the hardware clock is set to GMT or
1927            not, answer Yes.
1928    
1929          <p>When asked about "Apt configuration", choose <b>http</b> as the method          <p>When asked about "Apt configuration", choose <b>http</b> as the method
1930          to use for accessing the Debian archive.          to use for accessing the Debian archive.
1931    
# Line 1483  Use this command to boot from the instal Line 1953  Use this command to boot from the instal
1953    
1954    
1955  <p><br>  <p><br>
 <a name="declinuxredhat"></a>  
 <h3>Redhat Linux for DECstation:</h3>  
   
   
 <p>  
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
 <a href="20041129-redhat_mips.png"><img src="20041129-redhat_mips_small.png"></a>  
   
 <p>  
 The following steps should let you run Redhat Linux for DECstation in GXemul:  
   
 <p>  
 <ol>  
   <li>Download a kernel. David Muse' Debian-install kernel works fine:<pre>  
         <a href="http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31">http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31</a>  
   
 </pre>  
   <li>Download a root filesystem tree:<pre>  
         <a href="ftp://ftp.uni-wuppertal.de/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz">ftp://ftp.uni-wuppertal.de/pub/linux/mips/</a>  
          <a href="ftp://ftp.uni-wuppertal.de/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz">mipsel-linux/root/mipsel-root-20011216.tgz</a>  
         19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414  
   
 </pre>  
   <li>Create a disk image which will contain the Redhat filesystem:<pre>  
         <b>dd if=/dev/zero of=redhat_mips.img bs=1024 count=1 seek=2000000</b>  
   
 </pre>  
   <li>This is the tricky part: on redhat_mips.img, you need to create an MS-DOS  
         (!) partition table, and then an ext2 partition. This is what Linux  
         will then see as /dev/sda1.  
         <p>I recommend you run fdisk and mke2fs and untar the archive from within  
         Debian/DECstation or <a href="#debiancats">Debian/CATS</a> running  
         inside the emulator. (Alternatively, if you are on a Linux host,  
         you could use a loopback mount, or similar. This might require  
         root access. See e.g.  
         <a href="http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux">http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux</a>.)  
         <p>  
         In order to actually boot the system you need to modify /etc/fstab.  
         Change<pre>  
         /dev/root               /               nfs     defaults        1 1  
         #/dev/sdc1              /               ext2    defaults        1 1  
         none                    /proc           proc    defaults        0 0  
         none                    /dev/pts        devpts  mode=0622       0 0  
   
 </pre>to<pre>  
         #/dev/root              /               nfs     defaults        1 1  
         /dev/sda1               /               ext2    defaults        1 1  
         none                    /proc           proc    defaults        0 0  
         none                    /dev/pts        devpts  mode=0622       0 0  
   
 </pre>(Note sda1 instead of sdc1.)  
 </ol>  
   
 <p>To boot Redhat linux from the disk image, use the following command line:<pre>  
         <b>gxemul -X -e3max -o "root=/dev/sda1 ro" -d redhat_mips.img vmlinux-2.4.31</b>  
   
 </pre>  
 If you need to boot into single user mode, change options to  
 <tt><b>-o "root=/dev/sda1 rw init=/bin/sh"</b></tt>.  
   
   
   
   
   
   
   
 <p><br>  
1956  <hr>  <hr>
1957    
1958    
# Line 1583  for DECstation in the emulator: Line 1986  for DECstation in the emulator:
1986    
1987  <p>  <p>
1988  <ol>  <ol>
   <li>Compile gxemul with cache emulation: (<b>NOTE: --enable-caches</b>)<pre>  
         <b>./configure --enable-caches; make</b>  
   
 </pre>  
1989    <li>Download the pmax binary distribution for Mach 3.0:<pre>    <li>Download the pmax binary distribution for Mach 3.0:<pre>
1990          <a href="http://lost-contact.mit.edu/afs/athena/user/d/a/daveg/Info/Links/Mach/src/release/pmax.tar.Z">http://lost-contact.mit.edu/afs/athena/user/d/a/</a>          <a href="http://lost-contact.mit.edu/afs/athena/user/d/a/daveg/Info/Links/Mach/src/release/pmax.tar.Z">http://lost-contact.mit.edu/afs/athena/user/d/a/</a>
1991              <a href="http://lost-contact.mit.edu/afs/athena/user/d/a/daveg/Info/Links/Mach/src/release/pmax.tar.Z">daveg/Info/Links/Mach/src/release/pmax.tar.Z</a>              <a href="http://lost-contact.mit.edu/afs/athena/user/d/a/daveg/Info/Links/Mach/src/release/pmax.tar.Z">daveg/Info/Links/Mach/src/release/pmax.tar.Z</a>
# Line 1615  for DECstation in the emulator: Line 2014  for DECstation in the emulator:
2014          cd /; sync; umount /mnt</i>)          cd /; sync; umount /mnt</i>)
2015          <p>          <p>
2016    <li>Start the emulator with the following command:<pre>    <li>Start the emulator with the following command:<pre>
2017          <b>gxemul -e 3max -X -d disk.img \          <b>gxemul -c 'put w 0x800990e0, 0' -c 'put w 0x80099144, 0' \
2018                -c 'put w 0x8004aae8, 0' -e 3max -X -d disk.img \
2019              pmax_mach/special/mach.boot.MK83.STD+ANY</b>              pmax_mach/special/mach.boot.MK83.STD+ANY</b>
2020    
2021  </pre>  </pre>
2022  </ol>  </ol>
2023    
2024    <p>Earlier versions of GXemul had a configure option to enable better
2025    R3000 cache emulation, but since Mach was more or less the only thing that
2026    used it, I removed it. Today's version of GXemul can thus not boot
2027    mach.boot.MK83.STD+ANY straight off, it has to be patched to skip the
2028    cache detection.
2029    
2030    <p>The -c commands above patch the kernel to get past the cache detection.
2031    Thanks to Artur Bujdoso for these values.
2032    
2033    <p>TODO: Better instructions on how to create the old-style UFS disk
2034    image.
2035    
2036    
2037    
2038    
2039    
2040    
2041    
2042    <p><br>
2043    <a name="declinuxredhat"></a>
2044    <h3>Redhat Linux for DECstation:</h3>
2045    
2046    
2047    <p>
2048    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
2049    <a href="20041129-redhat_mips.png"><img src="20041129-redhat_mips_small.png"></a>
2050    
2051    <p>
2052    The following steps should let you run Redhat Linux for DECstation in GXemul:
2053    
2054    <p>
2055    <ol>
2056      <li>Download a kernel. David Muse' Debian-install kernel works fine:<pre>
2057            <a href="http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31">http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31</a>
2058    
2059    </pre>
2060      <li>Download a root filesystem tree:<pre>
2061            <a href="ftp://ftp.linux-mips.org/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</a>
2062            19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414
2063    
2064    </pre>
2065      <li>Create a disk image which will contain the Redhat filesystem:<pre>
2066            <b>dd if=/dev/zero of=redhat_mips.img bs=1024 count=1 seek=2000000</b>
2067    
2068    </pre>
2069    <!--
2070    dd if=/dev/zero of=/dev/stdout bs=1024 count=200 >> mipsel-root-20011216.tgz
2071    gxemul -XY2 -e3max -d redhat_mips.img -d mipsel-root-20011216.tgz vmlinux-2.4.31
2072    In the three dialogs, choose English, United States, and Continue.
2073    Then choose Execute a shell.
2074    tar xfvz /dev/scsi/host0/bus0/target1/lun0/disc sbin/mke2fs sbin/fdisk
2075    fdisk
2076    -->
2077      <li>This is the tricky part: on redhat_mips.img, you need to create an MS-DOS
2078            (!) partition table, and then an ext2 partition. This is what Linux
2079            will then see as /dev/sda1.
2080            <p>I recommend you run fdisk and mke2fs and untar the archive from within
2081            Debian/DECstation or <a href="#debiancats">Debian/CATS</a> running
2082            inside the emulator. (Alternatively, if you are on a Linux host,
2083            you could use a loopback mount, or similar. This might require
2084            root access. See e.g.
2085            <a href="http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux">http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux</a>.)
2086            <p>
2087            In order to actually boot the system you need to modify /etc/fstab.
2088            Change<pre>
2089            /dev/root               /               nfs     defaults        1 1
2090            #/dev/sdc1              /               ext2    defaults        1 1
2091            none                    /proc           proc    defaults        0 0
2092            none                    /dev/pts        devpts  mode=0622       0 0
2093    
2094    </pre>to<pre>
2095            #/dev/root              /               nfs     defaults        1 1
2096            /dev/sda1               /               ext2    defaults        1 1
2097            none                    /proc           proc    defaults        0 0
2098            none                    /dev/pts        devpts  mode=0622       0 0
2099    
2100    </pre>(Note sda1 instead of sdc1.)
2101    </ol>
2102    
2103    <p>To boot Redhat linux from the disk image, use the following command line:<pre>
2104            <b>gxemul -X -e3max -o "root=/dev/sda1 ro" -d redhat_mips.img vmlinux-2.4.31</b>
2105    
2106    </pre>
2107    If you need to boot into single user mode, change options to
2108    <tt><b>-o "root=/dev/sda1 rw init=/bin/sh"</b></tt>.
2109    
2110    
2111    
2112    
2113    
2114    
2115    
# Line 1646  it works.</font> Line 2135  it works.</font>
2135  mailed Adaptec several times, asking for documentation, but never received  mailed Adaptec several times, asking for documentation, but never received
2136  any reply.) OpenBSD/sgi can still run in the emulator, as long as it doesn't  any reply.) OpenBSD/sgi can still run in the emulator, as long as it doesn't
2137  use SCSI. For a simple test with the ramdisk (install) kernel, try dowloading<pre>  use SCSI. For a simple test with the ramdisk (install) kernel, try dowloading<pre>
2138          <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/">ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi</a>/<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd">bsd.rd</a>          <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi</a>/<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rd">bsd.rd</a>
2139    
2140  </pre>and run <b><tt>gxemul -xeo2 bsd.rd</tt></b>.  </pre>and run <b><tt>gxemul -xeo2 bsd.rd</tt></b>.
2141    
# Line 1659  client. Performing this setup is quite t Line 2148  client. Performing this setup is quite t
2148  <ol>  <ol>
2149    <li>First of all, the "<tt>nfs server</tt>" machine must be set up.    <li>First of all, the "<tt>nfs server</tt>" machine must be set up.
2150          This needs to have a 800 MB <tt>/tftpboot</tt> partition.          This needs to have a 800 MB <tt>/tftpboot</tt> partition.
2151          <a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.0 from CDROM</a>.          <a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.1 from CDROM</a>.
2152          (Don't forget to add the extra partition!)          (Don't forget to add the extra partition!)
2153    <p>    <p>
2154    <li>Configure the nfs server machine to act as an nfs server.    <li>Configure the nfs server machine to act as an nfs server.
# Line 1688  reboot</b> Line 2177  reboot</b>
2177  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
2178  <b>cd /tftpboot; ftp -i ftp.se.openbsd.org</b>  <b>cd /tftpboot; ftp -i ftp.se.openbsd.org</b>
2179  (log in as anonymous...)  (log in as anonymous...)
2180  <b>cd pub/OpenBSD/3.9/sgi  <b>cd pub/OpenBSD/4.0/sgi
2181  mget b*tgz c*tgz e* g* m*  mget b*tgz c*tgz e* g* m*
2182  quit  quit
2183  sh  sh
# Line 1699  dd if=/dev/zero of=swap bs=1024 count=32 Line 2188  dd if=/dev/zero of=swap bs=1024 count=32
2188  halt</b>  halt</b>
2189  </pre></td></tr></table>  </pre></td></tr></table>
2190    <li>Download the OpenBSD/sgi GENERIC and RAMDISK kernels:<pre>    <li>Download the OpenBSD/sgi GENERIC and RAMDISK kernels:<pre>
2191          <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd">ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd</a>          <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd</a>
2192          <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd">ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd</a>          <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rd">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rd</a>
2193    
2194  </pre>  </pre>
2195    <li>Create a configuration file called <tt>config_client</tt>:    <li>Create a configuration file called <tt>config_client</tt>:
# Line 1710  halt</b> Line 2199  halt</b>
2199  !  !
2200  !  This config file is for the client.</font>  !  This config file is for the client.</font>
2201    
2202  <b>    net(  <b>net(
2203          add_remote("localhost:12444")   </b>! the server<b>          add_remote("localhost:12444")   </b>! the server<b>
2204          local_port(12445)               </b>! the client<b>          local_port(12445)               </b>! the client<b>
2205      )  )
2206    
2207      machine(  machine(
2208          name("client machine")          name("client machine")
2209          serial_nr(1)          serial_nr(1)
2210    
# Line 1724  halt</b> Line 2213  halt</b>
2213    
2214          </b>! load("bsd")<b>          </b>! load("bsd")<b>
2215          load("bsd.rd")          load("bsd.rd")
2216      )  )
2217  </b>  </b>
2218  </pre></td></tr></table>  </pre></td></tr></table>
2219          ... and another configuration file for the server,          ... and another configuration file for the server,
2220          <tt>config_server</tt>:          <tt>config_server</tt>:
2221  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
2222  <b>    net(  <b>net(
2223          local_port(12444)               </b>! the server<b>          local_port(12444)               </b>! the server<b>
2224          add_remote("localhost:12445")   </b>! the client<b>          add_remote("localhost:12445")   </b>! the client<b>
2225      )  )
2226    
2227      machine(  machine(
2228          name("nfs server")          name("nfs server")
2229          serial_nr(2)          serial_nr(2)
2230    
# Line 1743  halt</b> Line 2232  halt</b>
2232          subtype("5000/200")          subtype("5000/200")
2233    
2234          disk("nbsd_pmax.img")          disk("nbsd_pmax.img")
2235      )  )
2236  </b>  </b>
2237  </pre></td></tr></table>  </pre></td></tr></table>
2238    <li>Boot the "<tt>nfs server</tt>" and the OpenBSD/sgi    <li>Boot the "<tt>nfs server</tt>" and the OpenBSD/sgi
# Line 1939  fdisk and mke2fs, which are useful for c Line 2428  fdisk and mke2fs, which are useful for c
2428    
2429    
2430    
2431    <!--
2432  <p><br>  <p><br>
2433  <a name="linux_qemu_mips"></a>  <a name="linux_malta"></a>
2434  <h3>Linux/QEMU_MIPS:</h3>  <h3>Linux/Malta:</h3>
2435    
2436  I've added a semi-bogus machine mode which tries to  <p>The Malta emulation mode is best suited for running <a
2437  mimic the MIPS machine mode used in Fabrice Bellard's  href="#netbsdevbmipsinstall">NetBSD/evbmips</a>, however, it is possible
2438  <a href="http://fabrice.bellard.free.fr/qemu/">QEMU</a>.  to experiment with Linux/Malta as well.
2439    
2440    <p>The general idea behind Linux/Malta seems to be that the end user
2441    always compiles his/her own kernel, applies patches, downloads
2442    userland separately, etc. For that reason, Linux/Malta support in the
2443    emulator is not tested for every release (sometimes it works, sometimes it
2444    doesn't work), and these instructions are kind of "fuzzy".
2445    
2446  <p>Follow these steps to download and run the Linux/QEMU_MIPS test  <p><ol start="1">
2447  ramdisk kernel:    <li>Create an empty harddisk image, which will be the root disk
2448            that Linux/Malta will be installed onto:<pre>
2449            <b>dd if=/dev/zero of=linux.img bs=1024 count=1 seek=5000000</b>
2450    
2451  <p><ol>  </pre>
2452    <li>Download <a href="http://fabrice.bellard.free.fr/qemu/mips-test-0.1.tar.gz">mips-test-0.1.tar.gz</a>    <li>Download a MIPS root filesystem tree:<pre>
2453          from <a href="http://fabrice.bellard.free.fr/qemu/download.html">http://fabrice.bellard.free.fr/qemu/download.html</a>,          <a href="ftp://ftp.linux-mips.org/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</a>
2454          and extract its contents (<tt>tar zxvf mips-test-0.1.tar.gz</tt>).          19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414
2455    
2456    </pre>
2457            This is an old Redhat tree from 2001, but it seems to almost work.
2458    <p>    <p>
2459    <li>Test it in GXemul using the following command line:<pre>    <li>Download one precompiled Malta kernel, with ramdisk,
2460          <b>gxemul -E qemu_mips -o 'console=ttyS0 root=/dev/ram          and one without ramdisk (which will be used later on
2461                  rd_start=0x80800000 rd_size=10000000 init=/bin/sh'          when booting from disk):<pre>
2462                  0x80800000:mips-test/initrd mips-test/vmlinux-r1</b>          TODO
2463    
2464    </pre>
2465      <li>Start the emulator with the ramdisk kernel, create a MS-DOS style
2466            MBR on the disk, create the filesystem, and extract the
2467            userland files:<pre>
2468            <b>gunzip vmlinux_2.*
2469            gunzip mipsel-root-20011216.tar
2470            gxemul -xemalta -d linux.img -d mipsel-root-20011216.tar vmlinux_2.4.33.2-ide-pci-ramdisk.elf</b>
2471            Inside GXemul: Log in as root and execute the following commands:
2472            <b>fdisk /dev/hda</b>
2473            (enter suitable commands, e.g. <b>n, p, 1, 1, 9921, w</b>)
2474            <b>mkfs /dev/hda1
2475            mount /dev/hda1 /mnt
2476            cd /mnt; tar -xf /dev/hdb; cd ..
2477            umount /mnt; sync; reboot</b>
2478    
2479  </pre>  </pre>
2480  </ol>  </ol>
2481    
2482  <p><i>"QEMU is a FAST! processor emulator"</i> according to <a  <p>It should now be possible to boot from the disk image, using the
2483  href="http://fabrice.bellard.free.fr/qemu/qemu-doc.html">http://fabrice.bellard.free.fr/qemu/qemu-doc.html</a>.  following command:
 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:  
2484    
2485  <p><pre>  <p><pre>
2486          <b>while true; do ls -l > /dev/null; echo -n .; done</b>  <b>     gxemul -xemalta -d linux.img -o "root=/dev/hda1 rw" vmlinux_2.6.18-rc4-ide-pci-novty.elf</b>
2487          (80 x 36 dots)  </pre>
2488          QEMU 0.8.1:       13 min 48 sec  
2489          GXemul 20060711:   7 min 54 sec  <p>There's a slight problem with this specific Redhat tree, so when you
2490          GXemul 0.4.1:      4 min 59 sec  see the message "Configuring kernel parameters:  [  OK  ]", press CTRL-C
2491    once.
2492          <b>while true; do /usr/bin/md5sum /usr/bin/* > /dev/null; echo -n .; done</b>  -->
2493          (80 dots)  
2494          QEMU 0.8.1:        2 min  9 sec  
2495          GXemul 20060711:   8 min 49 sec  
2496          GXemul 0.4.1:      6 min 54 sec  
2497    
2498          <b>while true; do grep hej lib/libtextwrap.so.1 > /dev/null; echo -n .; done</b>  
2499          (80 dots)  <p><br>
2500          QEMU 0.8.1:       10 min  5 sec  <a name="linux_qemu_mips"></a>
2501          GXemul 20060711:   3 min  8 sec  <h3>Linux/QEMU_MIPS:</h3>
2502          GXemul 0.4.1:      1 min 42 sec  
2503  </pre>  I've added a machine mode which emulates the MIPS machine mode used
2504    in Fabrice Bellard's <a href="http://fabrice.bellard.free.fr/qemu/">QEMU</a>.
2505  <p>The commands were run inside the emulators, using the ramdisk kernel  Starting with QEMU 0.9.0, there are other MIPS modes in QEMU (i.e. Malta);
2506  mentioned above. (For GXemul, 2006-07-11 was the date when the QEMU_MIPS  the QEMU_MIPS mode in GXemul refers to the old QEMU-specific MIPS machine.
2507  mode was added. Performance has since gotten a bit better in general, for  
2508  non-R3000 MIPS emulation.)  <p>The following steps should let you boot into the Linux/QEMU_MIPS
2509    kernel, in way similar to the <tt>run-qemu</tt> script:
2510    
2511    <p>
2512    <ol>
2513      <li>Download the archive from
2514            <a href="http://fabrice.bellard.free.fr/qemu/download.html">http://fabrice.bellard.free.fr/qemu/download.html</a> and extract it:<pre>
2515            <b>wget <a href="http://fabrice.bellard.free.fr/qemu/mips-test-0.2.tar.gz">http://fabrice.bellard.free.fr/qemu/mips-test-0.2.tar.gz</a>
2516            tar zxvf mips-test-0.2.tar.gz</b>
2517    
2518    </pre>
2519      <li>Start GXemul using the following command line:<pre>
2520            <b>gxemul -E qemu_mips -x -M 128 -o 'console=ttyS0
2521                    rd_start=0x80800000 rd_size=10000000 init=/bin/sh'
2522                    0x80800000:mips-test/initrd.gz mips-test/vmlinux-2.6.18-3-qemu</b>
2523    
2524    </pre>
2525    </ol>
2526    
2527    
2528    
# Line 2014  such hardware well enough to fool Window Line 2542  such hardware well enough to fool Window
2542  that it is running on a real machine.  that it is running on a real machine.
2543  <font color="#ff0000">IT DOES <b>NOT</b> WORK YET!</font>  <font color="#ff0000">IT DOES <b>NOT</b> WORK YET!</font>
2544    
2545  <p>Something like this would be done to install  <p>Installation steps similar to these would be required to install
2546  Windows NT onto a disk image:  Windows NT onto a disk image:
2547    
2548  <ol>  <ol>
# Line 2028  Windows NT onto a disk image: Line 2556  Windows NT onto a disk image:
2556          <p>          <p>
2557          <li>Create an empty harddisk image, which will be the disk image          <li>Create an empty harddisk image, which will be the disk image
2558                  that you will install Windows NT onto:<pre>                  that you will install Windows NT onto:<pre>
2559          $ <b><tt>dd if=/dev/zero of=winnt_test.img bs=1024 count=1 seek=999000</tt></b>          <b><tt>dd if=/dev/zero of=winnt_test.img bs=1024 count=1 seek=999000</tt></b>
2560    
2561  </pre>  </pre>
2562          <li>Run the ARC installer, to partition the disk image:<pre>          <li>Run the ARC installer, to partition the disk image:<pre>
2563          $ <b><tt>gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\ARCINST</tt></b>          <b><tt>gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\ARCINST</tt></b>
2564  </pre>  </pre>
2565          Note that <tt>ARCINST</tt> <i>almost</i> works, but not quite.          Note that <tt>ARCINST</tt> <i>almost</i> works, but not quite.
2566          <p>          <p>
2567          <li>Run the SETUP program:<pre>          <li>Run the SETUP program:<pre>
2568          $ <b><tt>gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\SETUPLDR</tt></b>          <b><tt>gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\SETUPLDR</tt></b>
2569  </pre>  </pre>
2570  </ol>  </ol>
2571    
# Line 2050  but then it crashes because of incomplet Line 2578  but then it crashes because of incomplet
2578    
2579    
2580    
 <p><br>  
 <a name="netbsdnetwinderinstall"></a>  
 <h3>NetBSD/netwinder:</h3>  
2581    
2582  <a href="http://www.netbsd.org/Ports/netwinder/">NetBSD/netwinder</a>  <p><br>
2583  could possibly run in GXemul.  <a name="netbsdbeboxinstall"></a>
2584  <font color="#ff0000">IT DOES <b>NOT</b> WORK YET!</font>  <h3>NetBSD/bebox:</h3>
2585    
2586  <p>It is tricky to install, because there is (as far as I know) no INSTALL  There is an old snapshot of
2587  kernel. One way to install the NetBSD/netwinder distribution onto a disk  <a href="http://www.netbsd.org/ports/bebox/">NetBSD/bebox</a>
2588  image is to install the files using another (emulated) machine.  from 1998-11-19 available at NetBSD's ftp server. NetBSD/bebox
2589    could theoretically run in GXemul.
2590    <font color="#ff0000">IT DOES <b>NOT</b> WORK RIGHT NOW!</font>
2591    
2592  <p>  <p>The following instructions will let you install NetBSD/bebox onto a
2593  The following instructions will let you install the NetBSD/netwinder  disk image, using a NetBSD/prep kernel temporarily during the install:
 distribution onto a disk image, from an emulated DECstation 3MAX machine:  
2594    
2595  <p>  <p>
2596  <ol>  <ol>
2597    <li>Install NetBSD/pmax 3.0 according to instructions    <li>Download a NetBSD/prep 2.1 install ramdisk kernel:<pre>
2598          <a href="#netbsdpmaxinstall">further up on this page</a>.          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/prep/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/prep/binary/kernel/netbsd-INSTALL.gz</a>
2599    </pre>
2600    <p>    <p>
2601    <li>Create an empty harddisk image, which will be the disk image    <li>Create an empty harddisk image, which will be the disk image
2602          that you will install NetBSD onto:<pre>          that you will install NetBSD onto:<pre>
2603          <b>dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000</b>          <b>dd if=/dev/zero of=nbsd_bebox.img bs=1024 count=1 seek=999000</b>
   
 </pre>  
   <li>Download the generic kernel and the 2.1 ISO image:<pre>  
         <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/netwinder/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/netwinder/binary/kernel/netbsd-GENERIC.gz</a>  
         <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/netwindercd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/netwindercd.iso</a>  
   
2604  </pre>  </pre>
2605    <p>    <p>
2606    <li>Start NetBSD/pmax like this:<pre>    <li>Download the NetBSD/bebox snapshot, and create a suitable .iso
2607          <b>gxemul -e 3max -d nbsd_pmax.img -d nbsd_netwinder.img -d netwinder.iso</b>          image of the files:
2608    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
2609    <b>wget -np -l 0 -r <a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119/">ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119/</a>
2610    mv ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119/kern.tgz .
2611    tar zxvf kern.tgz
2612    rm -f kern.tgz
2613    mkisofs -o netbsd-bebox-19981119.iso ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119</b>
2614    </pre></td></tr></table>
2615      <p>
2616      <li>Now let's extract the files onto the Bebox disk image. Start NetBSD/prep
2617            with the following command line:<pre>
2618            <b>gxemul -x -e ibm6050 -d d:netbsd-bebox-19981119.iso -d nbsd_bebox.img netbsd-INSTALL.gz</b>
2619    
2620  </pre>and execute the following commands as <tt>root</tt>:  </pre>Choose (S) for Shell, and execute the following commands:
2621  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
2622  <b>newfs /dev/sd1c  <b>disklabel -I -i wd1
2623  mount /dev/cd0c /mnt  a
2624  mkdir /mnt2; mount /dev/sd1c /mnt2  4.2BSD
2625  cd /mnt2; sh  1c
2626  for a in /mnt/netwinder/binary/sets/*.tgz; do echo $a; tar zxfp $a; done  750M
2627  exit  b
2628    swap
2629    a
2630    200M
2631    W
2632    y
2633    Q
2634    newfs /dev/wd1a
2635    mount_cd9660 /dev/wd0c /mnt
2636    mount /dev/wd1a /mnt2
2637    cd mnt2
2638    for a in /mnt/*.tgz; do echo $a; tar zxfp $a; done
2639  cd dev; sh ./MAKEDEV all; cd ../etc  cd dev; sh ./MAKEDEV all; cd ../etc
2640  echo rc_configured=YES >> rc.conf  echo rc_configured=YES &gt;&gt; rc.conf
2641  echo "/dev/wd0c / ffs rw 1 1" > fstab  echo "/dev/wd0a / ffs rw 1 1" &gt; fstab
2642  cd /; umount /mnt; umount /mnt2; halt</b>  echo "/dev/wd0b none swap sw 0 0" &gt;&gt; fstab
2643    cd /; umount /mnt; umount /mnt2
2644    sync; halt</b>
2645  </pre></td></tr></table>  </pre></td></tr></table>
2646  </ol>  </ol>
2647    
2648  <p>NetBSD/netwinder is now installed on the disk image. But actually  <p>You should now be able to boot NetBSD/bebox using this command:<pre>
2649  running it does <b>not work yet</b>. Sorry.          <b>gxemul -X -E bebox -d nbsd_bebox.img netbsd</b>
   
 <p>Something like the following command line would be used to start  
 NetBSD, if it worked:<pre>  
         <b>gxemul -E netwinder -d nbsd_netwinder.img netbsd-GENERIC.gz</b>  
2650  </pre>  </pre>
2651    
2652  <p>Note: The installation instructions above create a filesystem  <p>When asked for the root device, enter <b><tt>wd0a</tt></b>.
2653  <i>without</i> a disklabel, so there is only one ffs partition and no  
2654  swap. You will need to enter the following things when booting with the  <p><font color="#ff0000">IT DOES <b>NOT</b> WORK YET</font>, there are
2655  generic kernel:<pre>  errors while uncompressing the tgz files, and the machine crashes when
2656          root device (default wd0a): <b>wd0c</b>  trying to run /sbin/init.
2657          dump device (default wd0b): <b>none</b>  
2658          file system (default generic):    <i>(just press enter)</i>  
         init path (default /sbin/init):   <i>(just press enter)</i>  
 </pre>  
2659    
2660    
2661    
# Line 2126  generic kernel:<pre> Line 2665  generic kernel:<pre>
2665    
2666    
2667  <p><br>  <p><br>
2668  <a name="netbsdmacppcinstall"></a>  <a name="netbsdlandiskinstall"></a>
2669  <h3>NetBSD/macppc:</h3>  <h3>NetBSD/landisk:</h3>
2670    
2671  It is <font color="#ff0000"><b>ALMOST</b></font> possible to install and run  <a href="http://www.netbsd.org/ports/landisk/">NetBSD/landisk</a> can
2672  <a href="http://www.netbsd.org/Ports/macppc/">NetBSD/macppc</a> in GXemul  run in GXemul.
 on an emulated generic PowerPC machine. No specific Machintosh model  
 is emulated, but it is enough to for NetBSD to recognize it.  
2673    
2674  <p>To install NetBSD/macppc onto a disk image, follow these instructions:  <p><font color="#ff0000">NOTE: This is still too
2675    unstable to be considered really working! Snapshots from April 2007
2676    or so will probably not work, unless an #if 0 is changed to
2677    #if 1 in the implementation of the 'LDC Rm,SR' instruction
2678    (in src/cpus/cpu_sh_instr.c).</font>
2679    
2680  <p>  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
2681  <ol start="1">  <a href="20070224-netbsd-landisk.png"><img src="20070224-netbsd-landisk_small.png"></a>
   <li>Create an empty harddisk image, which will be the root disk  
         that you will install NetBSD/macppc onto:<pre>  
     <b>dd if=/dev/zero of=nbsd_macppc.img bs=1024 count=1 seek=2000000</b>  
2682    
2683    <p>At the time of writing this, there are not yet any formal releases
2684    of NetBSD/landisk, only daily snapshot builds.
2685    
2686    <p>The NetBSD/landisk distribution does not include any INSTALL kernel,
2687    so it must be installed using another (emulated) machine.
2688    
2689    <p>The following instructions will let you install NetBSD/landisk onto a disk
2690    image, using an emulated CATS machine:
2691    
2692    <p>
2693    <ol>
2694      <li>Download a NetBSD/cats install kernel:<pre>
2695            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz</a>
2696  </pre>  </pre>
2697    <li>Download the NetBSD/macppc 3.0 ISO image and a generic kernel:<pre>    <p>
2698      <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/macppccd-3.0.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/macppccd-3.0.iso</a>    <li>Create an empty harddisk image, which will be the disk image
2699      <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/macppc/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/macppc/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/macppc/binary/kernel/netbsd-GENERIC.MP.gz">netbsd-GENERIC.MP.gz</a>          that you will install NetBSD/landisk onto:<pre>
2700            <b>dd if=/dev/zero of=nbsd_landisk.img bs=1024 count=1 seek=900000</b>
2701    
2702  </pre>  </pre>
2703    <p>    <p>
2704    <li>Start the installation like this:<pre>    <li>Download the latest netbsd-4 (pre-release) snapshot, and make an iso image
2705      <b>gxemul -x -e g4 -d nbsd_macppc.img -d b:macppccd-3.0.iso -j macppc/binary/kernel/netbsd-INSTALL.gz</b>          of it: (replace 200704110002Z with whatever is the latest one)<pre>
2706            <b>wget -np -l 0 -r <a href="ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/">ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/</a>200704110002Z/landisk
2707            mkisofs -U -o landisk.iso ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/*</b>
2708    </pre>
2709    
2710      <p>
2711      <li>Start the emulated CATS machine like this:<pre>
2712            <b>gxemul -XEcats -d nbsd_landisk.img -d landisk.iso netbsd.aout-INSTALL.gz</b>
2713    
2714  </pre>  </pre>
2715      <li>Exit the installer, then execute the following commands:
2716    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
2717    <b>disklabel -i -I wd0</b>    (for example 'a', '4.2BSD', '1c',
2718        '700M', 'b', 'swap', '701M', '$', 'P', 'W', 'y', and 'Q')
2719    <b>newfs /dev/wd0a
2720    mount /dev/cd0c /mnt
2721    mkdir /mnt2; mount /dev/wd0a /mnt2
2722    cd /mnt2; sh
2723    for a in /mnt/*/binary/sets/[bcekmt]*.tgz; do echo $a; tar zxfp $a; done
2724    exit
2725    cd dev; sh ./MAKEDEV all; cd ../etc
2726    echo rc_configured=YES >> rc.conf
2727    echo "/dev/wd0a / ffs rw 1 1" > fstab
2728    echo "/dev/wd0b none swap sw 0 0" >> fstab
2729    cd /; umount /mnt; umount /mnt2; halt</b>
2730    </pre></td></tr></table>
2731  </ol>  </ol>
2732    
2733  <p>If everything worked, NetBSD/macppc should now be installed on the disk image.  <p>You should now be able to boot NetBSD/landisk using this command:<pre>
2734            <b>gxemul -x -E landisk -d nbsd_landisk.img netbsd-GENERIC.gz</b>
2735    </pre>
2736    
 <p><font color="#ff0000"><b>2006-02-26:</b></font> That's it. The installation  
 succeeds, but it is not possible to start from the newly installed disk.  
 /sbin/init dies, so the following command doesn't really work yet:  
2737    
 <p>Use the following command line to boot the emulated machine:<pre>  
         <b>gxemul -x -e g4 -d nbsd_macppc.img netbsd-GENERIC.MP.gz</b>  
   
 </pre>  
2738    
2739    
2740    

Legend:
Removed from v.28  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26