Subject: Re: dkwedge kassert upon umounting lfs
To: None <current-users@NetBSD.org>
From: Jeff Rizzo <riz@NetBSD.org>
List: current-users
Date: 08/20/2006 23:13:08
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig63754AC8C9DBCC511352350C
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Jeff Rizzo wrote:
> I just got the following panic, after trying to umount my lfs work
> partition. I had noticed an oddness with a build, and wanted to
> fsck_lfs it.
>
> I've been using this scratch partition with LFS for a while, with good
> success; however, I just converted this machine to using wedges a few
> days ago... Should I send-pr this? The system is running NetBSD/amd64=
> 4.99.1 from about a week ago...
>
> panic: kernel diagnostic assertion "sc->sc_dk.dk_openmask !=3D 0" faile=
d:
> file "/usr/src/sys/dev/dkwedge/dk.c", line 949
> Stopped in pid 510.1 (lfs_cleanerd) at netbsd:cpu_Debugger+0x5: =
> leave
> db{1}> bt
> cpu_Debugger() at netbsd:cpu_Debugger+0x5
> panic() at netbsd:panic+0x1f5
> __assert() at netbsd:__assert+0x21
> dkclose() at netbsd:dkclose+0x161
> spec_close() at netbsd:spec_close+0xed
> VOP_CLOSE() at netbsd:VOP_CLOSE+0x2a
> vn_close() at netbsd:vn_close+0x4d
> closef() at netbsd:closef+0x182
> syscall_plain() at netbsd:syscall_plain+0x132
> uvm_fault(0xffff800023f2a2c0, 0x0, 1) -> e
> kernel: page fault trap, code=3D0
> Faulted in DDB; continuing...
> db{1}>
>
> =20
Interesting note: this panic is repeatable - umounting an lfs on a
wedge triggers this assert consistently. However, if I first kill
lfs_cleanerd, I can umount without triggering it... I may look into
this more once I've had some sleep.
+j
--------------enig63754AC8C9DBCC511352350C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBROlO9LOuUtxCgar5AQNlSwP/R7S87RxRlx6sct5iVSEzGAYwCGDvylLZ
cC0lQxy7qZ2W0ObR/HY0u85caG2/veOnQQOACelMHJdh3hcmQCYrgR10IiOe0kHy
wA+jQrc0fzpYbeA5+k4KaNfq92KI1KwRQEXGXZ0XNkGQrQzJ0kJ3o6awC1LkF2GO
aPaoObxqI6U=
=wRRy
-----END PGP SIGNATURE-----
--------------enig63754AC8C9DBCC511352350C--