summaryrefslogtreecommitdiffstats
path: root/sbin/reboot
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>1999-05-22 12:55:16 +0000
committerrnordier <rnordier@FreeBSD.org>1999-05-22 12:55:16 +0000
commit8d27cdc18500b866e4e2b301bf71a959425602ff (patch)
treeee79b47ec7e0923b34c7ae97cefec473a5662dd7 /sbin/reboot
parent90370ee0077ab4277dce0b8d67e5ade2fbf936a0 (diff)
downloadFreeBSD-src-8d27cdc18500b866e4e2b301bf71a959425602ff.zip
FreeBSD-src-8d27cdc18500b866e4e2b301bf71a959425602ff.tar.gz
Include a table of disk error codes and a note about the cylinder >
1023 issue.
Diffstat (limited to 'sbin/reboot')
-rw-r--r--sbin/reboot/boot_i386.840
1 files changed, 39 insertions, 1 deletions
diff --git a/sbin/reboot/boot_i386.8 b/sbin/reboot/boot_i386.8
index 1879c6f..73ad889 100644
--- a/sbin/reboot/boot_i386.8
+++ b/sbin/reboot/boot_i386.8
@@ -6,6 +6,8 @@
.\"
.\" Almost completely rewritten for FreeBSD 2.1 by Joerg Wunsch.
.\"
+.\" Substantially revised for FreeBSD 3.1 by Robert Nordier.
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -36,7 +38,7 @@
.\"
.\" @(#)boot_i386.8 8.2 (Berkeley) 4/19/94
.\"
-.\" $Id: boot_i386.8,v 1.16 1999/01/19 09:04:18 rnordier Exp $
+.\" $Id: boot_i386.8,v 1.17 1999/03/16 13:16:11 rnordier Exp $
.\"
.Dd April 19, 1994
.Dt BOOT 8 i386
@@ -249,6 +251,42 @@ typical non-default kernel (optional)
.Xr loader 8 ,
.Xr reboot 8 ,
.Xr shutdown 8
+.Sh DIAGNOSTICS
+When disk-related errors occur, these are reported by the second-stage
+bootstrap using the same error codes returned by the BIOS, for example
+``Disk error 0x1 (lba=0x12345678)''. Here is a partial list of these
+error codes:
+.Bl -tag -width "0x80" -compat
+.It 0x1
+Invalid argument
+.It 0x2
+Address mark not found
+.It 0x4
+Sector not found
+.It 0x8
+DMA overrun
+.It 0x9
+DMA attempt across 64K boundary
+.It 0xc
+Invalid media
+.It 0x10
+Uncorrectable CRC/ECC error
+.It 0x20
+Controller failure
+.It 0x40
+Seek failed
+.It 0x80
+Timeout
+.El
+.Pp
+IMPORTANT NOTE: Because of limitations imposed by the conventional
+disk interface provided by the BIOS, all boot-related files and
+structures (including the kernel) that need to be accessed during the
+boot phase must reside on the disk at or below cylinder 1023 (as the
+BIOS understands the geometry). When a
+.Dq Disk error 0x1
+is reported by the second-stage bootstrap, it generally means that this
+requirement has not been adhered to.
.Sh BUGS
The disklabel format used by this version of
.Bx
OpenPOWER on IntegriCloud