From owner-freebsd-current@FreeBSD.ORG Mon May 30 17:25:19 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 843B6106566C for ; Mon, 30 May 2011 17:25:19 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3C3068FC19 for ; Mon, 30 May 2011 17:25:18 +0000 (UTC) Received: by vxc34 with SMTP id 34so3860218vxc.13 for ; Mon, 30 May 2011 10:25:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fRBXqqdDZqKOzm//qvStU0zq072MrZL+E4gbZxQvMNM=; b=pm0VU0AL0+qXzZ4RsEi/I18IddBpGRtMhSVhRAJTy072qZteGi1oKCY7RsFccX2sJ1 OP1xjLOtEObfpgJ6EMeBTraOJGjVXKVLBiRIWPIfH9UhEIG4Yp7j3FTi0uQw4PDFT6ig fGjYZW4ZPSbkW7iMWIKpSA9X3McO/Vd4rtB0I= 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=TiZjKFCERTbGsFtTIBjKgaoLnfFbQGAfqP78Okk5gVG4PfAdHkbDtCPtIoIlFcDhqd gHGxiGdJtw0YIfTmzk002QMdYodFdhr3e9a/eBtHjutL1TjTzmCZ71sq91TC2Wflo8pM kIvq9z/Y1fOMVjSPlEF5TrYax3YAfSO2YfC6E= MIME-Version: 1.0 Received: by 10.220.124.71 with SMTP id t7mr1940188vcr.38.1306776318398; Mon, 30 May 2011 10:25:18 -0700 (PDT) Received: by 10.220.183.11 with HTTP; Mon, 30 May 2011 10:25:18 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 May 2011 10:25:18 -0700 Message-ID: From: Garrett Cooper To: Michael Reifenberger Content-Type: text/plain; charset=ISO-8859-1 Cc: 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: Mon, 30 May 2011 17:25:19 -0000 On Mon, May 30, 2011 at 9:48 AM, Michael Reifenberger wrote: > Hi, > I get the following error with recent -current (r222417) during boot: > ... > Trying to mount root from zfs:boot/ROOT/root []... > Mounting from zfs:boot/ROOT/root failed with error 6. > ... > > What does "error 6" mean? See ENXIO under errno(2). > The strange thing is, that I could boot with r222417 a few times > but after applying a (here unrelated) one-liner from rmacklem@ to > nfs_clkdtrace.c, recompile the module and reinstall, I could'n load either > kernel nor kernel.old. > I didn't even use the patched module. > > Only loading a kernel r221381 let me boot again. > > So may it be a race condition of some form? > > Anyone else sees this? > > Any further infos are available on request. 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). Thanks, -Garrett