NetBSD Problem Report #46892
From campbell@mumble.net Mon Sep 3 02:32:54 2012
Return-Path: <campbell@mumble.net>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 2D7BB63BA8B
for <gnats-bugs@gnats.NetBSD.org>; Mon, 3 Sep 2012 02:32:54 +0000 (UTC)
Message-Id: <20120903023247.DD20C604B7@jupiter.mumble.net>
Date: Mon, 3 Sep 2012 02:32:47 +0000 (UTC)
From: Taylor R Campbell <campbell+netbsd@mumble.net>
Reply-To: Taylor R Campbell <campbell+netbsd@mumble.net>
To: gnats-bugs@gnats.NetBSD.org
Subject: panic on `raidctl -u raid0' during reconstruction
X-Send-Pr-Version: 3.95
>Number: 46892
>Category: kern
>Synopsis: panic on `raidctl -u raid0' during reconstruction
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 03 02:35:00 +0000 2012
>Originator: Taylor R Campbell <campbell+netbsd@mumble.net>
>Release: NetBSD 6.99.10 from earlier this month
>Organization:
>Environment:
Architecture: amd64
Machine: amd64
>Description:
I configured raid0 with a mirror of wd0 and wd1 following the
guide in <http://www.NetBSD.org/docs/guide/en/chap-rf.html>.
I failed wd0 with `raidctl -f /dev/wd0a raid0', began
reconstruction with `raidctl -R /dev/wd0a raid0', and then
tried to stop the reconstruction. `raidctl -f /dev/wd0a raid0'
didn't do it, so I tried `raidctl -u raid0', at which point the
system panicked (ten-fingered stack trace, and I'm too tired to
copy down everything, but this should be good enough):
# raidctl -u raid0
raid0: waiting for reconstruction to stop...
raid0: reconstruction failed.
panic: pool_destroy: pool busy: still out: 7
...
pool_destroy
rf_ShutdownList() at netbsd:rf_ShutdownList+0x27
rf_UnconfigureArray
rf_Shutdown
raid_detach
config_detach
raidioctl
>How-To-Repeat:
raidctl -f /dev/wd0a raid0
raidctl -R /dev/wd0a raid0
raidctl -u raid0
>Fix:
Yes, please!
(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.