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
The following reply was made to PR port-i386/57197; it has been noted by GNATS.
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: port-i386-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, jdbaker%consolidated.net@localhost
Subject: Re: port-i386/57197: GENERIC kernel crash on pentium-III and earlier CPUs
Date: Tue, 24 Jan 2023 09:46:44 +0000
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