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
On Thu, Sep 06, 2012 at 09:22:47AM +0200, Willem Jan Withagen wrote:> # 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.... >Most likely: options COMPAT_FREEBSD32 -- Mateusz Guzik <mjguzik gmail.com>
06.09.2012 11:22, Willem Jan Withagen ?????:> 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,Is it FreeBSD-amd64? (uname -a is a good start) If yes, have you got i386 compatibility? (kernel config may help here) -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve