Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.2531

228 views
Skip to first unread message

Dino Vliet

unread,
Dec 3, 2008, 3:37:23 AM12/3/08
to alep...@freebsd.org, freebsd-...@freebsd.org, freebs...@freebsd.org
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     rgil...@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?
I prefer to keep the external harddisk in ntfs format, although I could easily reformat it as ufs or ext3 because my whole system environment consists of bsd and linux. But I don't know if I will violate maxtor's guarantee.

So I hope someone can help me with this.

Brgds
Dino


Scot Hetzel

unread,
Dec 3, 2008, 6:17:20 AM12/3/08
to dino_...@yahoo.com, freebs...@freebsd.org, freebsd-...@freebsd.org, alep...@freebsd.org
On 12/3/08, Dino Vliet <dino_...@yahoo.com> 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 rgil...@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

Scot Hetzel

unread,
Dec 3, 2008, 6:21:45 AM12/3/08
to dino_...@yahoo.com, freebs...@freebsd.org, freebsd-...@freebsd.org, alep...@freebsd.org
On 12/3/08, Scot Hetzel <swhe...@gmail.com> wrote:
> On 12/3/08, Dino Vliet <dino_...@yahoo.com> 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
> >
:

> >
> > 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.
>
I usually see this problem after cvs updating the FreeBSD sources and
then rebuilding a module, and trying to load that module.

Rebuilding the kernel and all external modules should resolve the problem.

Scot

Dino Vliet

unread,
Dec 3, 2008, 1:08:48 PM12/3/08
to Scot Hetzel, freebs...@freebsd.org, freebsd-...@freebsd.org, alep...@freebsd.org

--- On Wed, 12/3/08, Scot Hetzel <swhe...@gmail.com> wrote:
From: Scot Hetzel <swhe...@gmail.com>
Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253
To: dino_...@yahoo.com
Cc: alep...@freebsd.org, freebsd-...@freebsd.org, freebs...@freebsd.org
Date: Wednesday, December 3, 2008, 12:17 PM

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


Dino Vliet

unread,
Dec 3, 2008, 4:54:53 PM12/3/08
to Scot Hetzel, k...@daleco.biz, freebsd-...@freebsd.org, freebs...@freebsd.org

--- On Wed, 12/3/08, Scot Hetzel <swhe...@gmail.com> wrote:
From: Scot Hetzel <swhe...@gmail.com>
Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253
To: dino_...@yahoo.com
Cc: alep...@freebsd.org, freebsd-...@freebsd.org, freebs...@freebsd.org
Date: Wednesday, December 3, 2008, 12:17 PM

On 12/3/08, Dino Vliet <dino_...@yahoo.com> wrote:

Scot

Hi all,

this did the trick, thanks!
I rebuild my kernel and had to rebuild that port as well.
Was sure I had done a portupgrade -fa before, but still it
seemed I had to rebuild the port first.

After this, I could start fusefs with the script in rc.d
and after rebooting it recognized that option as well.

Now I managed to mount my external disk with that as well,
so everything is ok:-)

Thanks again,

Dino


0 new messages