tech-kern archive

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

Re: reboot panic: "error == EOPNOTSUPP" in vfs_vnode.c line 1120



> On 7. Feb 2022, at 07:18, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> 
> mrg%eterna.com.au@localhost (matthew green) writes:
> 
>> while rebooting a quartz64 with a usb attached disk that just
>> had a about 3.5GB of data written to it, i the umass gave some
>> errorse and then i got a panic shortly later:
> 
>> [ 6179.6038961] Skipping crash dump on recursive panic
>> [ 6179.6038961] panic: kernel diagnostic assertion "error =3D=3D EOPNOTSUP=
>> P" failed: file "/usr/src/sys/kern/vfs_vnode.c", line 1120 =
> 
> genfs_suspendctl() may return ENOENT if IMNT_GONE is set in mnt_iflag.
> I'm not sure if mnt_iflag is even protected against concurrent access
> but vrevoke() racing with dounmount() might be enough.

Flag IMNT_GONE is protected with suspension.  Looks like the KASSERT
should become "KASSERT(error == EOPNOTSUPP || error == ENOENT)" here.

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

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index