Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Sep 2012 09:22:47 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        FreeBSD Stable Users <freebsd-stable@freebsd.org>
Subject:   Wanting to load kernel module linprocfs
Message-ID:  <50484F47.9030907@digiware.nl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50484F47.9030907>