Date: Wed, 15 Dec 2004 12:46:51 -0800 From: Kris Kennaway <kris@obsecurity.org> To: security@revolutionsp.com Cc: freebsd-hackers@freebsd.org Subject: Re: 5.x system trying to boot /kernel ? Message-ID: <20041215204651.GA83806@xor.obsecurity.org> In-Reply-To: <63390.81.84.175.77.1103132379.squirrel@81.84.175.77> References: <63390.81.84.175.77.1103132379.squirrel@81.84.175.77>
next in thread | previous in thread | raw e-mail | index | archive | help
--/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 15, 2004 at 11:39:39AM -0600, security@revolutionsp.com wrote: > Hey, >=20 > 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 .. >=20 > What might be causing this behaviour ? /kernel was 4.X and these servers > never knew what 4.X was. >=20 > 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 >=20 > # 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. >=20 > Is there any loader.conf variable which sets the kernel that should be > booted ? Yes, see the manpage. Kris --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBwKK7Wry0BWjoQKURAuSPAKDlVaxUdFOmhMO61+I4hdk0nFSBSACfaIx4 lhZo9AnKu84OXoRUDkeQQAY= =Zsk/ -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041215204651.GA83806>