[Bug 266888] hint.* don't survive suspend/resume
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Oct 2022 14:20:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266888 Bug ID: 266888 Summary: hint.* don't survive suspend/resume Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ltning-freebsd@anduin.net Hi, Have applied the patch by Tom Jones from #253288 which works wonders, but during A/B testing with and without the patch, I stumbled across something potentially significant: Hints given via the boot loader prompt - and presumably via loader.conf - do not survive a suspend/resume cycle. In this case, the hint to disable hwpstate_intel was set during initial boot, and the system was stable. After a suspend/resume had set my heart racing (it actually worked!), the system wedged shortly after, as if the aforementioned hint had not been set. I'm guessing the hwpstate_intel driver attached itself upon resume because the hint was purged from memory, leading to the wedging problem resurfacing. I assume this should be easy to test/verify for anyone slightly more qualified than me, but my suspicion is that this will affect a significant number of scenarios where hints (and possibly other loader.conf settings) could be lost. /Eirik -- You are receiving this mail because: You are the assignee for the bug.