Skip to contentSkip to conversation

: dsx_support and APIC interaction

ALSA - driver 0001059 [email protected] 1 participant 1 message Apr 20, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been REOPENED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1059>
======================================================================

Reported By:                systemloc
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   1059
Category:                   PCI - via82xx
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
Distribution:               Slackware 10.0
Kernel Version:             2.6.11.7
======================================================================
Date Submitted:             04-17-2005 20:41 CEST
Last Modified:              04-20-2005 06:22 CEST

======================================================================
Summary: dsx_support and APIC interaction
Description:
I was using the 2.6.7 kernel without APIC or ACPI support, and the via82xx

driver worked perfectly, compiled as a module, without any options. I built a
new 2.6.7 kernel on the same hardware with APIC and ACPI support in the kernel, as the board supports it, and the driver did not work correctly. When
sound was played, a short, 1 second long bit of the sound to be played was

looped. Possibly this is the clicking noise described by some people? The

driver works fine with this new kernel after adding the option "dxs_support=1". I hope this interaction with ACPI and APIC sheds some light
on some of the troubles with this driver. I can provide more information if
anyone wants it. Please CC me, I'm not on the list.

TJ

======================================================================

----------------------------------------------------------------------
systemloc - 04-17-05 21:44
----------------------------------------------------------------------
After upgrading to kernel version 2.6.11.7 with the same options, APIC/ACPI enabled, the via82xx driver worked correctly without any dxs_support options enabled. I'm guessing this may have been a bug with APIC or something, which was already fixed, as suggested by Sergey Vlasov.

----------------------------------------------------------------------
systemloc - 04-20-05 06:22
----------------------------------------------------------------------
I upgraded to kernel version 2.6.11.7, and tried both dxs_support=4 and 1. In both cases, the result was the same. The sound worked for an amount of time, but after sitting idle for a day or so, the audio would not work, freezing, and playing a short, 1 second loop. Additionally, I got a message in syslog that may be related to the failure of audio. I'm not clear on the workings of the kernel here, but this looks like an IRQ sharing problem or something. I'm using IO-APIC, so should IRQs still be used? I checked dmesg, and it looks to me like IO-APIC is working properly.

Apr 17 13:02:06 systemloc kernel: irq 12: nobody cared!                   
     Apr 17 13:02:06 systemloc kernel:  [<c012c12a>]
__report_bad_irq+0x2a/0x90
Apr 17 13:02:06 systemloc kernel:  [<c012bbe0>] handle_IRQ_event+0x30/0x70
     Apr 17 13:02:06 systemloc kernel:  [<c012c21c>]
note_interrupt+0x6c/0xd0
Apr 17 13:02:06 systemloc kernel:  [<c012bcfb>] __do_IRQ+0xdb/0xe0        
     Apr 17 13:02:06 systemloc kernel:  [<c0104659>] do_IRQ+0x19/0x30
Apr 17 13:02:06 systemloc kernel:  [<c0102d1e>] common_interrupt+0x1a/0x20
     Apr 17 13:02:06 systemloc kernel:  [<c0118170>]
__do_softirq+0x30/0x90
Apr 17 13:02:06 systemloc kernel:  [<c01181f6>] do_softirq+0x26/0x30      
     Apr 17 13:02:06 systemloc kernel:  [<c010465e>] do_IRQ+0x1e/0x30
Apr 17 13:02:06 systemloc kernel:  [<c0102d1e>] common_interrupt+0x1a/0x20
     Apr 17 13:02:06 systemloc kernel:  [<c0100413>]
default_idle+0x23/0x30
Apr 17 13:02:06 systemloc kernel:  [<c0100498>] cpu_idle+0x48/0x60        
     Apr 17 13:02:06 systemloc kernel:  [<c035078c>]
start_kernel+0x13c/0x160
Apr 17 13:02:06 systemloc kernel:  [<c0350380>]
unknown_bootoption+0x0/0x1b0    Apr 17 13:02:06 systemloc kernel:
handlers:
Apr 17 13:02:06 systemloc kernel: [<e08ea430>]
(snd_via82xx_interrupt+0x0/0x90 [snd_via82xx])
Apr 17 13:02:06 systemloc kernel: Disabling IRQ

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=12

Issue History
Date Modified Username Field Change
======================================================================

04-17-05 20:41 systemloc      New Issue                                    
04-17-05 20:41 systemloc      Distribution              => Slackware 10.0  
04-17-05 20:41 systemloc      Kernel Version            => 2.6.7           
04-17-05 20:42 systemloc      Note Added: 0004510                          
04-17-05 21:44 systemloc      Note Added: 0004511                          
04-19-05 17:45 tiwai          Status                   new => resolved     
04-19-05 17:45 tiwai          Resolution               open => fixed       
04-19-05 17:45 tiwai          Assigned To               => tiwai           
04-20-05 06:22 systemloc      Kernel Version           2.6.7 => 2.6.11.7   
04-20-05 06:22 systemloc      Status                   resolved => feedback
04-20-05 06:22 systemloc      Resolution               fixed => reopened   
04-20-05 06:22 systemloc      Note Added: 0004540                          

======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728