712 serial console
[email protected] (ITOH Yasufumi)
| Newsgroups | gmane.os.netbsd.ports.hp700 |
|---|---|
| Message-ID | <[email protected]> |
Hello, I had some difficulty to change the console to serial on my 712/80, and I wrote documentation about it. (712 won't boot the recent snapshots, however....) I'd like to have comments and corrections. -- ITOH Yasufumi
serialconsole-712.html
(text/html, 9.9 KB)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <!-- Copyright (c) 2002 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED. --> <link rev="made" href="mailto:[email protected]"> <title>NetBSD/hp700: Changing from Local Console to Serial Console (HP 9000/712) </title> </head> <body bgcolor="#ffffff" text="#000000" link="#2020cc" vlink="#700080"> <h1>Changing from Local Console to Serial Console (HP 9000/712)</h1> <p><em>WARNING: Improper setting of the console path may cause the system inoperable. Beware. </em> <p>To change to serial console, you are expected to have <ol> <li>a PS/2 style keyboard, and <li>a graphical display with VGA style interface. </ol> <p>Changing configurations needs to stop auto booting sequence. Pressing <kbd>Esc</kbd> key shall stop auto booting, but the timing is rather severe. Holding down <kbd>Esc</kbd> until the command menu is displayed (but it sometimes fails). <hr> <h2>Step 1: Setting monitor type</h2> <p>If your display doesn't show properly, the frequency may be out-of-range. You can select the monitor type suitable to your display. <p>Here's an example of setting the monitor type. If your 712 has add-in VRAM board, monitor type 7 is the standard 640x480 mode. Without VRAM board, the number may be different (around 5?). <pre> ---------------------------------------------------------------------------- BootRom Version 1.6 Memory Size: 64 MB ---------------------------------------------------------------------------- (c) Copyright 1990-1993, Hewlett-Packard Company. All rights reserved Press <ESCAPE> to stop boot sequence. <b><ESC></b> Selecting a system to boot. ---------------------------------------------------------------------------- Command Description ------- ----------- Auto [boot|search] [on|off] Display or set auto flag Boot [pri|alt|scsi.addr] [isl] Boot from primary, alternate or SCSI Boot lan[.lan_addr] [install] [isl] Boot from LAN Chassis [on|off] Enable chassis codes Diagnostic [on|off] Enable/disable diagnostic boot mode Fastboot [on|off] Display or set fast boot flag Help Display the command menu Information Display system information LanAddress Display LAN station addresses Monitor [type] Select monitor type Path [pri|alt] [lan.id|SCSI.addr] Change boot path Pim [hpmc|toc|lpmc] Display PIM info Search [ipl] [scsi|lan [install]] Display potential boot devices Secure [on|off] Display or set security mode ---------------------------------------------------------------------------- BOOT_ADMIN> <b>monitor 7</b> Monitor Choices Type Resolution Frequency ---- ---------- --------- 1 1280x1024 72Hz 2 1024x768 75Hz 3 1024x768 70Hz 4 1024x768 75Hz Flat Panel 5 1280x1024 60Hz 6 1024x768 60Hz 7 640x480 60Hz 8 1280x1024 75Hz VESA 9 1024x768 75Hz VESA 10 800x600 75Hz VESA 11 640x480 75Hz VESA 12 1280x1024 72Hz Greyscale 13 1280x1024 50Hz Current Monitor Type is 7 640x480 60Hz BOOT_ADMIN> <b>reset</b> </pre> <hr> <h2>Step 2, Case 1: If you have HP-UX installed on local disk</h2> <p>Here's an example. <pre> ---------------------------------------------------------------------------- BootRom Version 1.6 Memory Size: 64 MB ---------------------------------------------------------------------------- (c) Copyright 1990-1993, Hewlett-Packard Company. All rights reserved Press <ESCAPE> to stop boot sequence. <b><ESC></b> Selecting a system to boot. ---------------------------------------------------------------------------- Command Description ------- ----------- Auto [boot|search] [on|off] Display or set auto flag Boot [pri|alt|scsi.addr] [isl] Boot from primary, alternate or SCSI Boot lan[.lan_addr] [install] [isl] Boot from LAN Chassis [on|off] Enable chassis codes Diagnostic [on|off] Enable/disable diagnostic boot mode Fastboot [on|off] Display or set fast boot flag Help Display the command menu Information Display system information LanAddress Display LAN station addresses Monitor [type] Select monitor type Path [pri|alt] [lan.id|SCSI.addr] Change boot path Pim [hpmc|toc|lpmc] Display PIM info Search [ipl] [scsi|lan [install]] Display potential boot devices Secure [on|off] Display or set security mode ---------------------------------------------------------------------------- BOOT_ADMIN> <b>boot pri isl</b> Booting ISL Revision A.00.38 OCT 26, 1994 ISL> <b>display</b> Fastsize value is 0000000F Autoboot is ON (enabled) Autosearch is ON (enabled) Primary boot path is 2/0/1.6.0.0.0.0.0 Primary boot path is (hex) 2/0/1.6.0.0.0.0.0 Alternate boot path is 2/0/2.0.0.0.0.0.0 Alternate boot path is (hex) 2/0/2.0.0.0.0.0.0 System console path is 1.0.0.0.0.0.0 System console path is (hex) 1.0.0.0.0.0.0 ISL> <b>conspath 2/0/4.0x283</b> ISL> <b>display</b> Fastsize value is 0000000F Autoboot is ON (enabled) Autosearch is ON (enabled) Primary boot path is 2/0/1.6.0.0.0.0.0 Primary boot path is (hex) 2/0/1.6.0.0.0.0.0 Alternate boot path is 2/0/2.0.0.0.0.0.0 Alternate boot path is (hex) 2/0/2.0.0.0.0.0.0 System console path is 2/0/4.643.0.0.0.0.0 System console path is (hex) 2/0/4.283.0.0.0.0.0 ISL> </pre> <p>Then, cycle the power. <hr> <h2>Step 2, Case 2: If you don't have HP-UX</h2> <p>Preparation: <ol> <li>Get the firmware update (<a href="ftp://ftp.itrc.hp.com/firmware_patches/hp/cpu/PF_C7120023" >PF_C7120023</a>) from HP site (but we are not updating firmware here). <li>Extract the binary. <pre> % <b>mkdir /tmp/712</b> % <b>cd /tmp/712</b> % <b>sh /<var>somewhere</var>/PF_C7120023</b> x - C7120023.text Compiling unpacker for non-ascii files /tmp/ccIy0Rg8.o: warning: this program uses gets(), which is unsafe. x - C7120023.frm [compressed] ERROR: wc results of C7120023.frm are 5518 32547 709632 should be 5518 22318 709632 % <b>rm /tmp/uud*end</b> </pre> <p>The checksum may not match if you execute this other than on an HP-UX system, which is probably OK. <li><a href="../../Documentation/network/netboot/intro.hp700.html"> Set up netbooting</a> (using BOOTP and tftp) to boot the file extracted above (just specify C7120023.frm in dhcpd.conf or bootptab, and setup tftpd). <li>Boot 712 from LAN. See the following example. </ol> <pre> ---------------------------------------------------------------------------- BootRom Version 1.6 Memory Size: 64 MB ---------------------------------------------------------------------------- (c) Copyright 1990-1993, Hewlett-Packard Company. All rights reserved Press <ESCAPE> to stop boot sequence. <b><ESC></b> Selecting a system to boot. ---------------------------------------------------------------------------- Command Description ------- ----------- Auto [boot|search] [on|off] Display or set auto flag Boot [pri|alt|scsi.addr] [isl] Boot from primary, alternate or SCSI Boot lan[.lan_addr] [install] [isl] Boot from LAN Chassis [on|off] Enable chassis codes Diagnostic [on|off] Enable/disable diagnostic boot mode Fastboot [on|off] Display or set fast boot flag Help Display the command menu Information Display system information LanAddress Display LAN station addresses Monitor [type] Select monitor type Path [pri|alt] [lan.id|SCSI.addr] Change boot path Pim [hpmc|toc|lpmc] Display PIM info Search [ipl] [scsi|lan [install]] Display potential boot devices Secure [on|off] Display or set security mode ---------------------------------------------------------------------------- BOOT_ADMIN> <b>boot lan isl</b> Booting ISL Revision A.00.25 November 18, 1992 ISL> <b>display</b> Fastsize value is 0000000F Autoboot is ON (enabled) Autosearch is ON (enabled) Primary boot path is 2/0/1.6.0.0.0.0.0 Primary boot path is (hex) 2/0/1.6.0.0.0.0.0 Alternate boot path is 2/0/2.0.0.0.0.0.0 Alternate boot path is (hex) 2/0/2.0.0.0.0.0.0 System console path is 1.0.0.0.0.0.0 System console path is (hex) 1.0.0.0.0.0.0 ISL> <b>conspath 2/0/4.0x283</b> ISL> <b>display</b> Fastsize value is 0000000F Autoboot is ON (enabled) Autosearch is ON (enabled) Primary boot path is 2/0/1.6.0.0.0.0.0 Primary boot path is (hex) 2/0/1.6.0.0.0.0.0 Alternate boot path is 2/0/2.0.0.0.0.0.0 Alternate boot path is (hex) 2/0/2.0.0.0.0.0.0 System console path is 2/0/4.643.0.0.0.0.0 System console path is (hex) 2/0/4.283.0.0.0.0.0 ISL> </pre> <p>Then, cycle the power. <hr> <h2>Using graphical console temporarily when the console is set to serial</h2> <p>Pressing <kbd>Esc</kbd> key of the PS/2 keyboard while resetting changes the console to graphical one temporarily (firmware rev 1.6 and later). <hr> <h2>Changing to graphical console</h2> <p>Changing console path by <pre> ISL> <b>conspath 1/0/0.0</b> </pre> <p>changes the console to graphical one. <hr> <address> <small> [email protected]<br> $NetBSD$<br> <a href="../../Misc/disclaimer.html">Copyright © 2002 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.</a> </small> </address> </body> </html>