Wanting to load kernel module linprocfs
Willem Jan Withagen
wjw at digiware.nl
Thu Sep 6 07:22:59 UTC 2012
Hi,
I'm trying to get htop to work, but that requires linproc.
So building and loading linproc I get:
l# kldload linprocfs
kldload: can't load linprocfs: Exec format error
So I go Grrrmbbblll, try som more things, rebuild kernel and modules...
Only to find out this morning in the reports that /var/log/messages
contains:
zfs.digiware.nl kernel log messages:
+++ /tmp/security.iJfdNgeT 2012-09-06 03:40:36.135242983 +0200
+KLD linprocfs.ko: depends on linux - not available or version mismatch
+linker_load_file: Unsupported file type
+KLD linprocfs.ko: depends on linux - not available or version mismatch
+linker_load_file: Unsupported file type
+KLD linprocfs.ko: depends on linux - not available or version mismatch
+linker_load_file: Unsupported file type
Right, how easy that one was. :(
So I build and load linux.
# kldload linux
kldload: can't load linux: Exec format error
This time I know I have to look in to messages:
But that is not so easy:
Sep 6 09:14:02 zfs kernel: link_elf_obj: symbol
freebsd32_exec_copyin_args undefined
Sep 6 09:14:02 zfs kernel: linker_load_file: Unsupported file type
So how do I get freebsd32_exec_copyin_args defined....
My current modules line:
MODULES_OVERRIDE=splash geom ipfw ipdivert acpi nfsserver coretemp aio
opensolaris zfs nullfs linux linprocfs
Any insights appreciated,
--WjW
More information about the freebsd-stable
mailing list