NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/56568: ipmi.c 1.7 causes large boot delays
The following reply was made to PR kern/56568; it has been noted by GNATS.
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: mlelstv%netbsd.org@localhost,
Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
Subject: Re: kern/56568: ipmi.c 1.7 causes large boot delays
Date: Fri, 24 Dec 2021 13:18:10 +0000
There seem to be different opinions about whether or how long ipmi
should delay boot -- in https://gnats.netbsd.org/56539 the problem was
that boot happened too fast and ipmi wasn't ready before wdogctl tried
to set it up!
I don't have an opinion about whether ipmi should delay boot or
whether there should be a different mechanism for wdogctl to wait.
Maybe ipmi_attach can publish the watchdog immediately, and
ipmi_watchdog_setmode can wait with cv_wait_sig for the thread to
finish whatever it needs to do first -- and, if we don't use
config_pending_incr/decr, then ipmi_detach will need to explicitly
wait for the thread to finish starting up before killing it.
(But abusing the autoconf DVF_ATTACH_INPROGRESS flag for this was
bogus and fundamentally buggy, so whatever change you make, please
don't bring that part back!)
Home |
Main Index |
Thread Index |
Old Index