From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 15 20:44:13 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40B8316A4CE for ; Wed, 15 Dec 2004 20:44:13 +0000 (GMT) Received: from mail.revolutionsp.com (ganymede.revolutionsp.com [64.246.0.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C651343D4C for ; Wed, 15 Dec 2004 20:44:12 +0000 (GMT) (envelope-from security@revolutionsp.com) Received: from mail.revolutionsp.com (localhost [127.0.0.1]) by mail.revolutionsp.com (Postfix) with ESMTP id DA65115C95 for ; Wed, 15 Dec 2004 11:39:39 -0600 (CST) Received: from 81.84.175.77 (SquirrelMail authenticated user security@revolutionsp.com); by mail.revolutionsp.com with HTTP; Wed, 15 Dec 2004 11:39:39 -0600 (CST) Message-ID: <63390.81.84.175.77.1103132379.squirrel@81.84.175.77> Date: Wed, 15 Dec 2004 11:39:39 -0600 (CST) From: security@revolutionsp.com To: freebsd-hackers@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: 5.x system trying to boot /kernel ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 20:44:13 -0000 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 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 ? Thanks in advance! Regards, Hugo