Subject: kernel compilation, boot, loop
To: None <netbsd-help@netbsd.org>
From: Thomas Hafner <blech.j.hafn@spamgourmet.com>
List: netbsd-help
Date: 07/23/2003 01:52:17
Hi,

my formerly compiled NetBSD 1.6 kernel (i386) runs quite good, but now
I have to reconfigure and compile the kernel because of new hardware.
The big surprise: I don't succeed again in compiling a usable kernel.
Even if I reuse the formerly successfull kernel configuration with the
same hardware, it does not work. Having powered on the PC, the
bootselector appears and counts down. I can see the memory count (is
that issued by the kernel?), but then the BIOS starts again, the
bootselector appears again and so on: a loop!

I wonder what did change the way the kernel is generated now. May the
system be disturbed, because I installed some packages from the 1.6.1
package source tree?

I'm also surprised, that /etc/mk.conf causes now the following error
message when trying to compile a kernel:

make: "/etc/mk.conf" line 348: Malformed conditional (${OPSYS} == "SunOS")
make: "/etc/mk.conf" line 348: Need an operator

That refers to the line:

.if ${OPSYS} == "SunOS"

If I comment out from that line down to the corresponding .endif, I
can compile the kernel, but I get a ``looping'' kernel like mentioned
above. I wonder why I have to modify /etc/mk.conf like this, for I
hadn't to do that formerly.

How shall I proceed to become able to compile kernels again?

Regards
  Thomas

-- 
+-----+ Thomas Hafner +-----+
| hafn@      / hafner@      |
|   gmx.net /    sdf-eu.org |
+ http://hafner.sdf-eu.org/ +