NetBSD/next68k Frequently Asked Questions

Here are some frequently asked questions (and frequently given answers!) about NetBSD/next68k.

Booting

Hardware

Other sources of information


Booting


How do I get to the firmware, or the ROM Monitor? (top)

You can get to the ROM monitor, or break into the debugger at any time, by hitting both COMMAND and the backquote (`) key above the 7 on the numeric keypad.

How do I reset the system without pulling the plug? (top)

This is a hard reset -- it does not sync the filesystems first. Press the left COMMAND-ALTERNATE-* keys (where the * key is to the right of the / on the numeric keypad.

How do I netboot? (top)

This is now covered in the INSTALL notes. There is also a section of the Diskless NetBSD HOW-TO devoted to Netbooting NetBSD/next68k.

What can I do in the ROM Monitor? (top)

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 the system down.

To boot from a SCSI disk, type bsd(). To boot from the ethernet, type ben()netbsd.

                        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 cehcking if parity memory is present:  no?  no


Hardware


How do I run my NeXT headless? (top)

The procedure is to just touch pins 6 and GND on the DB-19 NeXT monitor out with a 470 Ohm resistor (450 is the actual resistance, but 470 ohms is more commonly found in resistors). The touching with the resistor will be momentary, you shouldn't try to set up a resistor so that it's always touching.

Pin 6 is the power sense, and pins 13-19 (and the DB shell) are the GND. Just say "pin 19", it may be easier. There's a pinout diagram of the DB-19 in the NeXT Users Reference Manual, as well as below.

If you have an old Cube, the power supply needs to have more power drawn from it than an 030 (and 040?) board uses to stay on. So: On the DB-19, attach a Power Resistor (20 Ohm, at least 20 Watt) between pins 12 and GND. (Pin 12 is -12V, pin 13 works well for GND). Then just "momentarily touch" the 470 ohm resistor as described above, and you're set. The 20 Ohm resistor draws enough to keep the power supply happy - just don't touch it (*HOT!* ;-)

To power off, type "halt -p" as root on the machine (either through a terminal connected to port A, or over the ethernet connection).

Also, you have to have the ROM Monitor settings done correctly. The important ones are:

The above was taken from The Peanut's Archive FAQ.

How do I build a serial console cable? (top)

See the NetBSD Serial Port Primer for more information.

What is the pinout of the monitor cable? (top)

The NeXT monitor cable is a very strange DB19 connector. I haven't been able to find any of these excpet for special order shops. The cable, as seen from the back of the machine:
        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
  3. MON CLK
  4. MON DATA OUT
  5. MON DATA IN
  6. MON PWR SWITCH
  7. NC
  8. VSYNC
  9. HSYNC
  10. VIDEO
  11. +12V
  12. -12V
  13. GND
  14. GND
  15. GND
  16. GND
  17. GND
  18. GND
  19. GND

Up to NetBSD/next68k Port Page
NetBSD Home Page
NetBSD Documentation top level

(Contact us) $NetBSD: faq.html,v 1.22 2002/05/03 03:36:34 mbw Exp $
Copyright © 1994-2001 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.