5.x system trying to boot /kernel ?

Kris Kennaway kris at obsecurity.org
Wed Dec 15 12:46:52 PST 2004


On Wed, Dec 15, 2004 at 11:39:39AM -0600, security at revolutionsp.com wrote:
> Hey,
> 
> After adding KDB, KDB_UNATTENDED and DDB, two of my 5.3-STABLE servers
> never came back after a reboot. After talking to the datacenter, they
> informed me these servers are trying to boot of /kernel and not
> /boot/kernel/kernel ..
> 
> What might be causing this behaviour ? /kernel was 4.X and these servers
> never knew what 4.X was.
> 
> This only happened after adding KDB, KDB_UNATTENDED and DDB to the kernel
> config, I had recompiled the kernel before and it never tried to look
> /kernel instead of /boot/kernel/kernel
> 
> # file /kernel
> /kernel: cannot open (/kernel)
> # file /boot/kernel/kernel
> /boot/kernel/kernel: ELF 32-bit LSB executable, Intel 80386, version 1
> (FreeBSD), dynamically linked (uses shared libs), not stripped

Old loader?  Local configuration of loader or boot blocks?

> I rebuilt a kernel on my FreeBSD home gateway (also 5.3-STABLE) and also
> adding GDB, I didn't have this problem.
> 
> Is there any loader.conf variable which sets the kernel that should be
> booted ?

Yes, see the manpage.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20041215/d8144074/attachment.bin


More information about the freebsd-hackers mailing list