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 23. Apr 2022, at 05:17, Takahiro Kambe <taca%back-street.net@localhost> wrote:
> 
> Hi,
> 
> In message <15BEBCC1-4756-46AD-A424-E5232065BE7D%mailbox.org@localhost>
> 	on Fri, 22 Apr 2022 19:39:35 +0200,
> 	"J. Hannken-Illjes" <hannken%mailbox.org@localhost> wrote:
>>> #5  0xffffffff80e69314 in VOP_FDISCARD (vp=0xffff879fb253da40,
>>>   pos=<optimized out>, len=<optimized out>)
>>>   at /usr/src/sys/kern/vnode_if.c:845
>>> #6  0xffffffff80e69314 in VOP_FDISCARD (vp=0xffff879fb2e99cc0,
>>>   pos=pos@entry=5843857408, len=len@entry=2048)
>>>   at /usr/src/sys/kern/vnode_if.c:845
>> 
>> This one is different from the previous stack trace, two VOP_FDISCARD().
<snip>
> # cat /etc/fstab
> /dev/dk0        /efi            msdos   rw,noauto               0 0
> /dev/dk4        /               ffs     rw,discard              1 1

Ok, you have wedges that introduce another indirection.

Please try the attached diff (with mount option "discard").

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

Attachment: fdiscard.diff
Description: Binary data

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index