From owner-freebsd-ports@FreeBSD.ORG Wed Dec 3 11:17:22 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B8831065672 for ; Wed, 3 Dec 2008 11:17:22 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-gx0-f19.google.com (mail-gx0-f19.google.com [209.85.217.19]) by mx1.freebsd.org (Postfix) with ESMTP id D168C8FC1E for ; Wed, 3 Dec 2008 11:17:21 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by gxk12 with SMTP id 12so2331965gxk.19 for ; Wed, 03 Dec 2008 03:17:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=LbuaHaywnbGjeLhuRzJ355ffMCyoPM25NDZnkFAgjNY=; b=GWnyVjbTvNEmy97mVwSkRN32hZdDTyTigjPHmsl0xzXSh902H6GsC7otT/P9rYSqqz 4AY7l93j3rrrzc36QwcDi2siZi2Z2gXlqRylYVW9PvsNyEO0LyzonCKyEAZ+OtodGdU5 Ln8C/obKUM/J04ZfivRi4c6+T/TQ2ZB3k5xuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=yFpxgVulPntnGuFStyjB1ZLACw7TWPjMeYpdGkzttgMrlCsfFhIkifn8uG/gk+qYV9 ny4viMqzsr3Xq+Hq3g5UCXTayuoTBYEn72A8cPp1l3T8hi+rDb6OwYOl2Jlvc6i7vIO7 OCsIFnz818xXpqfj6v6vsNSoLpA88Efy336M8= Received: by 10.90.113.17 with SMTP id l17mr7233676agc.40.1228303040847; Wed, 03 Dec 2008 03:17:20 -0800 (PST) Received: by 10.90.101.20 with HTTP; Wed, 3 Dec 2008 03:17:20 -0800 (PST) Message-ID: <790a9fff0812030317t579bb5c9kd950703f0a3ec976@mail.gmail.com> Date: Wed, 3 Dec 2008 05:17:20 -0600 From: "Scot Hetzel" To: dino_vliet@yahoo.com In-Reply-To: <255166.65897.qm@web51106.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <255166.65897.qm@web51106.mail.re2.yahoo.com> Cc: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org, alepulver@freebsd.org Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 11:17:22 -0000 On 12/3/08, Dino Vliet wrote: > Hi people, > > I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 running 7.0 because when I try to load fusefs with this command, kldload /usr/local/modules/fuse.ko I get the following error: > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error > > Adding fusefs_enable="YES" to /etc/rc.conf and fuse_load="YES" to /boot/loader.conf and rebooting doesn't help either, because then that error message is printed on the console. > > uname -a gives: > FreeBSD zouk.telfort.nl 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #1: Thu Nov 27 13:42:17 CET 2008 rgilaard@zouk.telfort.nl:/usr/obj/usr/src/sys/GENERIC amd64 > > pkg_info | grep fuse gives: > > fusefs-kmod-0.3.9.p1.20080208_4 Kernel module for fuse > fusefs-libs-2.7.3 FUSE allows filesystem implementation in userspace > fusefs-ntfs-1.2531 Mount NTFS partitions (read/write) and disk images > > Does anyone have a clue as to what is causing this behavior? How did you install the fusefs-kmod was it from a package or did you build it through the ports system? The most likely cause of this error is due to the fuse.ko module was not built against the same source as your kernel. Rebuild fusefs-kmod and that should resolve the problem. Scot