NetBSD-Bugs archive

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

Re: kern/52126 (mvsata Marvell 88SX6081 panics on boot)

The following reply was made to PR kern/52126; it has been noted by GNATS.

From: (Michael van Elst)
Subject: Re: kern/52126 (mvsata Marvell 88SX6081 panics on boot)
Date: Fri, 20 Dec 2019 22:34:41 -0000 (UTC) (Frank Kardel) writes:
 >The _kernel_lock() code looks very suspicious.
 >spinouts on kernel_lock only happen while the root is not mounted 
 >(start_init_exec == 0, see init_main.c):
 start_init_exec is not related to the root mount but is set before the
 first user code is executed.
 The spinout check is a crude deadlock detection. It's not reasonable
 to do that for user code that is waiting to enter the kernel.
 If you want to remove the panic you may want to replace it with a (rate
 limited) console message.
                                 Michael van Elst
                                 "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index