NetBSD Problem Report #9552
Received: (qmail 22317 invoked from network); 6 Mar 2000 01:16:53 -0000
Message-Id: <200003060117.UAA01211@zorkmid.mit.edu>
Date: Sun, 5 Mar 2000 20:17:01 -0500 (EST)
From: John Hawkinson <jhawk@mit.edu>
Reply-To: jhawk@mit.edu
To: gnats-bugs@gnats.netbsd.org
Subject: i386 boot(8) omits mention of netbsd.gz, onetbsd, etc.
X-Send-Pr-Version: 3.95
>Number: 9552
>Category: port-i386
>Synopsis: i386 boot(8) omits mention of netbsd.gz, onetbsd, etc.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-i386-maintainer
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 05 17:18:00 +0000 2000
>Closed-Date: Mon Mar 06 01:44:46 +0000 2000
>Last-Modified: Sun Sep 07 22:28:00 +0000 2003
>Originator: John Hawkinson
>Release: NetBSD 1.4.1
>Organization:
MIT
>Environment:
System: NetBSD zorkmid.mit.edu 1.4.1 NetBSD 1.4.1 (ZORKMID) #9: Sun Mar 5 15:44:11 EST 2000 jhawk@zorkmid.mit.edu:/usr/src/sys/arch/i386/compile/ZORKMID i386
>Description:
This is still present in -current.
boot(8) faiuls to mention netbsd.gz, onetbsd, or any of the
other alternate bootfiles to/netbsd.
Perhaps more seriously, there doesn't appear to be a good
discussion of gzipping of kernels. Also, some of this is
cross-platform, or at least should be consistent across platforms,
and in many cases is, but is documented seperately (and perhaps
implemented seperately) in different boot(8) manpages. Solving
that usefully is tricky
>How-To-Repeat:
Wonder where that /onetbsd thing you've been using for years is
documented, and start looking.
>Fix:
Here's what seems to be a reasonable first cut. Diff against
1.4.1 but applies cleanly to -current.
===================================================================
RCS file: share/man/man8/man8.i386/RCS/boot.8,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** share/man/man8/man8.i386/boot.8 2000/03/06 00:27:53 1.1
--- share/man/man8/man8.i386/boot.8 2000/03/06 01:15:35 1.2
***************
*** 84,91 ****
The default disk will be set to the disk that the boot loader was
loaded from.
To boot from an alternate disk, the full name of the device should
! be given at the prompt. Alternate system images can be loaded by
! just specifying the name of the image.
.Pp
The following list of supported devices may vary from installation to
installation:
--- 84,103 ----
The default disk will be set to the disk that the boot loader was
loaded from.
To boot from an alternate disk, the full name of the device should
! be given at the prompt.
! .Pp
! The default image is
! .Dq Li netbsd ;
! if the boot loader fails to successfully
! open that image, it then tries
! .Dq Li netbsd.gz
! (expected to be a kernel image compressed by gzip), followed by
! .Dq Li netbsd.old ,
! .Dq Li netbsd.old.gz ,
! .Dq Li onetbsd ,
! and finally
! .Dq Li onetbsd.gz .
! Alternate system images can be loaded by just specifying the name of the image.
.Pp
The following list of supported devices may vary from installation to
installation:
***************
*** 123,128 ****
--- 135,142 ----
.Bl -tag -width /usr/mdec/biosboot.sym -compact
.It Pa /netbsd
system code
+ .It Pa /netbsd.gz
+ gzip-compressed system code
.It Pa /usr/mdec/biosboot.sym
boot block (not installed)
.It Pa /boot
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: hubertf
State-Changed-When: Sun Mar 5 17:44:46 PST 2000
State-Changed-Why:
I've applied your patch, thanks a lot!
- Hubert
From: Frank van der Linden <fvdl@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/9552 CVS commit: src/lib/csu
Date: Sun, 7 Sep 2003 22:27:56 +0000 (UTC)
Module Name: src
Committed By: fvdl
Date: Sun Sep 7 22:27:55 UTC 2003
Modified Files:
src/lib/csu/common_elf: crtbegin.c dwarf2_eh.h
src/lib/csu/x86_64: Makefile
Log Message:
Allow platforms to define __EH_FRAME_CONST. Currently "const" for x86_64,
empty for others. x86_64 (and s390, which we do not have) have .eh_frame
as a read-only section, so __EH_FRAME_BEGIN__ and the register/deregister
functions must take a const foo *.
This also fixes an ICE in gcc 3.3.1 (see gcc PR #9552)
To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/lib/csu/common_elf/crtbegin.c
cvs rdiff -r1.1 -r1.2 src/lib/csu/common_elf/dwarf2_eh.h
cvs rdiff -r1.3 -r1.4 src/lib/csu/x86_64/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.