Configuring HP-UX For Peripherals

32 Chapter1
Getting Started
Configuring HP-UX for any Peripheral (A Summary)
(1M) and kmtune (1M) in the HP-UX Reference.
c. Build the new kernel by invoking the mk_kernel command. This
creates /stand/build/vmunix_test, a kernel ready for testing.
/usr/sbin/mk_kernel -s /stand/build/system
d. Save the old system file by moving it. Then move the new system file
into place.
mv /stand/system /stand/system.prev
mv /stand/build/system /stand/system
e. Prepare for rebooting by invoking the kmupdate command. This sets a
flag that tells the system to use the new kernel when it restarts.
/usr/sbin/kmupdate
Step 2. Notify users that the system must be rebooted.
Step 3. Shut down and halt the system using the /usr/sbin/shutdown -h
command.
a. When HALTED, you may cycle power appears on the screen, turn off
the computer and unplug the power cord. This is recommended for all
devices; for SCSI devices and interface cards, it is required.
b. Install the peripheral device, following directions in the supplied
hardware documentation.
c. Power on the peripheral devices and wait for them to signal ready;
then power on the computer system, which will cause your system to
reboot. As HP-UX reboots, it will create the device special files
required by the new peripheral device in the appropriate /dev
directories.
NOTE Before attempting to reboot using the new kernel, the system startup
scripts save a copy of the old kernel in /stand/vmunix.prev. If the new
kernel won't boot, use this copy of the old kernel, together with the copy
of the old system file you saved in /stand/system.prev, to restart the
system.
Step 4. Verify the configuration by invoking the ioscan command, as discussed
earlier in this chapter.