From owner-freebsd-stable@FreeBSD.ORG Thu Sep 6 07:22:58 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D91A81065670 for ; Thu, 6 Sep 2012 07:22:58 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (mail.ip6.digiware.nl [IPv6:2001:4cb8:1:106::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6E7DC8FC19 for ; Thu, 6 Sep 2012 07:22:58 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 498BD153437 for ; Thu, 6 Sep 2012 09:22:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zwLDjVuhZa4h for ; Thu, 6 Sep 2012 09:22:54 +0200 (CEST) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id 9B3CF153434 for ; Thu, 6 Sep 2012 09:22:54 +0200 (CEST) Message-ID: <50484F47.9030907@digiware.nl> Date: Thu, 06 Sep 2012 09:22:47 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: FreeBSD Stable Users Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Wanting to load kernel module linprocfs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 07:22:59 -0000 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