From owner-freebsd-questions@FreeBSD.ORG Tue Sep 7 23:33:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62B9C1065693 for ; Tue, 7 Sep 2010 23:33:45 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id E57F38FC12 for ; Tue, 7 Sep 2010 23:33:44 +0000 (UTC) Received: by fxm4 with SMTP id 4so3982405fxm.13 for ; Tue, 07 Sep 2010 16:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=D+pPbwLpQRbtRfJ8vgqvRSXZ6j9ImxxvOKAZSr8Jq2U=; b=CkZUFjjVqxtMUzX+JVozYDy6i61m6efvH1XnhdnratdtN8oVEr0iGASe9o2CEgoGfY T8yYqMzFDT1o/iGqdTcesQ7FpVnWYpQYpoD2+D12W7hLsfEDd4CkNOuElmt9ZidgfWe3 okbPFyq2rT2AMfOd1puzKOcOj+UtQ7nE1VFwk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JVYQkrbg62cZ3d6Fss/jnumpFvOC9vK2vEDn00kt/EFeBHKZH3E3FpaI2yn/7/x8r1 AX7QGMgVuSarcCNRG7dKBEb8F4rjwTrtjDf8oBsb4yFX8EE5gBEcQUjHRjLN0/JaFBvT WG7vUHqIpvxJ6Eor5i498Wu6CyC4mc71/0nPQ= MIME-Version: 1.0 Received: by 10.223.112.202 with SMTP id x10mr70748fap.51.1283902423753; Tue, 07 Sep 2010 16:33:43 -0700 (PDT) Received: by 10.223.57.20 with HTTP; Tue, 7 Sep 2010 16:33:43 -0700 (PDT) In-Reply-To: References: Date: Tue, 7 Sep 2010 18:33:43 -0500 Message-ID: From: Adam Vande More To: gil@vidals.net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: zfs enabled freebsd requires root zfs partition? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2010 23:33:45 -0000 On Tue, Sep 7, 2010 at 6:06 PM, Gil Vidals 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