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





--- On Wed, 12/3/08, Scot Hetzel <swhetzel@xxxxxxxxx> wrote:
From: Scot Hetzel <swhetzel@xxxxxxxxx>
Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253
To: dino_vliet@xxxxxxxxx
Cc: alepulver@xxxxxxxxxxx, freebsd-questions@xxxxxxxxxxx, freebsd-ports@xxxxxxxxxxx
Date: Wednesday, December 3, 2008, 12:17 PM

On 12/3/08, Dino Vliet <dino_vliet@xxxxxxxxx> 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@xxxxxxxxxxxxxxx:/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




_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: kldload: cant load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253
    ... Subject: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 ... I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 ... I rebuild my kernel and had to rebuild that port as well. ...
    (freebsd-questions)
  • Re: Differences between netgraph nodes in 4.x and 5.x
    ... if i try to unload my module, change the internals, compile ... [root@newluxor root]# kldload ng_ether ... kldload: can't load ng_ether: Exec format error ...
    (freebsd-net)
  • Re: Kernel-loadable Root Kits
    ... all functions that are needed to load the trojan module). ... hard to find and circumvent it, before his trojan module got loaded. ... > from under /modules but I'm afraid this may be circumvented by attacker ... > fetching her own kldload. ...
    (FreeBSD-Security)
  • Re: USB storage device mount problem
    ... In addition to the advice from others here, I can recommend the ... geom_label kernel module. ... Load it manually using kldload, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Kernel module path
    ... Richard Jones wrote: ... I'm having trouble loading kernel modules. ... but kldload seems to want to load them from /boot/modules. ...
    (freebsd-questions)