On Mon, Dec 12, 2022 at 23:31:06 +0300, Valery Ushakov wrote: > > > With KDTRACE_HOOKS enabled (modulo clockintr hack) and the serial > > > console (for debugging) I see the system stuck on console output when > > > rc runs. It gets unstuck on a com interrupt (e.g. pressing a key). > > > > > > Seems to work fine with KDTRACE_HOOKS disabled. > > > > Do you mean that: > > > > - with KDTRACE_HOOKS enabled, clockintr hack applied, and console on > > serial, system gets stuck on console output until com interrupt > > Yes, I get some of the early output from rc and then the system > stalls. There's no further rc output and I don't get a login prompt > on the wscons. When I type a key into the serial console, the output > gets unstuck and I get the rest of the rc output and the login prompt > on wscons.
PS: This is not on real hardware though, but under VirtualBox with serial connected to a TCP port. I have an ancient Dell laptop with a real on-board serial that I can probably try to verify this with if need be. -uwe