Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2000 05:19:17 -0800 (PST)
From:      titus@2edc.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/17711: kvm_nlist does not work properly when btx loader is skipped at boot
Message-ID:  <200003311319.FAA37313@freefall.freebsd.org>

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

>Number:         17711
>Category:       misc
>Synopsis:       kvm_nlist does not work properly when btx loader is skipped at boot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 31 05:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Titus Manea
>Release:        4.0-RELEASE
>Organization:
Eastern Digital
>Environment:
FreeBSD titus.edc.dnttm.ro 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Wed Mar 29 13:28:24 GMT 2000     root@:/usr/src/sys/compile/kick4  i386

>Description:
If the system is booted without the 3rd stage (typing kernel at first boot prompt) kvm_nlist is not working properly, so top/vmstat/swapinfo and other programs do not work;
I traced the problem to the kldsym syscall witch is called from kvm_nlist in libkvm.so.2; Some symbols (not all) are not resolved;

If the system is booted thru the btx loader  all works ok

>How-To-Repeat:
boot without btxload (type /kernel at the boot prompt)
>Fix:
dont boot without btx load if possible;

for my diskless workstation that boots always without btx i hacked libkvm to use the 3.x style kvm_kernel.db for resolving symbols

>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?200003311319.FAA37313>