From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 10 01:10:00 2012 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C7774FC for ; Mon, 10 Dec 2012 01:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6FE698FC1D for ; Mon, 10 Dec 2012 01:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBA1A0SL021164 for ; Mon, 10 Dec 2012 01:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBA1A0DU021163; Mon, 10 Dec 2012 01:10:00 GMT (envelope-from gnats) Resent-Date: Mon, 10 Dec 2012 01:10:00 GMT Resent-Message-Id: <201212100110.qBA1A0DU021163@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7AC6546E for ; Mon, 10 Dec 2012 01:03:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 6078B8FC12 for ; Mon, 10 Dec 2012 01:03:07 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBA137iD000982 for ; Mon, 10 Dec 2012 01:03:07 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qBA137Nm000981; Mon, 10 Dec 2012 01:03:07 GMT (envelope-from nobody) Message-Id: <201212100103.qBA137Nm000981@red.freebsd.org> Date: Mon, 10 Dec 2012 01:03:07 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/174310: [zfs] root point mounting broken on CURRENT with multiple pools X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2012 01:10:00 -0000 >Number: 174310 >Category: kern >Synopsis: [zfs] root point mounting broken on CURRENT with multiple pools >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 10 01:10:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 10-CURRENT >Organization: n/a >Environment: >Description: I have several zpools in a machine at work and I upgraded from 9.1-STABLE to 10-CURRENT and I can no longer import the pools at boot (run into the mountroot prompt). I am running off a git checkout that's a week or so old, but there aren't any modifications made to sys/boot or sys/cddl/... in my repository in the branch I built the kernel from. I tried reverting several commits made by avg but I was unable to get my system to boot. The pool does not show up in the mountroot prompt and if I try to boot from one of gjb's livecds later, it works if the pool is not imported via the kernel first (otherwise zpool status incorrectly claims the pool is faulted). More details are available here: http://permalink.gmane.org/gmane.os.freebsd.current/146313 Will provide more details later (once I get back to work because my system is currently unreachable), but this PR is being filed to track the problem. >How-To-Repeat: - Acquire a machine with an mph-based HBA. - Hook up the spinning disk so it's detected as ada0, the mirrored SSDs as ada1 and ada2 respectively and the L2ARC SSD as ada3. - Create a pool called root with a spinning disk and an SSD as an L2ARC. - Create a pool called scratch with 2 SSDs mirrored with one another. - Install 9.1-RC2 on root. - Set the bootfs to root. - Boot the system a few times to make sure it's sane. - Upgrade to CURRENT as of December 5th. - Try booting from gjb's livecd, run service hostid onestart, import root to /mnt, run zpool upgrade. - Try booting again. >Fix: >Release-Note: >Audit-Trail: >Unformatted: