NetBSD Problem Report #39924
From reinoud@13thmonkey.org Sat Nov 15 11:31:04 2008
Return-Path: <reinoud@13thmonkey.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 6F71B63B966
for <gnats-bugs@gnats.NetBSD.org>; Sat, 15 Nov 2008 11:31:04 +0000 (UTC)
Message-Id: <20081115113110.161F56607@aardappel.13thmonkey.org>
Date: Sat, 15 Nov 2008 12:31:09 +0100 (CET)
From: reinoud@NetBSD.org
Reply-To: reinoud@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: kernel can't deal with mounting root on ffs with unknown wapbl type
X-Send-Pr-Version: 3.95
>Number: 39924
>Category: kern
>Synopsis: kernel can't deal with mounting root on ffs with unknown wapbl type
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 15 11:35:00 +0000 2008
>Last-Modified: Sat Nov 15 12:00:03 +0000 2008
>Originator: Reinoud Zandijk
>Release: NetBSD 5.99.02
>Organization:
NetBSD
>Environment:
System: NetBSD heethoofdje.13thmonkey.org 5.99.02 NetBSD 4.99.02 (GENERIC)
Architecture: i386
Machine: i386
>Description:
When something goes wrong in wapbl, the wapbl type can be set to garbage.
How that happends is not known, but happends here on an endless loop crash.
Most common values of the unrecognized wapbl types is 0x000241ed or similar
sized values.
On reboot the kernel complains about the unrecognized wapbl type and
replies:
no file system for wd0 (dev 0x0)
cannot mount root, error = 79
further tries to mount a root are in vain and you're stuck with a non
booting kernel.
>How-To-Repeat:
Generate activity like building a package or deleting a source tree and
press reset button when the machine seems to freeze. (i'll file a PR about
this later)
>Fix:
hard... a 4.0 kernel without WAPBL will fsck and mount the FS fine but
won't reset the wapbl type. Using `chroot' on the device and then call the
5.0's `tunefs -l0 /dev/rwd0a' doesn't allways work... it leaves the bad
wapbl type.
What could help is booting a 5.0 kernel without wapbl support to disable it
correctly with the tunefs ?
>Audit-Trail:
From: Reinoud Zandijk <reinoud@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/39924: kernel can't deal with mounting root on ffs with unknown wapbl type
Date: Sat, 15 Nov 2008 12:58:31 +0100
To recover from such a non mountable FFS, boot a kernel without WAPBL
support and use fsck+tunefs to reset the wapbl log.
Reinoud
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.