Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261587 - media-libs/alsa-lib: hda-intel as module or compiled in kernel leads to crash of the soundcard after a while
Summary: media-libs/alsa-lib: hda-intel as module or compiled in kernel leads to crash...
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-07 17:20 UTC by Alexander Haensch
Modified: 2009-03-15 10:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the actual kernel config (config.gz,16.73 KB, text/plain)
2009-03-07 17:40 UTC, Alexander Haensch
Details
here a complete dmesg (dmesg,30.15 KB, text/plain)
2009-03-08 12:41 UTC, Alexander Haensch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Haensch 2009-03-07 17:20:03 UTC
The soundcard chip "Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)" that belongs to the hda_intel compatible chips is crashing after some time of inactivity. 
The reason for this behavior is found to be an icq problem.

Reproducible: Always

Steps to Reproduce:
1. start the system
2. do not use the audio device
3. sound card crashes
4. only possibility to recover is restart alsa with the KILL option

Actual Results:  
Sound is only stuttered played until the /etc/init.d/alsasound restart
with /etc/conf.d/alsasound options:

UNLOAD_ON_STOP="yes"
KILLPROC_ON_STOP="yes"


Expected Results:  
shoud not happen at all
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 17:25:09 UTC
(In reply to comment #0)
> The reason for this behavior is found to be an icq problem.

I'm sure you mean IRQ problem. I cannot imagine that some instant messager could have such an impact to your sound card.

Please provide some more information like "emerge --info" and attach your kernel config. In case you're using the media-sound/alsa-driver package, please provide the output of 
  emerge -pv alsa-driver
as well.
Comment 2 Alexander Haensch 2009-03-07 17:33:07 UTC
I had to close the browser to reproduce the crash, because there was still a lock on the card. here the output of /var/log/messages:

irq 7: nobody cared (try booting with the "irqpoll" option)
Pid: 0, comm: swapper Tainted: P          2.6.27-gentoo-r8 #2
[<c04058a8>] ? printk+0x18/0x20
[<c0167017>] __report_bad_irq+0x27/0x90
[<c04085af>] ? _spin_unlock+0xf/0x30
[<c01672c7>] note_interrupt+0x247/0x280
[<c01665a1>] ? handle_IRQ_event+0x31/0x60
[<c0167ac3>] handle_level_irq+0xc3/0xf0
[<c0167a00>] ? handle_level_irq+0x0/0xf0
[<c01062ea>] do_IRQ+0x8a/0xe0
[<c012bdd8>] ? irq_exit+0x28/0x50
[<c010476b>] common_interrupt+0x23/0x28
[<c0109d7a>] ? default_idle+0x4a/0x50
[<c0109e70>] c1e_idle+0x30/0xf0
[<c0102c95>] cpu_idle+0x95/0x120
[<c040338b>] start_secondary+0x156/0x1cb
=======================
handlers:
[<f92367a0>] (azx_interrupt+0x0/0x130 [snd_hda_intel])
Disabling IRQ #7

booting with the irqpoll option renders the system unusable...
Comment 3 Alexander Haensch 2009-03-07 17:39:33 UTC
emerge --info:

Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r8 i686)                                                                                 
=================================================================                                                                                                                             
System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3600+-with-glibc2.0                                                                                        
Timestamp of tree: Fri, 06 Mar 2009 06:30:01 +0000                                                                                                                                            
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]                                                                                                              
ccache version 2.4 [enabled]                                                                                                                                                                  
app-shells/bash:     3.2_p39                                                                                                                                                                  
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                                                                                                      
dev-lang/python:     2.5.4-r2                                                                                                                                                                 
dev-util/ccache:     2.4-r7                                                                                                                                                                   
dev-util/cmake:      2.6.2-r1                                                                                                                                                                 
sys-apps/baselayout: 2.0.0                                                                                                                                                                    
sys-apps/openrc:     0.4.2                                                                                                                                                                    
sys-apps/sandbox:    1.3.9                                                                                                                                                                    
sys-devel/autoconf:  2.13, 2.63                                                                                                                                                               
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                                                                                                
sys-devel/binutils:  2.18-r3                                                                                                                                                                  
sys-devel/gcc-config: 1.4.0-r4                                                                                                                                                                
sys-devel/libtool:   1.5.26                                                                                                                                                                   
virtual/os-headers:  2.6.27-r2                                                                                                                                                                
ACCEPT_KEYWORDS="x86"                                                                                                                                                                         
CBUILD="i686-pc-linux-gnu"                                                                                                                                                                    
CFLAGS="-march=athlon64 -Os"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://213.186.33.38/gentoo-distfiles/ ftp://mirror.icis.pcz.pl/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://212.219.56.134/sites/www.ibiblio.org/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/vdr-testing /usr/local/portage/layman/dev-zero"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="#dv #dvb 3dnow 3dnowext X a52 aac aalib accessibility acpi alsa apache2 apm asf automount bash-completion berkdb bidi bluetooth bogofilter branding bzip2 cairo caps cdr cgi cjk clamav cli cracklib css ctype dbus debug dillo divx divx4linux djbfft dri dts dv dvd dvdr dvdread dynamicplugin eds emboss encode evo extra fam fbcondecor fbdev fbsplash ffmpeg firefox flac fortran gd gdbm gecko-sdk gif gmedia gnutls gpm graphviz gtk gtk2 hal hbci httpd iconv imagemagick imap ipv6 isdnlog jack java jfs jpeg kde kdeprefix kerberos kontact ldap libnotify libwww live lm_sensors mad mail-wrapper matroska midi mikmod mmx mmxext modplug mono mp3 mpeg mplayer mpm-worker msn mudflap musicbrainz mysql mysqli nas nautilus ncurses nepomuk network nls nptl nptlonly nsplugin ntfs nvidia oav ogg opengl openmp oss pam pango pch pcre pda pdf perl php phyton plasma pmu png postgres ppds pppd publishers python qt qt-static qt3 qt3support qt4 quicktime readline realmedia reflection reiserfs rtc rtsp samba science sdl semantic-desktop session simplexml sms spamassassin spell spl sqlite3 sse sse2 ssl ssse3 startup-notification stream suhosin svg svga swat sysfs taglib tcpd tex4ht theora threads threadsafe thunderbird tiff tk tkinter truetype unicode usb v4l vcd vdpau visualization vlm vorbis win32codecs wmp wxwindows x264 x86 xcomposite xetex xfs xine xinerama xml xorg xulrunner xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authz_host cache dbd deflate dir disk_cache env expires ext_filter filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif  status vhost_alias " ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

