Diff for /wikisrc/ports/news68kfaq.mdwn between versions 1.1 and 1.2

version 1.1, 2012/12/25 17:23:40 version 1.2, 2014/01/17 14:57:50
Line 1 Line 1
 ### General Questions  [[!meta title="NetBSD/news68k Frequently Asked Questions"]]
   
 -   [How can I set up a serial console?](#serial_console)  [[!toc startlevel=1 levels=2]]
 -   [My NEWS does not print anything to console!](#dead_nvram)  
 -   [How should I set the DIP switches?](#dip_sw)  
 -   [How can I turn off the machine other than by unplugging the  
     cable?](#power_off)  
 -   [NetBSD/news68k install floppy does not boot](#bootfd)  
 -   [Kernel prints "level 3 interrupt:" forever after boot with power  
     cycle](#level_3_int)  
 -   [Can I install both NetBSD and NEWS-OS in the same  
     disk?](#coexist_news_os)  
   
 ### PROM monitor Questions  
   
 -   [What commands can I use at the PROM prompt?](#prom_command)  
 -   [Can NetBSD/news68k boot via network?](#netboot)  
   
 ### Hardware Questions  
   
 -   [What are the specs of my NEWS?](#spec)  
 -   [Which type of SIMM can be used for my NEWS?](#memory)  
 -   [Is there any hope to support NWS-18x0 models?](#news1800)  
 -   [How about NWS-8xx and NWS-7xx models?](#news800)  
   
 ### Other sources of information  
   
 -   [Other sources of information from NetBSD.org](#other_info_nbsd)  
   
 * * * * *  * * * * *
   
 ### General Questions  # General Questions
   
 #### How can I set up a serial console? ([top](#general))  ## How can I set up a serial console?
   
 First, turn off DIP switches 1-3 to specify to use serial console for  First, turn off DIP switches 1-3 to specify to use serial console for
 the PROM monitor. (See [DIP switch descriptions](#dip_sw) for details)  the PROM monitor. (See [DIP switch descriptions](#dip_sw) for details)
Line 46  news1200 uses female 9P D-sub connectors Line 21  news1200 uses female 9P D-sub connectors
 with PCs, though they have male 9P connectors.  with PCs, though they have male 9P connectors.
   
 See the [NetBSD Serial Port  See the [NetBSD Serial Port
 Primer](../../docs/Hardware/Misc/serial.html) for more information.  Primer](http://www.NetBSD.org/docs/Hardware/Misc/serial.html)
   for more information.
   
 #### My NEWS does not print anything to console! ([top](#general))  ## My NEWS does not print anything to console!
   
 The NEWS machines use the MK48T02 NVRAM chip, which is also used in the  The NEWS machines use the MK48T02 NVRAM chip, which is also used in the
 SPARCstation machines. If the NVRAM battery is dead, the machine won't  SPARCstation machines. If the NVRAM battery is dead, the machine won't
Line 76  lots of useful information about the chi Line 52  lots of useful information about the chi
 [attach a new battery onto the  [attach a new battery onto the
 NVRAM](http://www.squirrel.com/squirrel/sun-nvram-hostid.faq.html#attach),  NVRAM](http://www.squirrel.com/squirrel/sun-nvram-hostid.faq.html#attach),
 but on some NEWS models the NVRAM might be soldered to the mainboard  but on some NEWS models the NVRAM might be soldered to the mainboard
 without a socket `:-(`{.code}  without a socket :-(
   
 #### How should I set the DIP switches? ([top](#general))  ## How should I set the DIP switches?
 news68k machines have one block of 8 dip switches:  news68k machines have one block of 8 dip switches:
 <a name="console_settings"></a><p class="title"><b>Table 1. </b></p>  
 <div class="table-contents">  
 <table border="1">  
 <colgroup><col></colgroup>  
 <thead><tr>  
 <th>Switch 1,2,3</th>  
 <th>console settings</th>  
 </tr></thead>  
 <tbody>  
 <tr>  
 <td><code class="code">OFF,OFF,OFF</code></td>  
 <td>ANSI terminals (i.e., serial console)</td>  
 </tr>  
 <tr>  
 <td><code class="code">OFF,OFF,ON </code></td>  
 <td>NWB-512 monochrome bitmap console</td>  
 </tr>  
 <tr>  
 <td><code class="code">ON ,OFF,OFF</code></td>  
 <td>NWB-225A color bitmap console</td>  
 </tr>  
 <tr>  
 <td><code class="code">ON ,ON ,ON </code></td>  
 <td>newer framebuffers which support autoselection functions  
      (NWS-251, NWB-514, etc.)</td>  
 </tr>  
 </tbody>  
 </table>  
 </div>  
 </div>  
 <br class="table-break">  
   
 <div class="table">  
 <a name="boot_device"></a><p class="title"><b>Table 2. </b></p>  
 <div class="table-contents">  
 <table border="1">  
 <colgroup><col></colgroup>  
 <thead><tr>  
 <th>Switch 4</th>  
 <th>boot device</th>  
 </tr></thead>  
 <tbody>  
 <tr>  
 <td><code class="code">OFF</code></td>  
 <td>boot from SCSI disk: <code class="code">hd()</code>  
 </td>  
 </tr>  
 <tr>  
 <td><code class="code">ON</code></td>  
 <td>boot from floppy disk: <code class="code">fh()</code>  
 </td>  
 </tr>  
 </tbody>  
 </table>  
 </div>  
 </div>  
 <br class="table-break">  
   
 <div class="table">  
 <a name="autoboot"></a><p class="title"><b>Table 3. </b></p>  
 <div class="table-contents">  
 <table border="1">  
 <colgroup><col></colgroup>  
 <thead><tr>  
 <th>Switch 5</th>  
 <th>autoboot</th>  
 </tr></thead>  
 <tbody>  
 <tr>  
 <td><code class="code">OFF</code></td>  
 <td>PROM monitor</td>  
 </tr>  
 <tr>  
 <td><code class="code">ON</code></td>  
 <td>auto boot</td>  
 </tr>  
 </tbody>  
 </table>  
 </div>  
 </div>  
 <br class="table-break">  
   
 <div class="table">  
 <a name="diagnostic"></a><p class="title"><b>Table 4. </b></p>  
 <div class="table-contents">  
 <table border="1">  
 <colgroup><col></colgroup>  
 <thead><tr>  
 <th>Switch 6</th>  
 <th>diagnostic (?)</th>  
 </tr></thead>  
 <tbody>  
 <tr>  
 <td><code class="code">OFF</code></td>  
 <td>Diag off (default)</td>  
 </tr>  
 <tr>  
 <td><code class="code">ON</code></td>  
 <td>Diag on</td>  
 </tr>  
 </tbody>  
 </table>  
 </div>  
 </div>  
 <br class="table-break">  
   
 <div class="table">  
 <a name="unused"></a><p class="title"><b>Table 5. </b></p>  
 <div class="table-contents">  
 <table border="1">  
 <colgroup><col></colgroup>  
 <thead><tr>  
 <th>Switch 7,8</th>  
 <th>unused</th>  
 </tr></thead>  
 <tbody><tr><td>default off</td></tr></tbody>  
 </table>  
 </div>  
 </div>  
   
 #### How can I turn off the machine other than by unplugging the cable? ([top](#general))  ### Table 1
   [[!table data="""
   Switch 1,2,3    |console settings
   OFF,OFF,OFF     |ANSI terminals (i.e., serial console)
   OFF,OFF,ON      |NWB-512 monochrome bitmap console
   ON ,OFF,OFF     |NWB-225A color bitmap console
   ON ,ON ,ON      |newer framebuffers which support autoselection functions (NWS-251, NWB-514, etc.)
   """]]
   
   ### Table 2
   [[!table data="""
   Switch 4        |boot device
   OFF             |boot from SCSI disk: `hd()`
   ON              |boot from floppy disk: `fh()`
   """]]
   
   ### Table 3
   [[!table data="""
   Switch 5        |autoboot
   OFF             |PROM monitor
   ON              |auto boot
   """]]
   
   ### Table 4
   [[!table data="""
   Switch 6        |diagnostic (?)
   OFF             |Diag off (default)
   ON              |Diag on
   """]]
   
   # Table 5
   [[!table data="""
   witch 7,8       |unused
   default off     |
   """]]
   
   ## How can I turn off the machine other than by unplugging the cable?
   
 Just press the RESET button (without POWER), or use the `"off"`{.code}  Just press the RESET button (without POWER), or use the `"off"`
 command on the PROM prompt.  command on the PROM prompt.
   
 #### NetBSD/news68k install floppy does not boot ([top](#general))  ## NetBSD/news68k install floppy does not boot
   
 There are some reports that some news1500 machines cannot boot the  There are some reports that some news1500 machines cannot boot the
 install floppy because of read errors. It might be caused by a bug in  install floppy because of read errors. It might be caused by a bug in
 the PROM monitor or boot loader, but could be actual media errors. Try  the PROM monitor or boot loader, but could be actual media errors. Try
 cleaning up your drive and booting several times with several disks.  cleaning up your drive and booting several times with several disks.
   
 #### Kernel prints `"level 3 interrupt:"`{.code} forever after boot with power cycle ([top](#general))  ## Kernel prints `"level 3 interrupt:"` forever after boot with power cycle
   
 Some old versions of PROM monitors do not initialize framebuffers in  Some old versions of PROM monitors do not initialize framebuffers in
 expansion slots properly when serial console is specified, which leads  expansion slots properly when serial console is specified, which leads
Line 222  The workaround is to reset the machine ( Line 115  The workaround is to reset the machine (
 mentioned above) with bitmap console settings once, and then reset again  mentioned above) with bitmap console settings once, and then reset again
 with serial console.  with serial console.
   
 #### Can I install both NetBSD and NEWS-OS in the same disk? ([top](#general))  ## Can I install both NetBSD and NEWS-OS in the same disk?
   
 It is not well tested and not recommended, but yes, it is possible.  It is not well tested and not recommended, but yes, it is possible.
   
Line 232  them. It is recommended to install each  Line 125  them. It is recommended to install each 
   
 * * * * *  * * * * *
   
 ### PROM monitor Questions  # PROM monitor Questions
 <a name="prom_command"></a>What commands can I use at the PROM prompt? (<a href="#prom_questions">top</a>)  
   </h4>  ## What commands can I use at the PROM prompt?
 <p>  
 The <code class="code">help</code> command will show all the commands.  The `help` command will show all the commands. On a NWS-1750 it says:
 On a NWS-1750 it says:</p>  
 <pre class="programlisting">  [[!template id=programlisting text="""
 NEWS&gt; help  NEWS> help
 bf [.{b|w|l}] &lt;bgn&gt; {&lt;end&gt;|:&lt;cnt&gt;} &lt;data&gt;               : Block Fill  bf [.{b|w|l}] <bgn> {<end>|:<cnt>} <data>               : Block Fill
 bm &lt;bgn&gt; {&lt;end&gt;|:&lt;cnt&gt;} &lt;dest&gt;                          : Block Move  bm <bgn> {<end>|:<cnt>} <dest>                          : Block Move
 bo [&lt;dev&gt;]                                              : BOot  bo [<dev>]                                              : BOot
 bp [&lt;addr&gt; [:&lt;cnt&gt;]] ...                                : BreakPoint set  bp [<addr> [:<cnt>]] ...                                : BreakPoint set
 cp &lt;src_dev&gt; &lt;bgn&gt;:&lt;cnt&gt; &lt;dst_dev&gt; &lt;dest&gt;               : CoPy  cp <src_dev> <bgn>:<cnt> <dst_dev> <dest>               : CoPy
 format {fd|fh}                                          : FORMAT floppy  format {fd|fh}                                          : FORMAT floppy
 go [&lt;addr&gt; [&lt;bkpt&gt; [:&lt;cnt&gt;]]]                           : GO to user program  go [<addr> [<bkpt> [:<cnt>]]]                           : GO to user program
 help                                                    : display this  help                                                    : display this
 md [.{b|w|l}] [&lt;bgn&gt; [{&lt;end&gt;|:&lt;cnt&gt;}]]                  : Memory Display  md [.{b|w|l}] [<bgn> [{<end>|:<cnt>}]]                  : Memory Display
 ms [.{b|w|l}] [&lt;addr&gt; [&lt;data&gt;]]                         : Memory Set  ms [.{b|w|l}] [<addr> [<data>]]                         : Memory Set
 mu                                                      : Memory Usage  mu                                                      : Memory Usage
 nobp [&lt;addr&gt;] ...                                       : NO BreakPoint  nobp [<addr>] ...                                       : NO BreakPoint
 off                                                     : turn power OFF  off                                                     : turn power OFF
 rc                                                      : Re-assign Console  rc                                                      : Re-assign Console
 rd [{dreg|areg|preg|creg|mreg}] ...                     : Register Display  rd [{dreg|areg|preg|creg|mreg}] ...                     : Register Display
 rr                                                      : Register Reset  rr                                                      : Register Reset
 rs [&lt;reg&gt; [&lt;data&gt;]]                                     : Register Set  rs [<reg> [<data>]]                                     : Register Set
 set [&lt;var&gt;[=&lt;value&gt;]]                                   : SET variable  set [<var>[=<value>]]                                   : SET variable
 st [:&lt;cnt&gt;]                                             : Stack back Trace  st [:<cnt>]                                             : Stack back Trace
 tr [:&lt;cnt&gt;] [branch] [{dreg|areg|preg|creg|mreg}]       : instruction TRace  tr [:<cnt>] [branch] [{dreg|areg|preg|creg|mreg}]       : instruction TRace
 vers                                                    : VERSion number  vers                                                    : VERSion number
 NEWS&gt;  NEWS>
 </pre>  """]]
 <p>  
 Other machines might print these messages differently,   Other machines might print these messages differently, but they should be mostly the same.
 but they should be mostly the same.  
 </p>  For the boot command, you can specify the following options:
 <p>  
 For the boot command, you can specify the following options:</p>  
 <div class="table">  
 <a name="boot_options"></a><p class="title"><b>Table 6. </b></p>  
 <div class="table-contents">  
 <table border="1">  
 <colgroup><col></colgroup>  
 <tbody>  
 <tr>  
 <td><code class="code">bo</code></td>  
 <td>boot from default device (usually <code class="code">sd0</code>)</td>  
 </tr>  
 <tr>  
 <td><code class="code">bo /1</code></td>  
 <td>boot with <code class="code">RB_ASKNAME</code>  
  (i.e., ask for root device before mountroot)</td>  
 </tr>  
 <tr>  
 <td><code class="code">bo /2</code></td>  
 <td>boot with <code class="code">RB_SINGLE</code>  
  (i.e., go to single-user mode)</td>  
 </tr>  
 <tr>  
 <td><code class="code">bo fh()</code></td>  
 <td>boot from 1.44M floppy</td>  
 </tr>  
 <tr>  
 <td><code class="code">bo hd(1)</code></td>  
 <td>boot from SCSI disk with ID 1</td>  
 </tr>  
 <tr>  
 <td><code class="code">bo /2 hd()/netbsd.0 </code></td>  
 <td>boot <code class="code">"netbsd.0"</code> on <code class="code">sd0</code> in single-user mode</td>  
 </tr>  
 </tbody>  
 </table>  
 </div>  
 </div>  
   
 #### Can NetBSD/news68k boot via network? ([top](#prom_questions))  ### Table 6
   [[!table header="no" data="""
   bo                      |boot from default device (usually sd0)
   bo /1                   |boot with RB_ASKNAME (i.e., ask for root device before mountroot)
   bo /2                   |boot with RB_SINGLE (i.e., go to single-user mode)
   bo fh()                 |boot from 1.44M floppy
   bo hd(1)                |boot from SCSI disk with ID 1
   bo /2 hd()/netbsd.0     |boot "netbsd.0" on sd0 in single-user mode
   """]]
   
   ## Can NetBSD/news68k boot via network?
   
 No, not yet.  No, not yet.
   
Line 314  The PROM monitor of news68k machines use Line 179  The PROM monitor of news68k machines use
 diskless boot, but it is only supported by NEWS-OS and there is no  diskless boot, but it is only supported by NEWS-OS and there is no
 documentation about it.  documentation about it.
   
 `rd_rpc.h`{.code} or `rd_srq.h`{.code} in NEWS-OS might be helpful, but  `rd_rpc.h` or `rd_srq.h` in NEWS-OS might be helpful, but
 currently no one is working on it.  currently no one is working on it.
   
 * * * * *  * * * * *
   
 ### Hardware Questions  # Hardware Questions
   
 #### What are the specs of my NEWS? ([top](#hardware_questions))  ## What are the specs of my NEWS?
   
 See this [page of SONY NEWS  See this [page of SONY NEWS
 specifications](http://katsu.watanabe.name/doc/sonynews/model.html). It  specifications](http://katsu.watanabe.name/doc/sonynews/model.html). It
 is written in Japanese, but still has lots of good information for  is written in Japanese, but still has lots of good information for
 non-Japanese readers.  non-Japanese readers.
   
 #### Which type of SIMM can be used for my NEWS? ([top](#hardware_questions))  ## Which type of SIMM can be used for my NEWS?
   
 For news1600/1700 machines, 30pin 1M SIMMs with 9 chips can be used to  For news1600/1700 machines, 30pin 1M SIMMs with 9 chips can be used to
 upgrade to 16M bytes. SIMMs with 3 chips or SIMMs without parity cannot  upgrade to 16M bytes. SIMMs with 3 chips or SIMMs without parity cannot
Line 339  For news1400/1500 machines, 30pin 1M SIM Line 204  For news1400/1500 machines, 30pin 1M SIM
 (these machines don't use the parity bit). SIMMs with 2 or 3 chips  (these machines don't use the parity bit). SIMMs with 2 or 3 chips
 cannot be used.  cannot be used.
   
 #### Is there any hope to support NWS-18x0 models? ([top](#hardware_questions))  ## Is there any hope to support NWS-18x0 models?
   
 Unfortunately, there are many barriers to supporting news1800 machines.  Unfortunately, there are many barriers to supporting news1800 machines.
 news1800 models have dual 68030 CPUs. One is a main processor, and  news1800 models have dual 68030 CPUs. One is a main processor, and
Line 354  problems with source license issues, and Line 219  problems with source license issues, and
 in Sony had already been dissolved, so no one could resolve the issues  in Sony had already been dissolved, so no one could resolve the issues
 officially.  officially.
   
 #### How about NWS-8xx and NWS-7xx models? ([top](#hardware_questions))  ## How about NWS-8xx and NWS-7xx models?
   
 The one problem is that news800 models also use an I/O processor, which  The one problem is that news800 models also use an I/O processor, which
 is mentioned in the above entry. Another problem is that news800 uses  is mentioned in the above entry. Another problem is that news800 uses
Line 364  either. Line 229  either.
   
 * * * * *  * * * * *
   
 ### Other sources of information  # Other sources of information
   
 #### Other sources of information from NetBSD.org ([top](#other_info))  ## Other sources of information from NetBSD.org
   
 -   [NetBSD/news68k 6.0 install  -   [NetBSD/news68k 6.0 install
     notes](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-6.0/news68k/INSTALL.html)      notes](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-6.0/news68k/INSTALL.html) - supported hardware and how to install.
     - supported hardware and how to install.  
   
 -   [port-news68k mail list](../../mailinglists/#port-news68k)  -   [port-news68k mail list](../../mailinglists/#port-news68k)
     ([archive](http://mail-index.NetBSD.org/port-news68k/)) - if you      ([archive](http://mail-index.NetBSD.org/port-news68k/)) - if you
     have any additional questions please subscribe.      have any additional questions please subscribe.
   
 -   [History of NEWS machines](../newsmips/history.html) - A brief  -   [History of NEWS machines](http://www.NetBSD.org/ports/newsmips/history.html) - A brief
     history of machines running NetBSD/newsmips and NetBSD/news68k.      history of machines running NetBSD/newsmips and NetBSD/news68k.
   
 -   [NetBSD Serial Port Primer](../../docs/Hardware/Misc/serial.html)  -   [NetBSD Serial Port Primer](http://www.NetBSD.org/docs/Hardware/Misc/serial.html)
   
   -   [General NetBSD Documentation](http://www.NetBSD.org/docs/) - for questions not specific to NetBSD/news68k.

Removed from v.1.1  
changed lines
  Added in v.1.2


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb