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: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/52126 (mvsata Marvell 88SX6081 panics on boot)
Date: Fri, 20 Dec 2019 22:34:41 -0000 (UTC)

 kardel%kardel.name@localhost (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
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index