version 1.1, 2012/12/22 14:36:17
|
version 1.3, 2014/01/13 10:37:17
|
Line 1
|
Line 1
|
- [Using a serial console](#serial_console) |
[[!meta title="NetBSD/hp700: Frequently Asked Questions"]] |
- [How do I configure power-on settings (boot device, console, |
|
etc.)](#boot_admin) |
|
- [What devices does my system try to boot from (and how do I change |
|
it)](#boot_order) |
|
- [HP-UX Compatibility](#hpux_compat) |
|
|
|
* * * * * |
[[!toc startlevel=1 levels=1]] |
|
|
### |
* * * * * |
|
|
#### Using a serial console ([top](#general)) |
# Using a serial console<a name="serial_console"></a> |
|
|
On most models, you can configure the Boot ROM to use a serial console |
On most models, you can configure the Boot ROM to use a serial console |
instead of a locally attached keyboard and the framebuffer. The serial |
instead of a locally attached keyboard and the framebuffer. The serial |
Line 28 and [holding down the TOC (Transfer of C
|
Line 23 and [holding down the TOC (Transfer of C
|
the machine for 10 seconds while powering |
the machine for 10 seconds while powering |
up](http://lists.parisc-linux.org/pipermail/parisc-linux/1999-December/008138.html) |
up](http://lists.parisc-linux.org/pipermail/parisc-linux/1999-December/008138.html) |
will force a serial console. The last two tricks do not appear to work |
will force a serial console. The last two tricks do not appear to work |
on older models (such as the 715 and 735). See the [special |
on older models (such as the 715 and 735). See the [[special |
instructions](serialconsole-712.html) for model 712 workstations. |
instructions|serialconsole-712]] for model 712 workstations. |
|
|
From |
From |
[http://tldp.org/HOWTO/PA-RISC-Linux-Boot-HOWTO/index.html](http://tldp.org/HOWTO/PA-RISC-Linux-Boot-HOWTO/index.html) |
<http://tldp.org/HOWTO/PA-RISC-Linux-Boot-HOWTO/index.html> |
by Thomas Marteau, The Puffin Group and Deb Richardson. |
by Thomas Marteau, The Puffin Group and Deb Richardson. |
|
|
1. Turn the PA-RISC machine on. Have both the keyboard and mouse |
<ol> |
connected. |
<li>Turn the PA-RISC machine on. Have both the keyboard and mouse connected.</li> |
2. During the boot process, the following message will appear: |
<li>During the boot process, the following message will appear: |
|
<pre class="programlisting"> |
~~~~ {.programlisting} |
|
Searching for Potential Boot Devices. |
|
To terminate search, press and hold the ESCAPE key. |
|
~~~~ |
|
|
|
When this message appears, press and hold the Esc key until an |
|
options menu appears. |
|
|
|
3. By default, you enter the `BOOT_ADMIN`{.code} console. In some 715s, |
|
the options menu looks like this: |
|
|
|
~~~~ {.programlisting} |
|
b) Boot from specified device |
|
s) Search for bootable devices |
|
a) Enter Boot Administration mode |
|
x) Exit and continue boot sequence |
|
?) Help |
|
|
|
Select from menu: |
|
|
|
~~~~ |
|
|
|
Select `a) Enter Boot Administration mode`{.code}. This will bring |
|
up a `BOOT_ADMIN>`{.code} prompt. Everything else you do will be in |
|
`BOOT_ADMIN`{.code} mode. So now, everybody is in the |
|
`BOOT_ADMIN`{.code} console! |
|
|
|
4. To change to serial console mode, type the following command at the |
|
`BOOT_ADMIN`{.code} command prompt: |
|
|
|
~~~~ {.programlisting} |
|
path console rs232_a.9600.8.none |
|
~~~~ |
|
|
|
5. Power down, power up. Be ready to hit ESC on your terminal to break |
|
into the same options menu as in step 3. |
|
|
|
####The full procedure captured from a 735/99. |
|
NetBSD/hp700: Changing from Local Console to Serial Console |
|
=========================================================== |
|
|
|
~~~ {.programlisting} |
|
(c) Copyright. Hewlett-Packard Company. 1992. |
|
All rights reserved. |
|
|
|
PDC ROM rev. 1.1 |
|
IODC ROM rev. 1.0 |
|
240 MB of memory configured and tested. |
|
|
|
|
|
Selecting a system to boot. |
|
To stop selection process, press and hold the ESCAPE key. |
|
<ESC> |
|
Booting from: scsi.6.0 SEAGATE ST3600N |
|
|
|
Selection process stopped. |
|
|
|
Searching for Potential Boot Devices. |
Searching for Potential Boot Devices. |
To terminate search, press and hold the ESCAPE key. |
To terminate search, press and hold the ESCAPE key. |
|
</pre> |
Device Selection Device Path Device Type |
When this message appears, press and hold the Esc key until an |
---------------------------------------------------------------------------- |
options menu appears.</li> |
|
<li>By default, you enter the `BOOT_ADMIN` console. In some 715s, |
P0 scsi.6.0 SEAGATE ST3600N |
the options menu looks like this: |
<ESC> |
<pre class="programlisting"> |
Search terminated. |
|
|
|
|
|
|
|
b) Boot from specified device |
b) Boot from specified device |
s) Search for bootable devices |
s) Search for bootable devices |
a) Enter Boot Administration mode |
a) Enter Boot Administration mode |
x) Exit and continue boot sequence |
x) Exit and continue boot sequence |
?) Help |
?) Help<br /> |
|
Select from menu: |
Select from menu: a |
</pre> |
BOOT_ADMIN> path |
Select `a) Enter Boot Administration mode`. This will bring |
Primary boot path = scsi.6.0 |
up a `BOOT_ADMIN>` prompt. Everything else you do will be in |
Alternate boot path = lan.080009-6265a6.0.0 |
`BOOT_ADMIN` mode. So now, everybody is in the |
Console path = graphics |
`BOOT_ADMIN` console!</li> |
Keyboard path = hil |
|
BOOT_ADMIN> path console rs232_a.9600.8.none |
<li>To change to serial console mode, type the following command at the |
BOOT_ADMIN> reset |
`BOOT_ADMIN` command prompt: |
Resetting ... |
<pre class="programlisting"> |
~~~ |
path console rs232_a.9600.8.none |
|
</pre> |
|
</li> |
|
<li>Power down, power up. Be ready to hit ESC on your terminal to break |
|
into the same options menu as in step 3.</li> |
|
</ol> |
|
|
|
# How do I configure power-on settings (boot device, console, etc.) |
#### How do I configure power-on settings (boot device, console, etc.) ([top](#general)) |
|
|
|
All 700 series workstations have a Boot Administration command line |
All 700 series workstations have a Boot Administration command line |
utility in their Boot ROM which lets you configure various settings. For |
utility in their Boot ROM which lets you configure various settings. For |
Line 134 example, you can set whether the system
|
Line 72 example, you can set whether the system
|
device to try booting from first, determine the ethernet MAC address, |
device to try booting from first, determine the ethernet MAC address, |
set up a serial console, and possibly do some low level hardware access. |
set up a serial console, and possibly do some low level hardware access. |
|
|
To get to the `BOOT_ADMIN`{.code} prompt, you must press the |
To get to the `BOOT_ADMIN` prompt, you must press the |
`ESCAPE`{.code} key before it tries to boot an OS. Since these machines |
`ESCAPE` key before it tries to boot an OS. Since these machines |
often take a long time between powering on and the brief window of time |
often take a long time between powering on and the brief window of time |
where you can hit the `ESCAPE`{.code} key, you must pay attention. It |
where you can hit the `ESCAPE` key, you must pay attention. It |
may take over a minute after pressing the power button before anything |
may take over a minute after pressing the power button before anything |
will show up on screen. |
will show up on screen. |
|
|
Once you have escaped out of the `Selecting a system to boot`{.code} and |
Once you have escaped out of the `Selecting a system to boot` and |
`Searching for Potential Boot Devices`{.code} you need to type the |
`Searching for Potential Boot Devices` you need to type the |
"`a`{.code}" key to get to the `BOOT_ADMIN`{.code} prompt. Now, use the |
"`a`" key to get to the `BOOT_ADMIN` prompt. Now, use the |
online help with the `HELP`{.code} command. |
online help with the `HELP` command. |
|
|
`BOOT_ADMIN`{.code} menus options on a 735/99. |
|
|
|
~~~ {.programlisting} |
|
(c) Copyright. Hewlett-Packard Company. 1992. |
|
All rights reserved. |
|
|
|
PDC ROM rev. 1.1 |
|
IODC ROM rev. 1.0 |
|
240 MB of memory configured and tested. |
|
|
|
|
|
Selecting a system to boot. |
|
To stop selection process, press and hold the ESCAPE key. |
|
<ESC> |
|
Booting from: scsi.6.0 SEAGATE ST3600N |
|
|
|
Selection process stopped. |
Have fun (and see this brief [[transcript|boot_admin]] of some of the `BOOT_ADMIN` menus options on a 735/99). |
|
|
Searching for Potential Boot Devices. |
# What devices does my system try to boot from (and how do I change it) |
To terminate search, press and hold the ESCAPE key. |
|
|
|
Device Selection Device Path Device Type |
|
---------------------------------------------------------------------------- |
|
|
|
P0 scsi.6.0 SEAGATE ST3600N |
|
<ESC> |
|
Search terminated. |
|
|
|
|
|
|
|
|
|
b) Boot from specified device |
|
s) Search for bootable devices |
|
a) Enter Boot Administration mode |
|
x) Exit and continue boot sequence |
|
?) Help |
|
|
|
Select from menu: a |
Use the `AUTOSELECT` and `PATH` commands in the |
BOOT_ADMIN> help |
[`BOOT_ADMIN`](#boot_admin) environment. |
|
|
The following commands are available: |
# HP-UX Compatibility |
|
|
AUTOSELECT Display/Set state of AUTOSELECT flag |
NetBSD/hp700 will one day feature extensive binary compatibility with |
BOOT Boot from Primary/Alternate path or Specified Device |
HP-UX programs, however this work has not been done yet. |
DATE Read/Set the Real-Time Clock |
|
EXIT Return to previous menu |
|
FASTBOOT Display/Set state of FASTBOOT flag |
|
FASTSIZE Display/Set FASTSIZE memory parameter |
|
FDDI_ADDR Display FDDI Station Address |
|
HELP <item> Display Help information for <item> |
|
INFO Display boot/revision information |
|
LAN_ADDR Display LAN Station Address |
|
OS Display/Select Operating System |
|
PATH Display/Modify Path Information |
|
PIM_INFO Display Processor Internal Memory Information |
|
RESET Reset the System |
|
SEARCH Search for boot device |
|
SECURE Display/set secure boot mode |
|
SHOW Display the results of the previous search |
|
|
|
BOOT_ADMIN> help autoselect |
|
|
|
AUTOSELECT/AUTO Display the state of the AUTOSELECT flag |
|
|
|
AUTOSELECT ON Enable AUTOSELECT at next boot |
|
AUTOSELECT OFF Disable AUTOSELECT at next boot |
|
|
|
AUTOSELECT enables the automatic search and selection of |
|
a boot device. The autoselection search process for boot |
|
devices is ordered: |
|
- primary boot device (as defined in Stable Storage) |
|
- SCSI at address 6 |
|
- SCSI at address 5 |
|
- FWSCSI at address 6 |
|
- FWSCSI at address 5 |
|
- LAN |
|
- Other devices connected to SCSI |
|
- Other devices connected to FWSCSI |
|
- EISA |
|
|
|
BOOT_ADMIN> autoselect |
|
AUTOSELECT ON. |
|
BOOT_ADMIN> autoselect off |
|
AUTOSELECT OFF. |
|
BOOT_ADMIN> lan_addr |
|
LAN Station Address: 080009-488879 |
|
BOOT_ADMIN> help path |
|
|
|
Set named path in Stable Storage: PATH <path_type> <device>[.<options>] |
|
Display named path: PATH <path_type> |
|
Display all paths in Stable Storage: PATH |
|
|
|
<path_type> primary, alternate, console, keyboard |
|
<device>[.<options>] may be one of the following: |
|
|
|
eisa.<options> (EISA adapter) |
|
fwscsi.<options> (On-board FASTWIDE SCSI interface) |
|
lan.<options> (Slider-card LAN interface) |
|
scsi.<options> (On-board SCSI interface) |
|
|
|
graphics (Graphics Slot) |
|
hil (HP-HIL Module) |
|
parallel (On-board Parallel Port) |
|
rs232_a.<options> (Serial Port A) |
|
rs232_b.<options> (Serial Port B) |
|
|
|
For more information on device options, type HELP <device> |
|
where <device> = eisa, lan, rs232, etc ... |
|
|
|
BOOT_ADMIN> path |
|
Primary boot path = scsi.6.0 |
|
Alternate boot path = lan.080009-6265a6.0.0 |
|
Console path = graphics |
|
Keyboard path = hil |
|
|
|
BOOT_ADMIN> help lan |
|
|
|
|
|
LAN (IEEE 802.3/Ethernet LAN) Path Specification |
|
|
|
lan.<server_address>.<init_retry>.<io_retry> |
|
|
|
<lan_server_address> 12 digit (hex) LAN server address |
|
<init_retry> max number of times to try a boot request |
|
(0 = default, 255 = infinite) |
|
<io_retry> max number of times to try a read request |
|
(0 = default, 255 = infinite) |
|
|
|
Example: to specify LAN address 123456-78ABCD with infinite |
|
initialization retries and default I/O retries, |
|
|
|
lan.123456-78ABCD.255.0 |
|
|
|
If one or more parameters are not specified, the following |
|
defaults will be used: <lan_server_address> = 000000-000000 |
|
<init_retry> = 3 tries |
|
<io_retry> = 6 tries |
|
|
|
BOOT_ADMIN> reset |
|
Resetting ... |
|
~~~ |
|
|
|
|
# History of NetBSD/hp700 |
|
|
#### What devices does my system try to boot from (and how do I change it) ([top](#general)) |
The hp700 port of NetBSD was started by Matt Fredette in October 2001. He started working with Michael Shalayeff's [OpenBSD/hppa](http://www.openbsd.org/hppa.html) sources at that time, and after much work had it booting multiuser in March of 2002. At that time he began merging the port into the NetBSD tree. |
|
|
Use the `AUTOSELECT`{.code} and `PATH`{.code} commands in the |
# Other sources of information |
[`BOOT_ADMIN`{.code}](#boot_admin) environment. |
|
|
|
#### HP-UX Compatibility ([top](#general)) |
* [OpenBSD/hppa](http://www.openbsd.org/hppa.html) |
|
* [PA-RISC Linux Development Project](http://parisc-linux.org/index.html) |
|
* [The Cypher HP PA-RISC Project page](http://www.openpa.net/) (good info on hp700 machines) |
|
* [Utah PA-RISC Mach/Lites/4.4](http://www.cs.utah.edu/flux/mach4-parisc/html/pamach.html) (obsolete) |
|
* [MkLinux for HP PA-RISC](ftp://ftp.cirr.com/pub/hppa/mklinux/mkpa.html) (obsolete) |
|
* [HPBSD: Utah's 4.3bsd port for HP9000 series machines](http://www.flux.utah.edu/~mike/hpbsd/hpbsd.html) (obsolete) |
|
* [HP Workstation Documentation Archive](http://www.hp.com/workstations/support/archive/) (some manuals for Series 700 machines) |
|
* [Netbooting NetBSD/hp700](http://www.NetBSD.org/docs/network/netboot/intro.hp700.html). |
|
* [General NetBSD Documentation](http://www.NetBSD.org/docs/) - for questions not specific to NetBSD/hp700. |
|
|
NetBSD/hp700 will one day feature extensive binary compatibility with |
|
HP-UX programs, however this work has not been done yet. |
|
|
|