{"id":222,"date":"2008-05-01T12:04:48","date_gmt":"2008-05-01T18:04:48","guid":{"rendered":"http:\/\/www.ourada.org\/blog\/?p=222"},"modified":"2008-05-01T12:04:48","modified_gmt":"2008-05-01T18:04:48","slug":"my-sound-back","status":"publish","type":"post","link":"https:\/\/www.ourada.org\/blog\/archives\/222","title":{"rendered":"My sound back"},"content":{"rendered":"<p>When I made the switch on my main desktop machine from Windows to Linux (I mean, a Linux kernel-based operating environment solution incorporating elements from FSF projects as well as thousands of other contributors, including but not limited to: Apache Software Foundation, Sun Microsystems Incorporated, the GNOME Foundation&#8230; ah, I mean, Linux), I lost my sound. I got it back by finding the main &#8216;kernel&#8217; line in my \/boot\/grub\/menu.lst and adding the following kernel parameters to the end of that line:<br \/>\n<code>noisapnp pnpbios=off pnpacpi=off<\/code><br \/>\nSo the whole line now looks like this:<br \/>\n<code>kernel          \/boot\/vmlinuz-2.6.24-16-generic root=UUID=... ro quiet splash noisapnp pnpbios=off pnpacpi=off<br \/>\n<\/code><\/p>\n<p>(Don&#8217;t copy that line exactly, though, if you&#8217;re going to try this solution. Just add those extra arguments to the end. I removed my disk UUID from the line because it&#8217;s specific to my computer and wouldn&#8217;t work for anyone else.)<\/p>\n<p>In more detail: I&#8217;m running the newly-published Ubuntu 8.04 &#8216;Hardy Heron&#8217; distribution, which is currently using Linux kernel 2.6.24 as a base. This version of the kernel doesn&#8217;t work well with some BIOSes that report probably-incorrect information about some motherboard resources (some <a href=\"http:\/\/kerneltrap.org\/mailarchive\/linux-kernel\/2008\/2\/4\/714204\">kernel-list discussion<\/a> in which Torvalds&#8217; primary argument is &#8216;x is crap&#8217;, a <a href=\"http:\/\/lkml.org\/lkml\/2008\/3\/11\/368\">PnP-quirks patch<\/a>, and there are about a million pages about people having this problem if you look hard enough).<\/p>\n<p>The eventual diagnosis centered around this in the kernel output (using the dmesg command to view it):<\/p>\n<p><code>PCI: Unable to reserve mem region #1:4000@febf8000 for device 0000:00:1b.0<br \/>\nACPI: PCI interrupt for device 0000:00:1b.0 disabled<br \/>\nHDA Intel: probe of 0000:00:1b.0 failed with error -16 <\/code><\/p>\n<p>This region couldn&#8217;t be reserved because it was already reserved, as a message like this shows (I&#8217;m copying this from someone else&#8217;s description of the problem, but the idea&#8217;s the same):<br \/>\n<code>system 00:08: iomem range 0xfebfa000-0xfebfac00 has been reserved <\/code><\/p>\n<p>I also used the contents of \/proc\/iomem to shore up the diagnosis. Here&#8217;s the indicative bits:<br \/>\n<code><br \/>\nfebf8000-febfbfff : 0000:00:1b.0<br \/>\n  febfa000-febfac00 : pnp 00:07<br \/>\nfebfe000-febfec00 : pnp 00:07<br \/>\n<\/code><\/p>\n<p>The part that snd_intel_hda wants overlaps with what pnp has already claimed. It ought to look like<br \/>\n<code><br \/>\nfebf8000-febfbfff : 0000:00:1b.0<br \/>\n  febf8000-febfbfff : ICH HD audio<br \/>\n<\/code><\/p>\n<p>This overlap problem was happening on my ASUS P5B-Plus board, with two different BIOS versions (1002 and either 0903 or 1001). This board uses an Intel 82801H (ICH8 Family) HD Audio controller sound solution.<\/p>\n<p>Rather than patching and building the kernel myself or trying to find some .debs out there with a newer version (the patch is included in 2.6.25), either of which is more work than I&#8217;d like to do for this problem, I just turned off all PnP. The last time I cared about PnP (a hacky system devised to make PC configuration easier back in the days of the ISA bus, and if you don&#8217;t know what an ISA bus is, you can probably just nod and forget it) was more than 5 years ago, so this is no loss for me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I made the switch on my main desktop machine from Windows to Linux (I mean, a Linux kernel-based operating environment solution incorporating elements from FSF projects as well as thousands of other contributors, including but not limited to: Apache Software Foundation, Sun Microsystems Incorporated, the GNOME Foundation&#8230; ah, I mean, Linux), I lost my [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-222","post","type-post","status-publish","format-standard","hentry","category-general","author-admin"],"_links":{"self":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":0,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/categories?post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/tags?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}