xref: /openbsd/share/man/man8/man8.alpha/boot_alpha.8 (revision 404b540a)
1.\"	$OpenBSD: boot_alpha.8,v 1.15 2007/05/31 19:19:59 jmc Exp $
2.\"
3.\" Copyright (c) 2002, Miodrag Vallat.
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.Dd $Mdocdate: May 31 2007 $
26.Dt BOOT_ALPHA 8 alpha
27.Os
28.Sh NAME
29.Nm boot_alpha
30.Nd Alpha system bootstrapping procedures
31.Sh DESCRIPTION
32.Ss Cold starts
33When powered on, the SRM firmware will proceed to its initialization, and
34will boot an operating system if the
35.Em auto_action
36variable is set to
37.Dq boot
38or
39.Dq restart ,
40or will wait for interactive commands if set to
41.Dq halt .
42.Ss Warm starts
43After a panic, or if the system is rebooted via
44.Xr reboot 8
45or
46.Xr shutdown 8 ,
47the SRM console will only restart the system if the
48.Em auto_action
49variable is set to
50.Dq boot .
51.Ss Boot process options
52The SRM console will attempt to boot a kernel named from the
53.Em boot_file
54environment variable, on the device listed in the
55.Em bootdef_dev
56variable.
57A list of the recognized SRM devices can be obtained with the command
58.Ic show dev
59at the SRM prompt.
60If the
61.Em boot_file
62variable is not set or empty,
63.Pa /bsd
64will be used by default.
65.Pp
66The kernel will be passed the options listed in the
67.Em boot_osflags
68variable.
69Option letters are case insensitive.
70The following option letters are recognized:
71.Bl -tag -width "XXX" -offset indent -compact
72.Pp
73.It Cm a
74Boot the system multi-user.
75This is the default behaviour of the kernel if no flags are specified.
76.It Cm b
77Enter the debugger,
78.Xr ddb 4 ,
79as soon as the kernel console has been initialized.
80.It Cm c
81Enter the
82.Dq User Kernel Configuration
83mode upon startup
84.Pq Xr boot_config 8 .
85.It Cm d
86Create a kernel crash dump immediately after the devices have been configured.
87This option is only available on kernels compiled with
88.Qq option DEBUG .
89.It Cm h
90On the next system reboot, always halt the system, even if a reboot is
91required.
92.It Cm n
93Prompt for the root filesystem device after the devices have been configured.
94.It Cm s
95Boot the system single-user.
96.El
97.Ss Abnormal system termination
98In case of system crashes, the kernel will usually enter the kernel
99debugger,
100.Xr ddb 4 ,
101unless it is not present in the kernel, or it is disabled via the
102.Em ddb.panic
103sysctl.
104Upon leaving ddb, or if ddb was not entered, the kernel will halt the system
105if it was still in device configuration phase, or attempt a dump to the
106configured dump device, if possible.
107The crash dump will then be recovered by
108.Xr savecore 8
109during the next multi-user boot cycle.
110It is also possible to force other behaviours from ddb.
111.Sh FILES
112.Bl -tag -width /usr/mdec/netboot -compact
113.It Pa /bsd
114default system kernel
115.It Pa /bsd.rd
116standalone installation kernel, suitable for disaster recovery
117.It Pa /usr/mdec/bootxx
118primary bootstrap for
119.Dq ffs
120file system
121.It Pa /usr/mdec/boot
122secondary bootstrap (usually also installed as
123.Pa /boot )
124.It Pa /usr/mdec/netboot
125network bootstrap
126.El
127.Sh SEE ALSO
128.Xr ddb 4 ,
129.Xr boot_config 8 ,
130.Xr halt 8 ,
131.Xr init 8 ,
132.Xr installboot 8 ,
133.Xr reboot 8 ,
134.Xr savecore 8 ,
135.Xr setnetbootinfo 8 ,
136.Xr shutdown 8
137.Rs
138.%T "Alpha Architecture Reference Manual Third Edition"
139.%Q "Alpha Architecture Committee"
140.%I "Digital Press"
141.%D 1998
142.Re
143.Sh BUGS
144The device names used by
145.Ox Ns / Ns alpha
146and the
147.Tn SRM Console
148often have no relation to each other.
149