Annotation of wikisrc/ports/news68kfaq.mdwn, revision 1.1

1.1     ! mspo        1: ### General Questions
        !             2: 
        !             3: -   [How can I set up a serial console?](#serial_console)
        !             4: -   [My NEWS does not print anything to console!](#dead_nvram)
        !             5: -   [How should I set the DIP switches?](#dip_sw)
        !             6: -   [How can I turn off the machine other than by unplugging the
        !             7:     cable?](#power_off)
        !             8: -   [NetBSD/news68k install floppy does not boot](#bootfd)
        !             9: -   [Kernel prints "level 3 interrupt:" forever after boot with power
        !            10:     cycle](#level_3_int)
        !            11: -   [Can I install both NetBSD and NEWS-OS in the same
        !            12:     disk?](#coexist_news_os)
        !            13: 
        !            14: ### PROM monitor Questions
        !            15: 
        !            16: -   [What commands can I use at the PROM prompt?](#prom_command)
        !            17: -   [Can NetBSD/news68k boot via network?](#netboot)
        !            18: 
        !            19: ### Hardware Questions
        !            20: 
        !            21: -   [What are the specs of my NEWS?](#spec)
        !            22: -   [Which type of SIMM can be used for my NEWS?](#memory)
        !            23: -   [Is there any hope to support NWS-18x0 models?](#news1800)
        !            24: -   [How about NWS-8xx and NWS-7xx models?](#news800)
        !            25: 
        !            26: ### Other sources of information
        !            27: 
        !            28: -   [Other sources of information from NetBSD.org](#other_info_nbsd)
        !            29: 
        !            30: * * * * *
        !            31: 
        !            32: ### General Questions
        !            33: 
        !            34: #### How can I set up a serial console? ([top](#general))
        !            35: 
        !            36: First, turn off DIP switches 1-3 to specify to use serial console for
        !            37: the PROM monitor. (See [DIP switch descriptions](#dip_sw) for details)
        !            38: 
        !            39: The NEWS machines use CH0 port for serial console, with 9600bps, 8 bit
        !            40: char, no parity and 1 stop bit.
        !            41: 
        !            42: Serial ports of news1400/1500/1600/1700 use ordinary 25P D-sub
        !            43: connectors, so you just need a null modem cable.
        !            44: 
        !            45: news1200 uses female 9P D-sub connectors. It has the same pin layout
        !            46: with PCs, though they have male 9P connectors.
        !            47: 
        !            48: See the [NetBSD Serial Port
        !            49: Primer](../../docs/Hardware/Misc/serial.html) for more information.
        !            50: 
        !            51: #### My NEWS does not print anything to console! ([top](#general))
        !            52: 
        !            53: The NEWS machines use the MK48T02 NVRAM chip, which is also used in the
        !            54: SPARCstation machines. If the NVRAM battery is dead, the machine won't
        !            55: boot properly.
        !            56: 
        !            57: What you need to do, both with a new NVRAM, or one with a dead battery
        !            58: is to press the POWER/RESET buttons in the following order to force the
        !            59: PROM monitor to re-initialize the NVRAM:
        !            60: 
        !            61: -   Press and hold POWER button
        !            62: 
        !            63: -   Press RESET, while still holding POWER
        !            64: 
        !            65: -   Release RESET first
        !            66: 
        !            67: -   And then release POWER
        !            68: 
        !            69: Unlike SPARCstations, you don't have to restore any data like the
        !            70: ethernet MAC address. The MAC address is stored in ROM on NEWS, and only
        !            71: thing you have to set is the time of the day for the clock.
        !            72: 
        !            73: If you are going to replace the dead NVRAM, the [Sun NVRAM/hostid
        !            74: page](http://www.squirrel.com/squirrel/sun-nvram-hostid.faq.html) has
        !            75: lots of useful information about the chips. Maybe you could try to
        !            76: [attach a new battery onto the
        !            77: NVRAM](http://www.squirrel.com/squirrel/sun-nvram-hostid.faq.html#attach),
        !            78: but on some NEWS models the NVRAM might be soldered to the mainboard
        !            79: without a socket `:-(`{.code}
        !            80: 
        !            81: #### How should I set the DIP switches? ([top](#general))
        !            82: news68k machines have one block of 8 dip switches:
        !            83: <a name="console_settings"></a><p class="title"><b>Table 1. </b></p>
        !            84: <div class="table-contents">
        !            85: <table border="1">
        !            86: <colgroup><col></colgroup>
        !            87: <thead><tr>
        !            88: <th>Switch 1,2,3</th>
        !            89: <th>console settings</th>
        !            90: </tr></thead>
        !            91: <tbody>
        !            92: <tr>
        !            93: <td><code class="code">OFF,OFF,OFF</code></td>
        !            94: <td>ANSI terminals (i.e., serial console)</td>
        !            95: </tr>
        !            96: <tr>
        !            97: <td><code class="code">OFF,OFF,ON </code></td>
        !            98: <td>NWB-512 monochrome bitmap console</td>
        !            99: </tr>
        !           100: <tr>
        !           101: <td><code class="code">ON ,OFF,OFF</code></td>
        !           102: <td>NWB-225A color bitmap console</td>
        !           103: </tr>
        !           104: <tr>
        !           105: <td><code class="code">ON ,ON ,ON </code></td>
        !           106: <td>newer framebuffers which support autoselection functions
        !           107:      (NWS-251, NWB-514, etc.)</td>
        !           108: </tr>
        !           109: </tbody>
        !           110: </table>
        !           111: </div>
        !           112: </div>
        !           113: <br class="table-break">
        !           114: 
        !           115: <div class="table">
        !           116: <a name="boot_device"></a><p class="title"><b>Table 2. </b></p>
        !           117: <div class="table-contents">
        !           118: <table border="1">
        !           119: <colgroup><col></colgroup>
        !           120: <thead><tr>
        !           121: <th>Switch 4</th>
        !           122: <th>boot device</th>
        !           123: </tr></thead>
        !           124: <tbody>
        !           125: <tr>
        !           126: <td><code class="code">OFF</code></td>
        !           127: <td>boot from SCSI disk: <code class="code">hd()</code>
        !           128: </td>
        !           129: </tr>
        !           130: <tr>
        !           131: <td><code class="code">ON</code></td>
        !           132: <td>boot from floppy disk: <code class="code">fh()</code>
        !           133: </td>
        !           134: </tr>
        !           135: </tbody>
        !           136: </table>
        !           137: </div>
        !           138: </div>
        !           139: <br class="table-break">
        !           140: 
        !           141: <div class="table">
        !           142: <a name="autoboot"></a><p class="title"><b>Table 3. </b></p>
        !           143: <div class="table-contents">
        !           144: <table border="1">
        !           145: <colgroup><col></colgroup>
        !           146: <thead><tr>
        !           147: <th>Switch 5</th>
        !           148: <th>autoboot</th>
        !           149: </tr></thead>
        !           150: <tbody>
        !           151: <tr>
        !           152: <td><code class="code">OFF</code></td>
        !           153: <td>PROM monitor</td>
        !           154: </tr>
        !           155: <tr>
        !           156: <td><code class="code">ON</code></td>
        !           157: <td>auto boot</td>
        !           158: </tr>
        !           159: </tbody>
        !           160: </table>
        !           161: </div>
        !           162: </div>
        !           163: <br class="table-break">
        !           164: 
        !           165: <div class="table">
        !           166: <a name="diagnostic"></a><p class="title"><b>Table 4. </b></p>
        !           167: <div class="table-contents">
        !           168: <table border="1">
        !           169: <colgroup><col></colgroup>
        !           170: <thead><tr>
        !           171: <th>Switch 6</th>
        !           172: <th>diagnostic (?)</th>
        !           173: </tr></thead>
        !           174: <tbody>
        !           175: <tr>
        !           176: <td><code class="code">OFF</code></td>
        !           177: <td>Diag off (default)</td>
        !           178: </tr>
        !           179: <tr>
        !           180: <td><code class="code">ON</code></td>
        !           181: <td>Diag on</td>
        !           182: </tr>
        !           183: </tbody>
        !           184: </table>
        !           185: </div>
        !           186: </div>
        !           187: <br class="table-break">
        !           188: 
        !           189: <div class="table">
        !           190: <a name="unused"></a><p class="title"><b>Table 5. </b></p>
        !           191: <div class="table-contents">
        !           192: <table border="1">
        !           193: <colgroup><col></colgroup>
        !           194: <thead><tr>
        !           195: <th>Switch 7,8</th>
        !           196: <th>unused</th>
        !           197: </tr></thead>
        !           198: <tbody><tr><td>default off</td></tr></tbody>
        !           199: </table>
        !           200: </div>
        !           201: </div>
        !           202: 
        !           203: #### How can I turn off the machine other than by unplugging the cable? ([top](#general))
        !           204: 
        !           205: Just press the RESET button (without POWER), or use the `"off"`{.code}
        !           206: command on the PROM prompt.
        !           207: 
        !           208: #### NetBSD/news68k install floppy does not boot ([top](#general))
        !           209: 
        !           210: There are some reports that some news1500 machines cannot boot the
        !           211: install floppy because of read errors. It might be caused by a bug in
        !           212: the PROM monitor or boot loader, but could be actual media errors. Try
        !           213: cleaning up your drive and booting several times with several disks.
        !           214: 
        !           215: #### Kernel prints `"level 3 interrupt:"`{.code} forever after boot with power cycle ([top](#general))
        !           216: 
        !           217: Some old versions of PROM monitors do not initialize framebuffers in
        !           218: expansion slots properly when serial console is specified, which leads
        !           219: to the framebuffer causing spurious interrupts.
        !           220: 
        !           221: The workaround is to reset the machine (using the POWER+RESET method
        !           222: mentioned above) with bitmap console settings once, and then reset again
        !           223: with serial console.
        !           224: 
        !           225: #### Can I install both NetBSD and NEWS-OS in the same disk? ([top](#general))
        !           226: 
        !           227: It is not well tested and not recommended, but yes, it is possible.
        !           228: 
        !           229: NetBSD/news68k can recognize NEWS-OS disklabels and mount NEWS-OS disks,
        !           230: but once NetBSD modifies the NEWS-OS disklabel, NEWS-OS cannot recognize
        !           231: them. It is recommended to install each OS on its own disk.
        !           232: 
        !           233: * * * * *
        !           234: 
        !           235: ### PROM monitor Questions
        !           236: <a name="prom_command"></a>What commands can I use at the PROM prompt? (<a href="#prom_questions">top</a>)
        !           237:   </h4>
        !           238: <p>
        !           239: The <code class="code">help</code> command will show all the commands.
        !           240: On a NWS-1750 it says:</p>
        !           241: <pre class="programlisting">
        !           242: NEWS&gt; help
        !           243: bf [.{b|w|l}] &lt;bgn&gt; {&lt;end&gt;|:&lt;cnt&gt;} &lt;data&gt;               : Block Fill
        !           244: bm &lt;bgn&gt; {&lt;end&gt;|:&lt;cnt&gt;} &lt;dest&gt;                          : Block Move
        !           245: bo [&lt;dev&gt;]                                              : BOot
        !           246: bp [&lt;addr&gt; [:&lt;cnt&gt;]] ...                                : BreakPoint set
        !           247: cp &lt;src_dev&gt; &lt;bgn&gt;:&lt;cnt&gt; &lt;dst_dev&gt; &lt;dest&gt;               : CoPy
        !           248: format {fd|fh}                                          : FORMAT floppy
        !           249: go [&lt;addr&gt; [&lt;bkpt&gt; [:&lt;cnt&gt;]]]                           : GO to user program
        !           250: help                                                    : display this
        !           251: md [.{b|w|l}] [&lt;bgn&gt; [{&lt;end&gt;|:&lt;cnt&gt;}]]                  : Memory Display
        !           252: ms [.{b|w|l}] [&lt;addr&gt; [&lt;data&gt;]]                         : Memory Set
        !           253: mu                                                      : Memory Usage
        !           254: nobp [&lt;addr&gt;] ...                                       : NO BreakPoint
        !           255: off                                                     : turn power OFF
        !           256: rc                                                      : Re-assign Console
        !           257: rd [{dreg|areg|preg|creg|mreg}] ...                     : Register Display
        !           258: rr                                                      : Register Reset
        !           259: rs [&lt;reg&gt; [&lt;data&gt;]]                                     : Register Set
        !           260: set [&lt;var&gt;[=&lt;value&gt;]]                                   : SET variable
        !           261: st [:&lt;cnt&gt;]                                             : Stack back Trace
        !           262: tr [:&lt;cnt&gt;] [branch] [{dreg|areg|preg|creg|mreg}]       : instruction TRace
        !           263: vers                                                    : VERSion number
        !           264: NEWS&gt;
        !           265: </pre>
        !           266: <p>
        !           267: Other machines might print these messages differently,
        !           268: but they should be mostly the same.
        !           269: </p>
        !           270: <p>
        !           271: For the boot command, you can specify the following options:</p>
        !           272: <div class="table">
        !           273: <a name="boot_options"></a><p class="title"><b>Table 6. </b></p>
        !           274: <div class="table-contents">
        !           275: <table border="1">
        !           276: <colgroup><col></colgroup>
        !           277: <tbody>
        !           278: <tr>
        !           279: <td><code class="code">bo</code></td>
        !           280: <td>boot from default device (usually <code class="code">sd0</code>)</td>
        !           281: </tr>
        !           282: <tr>
        !           283: <td><code class="code">bo /1</code></td>
        !           284: <td>boot with <code class="code">RB_ASKNAME</code>
        !           285:  (i.e., ask for root device before mountroot)</td>
        !           286: </tr>
        !           287: <tr>
        !           288: <td><code class="code">bo /2</code></td>
        !           289: <td>boot with <code class="code">RB_SINGLE</code>
        !           290:  (i.e., go to single-user mode)</td>
        !           291: </tr>
        !           292: <tr>
        !           293: <td><code class="code">bo fh()</code></td>
        !           294: <td>boot from 1.44M floppy</td>
        !           295: </tr>
        !           296: <tr>
        !           297: <td><code class="code">bo hd(1)</code></td>
        !           298: <td>boot from SCSI disk with ID 1</td>
        !           299: </tr>
        !           300: <tr>
        !           301: <td><code class="code">bo /2 hd()/netbsd.0 </code></td>
        !           302: <td>boot <code class="code">"netbsd.0"</code> on <code class="code">sd0</code> in single-user mode</td>
        !           303: </tr>
        !           304: </tbody>
        !           305: </table>
        !           306: </div>
        !           307: </div>
        !           308: 
        !           309: #### Can NetBSD/news68k boot via network? ([top](#prom_questions))
        !           310: 
        !           311: No, not yet.
        !           312: 
        !           313: The PROM monitor of news68k machines uses "remote disk (rd)" for
        !           314: diskless boot, but it is only supported by NEWS-OS and there is no
        !           315: documentation about it.
        !           316: 
        !           317: `rd_rpc.h`{.code} or `rd_srq.h`{.code} in NEWS-OS might be helpful, but
        !           318: currently no one is working on it.
        !           319: 
        !           320: * * * * *
        !           321: 
        !           322: ### Hardware Questions
        !           323: 
        !           324: #### What are the specs of my NEWS? ([top](#hardware_questions))
        !           325: 
        !           326: See this [page of SONY NEWS
        !           327: specifications](http://katsu.watanabe.name/doc/sonynews/model.html). It
        !           328: is written in Japanese, but still has lots of good information for
        !           329: non-Japanese readers.
        !           330: 
        !           331: #### Which type of SIMM can be used for my NEWS? ([top](#hardware_questions))
        !           332: 
        !           333: For news1600/1700 machines, 30pin 1M SIMMs with 9 chips can be used to
        !           334: upgrade to 16M bytes. SIMMs with 3 chips or SIMMs without parity cannot
        !           335: be used. To upgrade from 16M to 32M, the optional memory board is
        !           336: required.
        !           337: 
        !           338: For news1400/1500 machines, 30pin 1M SIMMs with 8 or 9 chips can be used
        !           339: (these machines don't use the parity bit). SIMMs with 2 or 3 chips
        !           340: cannot be used.
        !           341: 
        !           342: #### Is there any hope to support NWS-18x0 models? ([top](#hardware_questions))
        !           343: 
        !           344: Unfortunately, there are many barriers to supporting news1800 machines.
        !           345: news1800 models have dual 68030 CPUs. One is a main processor, and
        !           346: another is an "I/O Processor". All devices (tty, ethernet, SCSI, etc.)
        !           347: are connected to the IOP, but there is little information about how to
        !           348: handle them. NEWS-OS provides a special module for the IOP called "MRX",
        !           349: and it is loaded by the PROM at boot time from the root directory.
        !           350: 
        !           351: Some people have asked for NEWS device information from Sony, and Sony
        !           352: once had planned to open their NEWS-OS sources. But there were many
        !           353: problems with source license issues, and the NEWS development division
        !           354: in Sony had already been dissolved, so no one could resolve the issues
        !           355: officially.
        !           356: 
        !           357: #### How about NWS-8xx and NWS-7xx models? ([top](#hardware_questions))
        !           358: 
        !           359: The one problem is that news800 models also use an I/O processor, which
        !           360: is mentioned in the above entry. Another problem is that news800 uses
        !           361: m68020 and Sony's own MMU, not Motorola's m68851 MMU. news700 also has
        !           362: an original MMU like news800. There is little information about it,
        !           363: either.
        !           364: 
        !           365: * * * * *
        !           366: 
        !           367: ### Other sources of information
        !           368: 
        !           369: #### Other sources of information from NetBSD.org ([top](#other_info))
        !           370: 
        !           371: -   [NetBSD/news68k 6.0 install
        !           372:     notes](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-6.0/news68k/INSTALL.html)
        !           373:     - supported hardware and how to install.
        !           374: 
        !           375: -   [port-news68k mail list](../../mailinglists/#port-news68k)
        !           376:     ([archive](http://mail-index.NetBSD.org/port-news68k/)) - if you
        !           377:     have any additional questions please subscribe.
        !           378: 
        !           379: -   [History of NEWS machines](../newsmips/history.html) - A brief
        !           380:     history of machines running NetBSD/newsmips and NetBSD/news68k.
        !           381: 
        !           382: -   [NetBSD Serial Port Primer](../../docs/Hardware/Misc/serial.html)

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