From owner-freebsd-geom@FreeBSD.ORG Tue Mar 6 12:27:02 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 F3BF816A409 for ; Tue, 6 Mar 2007 12:27:01 +0000 (UTC) (envelope-from db@nipsi.de) Received: from mx.meta-spinner.de (mx.meta-spinner.de [213.39.242.178]) by mx1.freebsd.org (Postfix) with ESMTP id B281113C48D for ; Tue, 6 Mar 2007 12:27:01 +0000 (UTC) (envelope-from db@nipsi.de) Received: from mx.meta-spinner.de (localhost [127.0.0.1]) by mx.meta-spinner.de (Postfix) with ESMTP id E63A280647; Tue, 6 Mar 2007 13:27:00 +0100 (CET) Received: from [192.168.1.101] (unknown [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.meta-spinner.de (Postfix) with ESMTP id A40DA80646; Tue, 6 Mar 2007 13:27:00 +0100 (CET) Message-ID: <45ED5E13.9090407@nipsi.de> Date: Tue, 06 Mar 2007 13:26:59 +0100 From: Dennis Berger User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: Andrei Kolu References: <20070120073117.GB60202@x12.dk> <200703061246.09687.antik@bsd.ee> <45ED5850.6050506@nipsi.de> <200703061420.36980.antik@bsd.ee> In-Reply-To: <200703061420.36980.antik@bsd.ee> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-geom@freebsd.org 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:27:02 -0000 May you try to create a pool? maybe with an filebased device. dd if=/dev/zero of=/home/zfstest bs=1m count=100 mdconfig -f /home/zfstest -u 0 bsdlabel -w md0 auto zpool create home /dev/md0c regards, Dennis Andrei Kolu schrieb: > 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 > _______________________________________________ > 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" >