NetBSD Problem Report #42978
From asau@inbox.ru Mon Mar 15 20:13:31 2010
Return-Path: <asau@inbox.ru>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 89AB663B11D
for <gnats-bugs@gnats.NetBSD.org>; Mon, 15 Mar 2010 20:13:31 +0000 (UTC)
Message-Id: <87y6htjqcj.fsf@inbox.ru>
Date: Mon, 15 Mar 2010 23:13:16 +0300
From: Aleksej Saushev <asau@inbox.ru>
Reply-To:
To: gnats-bugs@gnats.NetBSD.org
Subject: boot loader is too picky of spaces in boot.cfg
>Number: 42978
>Category: port-i386
>Synopsis: boot loader is too picky of spaces in boot.cfg
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-i386-maintainer
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Mar 15 20:15:01 +0000 2010
>Closed-Date: Sun Feb 25 17:08:46 +0000 2018
>Last-Modified: Sun Feb 25 17:08:46 +0000 2018
>Originator: Aleksej Saushev <asau@inbox.ru>
>Release: NetBSD 5.99.24
>Organization:
>Environment:
System: NetBSD lithium 5.99.24 NetBSD 5.99.24 (KERN) #1: Sat Mar 13 00:30:56 MSK 2010 asau@lithium:/usr/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
>Description:
boot loader is unforgiving to extra spaces in boot.cfg
Randolf Richardson found it and wrote these instructions:
"Modify your /boot.cfg file so that it looks like this one here
(in particular, DO NOT insert a space before the word "load"
or else the boot process will fail)..."
menu=Boot Xen 3.3:load /netbsd-XEN3_DOM0 console=pc;multiboot /xen.gz dom0_mem=2048M
Indeed if you insert space before "load," boot fails.
This may trap unsuspecting user (even experienced one)
and make him to waste time on solving non-existent problems.
>How-To-Repeat:
Put the following line into /boot.cfg and try to boot:
menu=Boot Xen 3.3: load /netbsd-XEN3_DOM0 console=pc; multiboot /xen.gz dom0_mem=2048M
>Fix:
Remove leading and trailing blank space from fields?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: maxv@NetBSD.org
State-Changed-When: Sun, 25 Feb 2018 17:08:46 +0000
State-Changed-Why:
Close this PR. Yes, the bootloader does not expect spaces, but I don't
see how this is a problem. The man page gives clear examples where there
are no spaces.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.