Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 13:44:46 -0800 (PST)
From:      Douglas De Couto <decouto@lcs.mit.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/36150: top doesn't work when kernel manually loaded through bootloader
Message-ID:  <200203202144.g2KLikq96260@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203202144.g2KLikq96260>