-------------------------------------------------------------------------------


emerge -pv alsa-driver

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "media-sound/alsa-driver" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-sound/alsa-driver-9999 (masked by: package.mask, missing keyword)
/usr/portage/profiles/package.mask:
# Diego Pettenò <flameeyes@gentoo.org> (25 Jan 2007)
# Live Mercurial versions of ALSA packages.
# These are needed for the people wanting to try newer kernel versions
# when the support is broken in-kernel.
# Please note that you need >=sys-apps/portage-2.1.2-r3 to be able to actually
# use these versions by adding "**" for them in package.keywords.

- media-sound/alsa-driver-1.0.18a (masked by: ~x86 keyword)
- media-sound/alsa-driver-1.0.18 (masked by: ~x86 keyword)
- media-sound/alsa-driver-1.0.18_rc3 (masked by: ~x86 keyword)
- media-sound/alsa-driver-1.0.17 (masked by: ~x86 keyword)
- media-sound/alsa-driver-1.0.16 (masked by: ~x86 keyword)
- media-sound/alsa-driver-1.0.15-r1 (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Comment 4 Alexander Haensch 2009-03-07 17:40:32 UTC
Created attachment 184247 [details]
the actual kernel config
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 17:45:58 UTC
Thanks :)
By the way, as the reporter of a bug you don't have to put yourself into the CC field as you get information about every change in your bugs automatically.

