[Bug 250248] 12.2-RC2 kernel reboots with hw.acpi.debug=1 after a warm reboot.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 13 05:57:04 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250248
--- Comment #6 from Andriy Gapon <avg at FreeBSD.org> ---
(In reply to Rajeev Pillai from comment #5)
If you can some (light) code modifications and can build a kernel from sources,
then I can try to "throw" a couple of ideas at you.
First, in hdac_attach2(), you can try moving a block of code that starts with
printing of "Enabling controller interrupt" and goes up to "Scanning HDA
codecs" to a place right after the loop that scans for codecs.
But I am not sure if that will really work.
There are calls to hdac_send_command() in the loop. I am not sure if that
function depends on interrupts.
Another idea is to move just HDAC_WRITE_4(... HDAC_GCTL_UNSOL) line.
Yet another idea is to modify hdac_methods[] array and add device_shutdown
method there. It can point to hdac_detach.
The idea is to completely reset the hardware _before_ the warm reboot, so it is
more predictable afterwards.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list