Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2010 18:33:43 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        gil@vidals.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: zfs enabled freebsd requires root zfs partition?
Message-ID:  <AANLkTimP-9J%2BCMJrN-k=2i8GCWE3yRDGcXoueUnmC5qw@mail.gmail.com>
In-Reply-To: <AANLkTinA9kur2NxG-q0bmSxnQxNjYB=CSiRCAGD5TeGo@mail.gmail.com>
References:  <AANLkTikRiACQip35pyTWVMDFJu8CP3L0JfuPB6c-L5DQ@mail.gmail.com> <AANLkTikqefOkz1092-NZhPmofu2=Ds-0=JspPBtz28a2@mail.gmail.com> <AANLkTinA9kur2NxG-q0bmSxnQxNjYB=CSiRCAGD5TeGo@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 7, 2010 at 6:06 PM, Gil Vidals <gvidals@gmail.com> wrote:

> The exact error message I get is:
>
> linker_load_file: Unsupported file type
> kldload: can't load zfs.ko: Exec  format error.
>
> I would appreciate any additional guidance. In the meantime, Randal
> Schwartz was kind of enough to suggest PC-BSD, which includes an installer
> that supports ZFS, so I will check them out.
>

Well that error makes a lot more sense, but doesn't pinpoint the exact
cause.

I don't know what this is:  zfsinstall.sh

It's not part of the base system.  Without more info, my best guess is that
your zfs module is out of sync with your kernel.  Two things you can do,
install a clean FreeBSD, and just use zfs from there.  It works.

Or resync the kernel/modules by rebuilding them.

Make sure your src tree is in sync, eg csup with RELENG_8_1 or whatever
you're trying to run
Follow these instructions:
http://www.freebsd.org/doc/handbook/kernelconfig-building.html

Just rebuild with GENERIC to make sure no other vars are interfering.  That
means don't use the KERNCONF=MYKERNEL part of the line or at least set it to
GENERIC.

Once you have installed the new kernel, reboot and kldload zfs should work.

-- 
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimP-9J%2BCMJrN-k=2i8GCWE3yRDGcXoueUnmC5qw>