Bug 15345

Summary: lkm no longer works after 3.3
Product: Base System Reporter: Jin Guojun <jin>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-RELEASE   
Hardware: Any   
OS: Any   

Description Jin Guojun 1999-12-07 23:10:01 UTC
(wd now: /usr/share/examples/lkm/misc/module)
228 /usr/share/examples/lkm/misc/module: make load
/sbin/modload -o misc_mod -emisc_mod misc_mod.o
ld: /kernel: malformed input file (not rel or archive)
modload: /usr/bin/ld: return code 1
*** Error code 1

Stop.

Fix: 

Don't know.
	Since kld has not provide misc module yet, it will be nice
	to keep lkm working till kld misc module is available.
How-To-Repeat: 
	cd /usr/share/examples/lkm/misc/module
	make load
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-08-14 19:30:15 UTC
State Changed
From-To: open->closed

A syscall example KLD replaces the misc lkm since 
rev 1.2 of src/share/examples/kld/Makefile.