NetBSD Problem Report #47413

From www@NetBSD.org  Sun Jan  6 15:31:23 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 4F94263BC0E
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  6 Jan 2013 15:31:23 +0000 (UTC)
Message-Id: <20130106153122.7F86563BC0E@www.NetBSD.org>
Date: Sun,  6 Jan 2013 15:31:22 +0000 (UTC)
From: marc@msys.ch
Reply-To: marc@msys.ch
To: gnats-bugs@NetBSD.org
Subject: pxeboot_ia32.bin does not hand module load information to the kernel
X-Send-Pr-Version: www-1.0

>Number:         47413
>Category:       kern
>Synopsis:       pxeboot_ia32.bin does not hand module load information to the kernel
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 06 15:35:00 +0000 2013
>Last-Modified:  Mon Aug 26 12:20:01 +0000 2013
>Originator:     Marc Balmer
>Release:        6.99.16
>Organization:
micro systems
>Environment:
i386, ALIX.3C3 board (AMD Geode) with VGA and Award BIOS
>Description:
I boot the ALIX.3C3 over dhcpd, it gets pxeboot_ia32.bin and displays the boot console.

I enter the following commands:

> load tftp:miniroot.kmod
> boot tftp:netbsd

The kernel loads and starts, the dmesg displays the various devices being attached.  But it does not show that it attempts to load a module, and so miniroot.kmod doesn't get loaded and the system has not root filesystem.
>How-To-Repeat:
pxeboot i386 and instruct the booter to load a module before starting the kernel.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: install-manager->kern-bug-people
Responsible-Changed-By: chs@NetBSD.org
Responsible-Changed-When: Mon, 07 Jan 2013 17:06:10 +0000
Responsible-Changed-Why:
this problem is with the kernel and/or bootloader, not the installer.


From: Sergio Lopez <slp@sinrega.org>
To: gnats-bugs@NetBSD.org
Cc: marc@msys.ch
Subject: Re: kern/47413 (pxeboot_ia32.bin does not hand module load
 information to the kernel)
Date: Mon, 26 Aug 2013 11:00:03 +0000

 For some reason, pxeboot_ia32.bin is built with X86_BP_FLAGS_NOMODULES flag:

 pxeboot/Makefile:CPPFLAGS+= -DBOOTPARAM_DEFFLAGS=0x0c

 It works for me if I explicitly enable modules support:

 > modules enabled
 > load tftp:miniroot.kmod
 > boot tftp:netbsd

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