NetBSD Problem Report #36053
From www@NetBSD.org Wed Mar 21 16:27:43 2007
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
id 0666263B964; Wed, 21 Mar 2007 16:27:43 +0000 (UTC)
Message-Id: <20070321162743.0666263B964@narn.NetBSD.org>
Date: Wed, 21 Mar 2007 16:27:43 +0000 (UTC)
From: twetzel@gwdg.de
Reply-To: twetzel@gwdg.de
To: gnats-bugs@NetBSD.org
Subject: hfs panic
X-Send-Pr-Version: www-1.0
>Number: 36053
>Category: kern
>Synopsis: hfs panic
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 21 16:30:03 +0000 2007
>Closed-Date:
>Last-Modified: Wed Dec 12 10:37:29 +0000 2012
>Originator: Timm Wetzel
>Release: -current, kernel: 4.99.15/2007-03-19, userland: releng 200703100002Z
>Organization:
>Environment:
NetBSD/macppc iBook G3
>Description:
A long directory listing of an HFS volume panics the kernel: (transcription by hand)
panic:lockmgr release of unlocked lock! (flags 0, sharecount 0, exclusivecount 0, recursecount 0, waitcount 0, wmesg vnlock)
db> bt
panic
lockpanic
lockmgr
genfs_unlock
VOP_UNLOCK
vput
namei
do_sys_stat
sys___lstat30
syscall_plain
The kernel is GENERIC plus hfs, DEBUG, DIAGNOSTIC minus many PCI/cardbus devices. The HFS volume is a small 8.5MB Apple_Boot partition containing bootinfo.txt, ofwboot.xcf, kernel and volume name icon. It's unlikely to matter, but both root and HFS partitions are on a FireWire disk.
>How-To-Repeat:
mount -v -t hfs -r /dev/sd0a /mnt
ls /mnt # OK
ls -l /mnt # panic
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->dillo
Responsible-Changed-By: dillo@netbsd.org
Responsible-Changed-When: Sun, 25 Mar 2007 13:07:49 +0000
Responsible-Changed-Why:
I'm responsible for hfs.
From: Dieter Baron <dillo@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: twetzel@gwdg.de
Subject: Re: kern/36053: hfs panic
Date: Sun, 25 Mar 2007 15:10:06 +0200
hi,
> >Description:
> A long directory listing of an HFS volume panics the kernel:
> (transcription by hand)
[...]
> The kernel is GENERIC plus hfs, DEBUG, DIAGNOSTIC minus many
> PCI/cardbus devices. The HFS volume is a small 8.5MB Apple_Boot
> partition containing bootinfo.txt, ofwboot.xcf, kernel and volume name
> icon. It's unlikely to matter, but both root and HFS partitions are on
> a FireWire disk.
Could you please send me an image of the partition? Remote
debugging the problem will likely be difficult.
yours,
dillo
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 31 Dec 2011 21:36:57 +0000
State-Changed-Why:
Feedback was requested in 2007:
Could you please send me an image of the partition? Remote
debugging the problem will likely be difficult.
Alternatively, instructions for setting up a hfs volume that fails would
serve. Ideally, said instructions wouldn't require having MacOS on hand.
It's also possible that the problem no longer occurs.
From: Timm Wetzel <twetzel@gwdg.de>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: Re: kern/36053
Date: Fri, 10 Feb 2012 10:18:35 +0100
It seems I still have the installation in question, but unfortunately =
the hard disc enclosure is currently broken.=20
I will try to test with the old system and -current, but it will =
probably take me some days.
Regards,
Timm=
From: Timm Wetzel <twetzel@gwdg.de>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: Re: kern/36053 (hfs panic)
Date: Tue, 3 Apr 2012 10:22:44 +0200
> Could you please send me an image of the partition? Remote
> debugging the problem will likely be difficult.
An image of the partition is available at =
https://docs.google.com/open?id=3D0Bxn5-nQgYlfHN2c3NHEtV1pSSVctWHRGNFJaUzk=
5QQ (netbsd_boot_part_hfs.dd.gz). As part of an APM-partitioned disk =
(USB/FireWire) this partition lets a OF3 Mac boot NetBSD by using the OF =
graphical boot selector (Opt-booting).
As another datapoint I have tried a semi-recent -current with slightly =
different hardware (G4 PowerBook), and that combination did not crash.
Regards,
Timm=
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 22 Apr 2012 18:53:55 +0000
State-Changed-Why:
feedback received - an image of the partition has been posted, even after
all this time. (!)
let's try to get this fixed.
State-Changed-From-To: open->feedback
State-Changed-By: christos@NetBSD.org
State-Changed-When: Sun, 22 Apr 2012 15:34:28 -0400
State-Changed-Why:
downladed the image, vnconfig -c vnd0 netbsd_boot_part_hfs.dd
mount -t hfs /dev/vnd0a /mnt
ls -l
total 4864
-rw-r--r-- 1 502 wheel 6509 Mar 7 2007 BootNetBSD
-rw-r--r-- 1 502 wheel 521 Mar 7 2007 Volume Name Icon
-rw-r--r-- 1 502 wheel 1853 Mar 8 2007 bootinfo.txt
-rwxr-xr-x 1 502 wheel 4907600 Mar 20 2007 netbsd*
-rw-r--r-- 1 502 wheel 50660 Mar 5 2007 ofwboot.xcf
umount /mnt
From: Timm Wetzel <twetzel@gwdg.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/36053 (hfs panic)
Date: Thu, 17 May 2012 00:10:57 +0200
So it seems this bug has been fixed in the meantime? If so, I am fine =
with closing the PR.
Regards,
Timm=
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/36053 (hfs panic)
Date: Wed, 31 Oct 2012 19:55:28 +0000
On Wed, May 16, 2012 at 10:15:04PM +0000, Timm Wetzel wrote:
> So it seems this bug has been fixed in the meantime? If so, I am fine =
> with closing the PR.
Well, maybe. It's also possible that we just haven't reproduced it
yet. How repeatable was it when you first hit it?
--
David A. Holland
dholland@netbsd.org
From: Timm Wetzel <twetzel@gwdg.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/36053 (hfs panic)
Date: Wed, 31 Oct 2012 21:24:49 +0100
On 31.10.2012, at 21:00, David Holland <dholland-bugs@netbsd.org> wrote:
> Well, maybe. It's also possible that we just haven't reproduced it
> yet. How repeatable was it when you first hit it?
It was completely repeatable (with this filesystem).=20
I have no idea how sensitive the panic is to changes in the HFS =
partition =97 it was a bootstrap partition containing not much more than =
a kernel, and so it had not much churn.
Regards,
Timm
Responsible-Changed-From-To: dillo->kern-bug-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 12 Dec 2012 10:37:29 +0000
Responsible-Changed-Why:
dillo's not likely to take a look at this anytime soon
State-Changed-From-To: feedback->open
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 12 Dec 2012 10:37:29 +0000
State-Changed-Why:
feedback provided
>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.