Reassigning to alsa herd, CCing kernel herd.
Comment 6 George Kadianakis (RETIRED) gentoo-dev 2009-03-07 18:50:19 UTC
(In reply to comment #2)
> booting with the irqpoll option renders the system unusable...
> 

What do you mean 'unusable'? Do you get a kernel panic? Your keyboard becomes unresponsive?

Also, have you tried booting with irqfixup, too? It, sometimes, fixes 'nobody cared' problems.

Finally, could we have the output of 'cat /proc/interrupts' before the sound card crash and another one after the crash? Just attach it here as a textfile.

Thanks :)
Comment 7 Alexander Haensch 2009-03-08 08:51:46 UTC
(In reply to comment #6)
> (In reply to comment #2)
> > booting with the irqpoll option renders the system unusable...
> > 
> 
> What do you mean 'unusable'? Do you get a kernel panic? Your keyboard becomes
> unresponsive?
> 

booting takes more than 30sec till mounting filesystems, the mounting process takes VERY long or never ends(i don't know) and the keyboard is not working..


> Also, have you tried booting with irqfixup, too? It, sometimes, fixes 'nobody
> cared' problems.
> 

Doesn't boot correctly, stops also at the filesystem checks. I have to turn the computer down with the main switch :-(

> Finally, could we have the output of 'cat /proc/interrupts' before the sound
> card crash and another one after the crash? Just attach it here as a textfile.
> 
before: after a fresh boot:

cat /proc/interrupts 
           CPU0       CPU1                            
  0:        118          1    XT-PIC-XT        timer  
  1:        316         15    XT-PIC-XT        i8042  
  2:          0          0    XT-PIC-XT        cascade
  5:      35166       8364    XT-PIC-XT        sata_nv, sata_nv, nvidia
  7:      12970      56012    XT-PIC-XT        HDA Intel                                                                                                                                                                                           
  8:          1          0    XT-PIC-XT        rtc0                                                                                                                                                                                                
  9:          0          0    XT-PIC-XT        acpi                                                                                                                                                                                                
 10:          0          0    XT-PIC-XT        ohci_hcd:usb2                                                                                                                                                                                       
 11:      17144       3190    XT-PIC-XT        ehci_hcd:usb1, eth2                                                                                                                                                                                 
 12:       3330        939    XT-PIC-XT        i8042                                                                                                                                                                                               
 14:         60         12    XT-PIC-XT        pata_amd                                                                                                                                                                                            
 15:          0          0    XT-PIC-XT        pata_amd                                                                                                                                                                                            
NMI:          0          0   Non-maskable interrupts                                                                                                                                                                                               
LOC:     214714     216407   Local timer interrupts                                                                                                                                                                                                
RES:       8787       9790   Rescheduling interrupts                                                                                                                                                                                               
CAL:       4123       4382   function call interrupts                                                                                                                                                                                              
TLB:        796       1159   TLB shootdowns                                                                                                                                                                                                        
TRM:          0          0   Thermal event interrupts                                                                                                                                                                                              
SPU:          0          0   Spurious interrupts                                                                                                                                                                                                   
ERR:       2269                                                                                                                                                                                                                                    
MIS:          0       

-----------------------------------------------------------------
and after the crash:


cat /proc/interrupts
           CPU0       CPU1
  0:        120          2    XT-PIC-XT        timer
  1:        933         57    XT-PIC-XT        i8042
  2:          0          0    XT-PIC-XT        cascade
  5:     104058      19349    XT-PIC-XT        sata_nv, sata_nv, nvidia
  7:      36701     201129    XT-PIC-XT        HDA Intel
  8:          1          0    XT-PIC-XT        rtc0
  9:          0          0    XT-PIC-XT        acpi
 10:          0          0    XT-PIC-XT        ohci_hcd:usb2
 11:      75376      12238    XT-PIC-XT        ehci_hcd:usb1, eth2
 12:      20919       4680    XT-PIC-XT        i8042
 14:         60         12    XT-PIC-XT        pata_amd
 15:          0          0    XT-PIC-XT        pata_amd
NMI:          0          0   Non-maskable interrupts
LOC:     820595     830423   Local timer interrupts
RES:      19773      23512   Rescheduling interrupts
CAL:       8866      21743   function call interrupts
TLB:       1163       1675   TLB shootdowns
TRM:          0          0   Thermal event interrupts
SPU:          0          0   Spurious interrupts
ERR:      38880
MIS:          0






> Thanks :)
Comment 8 George Kadianakis (RETIRED) gentoo-dev 2009-03-08 09:55:14 UTC
Thanks for the extra info.

Looking at your .config (next time, attach the ASCII text file and not the .gz :) ), I see that you are using kernel ALSA and not the alsa-driver package.
Was there ever a kernel version that used to work perfectly? Or you always had this problem? 

Also, I see that you have enabled the DEBUG functionalities for CONFIG_SND. Did you do it in an effort to debug your recent problems?

Finally, could we have a copy of your dmesg after the crash happens?
Comment 9 Alexander Haensch 2009-03-08 12:12:40 UTC
(In reply to comment #8)
> Thanks for the extra info.
> 
> Looking at your .config (next time, attach the ASCII text file and not the .gz
> :) ), I see that you are using kernel ALSA and not the alsa-driver package.
> Was there ever a kernel version that used to work perfectly? Or you always had
> this problem? 
> 
I think the problem is quite new( problem came up with one of the latest kernel versions). First i thought that it is a KDE 4 problem because i recently upgraded and sometimes the "startup-music" was not completed, instead it stopped abrupt. As i found KDE is not to blame for it.

Im thinking also that maybe the sys-power/powertop optimizations i used can maybe also forced that problem...
I think i will downgrade a few kernelversions an retry. 
Has someone an idea how i can revert to the original settings, before i followed some hints from sys-power/powertop ??



> Also, I see that you have enabled the DEBUG functionalities for CONFIG_SND. Did
> you do it in an effort to debug your recent problems?
> 
To be honest, im not sure how i can do that.

> Finally, could we have a copy of your dmesg after the crash happens?
> 

I think i already posted the output of the system messages. but i will post a little bit bigger:

hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x31                                                                                                                
hda_codec_cleanup_stream: NID=0x3                                                                                                                                                  
irq 7: nobody cared (try booting with the "irqpoll" option)                                                                                                                        
Pid: 0, comm: swapper Tainted: P          2.6.27-gentoo-r8 #2                                                                                                                      
 [<c04058a8>] ? printk+0x18/0x20                                                                                                                                                   
 [<c0167017>] __report_bad_irq+0x27/0x90                                                                                                                                           
 [<c04085af>] ? _spin_unlock+0xf/0x30                                                                                                                                              
 [<c01672c7>] note_interrupt+0x247/0x280                                                                                                                                           
 [<c01665a1>] ? handle_IRQ_event+0x31/0x60                                                                                                                                         
 [<c0167ac3>] handle_level_irq+0xc3/0xf0                                                                                                                                           
 [<c0167a00>] ? handle_level_irq+0x0/0xf0                                                                                                                                          
 [<c01062ea>] do_IRQ+0x8a/0xe0                                                                                                                                                     
 [<c012bdd8>] ? irq_exit+0x28/0x50                                                                                                                                                 
 [<c010476b>] common_interrupt+0x23/0x28                                                                                                                                           
 [<c0109d7a>] ? default_idle+0x4a/0x50                                                                                                                                             
 [<c0109e70>] c1e_idle+0x30/0xf0                                                                                                                                                   
 [<c0102c95>] cpu_idle+0x95/0x120                                                                                                                                                  
 [<c040338b>] start_secondary+0x156/0x1cb                                                                                                                                          
 =======================                                                                                                                                                           
handlers:                                                                                                                                                                          
[<f92537a0>] (azx_interrupt+0x0/0x130 [snd_hda_intel])                                                                                                                             
Disabling IRQ #7                                                                                                                                                                   
HDA Intel 0000:00:10.1: PCI INT B disabled                                                                                                                                         
HDA Intel 0000:00:10.1: PCI INT B -> Link[LAZA] -> GSI 7 (level, low) -> IRQ 7                                                                                                     
HDA Intel 0000:00:10.1: setting latency timer to 64                                                                                                                                
chipset global capabilities = 0x4401                                                                                                                                               
codec_mask = 0x1                                                                                                                                                                   
hda_codec: model '3stack' is selected for config 1043:81cb (ASUS M2N)                                                                                                              
Cannot find slave Side Playback Volume, skipped                                                                                                                                    
Cannot find slave Speaker Playback Volume, skipped                                                                                                                                 
Cannot find slave IEC958 Playback Volume, skipped                                                                                                                                  
Cannot find slave Side Playback Switch, skipped                                                                                                                                    
Cannot find slave Speaker Playback Switch, skipped                                                                                                                                 
hda_codec_cleanup_stream: NID=0x2                                                                                                                                                  
hda_codec_cleanup_stream: NID=0x2           

Comment 10 George Kadianakis (RETIRED) gentoo-dev 2009-03-08 12:35:42 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Thanks for the extra info.
> > 
> > Looking at your .config (next time, attach the ASCII text file and not the .gz
> > :) ), I see that you are using kernel ALSA and not the alsa-driver package.
> > Was there ever a kernel version that used to work perfectly? Or you always had
> > this problem? 
> > 
> I think the problem is quite new( problem came up with one of the latest kernel
> versions). First i thought that it is a KDE 4 problem because i recently
> upgraded and sometimes the "startup-music" was not completed, instead it
> stopped abrupt. As i found KDE is not to blame for it.
> 
> Im thinking also that maybe the sys-power/powertop optimizations i used can
> maybe also forced that problem...
> I think i will downgrade a few kernelversions an retry. 
> Has someone an idea how i can revert to the original settings, before i
> followed some hints from sys-power/powertop ??

