{"id":2908,"date":"2012-03-03T15:01:58","date_gmt":"2012-03-03T13:01:58","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=2908"},"modified":"2012-03-03T15:22:48","modified_gmt":"2012-03-03T13:22:48","slug":"wistron_btns-breaks-pae-floods-with-unknown-key-code-10-causing-severe-slowdown","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2012\/03\/03\/wistron_btns-breaks-pae-floods-with-unknown-key-code-10-causing-severe-slowdown\/","title":{"rendered":"wistron_btns &#8221;breaks&#8221; -pae: floods with &#8221;Unknown key code 10&#8221;, causing severe slowdown"},"content":{"rendered":"<p>My summary&#8217;s crap because this is difficult to summarize, hopefully the explanation below makes it clearer. I have little understanding of kernel internals, so I&#8217;ll first just try and describe the symptom as it appears.<\/p>\n<p>I&#8217;ve come across an issue on my Fujitsu Siemens Amilo M7400 laptop with wistron_btns that is triggered by certain kernels, and once triggered, seems to affect all subsequent attempts to reboot with -pae kernels until a non-pae kernel is booted. I initially reported this on Launchpad [1].<\/p>\n<p>I can currently trigger the issue by (cold or re-) booting 3.2.0-14-pae (these are Ubuntu&#8217;s packaged kernels) or by booting (for example) 3.3.0-030300rc4-generic-pae in recovery mode (= &#8221;ro recovery nomodeset&#8221;). The recovery boot seems to work normally, but the 3.2.0-14-pae boot already exhibits the failure: it seemingly freezes. (More about the exact nature of &#8221;failure&#8221; below.)<\/p>\n<p>Once I&#8217;ve triggered the issue, rebooting with any -pae kernel fails similar to how 3.2.0-14-pae behaves irregardless of preceding boots.<\/p>\n<p>I can &#8221;fix&#8221; this by booting a non-pae kernel (which never fails). After that subsequent reboots with -pae kernels (apart from 3.2.0-14-pae) no longer fail \u2014 not until I do any of the triggering actions again.<\/p>\n<p>Now, the &#8221;failure&#8221; looks like a freeze, but it&#8217;s actually just an extreme slowdown. With patience, I can actually have the boot finish and can inspect logs. Dmesg reveals that wistron_btns is repeating &#8221;Unknown key code 10&#8221; over and over.<\/p>\n<p>If I comment wistron_btns out of \/etc\/modules so that it isn&#8217;t loaded, the issue goes away, meaning I can no longer trigger it.<\/p>\n<p>As I said, I have little understanding of kernel bugs, so what I say next may be completely off, but the way I&#8217;ve interpreted this is that the &#8221;brokenness&#8221; is actually hidden in the hardware, in something controlled by wistron_btns. Booting 3.2.0-14-pae\/recovery booting any -pay puts the controller(?) in a &#8221;broken&#8221; state from which a -pae kernel can&#8217;t recover, but a non-pae kernel can. And although -pae kernels later than 3.2.0-14 can&#8217;t recover a &#8221;broken&#8221; controller, they also cannot put it into that &#8221;broken&#8221; state (which is a good turn of development).<\/p>\n<p>I&#8217;ll be happy to provide more info as requested. I&#8217;m attaching dmesg output for<br \/>\nstarters.<\/p>\n<p>* [1] <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/linux\/+bug\/926012\">https:\/\/bugs.launchpad.net\/ubuntu\/+source\/linux\/+bug\/926012<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This wistron_btns issue is triggered by certain kernels, and once triggered, affects reboots with -pae kernels until a non-pae kernel is booted.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[27],"class_list":["post-2908","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-linux","sijainti-kernel-bug-tracker"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/2908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=2908"}],"version-history":[{"count":11,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/2908\/revisions"}],"predecessor-version":[{"id":2919,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/2908\/revisions\/2919"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=2908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=2908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=2908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}