Bug 12485

Summary: hda intel | realtek alc262 | the system can't poweroff
Product: Drivers Reporter: Giovanni Pellerano (giovanni.pellerano)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: CLOSED OBSOLETE    
Severity: high CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.29-rc1 Subsystem:
Regression: No Bisected commit-id:

Description Giovanni Pellerano 2009-01-19 03:15:13 UTC
Latest working kernel version: 2.6.28
Earliest failing kernel version: 2.6.29-rc1
Distribution: Gentoo
Hardware Environment: Sony Vaio SR19XN
Problem Description:
After acpi button event, the system correctly goes for shutdown but at the end it stops without poweroff.

I've filled a bug report [http://bugzilla.kernel.org/show_bug.cgi?id=12448] and i thought that's was an acpi problem but doing a kernel bisect between 2.6.28 and 2.6.29 if found that the problem is in the commit: 1289e9e8b42f973f2ab39e5f4f2239ff826c27e9

Below you can find the output of the bisect, and in the kernel bug report 12488 you can find a lot of others information.

thanks for the attention.


here is the kernelk bisect output:
1289e9e8b42f973f2ab39e5f4f2239ff826c27e9 is first bad commit
commit 1289e9e8b42f973f2ab39e5f4f2239ff826c27e9
Author: Takashi Iwai <tiwai@suse.de>
Date:   Thu Nov 27 15:47:11 2008 +0100

    ALSA: hda - Modularize HD-audio driver

    Split the monolithc HD-audio driver into several pieces:
     - snd-hda-intel   HD-audio PCI controller driver; loaded via udev
     - snd-hda-codec   HD-audio codec bus driver
     - snd-hda-codec-* Specific HD-audio codec drivers

    When built as modules, snd-hda-codec (that is invoked by snd-hda-intel)
    looks up the codec vendor ID and loads the corresponding codec module
    automatically via request_module().

    When built in a kernel, each codec drivers are statically hooked up
    before probing the PCI.

    This patch adds appropriate EXPORT_SYMBOL_GPL()'s and the module
    information for each driver, and driver-linking codes between
    codec-bus and codec drivers.

    TODO:
      - Avoid EXPORT_SYMBOL*() when built-in kernel
      - Restore __devinit appropriately depending on the condition

    Signed-off-by: Takashi Iwai <tiwai@suse.de>

:040000 040000 b0a71438bd4110e07491ed00710449532a3dbd15
ebeda50646e1fbea8dd9f31040133b307bf5d8f6 M      sound


Steps to reproduce:
Comment 1 Takashi Iwai 2009-01-19 03:19:19 UTC
It's likely a bug in gentoo alsasound init script.
See bug 12321:
     http://bugzilla.kernel.org/show_bug.cgi?id=12321