NetBSD Problem Report #47039

From dholland@netbsd.org  Fri Oct  5 11:05:43 2012
Return-Path: <dholland@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 27FA063B8A7
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  5 Oct 2012 11:05:43 +0000 (UTC)
Message-Id: <20121005110543.1E28614A208@mail.netbsd.org>
Date: Fri,  5 Oct 2012 11:05:43 +0000 (UTC)
From: dholland@netbsd.org
Reply-To: dholland@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: usb stick installer lies about removing the media
X-Send-Pr-Version: 3.95

>Number:         47039
>Category:       install
>Synopsis:       usb stick installer lies about removing the media
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 05 11:10:00 +0000 2012
>Closed-Date:    Wed Oct 24 11:36:39 +0000 2012
>Last-Modified:  Sun Nov 18 22:05:05 +0000 2012
>Originator:     David A. Holland
>Release:        NetBSD 6.0_RC2
>Organization:
>Environment:
System: [stock RC2 from releng]
Architecture: i386
Machine: i386
>Description:

Like on other install media, when the install is done and sysinst
returns to the main menu, on the USB stick installer sysinst tells you
that you can remove the boot media.

Unfortunately, it's lying. If you remove the USB stick at that point,
it's still mounted, so afterwards it needs to be fscked, and, worse,
the system then wedges itself when you try to reboot.

This is true for the USB stick install images that have the complete
install sets on them. As of this writing, we are still missing
installer-only USB stick images.

>How-To-Repeat:

as above.

>Fix:

Dunno. Maybe make it handle the install media like the other
installers (although that might be a bit drastic) ... that or arrange
to make that message different for the USB installer, something
explicit like "do not remove the boot media until you have shut down
the system", since I'm sure a lot of people know how it normally works
and won't notice the mere absence of a routine message.

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/47039: usb stick installer lies about removing the media
Date: Fri, 5 Oct 2012 13:56:11 +0200

 The message is already conditional and does not appear for / on cdrom.
 USB is different though, we need to explicitly pass a flag to sysinst via
 the script invoking it.

 Martin

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: Re: install/47039: usb stick installer lies about removing the media
Date: Fri, 5 Oct 2012 22:48:18 +0900

 What's the problem if we remove md_may_remove_boot_medium message completely?
 The message looks just a leftover of ancient install floppies.

 ---
 Izumi Tsutsui

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/47039: usb stick installer lies about removing the media
Date: Sun, 7 Oct 2012 00:15:02 +0200

 I like simple solutions, sounds fine to me.

 Martin

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/47039: usb stick installer lies about removing the media
Date: Tue, 9 Oct 2012 16:20:47 +0000

 On Fri, Oct 05, 2012 at 01:50:05PM +0000, Izumi Tsutsui wrote:
  > What's the problem if we remove md_may_remove_boot_medium message
  > completely?
  > The message looks just a leftover of ancient install floppies.

 What, like the floppies that are still the only obvious way to install
 without wasting a CD blank?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: dholland-bugs@NetBSD.org, tsutsui@ceres.dti.ne.jp
Subject: Re: install/47039: usb stick installer lies about removing the media
Date: Wed, 10 Oct 2012 01:49:11 +0900

 >  What, like the floppies that are still the only obvious way to install
 >  without wasting a CD blank?

 Do you know any other modern OS that provides install floppies?

 ---
 Izumi Tsutsui

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/47039: usb stick installer lies about removing the media
Date: Tue, 9 Oct 2012 16:57:00 +0000

 On Tue, Oct 09, 2012 at 04:50:06PM +0000, Izumi Tsutsui wrote:
  >  >  What, like the floppies that are still the only obvious way to install
  >  >  without wasting a CD blank?
  >  
  >  Do you know any other modern OS that provides install floppies?

 Do you know any other modern OS that does *not* provide USB boot
 images?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: Re: install/47039: usb stick installer lies about removing the media
Date: Wed, 10 Oct 2012 02:07:20 +0900

 >  Do you know any other modern OS that does *not* provide USB boot
 >  images?

 Sorry I don't understand what you mean.

 Do you object to removing md_may_remove_boot_medium message?

 ---
 Izumi Tsutsui

State-Changed-From-To: open->closed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Wed, 24 Oct 2012 20:36:39 +0900
State-Changed-Why:
message removed.


