From owner-freebsd-current@FreeBSD.ORG Tue May 31 08:10:50 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1BFC106564A; Tue, 31 May 2011 08:10:49 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by mx1.freebsd.org (Postfix) with ESMTP id 7089B8FC16; Tue, 31 May 2011 08:10:48 +0000 (UTC) Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id C36A51C08E16; Tue, 31 May 2011 10:10:47 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id AD5E61C00062; Tue, 31 May 2011 10:10:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id KCXO7yqQWA6O; Tue, 31 May 2011 10:10:43 +0200 (CEST) Received: from mail.reifenberger.com (ppp-93-104-55-65.dynamic.mnet-online.de [93.104.55.65]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Tue, 31 May 2011 10:10:43 +0200 (CEST) Received: by mail.reifenberger.com (Postfix, from userid 1001) id 318C43108D; Tue, 31 May 2011 10:10:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.reifenberger.com (Postfix) with ESMTP id 267053108C; Tue, 31 May 2011 10:10:43 +0200 (CEST) Date: Tue, 31 May 2011 10:10:42 +0200 (CEST) From: Michael Reifenberger To: Garrett Cooper In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: pjd@freebsd.org, FreeBSD-Current Subject: Re: mount root from zfs fails under current with "error 6" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2011 08:10:50 -0000 On Mon, 30 May 2011, Garrett Cooper wrote: ... > dmesg for starters (boot -v if possible) would be extremely > helpful. More details like your disk subsystem that you're booting off > of, whether you're using GPT/MBR when booting via ZFS, etc would be > helpful. Also being able to better trace down the root cause would be > nice (not being able to boot a recent kernel, but being able to boot a > kernel from almost a month ago is unfortunately a bit of a non-starter > for tracking down the actual issue because that's such a long span of > time). Ok. Verbose boot output is available here: http://people.freebsd.org/~mr/boot_fail.txt http://people.freebsd.org/~mr/boot_success.txt Verbose pciconf output: http://people.freebsd.org/~mr/pciconf.txt Disksetup: Im booting from 4 equally GPT partitioned 3TiB Disks: (fs)(root) gpart show ada0 => 34 5860533101 ada0 GPT (2.7T) 34 990 1 freebsd-boot (495k) 1024 2098176 2 freebsd-swap (1.0G) 2099200 5858433928 3 freebsd-zfs (2.7T) 5860533128 7 - free - (3.5k) (fs)(root) zpool status boot pool: boot state: ONLINE scan: scrub repaired 0 in 5h2m with 0 errors on Mon May 30 08:03:43 2011 config: NAME STATE READ WRITE CKSUM boot ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 ada0p3 ONLINE 0 0 0 ada1p3 ONLINE 0 0 0 ada2p3 ONLINE 0 0 0 ada3p3 ONLINE 0 0 0 errors: No known data errors (fs)(root) zpool get bootfs boot NAME PROPERTY VALUE SOURCE boot bootfs boot/ROOT/root local # loader.conf: ... vfs.root.mountfrom="zfs:boot/ROOT/root" ... BTW: After suspecting the new ada alias code I set: kern.cam.ada.legacy_aliases=0 But without effect. @pjd: Could you tell why/when the ZFS mount code errors with ENXIO? Thanks all for investigating! Bye/2 --- Michael Reifenberger Michael@Reifenberger.com http://www.Reifenberger.com