Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic: kernel diagnostic assertion VOP_ISLOCKET(vp) == LK_EXCLUSIVE



> On 21. Apr 2022, at 16:57, Takahiro Kambe <taca%back-street.net@localhost> wrote:
> 
> In message <Yl0Zx5L0L7LCJ0JE%yt.nih.at@localhost>
> 	on Mon, 18 Apr 2022 09:56:55 +0200,
> 	Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
>>> Already committed by Taylor R Campbell as sequencer.c Rev. 1.79
>>> on 2022/04/16 11:13:10.
>> 
>> Thanks - I can confirm that a kernel from yesterday doesn't have the
>> issue any longer.
> 
> I still have panic() on ThinkPad E495.
> 
> panic: kernel diagnostic assertion "VOP_ISLOCKED(vp) == LK_EXCLUSIVE" failed: file "/usr/src/sys/miscfs/specfs/spec_vnops.c", line 1252
> cpu3: Begin traceback...
> vpanic() at netbsd:vpanic+0x183
> kern_assert() at netbsd:kern_assert+0x4b
> spec_fdiscard() at netbsd:spec_fdiscard+0xaa
> VOP_FDISCARD() at netbsd:VOP_FDISCARD+0x3d
> ffs_discardcb() at netbsd:ffs_discardcb+0x2e
> workqueue_worker() at netbsd:workqueue_worker+0xd7
<snip>

Is the attached diff sufficient to fix your problem?

--
J. Hannken-Illjes - hannken%mailbox.org@localhost


Attachment: ffs_alloc.c.diff
Description: Binary data

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index