Date: Thu, 06 Sep 2012 13:29:46 +0400 From: =?UTF-8?B?0JHQvtGA0LjRgSDQodCw0LzQvtGA0L7QtNC+0LI=?= <bsam@passap.ru> To: Willem Jan Withagen <wjw@digiware.nl> Cc: FreeBSD Stable Users <freebsd-stable@freebsd.org> Subject: Re: Wanting to load kernel module linprocfs Message-ID: <50486D0A.8040102@passap.ru> In-Reply-To: <50484F47.9030907@digiware.nl> References: <50484F47.9030907@digiware.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50486D0A.8040102>