4.9 KLDload error

Jin Guojun [NCS] j_guojun at lbl.gov
Fri Nov 7 21:40:20 PST 2003


A KLD module ncs_time_ctl.ko compiled on both 4.8 and 4.9 hosts can be loaded
by kldload on any 4.8 machine. But neither .ko files can be loaded on a 4.9
machine.
The error is:

4.9 # kldload -v ./ncs_time_ctl.ko
kldload: can't load ./ncs_time_ctl.ko: Exec format error

kldload should give more error information on what function it failed to load.

Is this possible a 4.9 bug in kldload? or does some KLD mechanism has been
changed
in 4.9-RELEASE?
Is there any way to analyze what is wrong in the 4.9 LKD system?

--
------------ Jin Guojun ----------- v --- j_guojun at lbl.gov ---
Distributed Systems Department          http://www.itg.lbl.gov/~jin
M/S 50B-2239                            Ph#:(510) 486-7531 Fax: 486-6363
Lawrence Berkeley National Laboratory,  Berkeley, CA 94720





More information about the freebsd-hackers mailing list