From: "Izumi Tsutsui" <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47039 CVS commit: src/distrib/utils/sysinst/arch/i386
Date: Wed, 24 Oct 2012 11:36:03 +0000

 Module Name:	src
 Committed By:	tsutsui
 Date:		Wed Oct 24 11:36:02 UTC 2012

 Modified Files:
 	src/distrib/utils/sysinst/arch/i386: msg.md.de msg.md.en msg.md.es
 	    msg.md.fr msg.md.pl

 Log Message:
 Remove useless md_may_remove_boot_medium messages.  PR/47039


 To generate a diff of this commit:
 cvs rdiff -u -r1.23 -r1.24 src/distrib/utils/sysinst/arch/i386/msg.md.de
 cvs rdiff -u -r1.63 -r1.64 src/distrib/utils/sysinst/arch/i386/msg.md.en
 cvs rdiff -u -r1.14 -r1.15 src/distrib/utils/sysinst/arch/i386/msg.md.es
 cvs rdiff -u -r1.51 -r1.52 src/distrib/utils/sysinst/arch/i386/msg.md.fr
 cvs rdiff -u -r1.36 -r1.37 src/distrib/utils/sysinst/arch/i386/msg.md.pl

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Jeff Rizzo" <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47039 CVS commit: [netbsd-6] src/distrib/utils/sysinst/arch/i386
Date: Sun, 18 Nov 2012 22:00:24 +0000

 Module Name:	src
 Committed By:	riz
 Date:		Sun Nov 18 22:00:24 UTC 2012

 Modified Files:
 	src/distrib/utils/sysinst/arch/i386 [netbsd-6]: msg.md.de msg.md.en
 	    msg.md.es msg.md.fr msg.md.pl

 Log Message:
 Pull up following revision(s) (requested by tsutsui in ticket #648):
 	distrib/utils/sysinst/arch/i386/msg.md.pl: revision 1.37
 	distrib/utils/sysinst/arch/i386/msg.md.en: revision 1.64
 	distrib/utils/sysinst/arch/i386/msg.md.fr: revision 1.52
 	distrib/utils/sysinst/arch/i386/msg.md.es: revision 1.15
 	distrib/utils/sysinst/arch/i386/msg.md.de: revision 1.24
 Remove useless md_may_remove_boot_medium messages.  PR/47039


 To generate a diff of this commit:
 cvs rdiff -u -r1.20.6.1 -r1.20.6.2 \
     src/distrib/utils/sysinst/arch/i386/msg.md.de
 cvs rdiff -u -r1.61.6.1 -r1.61.6.2 \
     src/distrib/utils/sysinst/arch/i386/msg.md.en
 cvs rdiff -u -r1.13.6.1 -r1.13.6.2 \
     src/distrib/utils/sysinst/arch/i386/msg.md.es
 cvs rdiff -u -r1.51 -r1.51.6.1 src/distrib/utils/sysinst/arch/i386/msg.md.fr
 cvs rdiff -u -r1.34 -r1.34.6.1 src/distrib/utils/sysinst/arch/i386/msg.md.pl

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Jeff Rizzo" <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47039 CVS commit: [netbsd-6-0] src/distrib/utils/sysinst/arch/i386
Date: Sun, 18 Nov 2012 22:00:41 +0000

 Module Name:	src
 Committed By:	riz
 Date:		Sun Nov 18 22:00:41 UTC 2012

 Modified Files:
 	src/distrib/utils/sysinst/arch/i386 [netbsd-6-0]: msg.md.de msg.md.en
 	    msg.md.es msg.md.fr msg.md.pl

 Log Message:
 Pull up following revision(s) (requested by tsutsui in ticket #648):
 	distrib/utils/sysinst/arch/i386/msg.md.pl: revision 1.37
 	distrib/utils/sysinst/arch/i386/msg.md.en: revision 1.64
 	distrib/utils/sysinst/arch/i386/msg.md.fr: revision 1.52
 	distrib/utils/sysinst/arch/i386/msg.md.es: revision 1.15
 	distrib/utils/sysinst/arch/i386/msg.md.de: revision 1.24
 Remove useless md_may_remove_boot_medium messages.  PR/47039


 To generate a diff of this commit:
 cvs rdiff -u -r1.20.6.1 -r1.20.6.1.4.1 \
     src/distrib/utils/sysinst/arch/i386/msg.md.de
 cvs rdiff -u -r1.61.6.1 -r1.61.6.1.4.1 \
     src/distrib/utils/sysinst/arch/i386/msg.md.en
 cvs rdiff -u -r1.13.6.1 -r1.13.6.1.4.1 \
     src/distrib/utils/sysinst/arch/i386/msg.md.es
 cvs rdiff -u -r1.51 -r1.51.12.1 src/distrib/utils/sysinst/arch/i386/msg.md.fr
 cvs rdiff -u -r1.34 -r1.34.10.1 src/distrib/utils/sysinst/arch/i386/msg.md.pl

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.