From owner-freebsd-bugs Wed Mar 20 13:50:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BDF4037B419 for ; Wed, 20 Mar 2002 13:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2KLo1p97371; Wed, 20 Mar 2002 13:50:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C0D0A37B417 for ; Wed, 20 Mar 2002 13:44:46 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2KLikq96260; Wed, 20 Mar 2002 13:44:46 -0800 (PST) (envelope-from nobody) Message-Id: <200203202144.g2KLikq96260@freefall.freebsd.org> Date: Wed, 20 Mar 2002 13:44:46 -0800 (PST) From: Douglas De Couto To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36150: top doesn't work when kernel manually loaded through bootloader Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36150 >Category: misc >Synopsis: top doesn't work when kernel manually loaded through bootloader >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 20 13:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Douglas De Couto >Release: 4.5-RELEASE >Organization: >Environment: FreeBSD the-beach.lcs.mit.edu 4.5-RELEASE FreeBSD 4.5-RELEASE #4: Wed Mar 20 15:03:37 EST 2002 root@the-beach.lcs.mit.edu:/usr/src/sys/compile/THE-BEACH i386 >Description: when loading the kernel manually in the bootloader, ``top'' doesn't work: the call to kldsym fails. when the kernel is specified as defualt kernel in /boot/loader.conf, it works >How-To-Repeat: reboot, hit space bar to get bootloader prompt boot /kernel.GENERIC login, see top fail ---- add ``kernel="/kernel.GENERIC'' to /boot/loader.conf reboot, do nothing. login, see top work >Fix: running nm on the kernel and using a test program with kldsym, the symbols that kldsym fails on are different from the ones it succeeds on, looking at the letter inthe 2nd column of the nm output. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message