NetBSD Problem Report #36524

From woods@building.weird.com  Fri Jun 22 18:18:49 2007
Return-Path: <woods@building.weird.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 20B3C63B882
	for <gnats-bugs@gnats.netbsd.org>; Fri, 22 Jun 2007 18:18:49 +0000 (UTC)
Message-Id: <m1I1niZ-002IwcC@building.weird.com>
Date: Fri, 22 Jun 2007 14:18:47 -0400 (EDT)
From: "Greg A. Woods" <woods@planix.com>
Sender: "Greg A. Woods" <woods@building.weird.com>
Reply-To: "Greg A. Woods" <woods@planix.com>
To: gnats-bugs@NetBSD.org
Subject: "quit" at the bootloader's "> " prompt fails to reboot if booted from a CD-ROM
X-Send-Pr-Version: 3.95

>Number:         36524
>Category:       port-i386
>Synopsis:       "quit" at the bootloader's "> " prompt fails to reboot if booted from a CD-ROM
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 22 18:20:00 +0000 2007
>Originator:     Greg A. Woods
>Release:        netbsd-4 2007/06/19
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:


System: NetBSD 4.0BETA2
Architecture: i386
Machine: i386
>Description:

	typing "quit" at the bootloader's "> " prompt fails to
	successfully reboot the machine if it was booted from a CD-ROM,
	e.g. from a bootable installation CD:

	(hand copied from the screen)

> quit
Exiting...
Boot from ATAPI CD-ROM :  Failure ...
DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER


	as shown below it does work OK if booting from the main drive,
	but you'll note it does a soft boot, not a cold boot:

console=com0[0x3f8] @38400 baud

>> NetBSD/i386 BIOS Boot, Revision 3.3
>> (woods@once, Tue Jun 12 16:53:27 EDT 2007)
>> Memory: 629/146832384 k
Press return to boot now, any other key for boot menu
booting hd0a:netbsd - starting in 0 
type "?" or "help" for help.
> quit
Exiting...

console=com0[0x3f8] @38400 baud

>> NetBSD/i386 BIOS Boot, Revision 3.3
>> (woods@once, Tue Jun 12 16:53:27 EDT 2007)
>> Memory: 629/146832384 k
Press return to boot now, any other key for boot menu
booting hd0a:netbsd - starting in 0 
type "?" or "help" for help.
> 


>How-To-Repeat:

	interrupt the boot loader and then enter the "quit" command.

>Fix:

	ideally sys/arch/i386/stand/lib/biosreboot.S should force a cold
	boot, not just a soft reboot.  That should always fix the problem.

	I'm not sure how to do that any more, though IIRC it required
	clearing some values in BIOS private storage.

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