Subject: Re: Booter: "Failed to read kernel image header" on custom kernel
To: Frederick Bruckman <fredb@immanent.net>
From: Reinier Jonker <rjgjonker@xs4all.nl>
List: port-mac68k
Date: 03/28/2002 18:07:08
On donderdag, maart 28, 2002, at 06:01 PM, Frederick Bruckman wrote:

> On Thu, 28 Mar 2002, Reinier Jonker wrote:
>
>> I've built a custom based on yesterday's -current sources. 
>> Unfortunatel,
>> the booter does not accept this kernel as valid. This does not only
>> happen with 2.0.1a1, but also with 2.0.0a10 and 2.0.0a7, always with
>> "Failed to read kernel image header" (or something similar). That leads
>> to the conclusion my kernel is probably faulty :-)
>>
>> What could be the cause of this? Building went fine (no errors).
>>
>> System: Quadra 840AV; 80MB; boot drive: HP SureStore 2000
>> Mac OS environment: Mac OS 7.6.1
>> Kernel configuration: more or less only what is needed for my 
>> system :-)
>>
>> My kernel from an ELFNT GENERIC binary set still boots.
>
> Sounds like your toolchain is broken. Are you running all the binaries
> from the snapshot? Are you able to build executables?

Yes, I'm running a full ELFNT GENERIC build from a week ago. And I've 
been able to build executables before.

> Another thing that goes wrong is that the Booter sometimes fails to grok
> the subtleties of the file-system. How did you install the kernel?

As described in the kernel FAQ:
cp /netbsd /netbsd.old
mv netbsd /

--
Reinier Jonker