Bug 17711

Summary: kvm_nlist does not work properly when btx loader is skipped at boot
Product: Base System Reporter: titus <titus>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description titus 2000-03-31 14:20:01 UTC
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

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
How-To-Repeat: boot without btxload (type /kernel at the boot prompt)
Comment 1 ru freebsd_committer freebsd_triage 2000-03-31 14:33:00 UTC
State Changed
From-To: open->closed

Duplicate of PR 17422.