NetBSD-Bugs archive

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

Re: port-i386/57197: GENERIC kernel crash on pentium-III and earlier CPUs



This is the same problem as:
https://mail-index.netbsd.org/tech-kern/2022/12/10/msg028574.html

The legacy clockintr has a magic extra argument that intr_establish
and intr_kdtrace_wrapper (and intr_biglock_wrapper) don't know about,
requiring a sketchy function pointer cast (ding ding ding, alarm bell)
to even pass to intr_establish, and intr_wrapper_kdtrace causes it to
fail.

The real fix is to change the bogus magic extra argument, but as a
workaround we could pass through a flag to avoid intr_wrapper_kdtrace.
Downside is it will not be possible to dtrace these interrupts, but
upside is it doesn't require summoning Cthulhu to aid in legacy ISA
clock surgery.


Home | Main Index | Thread Index | Old Index