Most probably, the sys-power/powertop changes are the ones described here:
http://www.lesswatts.org/projects/powertop/faq.php. You can try disabling/enabling these options accordingly to revert the changes.

Finding the newest kernel version that worked will help us much, because we will be able to find code changes that happened in the meanwhile.
 
> > Also, I see that you have enabled the DEBUG functionalities for CONFIG_SND. Did
> > you do it in an effort to debug your recent problems?
> > 
> To be honest, im not sure how i can do that.

Basically, I was referring to all the debugging options that are enabled in your: Device Drivers -> Sound Card Support -> ALSA, like 'Verbose printk' and 'Debug'.
Anyway, I don't think that they are harmful or the source of your problems, I was just wondering if you enabled them to debug your problem.
 
> > Finally, could we have a copy of your dmesg after the crash happens?
> > 
> 
> I think i already posted the output of the system messages. but i will post a
> little bit bigger:
> 
> hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x31             
> hda_codec_cleanup_stream: NID=0x3                                               
> irq 7: nobody cared (try booting with the "irqpoll" option)                     
> Pid: 0, comm: swapper Tainted: P          2.6.27-gentoo-r8 #2                   
>  [<c04058a8>] ? printk+0x18/0x20                                                
>  [<c0167017>] __report_bad_irq+0x27/0x90                                        
>  [<c04085af>] ? _spin_unlock+0xf/0x30                                           
>  [<c01672c7>] note_interrupt+0x247/0x280                                        
>  [<c01665a1>] ? handle_IRQ_event+0x31/0x60                                      
>  [<c0167ac3>] handle_level_irq+0xc3/0xf0                                        
>  [<c0167a00>] ? handle_level_irq+0x0/0xf0                                       
>  [<c01062ea>] do_IRQ+0x8a/0xe0                                                  
>  [<c012bdd8>] ? irq_exit+0x28/0x50                                              
>  [<c010476b>] common_interrupt+0x23/0x28                                        
>  [<c0109d7a>] ? default_idle+0x4a/0x50                                          
>  [<c0109e70>] c1e_idle+0x30/0xf0                                                
>  [<c0102c95>] cpu_idle+0x95/0x120                                               
>  [<c040338b>] start_secondary+0x156/0x1cb                                       
>  =======================                                                        
> handlers:                                                                       
> [<f92537a0>] (azx_interrupt+0x0/0x130 [snd_hda_intel])                          
> Disabling IRQ #7                                                                
> HDA Intel 0000:00:10.1: PCI INT B disabled                                      
> HDA Intel 0000:00:10.1: PCI INT B -> Link[LAZA] -> GSI 7 (level, low) -> IRQ 7  
> HDA Intel 0000:00:10.1: setting latency timer to 64                             
> chipset global capabilities = 0x4401                                            
> codec_mask = 0x1                                                                
> hda_codec: model '3stack' is selected for config 1043:81cb (ASUS M2N)           
> Cannot find slave Side Playback Volume, skipped                                 
> Cannot find slave Speaker Playback Volume, skipped                              
> Cannot find slave IEC958 Playback Volume, skipped                               
> Cannot find slave Side Playback Switch, skipped                                 
> Cannot find slave Speaker Playback Switch, skipped                              
> hda_codec_cleanup_stream: NID=0x2                                               
> hda_codec_cleanup_stream: NID=0x2           
> 

