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

1.1     ! mspo        1: NetBSD/next68k: Frequently Asked Questions
        !             2: ==========================================
        !             3: 
        !             4: ### Booting
        !             5: 
        !             6: -   [How do I get to the ROM Monitor or the debugger?](#rom-monitor)
        !             7: -   [How do I reset the system without pulling the plug?](#reset)
        !             8: -   [How do I netboot?](#netboot-how)
        !             9: -   [How do I boot from a second hard drive or CD-ROM?](#boot-disk1)
        !            10: -   [What can I do in the ROM Monitor?](#monitor-commands)
        !            11: 
        !            12: ### Hardware
        !            13: 
        !            14: -   [How do the keyboard, mouse, and monitor connect to the NeXT
        !            15:     hardware?](#connections)
        !            16: -   [Differentiating ADB and non-ADB keyboards and mice](#adb)
        !            17: -   [How do I run my NeXT headless?](#no-monitor)
        !            18: -   [How do I build a serial console cable?](#serial-console)
        !            19: -   [What is the pinout of the monitor cable?](#monitor-pinout)
        !            20: 
        !            21: ### Other sources of information
        !            22: 
        !            23: -   [The peanuts.org NEXTSTEP/OpenStep
        !            24:     FAQ](#The-peanuts.org-NEXTSTEP/OpenStep-FAQ)
        !            25: -   [NeXT Hardware FAQs](#NeXT-Hardware-FAQs)
        !            26: -   [The wscons
        !            27:     documentation](#about-NetBSD's-platform-independent-workstation-console-driver)
        !            28: -   [Diskless NetBSD HOW-TO](#NetBSD-HOW-TO)
        !            29: -   [NetBSD Serial Port Primer](#NetBSD-Serial-Port-Primer)
        !            30: 
        !            31: * * * * *
        !            32: 
        !            33: ### Booting
        !            34: 
        !            35: #### How do I get to the ROM Monitor or the debugger? ([top](#Booting))
        !            36: 
        !            37: You can get to the ROM monitor or break into the debugger (once the
        !            38: NetBSD kernel is running) at any time by hitting both **COMMAND** and
        !            39: the backquote (`` ` ``{.code}) key above the `7`{.code} on the numeric
        !            40: keypad.
        !            41: 
        !            42: #### How do I reset the system without pulling the plug? ([top](#Booting))
        !            43: 
        !            44: This is a hard reset -- it does not sync the filesystems first. Press
        !            45: the *left* **COMMAND**-**ALTERNATE**-**`*`{.code}** keys (where the
        !            46: `*`{.code} key is to the right of the `/`{.code} on the numeric keypad).
        !            47: 
        !            48: #### How do I netboot? ([top](#Booting))
        !            49: 
        !            50: This is now covered in the INSTALL notes. There is also a section of the
        !            51: [Diskless NetBSD HOW-TO](../../docs/network/netboot/) devoted to
        !            52: [netbooting
        !            53: NetBSD/next68k](../../docs/network/netboot/intro.next68k.html).
        !            54: 
        !            55: #### How do I boot from a second hard drive or CD-ROM? ([top](#Booting))
        !            56: 
        !            57: The ROM Monitor `bsd()`{.code} command defaults to booting from the
        !            58: lowest SCSI ID drive which is usually the internal hard drive at ID 0.
        !            59: To boot from the next SCSI hard drive, you would use `bsd(1,0,0)`{.code}
        !            60: which will boot from the next highest SCSI ID drive -- *not necessarily
        !            61: SCSI ID 1*.
        !            62: 
        !            63:   SCSI ID   boot command
        !            64:   --------- ---------------------
        !            65:   0         `bsd()`{.code}
        !            66:   2         `bsd(1,0,0)`{.code}
        !            67:   6         `bsd(2,0,0)`{.code}
        !            68: 
        !            69: Only turbo NeXT systems can boot directly from a CD-ROM. Non-turbo
        !            70: models need to load the bootloader from a floppy, SCSI hard drive, or
        !            71: over the network.
        !            72: 
        !            73: #### What can I do in the ROM Monitor? ([top](#Booting))
        !            74: 
        !            75: From the ROM Monitor prompt, type `?`{.code} to get a listing of the
        !            76: possible commands and `p`{.code} to configure the system. Additionally,
        !            77: pressing the `Power`{.code} key will let you power down the system.
        !            78: 
        !            79: To boot from a SCSI disk, type `bsd()`{.code}. To boot from the
        !            80: ethernet, type `ben()netbsd`{.code}.
        !            81: 
        !            82: ~~~~ {.programlisting}
        !            83:                         NeXT ROM Monitor 2.5 (v66)
        !            84: 
        !            85: CPU MC68040 25 MHz, memory 100 nS
        !            86: Backplane slot #0
        !            87: Ethernet address:  0:0:f:0:fb:90
        !            88: Memory size 40 MB
        !            89: NeXT>?
        !            90: NeXT ROM monitor commands:
        !            91:         p  inspect/modify configuration parameters
        !            92:         a [n]  open address register
        !            93:         m  print memory configuration
        !            94:         d [n]  open data register
        !            95:         r [regname]  open processor register
        !            96:         s [systemreg]  open system register
        !            97:         e [lwb] [alist] [format]  examine memory location addr
        !            98:         ec  print recorded system error codes
        !            99:         ej [drive #]  eject optical disk (default = 0)
        !           100:         eo  (same as above)
        !           101:         ef [drive #]  eject floppy disk (default = 0)
        !           102:         c  continue execution at last pc location
        !           103:         b [device[(ctrl,unit,part)] [filename] [flags]]  boot from device
        !           104:         S [fcode] open function code (address space)
        !           105:         R [radix]  set input radix
        !           106: Notes:
        !           107:         [lwb] select long/word/byte length (default = long).
        !           108:         [alist] is starting address or list of addresses to cyclically examine
        !           109:         Examine command, eith no arguments, uses last [alist]
        !           110: Copyright (c) 1988-1990 NeXT Inc
        !           111: 
        !           112: NeXT>p
        !           113: boot command: sd()? en()netbsd
        !           114: DRAM tests:  yes? yes
        !           115: perform power-on system test:  yes? yes
        !           116:         sound out tests:  yes? yes
        !           117:         SCSI tests:  yes? yes
        !           118:         loop until keypress:  no?  no
        !           119:         verbose test mode:  no?  yes
        !           120: boot extended diagnostics:  no?  no
        !           121: serial port A is alternate console:  no?  yes
        !           122: allow any ROM command even if password protected:  no?  no
        !           123: allow boot from any device even if password protected:  no?  no
        !           124: allow optical drive #0 eject even if password protected:  yes?  yes
        !           125: enable parity checking if parity memory is present:  no?  no
        !           126: ~~~~
        !           127: 
        !           128: * * * * *
        !           129: 
        !           130: ### Hardware
        !           131: 
        !           132: #### How do the keyboard, mouse, and monitor connect to the NeXT hardware? ([top](#Hardware))
        !           133: 
        !           134: For monochrome systems (NeXT Computer, NeXTcube, NeXTstation, NeXTcube
        !           135: Turbo, and NeXTstation Turbo) without a NeXTdimension board, a 19 pin
        !           136: cable connects the system to the mono MegaPixel Display. The cable
        !           137: carries power for the monitor, video for the monitor, sound in and out,
        !           138: and the keyboard/mouse connector. The keyboard plugs into the monitor,
        !           139: and the mouse plugs into the keyboard.
        !           140: 
        !           141: For color systems (NeXTstation Color and NeXTstation Color Turbo) a
        !           142: funky "Y-Cable" connects the system to a soundbox and to a monitor. The
        !           143: monitor end of the cable is a 13W3 connector. You can use any multisync
        !           144: monitor (with the appropriate adapter) or a fixed frequency monitor
        !           145: supporting the appropriate refresh rate. NeXTstation Color supports 68
        !           146: Hz refresh at 1280x1024. NeXTstation Color Turbo supports 72 Hz refresh.
        !           147: The soundbox provides the additional functionality of the mono MegaPixel
        !           148: Display (sound in and out and keyboard/mouse connector). The keyboard
        !           149: plugs into the soundbox, and the mouse plugs into the keyboard.
        !           150: 
        !           151: For cube systems with a NeXTdimension board, the refresh rate is 68 Hz.
        !           152: If the cube is using a mono MegaPixel Display in addition to the
        !           153: NeXTdimension driven display, a simple 13W3 cable is used to connect the
        !           154: monitor to the NeXTdimension. If the cube is not using a mono MegaPixel
        !           155: Display, you must use a "Y-cable" and a soundbox connected to the
        !           156: NeXTdimension board.
        !           157: 
        !           158: #### Differentiating ADB and non-ADB keyboards and mice ([top](#Hardware))
        !           159: 
        !           160: Currently, only non-ADB keyboards and mice are supported.
        !           161: 
        !           162: Non-ADB keyboards use a mini-DIN connector with 5 pins. Non-ADB
        !           163: keyboards have a black power key between the brightness and volume keys.
        !           164: Non-ADB mice use a mini-DIN 8 connector. Non-ADB mice are rectangular.
        !           165: All NeXT hardware supports these peripherals with the original mono
        !           166: MegaPixel Display (N4000 or N4000A) or a non-ADB soundbox (serial number
        !           167: prefix ABN). The ADB monitor and soundbox cables will work with non-ADB
        !           168: monitors and soundboxes. Non-ADB monitor cables (part numbers 150 or
        !           169: 1532) and soundbox cables (part number 2286) only work with non-ADB
        !           170: monitors and soundboxes.
        !           171: 
        !           172: ADB cables have mini-DIN 4 connectors. ADB NeXT keyboards have a flat
        !           173: green power button. ADB NeXT mice are rounded. Apple Macintosh ADB
        !           174: keyboards and mice should also work. ADB peripherals are only supported
        !           175: on NeXT hardware with ROM version v.74 (most turbo systems and some
        !           176: later non-turbo systems). You also need a newer mono MegaPixel Display
        !           177: (N4000B) or ADB soundbox (serial number prefix ADD). Additionally, you
        !           178: need an ADB monitor cable (part numbers 4534 or 4535) or an ADB soundbox
        !           179: cable (part number 4536).
        !           180: 
        !           181: Black Hole, Inc. has a
        !           182: [graphic](http://blackholeinc.com/images/set1/nextadbnonadb.gif)
        !           183: depicting the differences. ChannelU also has a
        !           184: [webpage](http://www.channelu.com/Turbo/NeXT/mousekeysound.html) with
        !           185: pictures of these devices.
        !           186: 
        !           187: #### How do I run my NeXT headless? ([top](#Hardware))
        !           188: 
        !           189: From [The Peanut's Archive
        !           190: FAQ](http://www.peanuts.org/faq-serve/cache/189.html). Also, see this
        !           191: [post](http://mail-index.NetBSD.org/port-next68k/1998/06/30/0000.html)
        !           192: describing how to build a better switch.
        !           193: 
        !           194: The procedure is to just touch pins 6 and GND on the DB-19 NeXT monitor
        !           195: out with a 470 Ohm resistor (450 is the actual resistance, but 470 ohms
        !           196: is more commonly found in resistors). The touching with the resistor
        !           197: will be momentary, you shouldn't try to set up a resistor so that it's
        !           198: always touching.
        !           199: 
        !           200: Pin 6 is the power sense, and pins 13-19 (and the DB shell) are the GND.
        !           201: Just say "pin 19", it may be easier. There's a pinout diagram of the
        !           202: DB-19 in the NeXT Users Reference Manual, as well as
        !           203: [below](#monitor-pinout).
        !           204: 
        !           205: If you have an old Cube (serial number below AAK0016370), the power
        !           206: supply needs to have more power drawn from it than an 030 (and 040?)
        !           207: board uses to stay on. So: On the DB-19, attach a Power Resistor (20
        !           208: Ohm, at least 20 Watt) between pins 12 and GND. (Pin 12 is -12V, pin 13
        !           209: works well for GND). Then just "momentarily touch" the 470 ohm resistor
        !           210: as described above, and you're set. The 20 Ohm resistor draws enough to
        !           211: keep the power supply happy - just don't touch it (\*HOT!\* ;-)
        !           212: 
        !           213: To power off, type "halt -p" as root on the machine (either through a
        !           214: terminal connected to port A, or over the ethernet connection).
        !           215: 
        !           216: Also, you need to use the NeXT keyboard to set up the [ROM
        !           217: Monitor](#rom-monitor). The important ones are:
        !           218: 
        !           219: -   Wait until keypress? N
        !           220: -   Sound out tests? N
        !           221: -   Port A as alternate Console? Y (if you have one, it's nice)
        !           222: -   Verbose mode? N (this may need to be N to work)
        !           223: 
        !           224: #### How do I build a serial console cable? ([top](#Hardware))
        !           225: 
        !           226: See the [NetBSD Serial Port
        !           227: Primer](../../docs/Hardware/Misc/serial.html) for more information.
        !           228: 
        !           229: #### What is the pinout of the monitor cable? ([top](#Hardware))
        !           230: 
        !           231: The NeXT monitor cable is a very strange DB19 connector. You won't find
        !           232: any of these outside for special order shops. The cable, as seen from
        !           233: the back of the machine:
        !           234: 
        !           235: ~~~~ {.programlisting}
        !           236:         10                  1
        !           237:       _________________________
        !           238:       \  o o o o o o o o o o  /
        !           239:        \  o o o o o o o o o  /
        !           240:         ---------------------
        !           241:         19                11 
        !           242: ~~~~
        !           243: 
        !           244: 1.  +12V
        !           245: 2.  -12V
        !           246: 3.  MON CLK
        !           247: 4.  MON DATA OUT
        !           248: 5.  MON DATA IN
        !           249: 6.  MON PWR SWITCH
        !           250: 7.  NC
        !           251: 8.  VSYNC
        !           252: 9.  HSYNC
        !           253: 10. VIDEO
        !           254: 11. +12V
        !           255: 12. -12V
        !           256: 13. GND
        !           257: 14. GND
        !           258: 15. GND
        !           259: 16. GND
        !           260: 17. GND
        !           261: 18. GND
        !           262: 19. GND
        !           263: 
        !           264: * * * * *
        !           265: 
        !           266: ### Other sources of information
        !           267: 
        !           268: #### [The peanuts.org NEXTSTEP/OpenStep FAQ](http://www.peanuts.org/peanuts/GeneralData/Documents/faq/NeXTFAQ-html/NeXTFAQ.txt) ([top](#other-sources))
        !           269: 
        !           270: (see section 5 on black hardware)
        !           271: 
        !           272: #### [NeXT Hardware FAQs](http://www.lrz-muenchen.de/~heller/NeXT/NeXT.html) ([top](#other-sources))
        !           273: 
        !           274: #### [The wscons documentation](../../docs/guide/en/chap-cons.html#chap-cons-wscons) ([top](#other-sources))
        !           275: 
        !           276: About NetBSD's platform-independent workstation console driver.
        !           277: 
        !           278: #### [Diskless NetBSD HOW-TO](../../docs/network/netboot/) ([top](#other-sources))
        !           279: 
        !           280: #### [NetBSD Serial Port Primer](../../docs/Hardware/Misc/serial.html) ([top](#other-sources))

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