NetBSD/sgimips: Frequently Asked Questions

General Questions

Other sources of information


General Questions

Things worth knowing about the Indy serial console (top)

Note this information may apply to other models too. To get the machine boot up with a serial console, make sure the keyboard is unplugged when turning on the machine. The serial console runs on serial #1, at 9600, 8N1 by default.

It is also possible to do a "setenv console d" in the PROM monitor to get the console to serial #1, or a "setenv console d2" to get it to serial #2 (default is "g"). Optionally, the console's speed can be set with "setenv dbaud <bps>". After setting these PROM variables either do an "init" or a reboot of the machine is needed.

When booting up Irix on the console, logins on the serial console might be disabled. You can enable them by editing /etc/inittab and adding the following line:

st:23:respawn:/sbin/getty systty co_9600        # serial console - HF

Don't forget to re-read the inittab then with "init q".

The serial port pinouts are the same as SPARC systems' serial ports, so Macintosh serial cables work great for serial-console cables, as long as you are willing to do it without hardware handshaking lines. See the NetBSD Serial Port Primer for more information.

How to bootstrap NetBSD/sgimips? (top)

To start bootstrapping, the following files are needed:

Snapshot:
ftp://ftp.NetBSD.org/pub/NetBSD/arch/sgimips/snapshot/
Kernel:
ftp://ftp.NetBSD.org/pub/NetBSD/arch/sgimips/netbsd.ip32

How to crosscompile a sgimips kernel? (top)

NetBSD 1.6 and later systems have full support for cross-compilation of the base system, even as a non-root user and even on non-NetBSD hosts. See the Cross-building NetBSD under NetBSD Documentation pages for details.

How can I cross-build an sgimips bootable install CD? (top)

Follow the crosscompiling instructions to cross-build an sgimips release (ie build.sh release), then go to the src/etc directory and use the nbmake-sgimips wrapper created in your tool directory to make a bootable cd:

$TOOLDIR/bin/nbmake-sgimips iso-image

The resulting image can be burnt to CD-RW using your regular cd-writing tools.

How to reset $eaddr on IP22 etc.? (top)

Here's a method to set the ethernet address that works on at least the Indy, and perhaps also other machines with HPC3's.

All disclaimers apply yadda yadda.

At the PROM prompt:

dump -w -x 0xbfbe04e8

Sanity check the output here to see if it matches the address given in the 'ec0: bad ethernet address' error message. If not, you may not want to overwrite whatever is there instead.

fill -w -v 0xGG 0xbfbe04e8
fill -w -v 0xHH 0xbfbe04ec
fill -w -v 0xII 0xbfbe04f0
fill -w -v 0xJJ 0xbfbe04f4
fill -w -v 0xKK 0xbfbe04f8
fill -w -v 0xLL 0xbfbe04fc

Where GG:HH:II:JJ:KK:LL is the intended ethernet address. It's a very good idea to reuse the address the machine was shipped with. Check the back of the machine if you cannot remember it.

Power down, wait one full minute and then power up. All variables will have been reset as with the resetenv command, except $eaddr.

PROM tftp client failing with default NetBSD tftpd settings (top)

The PROM tftp client on SGI machines can fail with default NetBSD tftpd settings. The problem is that your current PROM may not support port numbers with the sign bit set. The workaround is to limit the port numbers of anonymous connections to 32767. The following tunables should fix your problem:

# sysctl -w net.inet.ip.anonportmin=20000
# sysctl -w net.inet.ip.anonportmax=32767

Other PROM issues you might encounter (top)

There are a few gotchas depending on your PROM version and the OS (SASH) version installed:

  1. Old versions of SASH have an issue with incorrectly reporting the memory map... If the kernel panics with a UVM related msg on boot (even before the copyright message), try booting the kernel directly from the PROM rather than via sash (An I2 also had this problem before upgrading to IRIX 6.x -- it was running 5.3 before).
  2. Another old PROM issue -- old PROMs don't understand ELF, so you may need an ECOFF kernel. A workaround for this is to use sash, which seems to understand ELF even in IRIX 5.x, but see problem #1.

Other sources of information

Other NetBSD Documentation (top)

Other Off-Site Documentation (top)


Back to  NetBSD/sgimips Port Page

(contact us)   Generated from %NetBSD: faq.xml,v 1.6 2006/01/11 19:22:04 tsutsui Exp %
Copyright © 1994-2006 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.
NetBSD® is a registered trademark of The NetBSD Foundation, Inc.