Well, a full dmesg log would be appreciated because we would also be able to see the initialization of your system, the IRQ handling lines, etc.
Comment 11 Alexander Haensch 2009-03-08 12:41:48 UTC
Created attachment 184327 [details]
here a complete dmesg
Comment 12 Alexander Haensch 2009-03-08 18:13:46 UTC
after heavy working with the old filesystem schema, i finnaly have the same crash with 2.6.24-gentoo-r8 on a fresh config.

irq 7: nobody cared (try booting with the "irqpoll" option)
Pid: 0, comm: swapper Tainted: P        2.6.24-gentoo-r8 #1
 [<c0105a36>] show_trace+0x1a/0x30
 [<c039b4ee>] 0xc039b4ee
 [<c0159158>] __report_bad_irq+0x39/0x81
 [<c015935b>] note_interrupt+0x1bb/0x218
 [<c01599e1>] handle_level_irq+0x8f/0xc0
 [<c010621d>] do_IRQ+0x9d/0xc8
 =======================
handlers:
[<f95ac30b>] (azx_interrupt+0x0/0xa2 [snd_hda_intel])
Disabling IRQ #7

Comment 13 Alexander Haensch 2009-03-08 20:39:10 UTC
no sucess with reverting to the "unoptimized" setting (no HPET, irq_balancing=y).. 

Should i try with an much older kernel?
I think the problem is only some month old...
Comment 14 Alexander Haensch 2009-03-15 10:57:13 UTC
Found a solution!! :-)
I activated the parallel port in the Bios witch is using IRQ7. After that the sound is not corrupting any more.

Nevertheless i'm wondering if it would be possible to fix the problem in the driver.. Would be very nice, or?