From owner-freebsd-ports@FreeBSD.ORG Wed Dec 3 18:08:50 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 6D551106564A for ; Wed, 3 Dec 2008 18:08:50 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51108.mail.re2.yahoo.com (web51108.mail.re2.yahoo.com [206.190.38.150]) by mx1.freebsd.org (Postfix) with SMTP id 18F428FC13 for ; Wed, 3 Dec 2008 18:08:49 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 3968 invoked by uid 60001); 3 Dec 2008 18:08:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=tI61bBNStDxUqaQvZqB6dqAeF0wArqeb0b2jZzzAq9sKVkX/j1MVX/xd18RJslmqlXaO7tWr+lwqnKCdQ3XELAh9h9OW3GrnVTk6w+4Xj8BQjprOvKYN3l/XFlNeBz6kzaikLEYWSE9MeKZ0jUKX9TFErYW3IFyiQUVSISVGdAQ=; X-YMail-OSG: 5uRK004VM1nZH8ss.tXNjdeYkaWobblwWZiZr6Z28.1NyxULKX3VIfG9XkrbtWgPZBmpVJA1MBr389y_.A2fdjKSsT5_4RlN2ZBsXe1_vOU3_t0uzXmLlDdDUSSWN_2s91Gw0_b0BO8XT2qpMR4wis8HBe2hGqS08HTyoewzz.mCNLLS2gcBD4ig6XI- Received: from [82.136.213.253] by web51108.mail.re2.yahoo.com via HTTP; Wed, 03 Dec 2008 10:08:48 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 3 Dec 2008 10:08:48 -0800 (PST) From: Dino Vliet To: Scot Hetzel In-Reply-To: <790a9fff0812030317t579bb5c9kd950703f0a3ec976@mail.gmail.com> MIME-Version: 1.0 Message-ID: <128452.3938.qm@web51108.mail.re2.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 Reply-To: dino_vliet@yahoo.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 18:08:50 -0000 --- On Wed, 12/3/08, Scot Hetzel wrote: From: Scot Hetzel Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 To: dino_vliet@yahoo.com Cc: alepulver@freebsd.org, freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Date: Wednesday, December 3, 2008, 12:17 PM 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 Hi Scot, I installed it from ports. I think as a dependency on fusefs-ntfs? I will rebuild my system as I upgraded lately from 6.3 to 7, but I'm sure I just followed the handbook and did everything allright. Will post the results when I try this again afterwards. Brgds Dino