Subject: install/7609: Booter fail to load the kernel
To: None <gnats-bugs@gnats.netbsd.org>
From: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
List: netbsd-bugs
Date: 05/19/1999 08:37:54
>Number:         7609
>Category:       install
>Synopsis:       Booter fail to load the kernel
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 19 08:35:01 1999
>Last-Modified:
>Originator:     Emmanuel Dreyfus
>Organization:
>Release:        1.4
>Environment:
mac68k NetBSD-1.4

System: NetBSD gizmo 1.4 NetBSD 1.4 (KERNEL) #1: Wed May 19 13:55:04 CEST 1999 r
oot@gizmo:/usr/src/sys/arch/mac68k/compile/KERNEL mac68k


>Description:
        When the kernel's inode is too high, NetBSD booter (the MacOS applicatio
	n) fail to load the booter. The error is that the kernel is in an unknown format
	.
>How-To-Repeat:
	On a big hard disk (mine is 2GB), nearly full (96%), when building a new kernel, the build kernel inode may be high. When the kernel is installed using mv netbsd /netbsd, it keeps this inode, and the booter is not able to launch it.  >Fix:
	There is a workaround: if the kernel is installed using cp netbsd /netbsd, a new file is created, with hopfully a lower inode. You can also delete a file located at root before cp netbsd /netbsd, so that the kernel gets a lower inode , and the reinstall the deleted file.

The problem has certainly something to do with an integer overflow somew
here in the NetBSD booter (the MacOS application)

Since the user have to use the NetBSD booter on the MacOS side to boot NetBSD on a mac68k, the bug can be very annoying. At last if it cannot be fixed,a warning message should be included somewhere in the generic kernel config file, so that the user is aware of the workaround.

>Fix:
>Audit-Trail:
>Unformatted: