From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 26 15:00:11 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F19CA1065676 for ; Thu, 26 Feb 2009 15:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CCFB38FC18 for ; Thu, 26 Feb 2009 15:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1QF0BAg021606 for ; Thu, 26 Feb 2009 15:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1QF0BT2021605; Thu, 26 Feb 2009 15:00:11 GMT (envelope-from gnats) Resent-Date: Thu, 26 Feb 2009 15:00:11 GMT Resent-Message-Id: <200902261500.n1QF0BT2021605@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, Ari Sovijärvi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67F071065673 for ; Thu, 26 Feb 2009 14:57:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0E98FC13 for ; Thu, 26 Feb 2009 14:57:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1QEvfpZ055919 for ; Thu, 26 Feb 2009 14:57:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1QEvfSv055918; Thu, 26 Feb 2009 14:57:41 GMT (envelope-from nobody) Message-Id: <200902261457.n1QEvfSv055918@www.freebsd.org> Date: Thu, 26 Feb 2009 14:57:41 GMT From: Ari Sovijärvi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/132129: Device crypto makes the kernel unbootable X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 15:00:12 -0000 >Number: 132129 >Category: misc >Synopsis: Device crypto makes the kernel unbootable >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 26 15:00:11 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ari Sovijärvi >Release: FreeBSD 7.1-RELEASE-p3 >Organization: - >Environment: FreeBSD basestar2 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #3: Thu Feb 26 01:13:12 EET 2009 root@basestar2:/usr/obj/usr/src/sys/RAINFALL sparc64 >Description: I was following handbook's advice on enabling geom_eli and recompiled the kernel with the following line added to the default config: device crypto The resulting kernel seems to skip hardware detection (including HDDs) and then fails as it has no root device. From what I gather from the mailing lists, others have also hit this bug, but it seems to only happen on some platforms, so far I have found posts about it happening on sparc64 and PowerPC. Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-RELEASE-p3 #2: Wed Feb 25 22:05:18 EET 2009 root at basestar2:/usr/obj/usr/src/sys/RAINFALL Timecounter "tick" frequency 548000000 Hz quality 1000 real memory = 1073741824 (1024 MB) avail memory = 1035673600 (987 MB) cpu0: Sun Microsystems UltraSparc-IIe Processor (548.00 MHz CPU) kbd0 at kbdmux0 nexus0: cryptosoft1: mem 0x1fe00000000-0x1fe0000ffff,0x1fe01000000-0x1fe010 cryptosoft0: on nexus0 nexus0: type unknown (no driver attached) Timecounters tick every 1.000 msec Trying to mount root from ufs:/dev/mirror/raid0a Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0a ? List valid disk boot devices Abort manual input mountroot> ufs:/dev/mirror/raid0a Trying to mount root from ufs:/dev/mirror/raid0a Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0a ? List valid disk boot devices Abort manual input mountroot> panic: Root mount failed, startup aborted. >How-To-Repeat: Recompile the kernel on sparc64 or ppc with 'device crypto' added to the configuration, boot the new kernel. >Fix: >Release-Note: >Audit-Trail: >Unformatted: