--- wikisrc/ports/next68kfaq.mdwn 2012/12/22 23:04:05 1.1 +++ wikisrc/ports/next68kfaq.mdwn 2014/01/17 21:50:34 1.3 @@ -1,135 +1,109 @@ -NetBSD/next68k: Frequently Asked Questions -========================================== +[[!meta title="NetBSD/next68k: Frequently Asked Questions"]] -### Booting +[[!toc startlevel=1 levels=2]] -- [How do I get to the ROM Monitor or the debugger?](#rom-monitor) -- [How do I reset the system without pulling the plug?](#reset) -- [How do I netboot?](#netboot-how) -- [How do I boot from a second hard drive or CD-ROM?](#boot-disk1) -- [What can I do in the ROM Monitor?](#monitor-commands) - -### Hardware - -- [How do the keyboard, mouse, and monitor connect to the NeXT - hardware?](#connections) -- [Differentiating ADB and non-ADB keyboards and mice](#adb) -- [How do I run my NeXT headless?](#no-monitor) -- [How do I build a serial console cable?](#serial-console) -- [What is the pinout of the monitor cable?](#monitor-pinout) - -### Other sources of information - -- [The peanuts.org NEXTSTEP/OpenStep - FAQ](#The-peanuts.org-NEXTSTEP/OpenStep-FAQ) -- [NeXT Hardware FAQs](#NeXT-Hardware-FAQs) -- [The wscons - documentation](#about-NetBSD's-platform-independent-workstation-console-driver) -- [Diskless NetBSD HOW-TO](#NetBSD-HOW-TO) -- [NetBSD Serial Port Primer](#NetBSD-Serial-Port-Primer) +# Booting -* * * * * - -### Booting - -#### How do I get to the ROM Monitor or the debugger? ([top](#Booting)) +## How do I get to the ROM Monitor or the debugger? You can get to the ROM monitor or break into the debugger (once the NetBSD kernel is running) at any time by hitting both **COMMAND** and -the backquote (`` ` ``{.code}) key above the `7`{.code} on the numeric +the backquote (`` ` ``) key above the `7` on the numeric keypad. -#### How do I reset the system without pulling the plug? ([top](#Booting)) +## How do I reset the system without pulling the plug? This is a hard reset -- it does not sync the filesystems first. Press -the *left* **COMMAND**-**ALTERNATE**-**`*`{.code}** keys (where the -`*`{.code} key is to the right of the `/`{.code} on the numeric keypad). +the *left* **COMMAND**-**ALTERNATE**-**`*`** keys (where the +`*` key is to the right of the `/` on the numeric keypad). -#### How do I netboot? ([top](#Booting)) +## How do I netboot? This is now covered in the INSTALL notes. There is also a section of the -[Diskless NetBSD HOW-TO](../../docs/network/netboot/) devoted to +[Diskless NetBSD HOW-TO](http://www.NetBSD.org/docs/network/netboot/) devoted to [netbooting -NetBSD/next68k](../../docs/network/netboot/intro.next68k.html). +NetBSD/next68k](http://www.NetBSD.org/docs/network/netboot/intro.next68k.html). -#### How do I boot from a second hard drive or CD-ROM? ([top](#Booting)) +## How do I boot from a second hard drive or CD-ROM? -The ROM Monitor `bsd()`{.code} command defaults to booting from the +The ROM Monitor `bsd()` command defaults to booting from the lowest SCSI ID drive which is usually the internal hard drive at ID 0. -To boot from the next SCSI hard drive, you would use `bsd(1,0,0)`{.code} +To boot from the next SCSI hard drive, you would use `bsd(1,0,0)` which will boot from the next highest SCSI ID drive -- *not necessarily SCSI ID 1*. - SCSI ID boot command - --------- --------------------- - 0 `bsd()`{.code} - 2 `bsd(1,0,0)`{.code} - 6 `bsd(2,0,0)`{.code} +[[!table data=""" +SCSI ID |boot command +0 |`bsd()` +2 |`bsd(1,0,0)` +6 |`bsd(2,0,0)` +"""]] Only turbo NeXT systems can boot directly from a CD-ROM. Non-turbo models need to load the bootloader from a floppy, SCSI hard drive, or over the network. -#### What can I do in the ROM Monitor? ([top](#Booting)) +## What can I do in the ROM Monitor? + +From the ROM Monitor prompt, type `?` to get a listing of the +possible commands and `p` to configure the system. Additionally, +pressing the `Power` key will let you power down the system. + +To boot from a SCSI disk, type `bsd()`. To boot from the +ethernet, type `ben()netbsd`. + +[[!template id=programlisting text=""" + NeXT ROM Monitor 2.5 (v66) + + CPU MC68040 25 MHz, memory 100 nS + Backplane slot #0 + Ethernet address: 0:0:f:0:fb:90 + Memory size 40 MB + NeXT> + NeXT ROM monitor commands: + p inspect/modify configuration parameters + a [n] open address register + m print memory configuration + d [n] open data register + r [regname] open processor register + s [systemreg] open system register + e [lwb] [alist] [format] examine memory location addr + ec print recorded system error codes + ej [drive #] eject optical disk (default = 0) + eo (same as above) + ef [drive #] eject floppy disk (default = 0) + c continue execution at last pc location + b [device[(ctrl,unit,part)] [filename] [flags]] boot from device + S [fcode] open function code (address space) + R [radix] set input radix + Notes: + [lwb] select long/word/byte length (default = long). + [alist] is starting address or list of addresses to cyclically examine + Examine command, eith no arguments, uses last [alist] + Copyright (c) 1988-1990 NeXT Inc + + NeXT> + boot command: sd()? + DRAM tests: yes? + perform power-on system test: yes? + sound out tests: yes? + SCSI tests: yes? + loop until keypress: no? + verbose test mode: no? + boot extended diagnostics: no? + serial port A is alternate console: no? + allow any ROM command even if password protected: no? + allow boot from any device even if password protected: no? + allow optical drive #0 eject even if password protected: yes? + enable parity checking if parity memory is present: no? +"""]] -From the ROM Monitor prompt, type `?`{.code} to get a listing of the -possible commands and `p`{.code} to configure the system. Additionally, -pressing the `Power`{.code} key will let you power down the system. - -To boot from a SCSI disk, type `bsd()`{.code}. To boot from the -ethernet, type `ben()netbsd`{.code}. - -~~~~ {.programlisting} - NeXT ROM Monitor 2.5 (v66) - -CPU MC68040 25 MHz, memory 100 nS -Backplane slot #0 -Ethernet address: 0:0:f:0:fb:90 -Memory size 40 MB -NeXT>? -NeXT ROM monitor commands: - p inspect/modify configuration parameters - a [n] open address register - m print memory configuration - d [n] open data register - r [regname] open processor register - s [systemreg] open system register - e [lwb] [alist] [format] examine memory location addr - ec print recorded system error codes - ej [drive #] eject optical disk (default = 0) - eo (same as above) - ef [drive #] eject floppy disk (default = 0) - c continue execution at last pc location - b [device[(ctrl,unit,part)] [filename] [flags]] boot from device - S [fcode] open function code (address space) - R [radix] set input radix -Notes: - [lwb] select long/word/byte length (default = long). - [alist] is starting address or list of addresses to cyclically examine - Examine command, eith no arguments, uses last [alist] -Copyright (c) 1988-1990 NeXT Inc - -NeXT>p -boot command: sd()? en()netbsd -DRAM tests: yes? yes -perform power-on system test: yes? yes - sound out tests: yes? yes - SCSI tests: yes? yes - loop until keypress: no? no - verbose test mode: no? yes -boot extended diagnostics: no? no -serial port A is alternate console: no? yes -allow any ROM command even if password protected: no? no -allow boot from any device even if password protected: no? no -allow optical drive #0 eject even if password protected: yes? yes -enable parity checking if parity memory is present: no? no -~~~~ * * * * * -### Hardware +# Hardware -#### How do the keyboard, mouse, and monitor connect to the NeXT hardware? ([top](#Hardware)) +## How do the keyboard, mouse, and monitor connect to the NeXT hardware? For monochrome systems (NeXT Computer, NeXTcube, NeXTstation, NeXTcube Turbo, and NeXTstation Turbo) without a NeXTdimension board, a 19 pin @@ -155,7 +129,7 @@ monitor to the NeXTdimension. If the cub Display, you must use a "Y-cable" and a soundbox connected to the NeXTdimension board. -#### Differentiating ADB and non-ADB keyboards and mice ([top](#Hardware)) +## Differentiating ADB and non-ADB keyboards and mice Currently, only non-ADB keyboards and mice are supported. @@ -184,7 +158,7 @@ depicting the differences. ChannelU also [webpage](http://www.channelu.com/Turbo/NeXT/mousekeysound.html) with pictures of these devices. -#### How do I run my NeXT headless? ([top](#Hardware)) +## How do I run my NeXT headless? From [The Peanut's Archive FAQ](http://www.peanuts.org/faq-serve/cache/189.html). Also, see this @@ -221,25 +195,25 @@ Monitor](#rom-monitor). The important on - Port A as alternate Console? Y (if you have one, it's nice) - Verbose mode? N (this may need to be N to work) -#### How do I build a serial console cable? ([top](#Hardware)) +## How do I build a serial console cable? 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. -#### What is the pinout of the monitor cable? ([top](#Hardware)) +## What is the pinout of the monitor cable? The NeXT monitor cable is a very strange DB19 connector. You won't find any of these outside for special order shops. The cable, as seen from the back of the machine: -~~~~ {.programlisting} +[[!template id=programlisting text=""" 10 1 _________________________ \ o o o o o o o o o o / \ o o o o o o o o o / --------------------- 19 11 -~~~~ +"""]] 1. +12V 2. -12V @@ -263,18 +237,16 @@ the back of the machine: * * * * * -### Other sources of information - -#### [The peanuts.org NEXTSTEP/OpenStep FAQ](http://www.peanuts.org/peanuts/GeneralData/Documents/faq/NeXTFAQ-html/NeXTFAQ.txt) ([top](#other-sources)) +# Other sources of information +* [The peanuts.org NEXTSTEP/OpenStep FAQ](http://www.peanuts.org/peanuts/GeneralData/Documents/faq/NeXTFAQ-html/NeXTFAQ.txt) - (see section 5 on black hardware) -#### [NeXT Hardware FAQs](http://www.lrz-muenchen.de/~heller/NeXT/NeXT.html) ([top](#other-sources)) - -#### [The wscons documentation](../../docs/guide/en/chap-cons.html#chap-cons-wscons) ([top](#other-sources)) +* [NeXT Hardware FAQs](http://www.lrz-muenchen.de/~heller/NeXT/NeXT.html) +* [The wscons documentation](http://www.NetBSD.org/docs/guide/en/chap-cons.html#chap-cons-wscons) - About NetBSD's platform-independent workstation console driver. -#### [Diskless NetBSD HOW-TO](../../docs/network/netboot/) ([top](#other-sources)) +* [Diskless NetBSD HOW-TO](http://www.NetBSD.org/docs/network/netboot/) -#### [NetBSD Serial Port Primer](../../docs/Hardware/Misc/serial.html) ([top](#other-sources)) +* [NetBSD Serial Port Primer](http://www.NetBSD.org/docs/Hardware/Misc/serial.html)