NetBSD Problem Report #38943
From gson@gson.org Thu Jun 12 07:25:13 2008
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id B575663B8BC
for <gnats-bugs@gnats.NetBSD.org>; Thu, 12 Jun 2008 07:25:13 +0000 (UTC)
Message-Id: <20080612072510.C7A3F761A8@guava.gson.org>
Date: Thu, 12 Jun 2008 10:25:10 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@gnats.NetBSD.org
Subject: i386 floppy installation now prompts for each floppy twice
X-Send-Pr-Version: 3.95
>Number: 38943
>Category: install
>Synopsis: i386 floppy installation now prompts for each floppy twice
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: install-manager
>State: analyzed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 12 07:30:00 +0000 2008
>Closed-Date:
>Last-Modified: Fri Feb 06 10:03:18 +0000 2009
>Originator: Andreas Gustafsson
>Release: NetBSD 4.99.64
>Organization:
>Environment:
System: NetBSD 4.99.64 under qemu
Architecture: i386
Machine: i386
>Description:
NetBSD-current/i386 has recently started prompting for each install
floppy twice, causing the total number of floppy insertions required
to install to jump from two to four.
The problem appeared some time between source date 20080516-1010 EET
and 20080602-2224. It is still there at 20080611-1128 EET.
On June 3, I sent a message to current-users asking whether this
change is intentional. As I received no response, I assume it is not.
>How-To-Repeat:
Attempt to install NetBSD-current/i386 from floppies.
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: christos@NetBSD.org
State-Changed-When: Fri, 26 Sep 2008 11:09:47 -0400
State-Changed-Why:
should be fixed now. please let me know if it is not.
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: install-manager@NetBSD.org, netbsd-bugs@NetBSD.org, gnats-admin@NetBSD.org,
christos@NetBSD.org, gson@gson.org, tsutsui@ceres.dti.ne.jp
Subject: Re: install/38943 (i386 floppy installation now prompts for each floppy
twice)
Date: Sat, 27 Sep 2008 03:21:22 +0900
> should be fixed now. please let me know if it is not.
Works for me on qemu.
---
Izumi Tsutsui
State-Changed-From-To: closed->open
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Tue, 20 Jan 2009 01:23:25 +0900
State-Changed-Why:
The actual problem is in MI loadfile():
http://mail-index.NetBSD.org/tech-toolchain/2008/09/25/msg000433.html
but only x86 bootloader was patched:
http://mail-index.NetBSD.org/source-changes/2008/09/26/msg210729.html
so other ports (at least macppc and x68k) still have the same problem:
---
0 > boot fd:0 -
OF_open bootpath=fd
read stage 2 blocks: 01234567. done!
starting stage 2...
>> NetBSD/macppc OpenFirmware Boot, Revision 1.10
>> (builds@b6.netbsd.org, Sun Jan 18 09:57:25 UTC 2009)
4855792/
Please remove disk 1, insert disk 2, and press return...
+242848
Please remove disk 2, insert disk 1, and press return...
-
Please remove disk 1, insert disk 2, and press return...
=0x4dcfe4
start=0x100000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008
The NetBSD Foundation, Inc. All rights reserved.
:
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38943 CVS commit: src/sys/arch/newsmips/stand/boot
Date: Tue, 20 Jan 2009 13:12:26 +0000 (UTC)
Module Name: src
Committed By: tsutsui
Date: Tue Jan 20 13:12:26 UTC 2009
Modified Files:
src/sys/arch/newsmips/stand/boot: boot.c
Log Message:
Disable LOAD_NOTE on floppy boot. Fixes PR install/38943 on newsmips.
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/arch/newsmips/stand/boot/boot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38943 CVS commit: src/sys/arch/news68k/stand/boot
Date: Tue, 20 Jan 2009 13:35:28 +0000 (UTC)
Module Name: src
Committed By: tsutsui
Date: Tue Jan 20 13:35:28 UTC 2009
Modified Files:
src/sys/arch/news68k/stand/boot: boot.c
Log Message:
Disable LOAD_NOTE on floppy boot. Fixes PR install/38943 on news68k.
news68k uses single boot floppy, but this still prevents extra seek
across a whole kernel in ustarfs.
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/arch/news68k/stand/boot/boot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38943 CVS commit: [netbsd-5] src/sys/arch/newsmips/stand/boot
Date: Sun, 25 Jan 2009 21:51:16 +0000 (UTC)
Module Name: src
Committed By: snj
Date: Sun Jan 25 21:51:16 UTC 2009
Modified Files:
src/sys/arch/newsmips/stand/boot [netbsd-5]: boot.c
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #307):
sys/arch/newsmips/stand/boot/boot.c: revision 1.17
Disable LOAD_NOTE on floppy boot. Fixes PR install/38943 on newsmips.
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.16.88.1 src/sys/arch/newsmips/stand/boot/boot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38943 CVS commit: [netbsd-5] src/sys/arch/news68k/stand/boot
Date: Sun, 25 Jan 2009 21:52:19 +0000 (UTC)
Module Name: src
Committed By: snj
Date: Sun Jan 25 21:52:19 UTC 2009
Modified Files:
src/sys/arch/news68k/stand/boot [netbsd-5]: boot.c
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #307):
sys/arch/news68k/stand/boot/boot.c: revision 1.17
Disable LOAD_NOTE on floppy boot. Fixes PR install/38943 on news68k.
news68k uses single boot floppy, but this still prevents extra seek
across a whole kernel in ustarfs.
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.16.4.1 src/sys/arch/news68k/stand/boot/boot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38943 CVS commit: src/sys/arch/macppc/stand/ofwboot
Date: Wed, 28 Jan 2009 15:03:28 +0000 (UTC)
Module Name: src
Committed By: tsutsui
Date: Wed Jan 28 15:03:28 UTC 2009
Modified Files:
src/sys/arch/macppc/stand/ofwboot: boot.c boot.h ofdev.c ofdev.h
version
Log Message:
- modify a pathname parse function to explicitly return devname and filename
- check floppyboot properly per devname before loadfile(), not in devopen()
- disable LOAD_NOTE on floppyboot to avoid backward seek
- bump revision
Tested floppy boot and IDE boot on Apus2000 with OpenFirmware 2.0.
Fixes PR install/38943 on macppc.
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/sys/arch/macppc/stand/ofwboot/boot.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/macppc/stand/ofwboot/boot.h
cvs rdiff -r1.21 -r1.22 src/sys/arch/macppc/stand/ofwboot/ofdev.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/macppc/stand/ofwboot/ofdev.h
cvs rdiff -r1.11 -r1.12 src/sys/arch/macppc/stand/ofwboot/version
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38943 CVS commit: src/sys/arch/x68k/stand/boot
Date: Sat, 31 Jan 2009 14:22:21 +0000 (UTC)
Module Name: src
Committed By: tsutsui
Date: Sat Jan 31 14:22:21 UTC 2009
Modified Files:
src/sys/arch/x68k/stand/boot: boot.c
Log Message:
Disable LOAD_NOTE on floppy boot.
Tested by isaki@ and fixes PR install/38943 on x68k.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/sys/arch/x68k/stand/boot/boot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38943 CVS commit: [netbsd-5] src/sys/arch/macppc/stand/ofwboot
Date: Mon, 2 Feb 2009 22:19:09 +0000 (UTC)
Module Name: src
Committed By: snj
Date: Mon Feb 2 22:19:09 UTC 2009
Modified Files:
src/sys/arch/macppc/stand/ofwboot [netbsd-5]: boot.c boot.h ofdev.c
ofdev.h version
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #407):
sys/arch/macppc/stand/ofwboot/boot.c: revision 1.23
sys/arch/macppc/stand/ofwboot/boot.h: revision 1.3
sys/arch/macppc/stand/ofwboot/ofdev.c: revision 1.22
sys/arch/macppc/stand/ofwboot/ofdev.h: revision 1.6
sys/arch/macppc/stand/ofwboot/version: revision 1.12
- modify a pathname parse function to explicitly return devname and filename
- check floppyboot properly per devname before loadfile(), not in devopen()
- disable LOAD_NOTE on floppyboot to avoid backward seek
- bump revision
Tested floppy boot and IDE boot on Apus2000 with OpenFirmware 2.0.
Fixes PR install/38943 on macppc.
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.22.10.1 src/sys/arch/macppc/stand/ofwboot/boot.c
cvs rdiff -r1.1 -r1.1.118.1 src/sys/arch/macppc/stand/ofwboot/boot.h
cvs rdiff -r1.20 -r1.20.8.1 src/sys/arch/macppc/stand/ofwboot/ofdev.c
cvs rdiff -r1.5 -r1.5.88.1 src/sys/arch/macppc/stand/ofwboot/ofdev.h
cvs rdiff -r1.11 -r1.11.88.1 src/sys/arch/macppc/stand/ofwboot/version
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38943 CVS commit: [netbsd-5] src/sys/arch/x68k/stand/boot
Date: Mon, 2 Feb 2009 22:20:14 +0000 (UTC)
Module Name: src
Committed By: snj
Date: Mon Feb 2 22:20:14 UTC 2009
Modified Files:
src/sys/arch/x68k/stand/boot [netbsd-5]: boot.c
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #407):
sys/arch/x68k/stand/boot/boot.c: revision 1.14
Disable LOAD_NOTE on floppy boot.
Tested by isaki@ and fixes PR install/38943 on x68k.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.13.30.1 src/sys/arch/x68k/stand/boot/boot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38943 CVS commit: src/sys/arch/alpha/stand
Date: Tue, 3 Feb 2009 12:49:00 +0000 (UTC)
Module Name: src
Committed By: tsutsui
Date: Tue Feb 3 12:49:00 UTC 2009
Modified Files:
src/sys/arch/alpha/stand/common: boot.c
src/sys/arch/alpha/stand/ustarboot: Makefile
Log Message:
Disable LOAD_NOTE on ustarboot to avoid backward seek on loading a kernel.
Tested on DEC 3000/300 and AlphaPC 164, fixes PR install/38943 on alpha.
XXX: should we enable LOAD_NOTE on ustarfs tape boot to load modules?
To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 src/sys/arch/alpha/stand/common/boot.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/alpha/stand/ustarboot/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38943 CVS commit: [netbsd-5] src/sys/arch/alpha/stand
Date: Fri, 6 Feb 2009 02:09:05 +0000 (UTC)
Module Name: src
Committed By: snj
Date: Fri Feb 6 02:09:05 UTC 2009
Modified Files:
src/sys/arch/alpha/stand/common [netbsd-5]: boot.c
src/sys/arch/alpha/stand/ustarboot [netbsd-5]: Makefile
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #418):
sys/arch/alpha/stand/common/boot.c: revision 1.30
sys/arch/alpha/stand/ustarboot/Makefile: revision 1.7
Disable LOAD_NOTE on ustarboot to avoid backward seek on loading a kernel.
Tested on DEC 3000/300 and AlphaPC 164, fixes PR install/38943 on alpha.
XXX: should we enable LOAD_NOTE on ustarfs tape boot to load modules?
To generate a diff of this commit:
cvs rdiff -r1.28.88.1 -r1.28.88.2 src/sys/arch/alpha/stand/common/boot.c
cvs rdiff -r1.6 -r1.6.134.1 src/sys/arch/alpha/stand/ustarboot/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->analyzed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Fri, 06 Feb 2009 19:03:18 +0900
State-Changed-Why:
Workarounded on most ports, but we should consider more generic MI solution.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.