← Back to team overview

ubuntu-eeepc team mailing list archive

[Bug 126140] Re: snd_hda_intel fails to unload (or unload correctly) on shut down; laptop fails to halt

 

Luiz, thanks for the usptream reference.  The patch you mention was
recently applied to the Intrepid kernel when it pulled in the upstream
2.6.27.5 patch set - see Bug 296500:

ogasawara@yoji:~/ubuntu-intrepid$ git log -p 9293a8e3dd8a61f71510790af88430f6e32f86d6
commit 9293a8e3dd8a61f71510790af88430f6e32f86d6
Author: Takashi Iwai <tiwai@xxxxxxx>
Date:   Thu Oct 30 19:10:15 2008 +0000

    ALSA: hda - Add reboot notifier
    
    commit 0cbf00980f0fc4cc064a15ab3dfce19b5fae9130 upstream
    
    The current snd-hda-intel driver seems blocking the power-off on some
    devices like eeepc.  Although this is likely a BIOS problem, we can add
    a workaround by disabling IRQ lines before power-off operation.
    This patch adds the reboot notifier to achieve it.
    
    The detailed problem description is found in bug#11889:
        http://bugme.linux-foundation.org/show_bug.cgi?id=11889
    
    Tested-by: Luiz Fernando N. Capitulino <lcapitulino@xxxxxxxxxxxxxxx>
    Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
    Signed-off-by: Tim Gardner <tim.gardner@xxxxxxxxxxxxx>

The Ubuntu kernel which contains this patch is still making it's way
into the intrepid-proposed repository.  If you can please monitor bug
296500 for when the kernel is available for testing in intrepid-proposed
and provide feedback after testing that would be great.  For information
on how to enable -proposed, please see
https://wiki.ubuntu.com/Testing/EnableProposed .  The wiki uses 'hardy'
in it's examples, so please make sure to use 'intrepid' instread.
Thanks.

** Changed in: linux (Ubuntu)
       Status: Triaged => Fix Committed

-- 
snd_hda_intel fails to unload (or unload correctly) on shut down; laptop fails to halt
https://bugs.launchpad.net/bugs/126140
You received this bug notification because you are a member of Ubuntu
EEEPC, which is a direct subscriber.

Status in The Linux Kernel: Fix Released
Status in Ubuntu: Invalid
Status in “linux” source package in Ubuntu: Fix Committed
Status in “linux-source-2.6.22” source package in Ubuntu: Invalid
Status in Fedora: In Progress
Status in Mandriva Linux: Fix Released

Bug description:
Binary package hint: kernel-image-2.6.22-8-generic-di

I chose to file this under the current Gutsy kernel, but this issue has plagued me since Dapper.  Ever since Dapper my laptop wouldn't shut down properly.  I would get the infamous "will now halt" message, but my computer would never completely shut down.  Today I found the culprit: the snd_hda_intel module.  If I manually remove this module (rmmod snd_hda_intel) before shutting down everything works perfectly.  My laptop is a Toshiba Satellite A105-S2716.

I also came across a post from bug #43961 that confirms the same behavior. Coincidentally, he has the same model laptop I do:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/43961/comments/157

Workaround:

To work around this problem, I created an init.d script to run at shutdown.  All the script does is remove the snd_hda_intel module at shutdown (rmmod snd-hda-intel) and things work smoothly.
See this thread for more detail: http://ubuntuforums.org/showthread.php?t=500268