From owner-freebsd-geom@FreeBSD.ORG Tue Mar 6 12:20:46 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 571F416A401 for ; Tue, 6 Mar 2007 12:20:46 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from a5.virtuaal.com (a5.virtuaal.com [195.222.15.75]) by mx1.freebsd.org (Postfix) with ESMTP id DD8EC13C481 for ; Tue, 6 Mar 2007 12:20:45 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from pc142.host2.ida.starman.ee ([62.65.241.142] helo=[192.168.2.100]) by a5.virtuaal.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HOYel-0002l6-Ax for freebsd-geom@freebsd.org; Tue, 06 Mar 2007 14:20:40 +0200 From: Andrei Kolu To: freebsd-geom@freebsd.org Date: Tue, 6 Mar 2007 14:20:36 +0200 User-Agent: KMail/1.9.5 References: <20070120073117.GB60202@x12.dk> <200703061246.09687.antik@bsd.ee> <45ED5850.6050506@nipsi.de> In-Reply-To: <45ED5850.6050506@nipsi.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703061420.36980.antik@bsd.ee> X-Virtuaalcom-MailScanner-Information: Please contact the ISP for more information X-Virtuaalcom-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-Virtuaalcom-MailScanner-SpamCheck: X-Virtuaalcom-MailScanner-From: antik@bsd.ee X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a5.virtuaal.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - bsd.ee X-Source: X-Source-Args: X-Source-Dir: Subject: Re: zfs_20070303.patch on current X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 12:20:46 -0000 On Tuesday 06 March 2007 2:02 pm, Dennis Berger wrote: > Andrei Kolu schrieb: > > Now I found out why my kernel build failed. I followed directions found > > in patch file: > > > > # patch -p0 < zfs_20070303.patch > > # make kernel > > # cd cddl > > # make && make install > > Build failed. > > > > Then I changed it to this: > > > > # patch -p0 < zfs_20070303.patch > > # make buildkernel > > # cd cddl > > # make && make install > > # make installkernel > > > > Now I got working kernel but ZFS is still not available: > > > > # zpool status > > internal error: failed to initialize ZFS library > > _______________________________________________ > > freebsd-geom@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" > > this means zfs.ko isn't loaded at all. > Try loading it via kldload zfs. Try to create a pool with zpool then, I > would like to know if it worked for you. > regards, > -Dennis supermicro# kldstat Id Refs Address Size Name 1 17 0xc0400000 7f4390 kernel 3 2 0xc0c00000 23760 linux.ko 4 1 0xc0c24000 aa1c cpufreq.ko 5 1 0xc0c2f000 5a074 acpi.ko 6 1 0xc42a0000 6000 linprocfs.ko 7 1 0xc46be000 6000 snd_emu10k1.ko 8 2 0xc46c4000 32000 sound.ko 9 1 0xc47ea000 4000 logo_saver.ko 10 1 0xc48c2000 11000 geom_journal.ko supermicro# kldload zfs supermicro# kldstat Id Refs Address Size Name 1 18 0xc0400000 7f4390 kernel 3 2 0xc0c00000 23760 linux.ko 4 1 0xc0c24000 aa1c cpufreq.ko 5 1 0xc0c2f000 5a074 acpi.ko 6 1 0xc42a0000 6000 linprocfs.ko 7 1 0xc46be000 6000 snd_emu10k1.ko 8 2 0xc46c4000 32000 sound.ko 9 1 0xc47ea000 4000 logo_saver.ko 10 1 0xc48c2000 11000 geom_journal.ko 11 1 0xc92a9000 86000 zfs.ko supermicro# zpool status no pools available Thanks! So I have to enable ZFS from /boot/loader.conf with zfs_load="yes" or how? Best. Andrei