All of lore.kernel.org
 help / color / mirror / Atom feed
* problem with bisecting a bug in the alsa driver
@ 2010-08-29 15:57 Martin
  2010-08-29 16:09 ` Jaroslav Kysela
  0 siblings, 1 reply; 7+ messages in thread
From: Martin @ 2010-08-29 15:57 UTC (permalink / raw)
  To: alsa-devel

hello,

im sorry to post in here but i really dont know how to proceed
with finding the bug i have.

i have an ALC889A codec and since alsa-driver 1.0.22 my
microphone is crackling like hell with every recording.

it works flawlessly on windows and till 1.0.21 of alsa driver.

so i downloaded alsa-driver.git and alsa-kmirror.git
and started gitcompile.

the error is also present in the most recent git.

my next steps were trying to use bisect bad v1.0.22 and bisect good v1.0.21
but im unable to compile the driver with any bisection setting.
maybe i run into problems because i have 2 single git repos?

i really would appreciate a howto for my problem.
i also filed a bug in the bugtracker with more infos included.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with bisecting a bug in the alsa driver
  2010-08-29 15:57 problem with bisecting a bug in the alsa driver Martin
@ 2010-08-29 16:09 ` Jaroslav Kysela
  2010-08-29 16:52   ` Martin
  0 siblings, 1 reply; 7+ messages in thread
From: Jaroslav Kysela @ 2010-08-29 16:09 UTC (permalink / raw)
  To: Martin; +Cc: alsa-devel

On Sun, 29 Aug 2010, Martin wrote:

> hello,
>
> im sorry to post in here but i really dont know how to proceed
> with finding the bug i have.
>
> i have an ALC889A codec and since alsa-driver 1.0.22 my
> microphone is crackling like hell with every recording.
>
> it works flawlessly on windows and till 1.0.21 of alsa driver.


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

Try to create a diff (diff -u) between the outputs from alsa-info.sh 
for working 1.0.21 and current ALSA driver.

Bisecting works only for whole kernel 2.6 tree not for the out-of-kernel 
compilation framework.

 					Jaroslav

-----
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with bisecting a bug in the alsa driver
  2010-08-29 16:09 ` Jaroslav Kysela
@ 2010-08-29 16:52   ` Martin
  2010-08-29 17:28     ` Jaroslav Kysela
  0 siblings, 1 reply; 7+ messages in thread
From: Martin @ 2010-08-29 16:52 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

hi,

thanks for the quick help.
here is the diff.txt

Am 29.08.2010 18:09, schrieb Jaroslav Kysela:
> On Sun, 29 Aug 2010, Martin wrote:
>
>    
>> hello,
>>
>> im sorry to post in here but i really dont know how to proceed
>> with finding the bug i have.
>>
>> i have an ALC889A codec and since alsa-driver 1.0.22 my
>> microphone is crackling like hell with every recording.
>>
>> it works flawlessly on windows and till 1.0.21 of alsa driver.
>>      
>
>    
>> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5115
>>      
> Try to create a diff (diff -u) between the outputs from alsa-info.sh
> for working 1.0.21 and current ALSA driver.
>
> Bisecting works only for whole kernel 2.6 tree not for the out-of-kernel
> compilation framework.
>
>   					Jaroslav
>
> -----
> Jaroslav Kysela<perex@perex.cz>
> Linux Kernel Sound Maintainer
> ALSA Project, Red Hat, Inc.
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>    


[-- Attachment #2: diff.txt --]
[-- Type: text/plain, Size: 15593 bytes --]

--- alsa1021.txt	2010-08-29 18:49:05.479945563 +0200
+++ alsa1023.txt	2010-08-29 18:46:02.665960706 +0200
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.4.59
 !!################################
 
-!!Script ran on: Sun Aug 29 16:48:50 UTC 2010
+!!Script ran on: Sun Aug 29 16:45:46 UTC 2010
 
 
 !!Linux Distribution
@@ -32,7 +32,7 @@
 !!ALSA Version
 !!------------
 
-Driver version:     1.0.21
+Driver version:     1.0.23
 Library version:    1.0.22
 Utilities version:  1.0.22
 
@@ -59,7 +59,7 @@
 !!-----------------------------
 
  0 [Intel          ]: HDA-Intel - HDA Intel
-                      HDA Intel at 0xfa200000 irq 22
+                      HDA Intel at 0xfa200000 irq 30
 
 
 !!PCI Soundcards installed in the system
@@ -94,8 +94,9 @@
 
 !!Module: snd_hda_intel
 	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
+	beep_mode : 1,1,1,1,1,1,1,1
 	enable : Y,Y,Y,Y,Y,Y,Y,Y
-	enable_msi : 0
+	enable_msi : -1
 	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
 	index : -1,-1,-1,-1,-1,-1,-1,-1
 	model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
@@ -104,7 +105,7 @@
 	power_save : 0
 	power_save_controller : Y
 	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
-	probe_only : N,N,N,N,N,N,N,N
+	probe_only : 0,0,0,0,0,0,0,0
 	single_cmd : N
 
 
@@ -129,6 +130,7 @@
   IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
   IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
 Node 0x02 [Audio Output] wcaps 0x11: Stereo
+  Device: name="ALC889A Analog", type="Audio", device=0
   Converter: stream=0, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
@@ -153,6 +155,12 @@
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
 Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
+  Control: name="IEC958 Playback Con Mask", index=0, device=0
+  Control: name="IEC958 Playback Pro Mask", index=0, device=0
+  Control: name="IEC958 Playback Default", index=0, device=0
+  Control: name="IEC958 Playback Switch", index=0, device=0
+  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
+  Device: name="ALC889A Digital", type="SPDIF", device=1
   Converter: stream=0, channel=0
   Digital: Enabled GenLevel
   Digital category: 0x2
@@ -161,6 +169,9 @@
     bits [0x1e]: 16 20 24 32
     formats [0x1]: PCM
 Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In
+  Control: name="Capture Switch", index=0, device=0
+  Control: name="Capture Volume", index=0, device=0
+  Device: name="ALC889A Analog", type="Audio", device=0
   Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0x2e 0x2e]
   Converter: stream=0, channel=0
@@ -172,6 +183,9 @@
   Connection: 1
      0x24
 Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
+  Control: name="Capture Switch", index=1, device=0
+  Control: name="Capture Volume", index=1, device=0
+  Device: name="ALC889A Analog", type="Audio", device=2
   Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0xae 0xae]
   Converter: stream=0, channel=0
@@ -183,6 +197,8 @@
   Connection: 1
      0x23
 Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
+  Control: name="Capture Switch", index=2, device=0
+  Control: name="Capture Volume", index=2, device=0
   Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0x00 0x00]
   Converter: stream=0, channel=0
@@ -194,6 +210,9 @@
   Connection: 1
      0x22
 Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
+  Control: name="IEC958 Capture Switch", index=0, device=0
+  Control: name="IEC958 Capture Default", index=0, device=0
+  Device: name="ALC889A Digital", type="SPDIF", device=1
   Converter: stream=0, channel=0
   SDI-Select: 0
   Digital:
@@ -206,11 +225,27 @@
   Connection: 1
      0x1f
 Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
+  Control: name="Mic Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=0, ofs=0
+  Control: name="Mic Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=0, ofs=0
+  Control: name="Front Mic Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=1, ofs=0
+  Control: name="Front Mic Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=1, ofs=0
+  Control: name="Line Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=2, ofs=0
+  Control: name="Line Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=2, ofs=0
   Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
-  Amp-In vals:  [0x80 0x80] [0x9f 0x9f] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
+  Amp-In vals:  [0x80 0x80] [0x9f 0x9f] [0x80 0x80] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
   Connection: 10
      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
 Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
+  Control: name="Front Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
+  Control: name="Front Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=2, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x00 0x00]
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
@@ -218,6 +253,10 @@
   Connection: 2
      0x02 0x0b
 Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
+  Control: name="Surround Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
+  Control: name="Surround Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=2, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x00 0x00]
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
@@ -225,6 +264,14 @@
   Connection: 2
      0x03 0x0b
 Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
+  Control: name="Center Playback Volume", index=0, device=0
+    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
+  Control: name="LFE Playback Volume", index=0, device=0
+    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
+  Control: name="Center Playback Switch", index=0, device=0
+    ControlAmp: chs=1, dir=In, idx=2, ofs=0
+  Control: name="LFE Playback Switch", index=0, device=0
+    ControlAmp: chs=2, dir=In, idx=2, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x00 0x00]
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
@@ -232,6 +279,10 @@
   Connection: 2
      0x04 0x0b
 Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
+  Control: name="Side Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
+  Control: name="Side Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=2, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x00 0x00]
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
@@ -297,6 +348,8 @@
   Connection: 5
      0x0c 0x0d 0x0e 0x0f* 0x26
 Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
+  Control: name="Mic Boost", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=0, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
   Amp-In vals:  [0x00 0x00]
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
@@ -311,6 +364,8 @@
   Connection: 5
      0x0c* 0x0d 0x0e 0x0f 0x26
 Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
+  Control: name="Front Mic Boost", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=0, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
   Amp-In vals:  [0x00 0x00]
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
@@ -339,6 +394,8 @@
   Connection: 5
      0x0c* 0x0d 0x0e 0x0f 0x26
 Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
+  Control: name="Headphone Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
   Amp-In vals:  [0x00 0x00]
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
@@ -383,23 +440,24 @@
   Pin-ctls: 0x20: IN
 Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
   Processing caps: benign=0, ncoeff=17
-  Processing Coefficient: 0xf012
-  Coefficient Index: 0x01
 Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
   Volume-Knob: delta=0, steps=32, direct=0, val=0
   Unsolicited: tag=00, enabled=0
   Connection: 0
 Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
+  Control: name="Input Source", index=2, device=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
   Connection: 11
      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
 Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
+  Control: name="Input Source", index=1, device=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
   Connection: 11
      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
 Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
+  Control: name="Input Source", index=0, device=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
   Connection: 11
@@ -423,21 +481,21 @@
 !!ALSA Device nodes
 !!-----------------
 
-crw-rw----+ 1 root audio 116,  0 Aug 29 18:48 /dev/snd/controlC0
-crw-rw----+ 1 root audio 116,  6 Aug 29 18:48 /dev/snd/hwC0D2
-crw-rw----+ 1 root audio 116, 24 Aug 29 18:48 /dev/snd/pcmC0D0c
-crw-rw----+ 1 root audio 116, 16 Aug 29 18:48 /dev/snd/pcmC0D0p
-crw-rw----+ 1 root audio 116, 25 Aug 29 18:48 /dev/snd/pcmC0D1c
-crw-rw----+ 1 root audio 116, 17 Aug 29 18:48 /dev/snd/pcmC0D1p
-crw-rw----+ 1 root audio 116, 26 Aug 29 18:48 /dev/snd/pcmC0D2c
-crw-rw----+ 1 root audio 116,  1 Aug 29 18:48 /dev/snd/seq
-crw-rw----+ 1 root audio 116, 33 Aug 29 18:48 /dev/snd/timer
+crw-rw----+ 1 root audio 116,  0 Aug 29 18:45 /dev/snd/controlC0
+crw-rw----+ 1 root audio 116,  6 Aug 29 18:45 /dev/snd/hwC0D2
+crw-rw----+ 1 root audio 116, 24 Aug 29 18:45 /dev/snd/pcmC0D0c
+crw-rw----+ 1 root audio 116, 16 Aug 29 18:45 /dev/snd/pcmC0D0p
+crw-rw----+ 1 root audio 116, 25 Aug 29 18:45 /dev/snd/pcmC0D1c
+crw-rw----+ 1 root audio 116, 17 Aug 29 18:45 /dev/snd/pcmC0D1p
+crw-rw----+ 1 root audio 116, 26 Aug 29 18:45 /dev/snd/pcmC0D2c
+crw-rw----+ 1 root audio 116,  1 Aug 29 18:45 /dev/snd/seq
+crw-rw----+ 1 root audio 116, 33 Aug 29 18:45 /dev/snd/timer
 
 /dev/snd/by-path:
 total 0
-drwxr-xr-x 2 root root  60 Aug 29 18:48 .
-drwxr-xr-x 3 root root 240 Aug 29 18:48 ..
-lrwxrwxrwx 1 root root  12 Aug 29 18:48 pci-0000:00:1b.0 -> ../controlC0
+drwxr-xr-x 2 root root  60 Aug 29 18:45 .
+drwxr-xr-x 3 root root 240 Aug 29 18:45 ..
+lrwxrwxrwx 1 root root  12 Aug 29 18:45 pci-0000:00:1b.0 -> ../controlC0
 
 
 !!Aplay/Arecord output
@@ -472,11 +530,11 @@
 
 !!-------Mixer controls for card 0 [Intel]
 
-Card hw:0 'Intel'/'HDA Intel at 0xfa200000 irq 22'
+Card hw:0 'Intel'/'HDA Intel at 0xfa200000 irq 30'
   Mixer name	: 'Realtek ALC889A'
   Components	: 'HDA:10ec0885,1458a002,00100101'
-  Controls      : 41
-  Simple ctrls  : 23
+  Controls      : 39
+  Simple ctrls  : 22
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
   Playback channels: Mono
@@ -570,13 +628,6 @@
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
-Simple mixer control 'Beep',0
-  Capabilities: pvolume pswitch penum
-  Playback channels: Front Left - Front Right
-  Limits: Playback 0 - 31
-  Mono:
-  Front Left: Playback 23 [74%] [0.00dB] [off]
-  Front Right: Playback 23 [74%] [0.00dB] [off]
 Simple mixer control 'Capture',0
   Capabilities: cvolume cswitch penum
   Capture channels: Front Left - Front Right
@@ -978,27 +1029,6 @@
 	control.36 {
 		comment.access 'read write'
 		comment.type INTEGER
-		comment.count 2
-		comment.range '0 - 31'
-		comment.dbmin -3450
-		comment.dbmax 1200
-		iface MIXER
-		name 'Beep Playback Volume'
-		value.0 23
-		value.1 23
-	}
-	control.37 {
-		comment.access 'read write'
-		comment.type BOOLEAN
-		comment.count 2
-		iface MIXER
-		name 'Beep Playback Switch'
-		value.0 false
-		value.1 false
-	}
-	control.38 {
-		comment.access 'read write'
-		comment.type INTEGER
 		comment.count 1
 		comment.range '0 - 64'
 		comment.dbmin -6400
@@ -1007,7 +1037,7 @@
 		name 'Master Playback Volume'
 		value 64
 	}
-	control.39 {
+	control.37 {
 		comment.access 'read write'
 		comment.type BOOLEAN
 		comment.count 1
@@ -1015,7 +1045,7 @@
 		name 'Master Playback Switch'
 		value true
 	}
-	control.40 {
+	control.38 {
 		comment.access 'read write user'
 		comment.type INTEGER
 		comment.count 2
@@ -1028,7 +1058,7 @@
 		value.0 255
 		value.1 255
 	}
-	control.41 {
+	control.39 {
 		comment.access 'read write user'
 		comment.type INTEGER
 		comment.count 2
@@ -1051,7 +1081,17 @@
 Module
 binfmt_misc
 ppdev
+joydev
+hid_logitech
+ff_memless
+usbhid
 snd_hda_codec_realtek
+hid
+fbcon
+tileblit
+font
+bitblit
+softcursor
 snd_hda_intel
 snd_hda_codec
 snd_hwdep
@@ -1063,36 +1103,26 @@
 snd_seq
 snd_timer
 snd_seq_device
+snd
+lp
 uvcvideo
 videodev
 v4l1_compat
 v4l2_compat_ioctl32
-fbcon
-tileblit
-font
-bitblit
-softcursor
-joydev
-snd
+soundcore
+snd_page_alloc
+intel_agp
 nvidia
 vga16fb
 vgastate
-intel_agp
-soundcore
-snd_page_alloc
-lp
 parport
-hid_logitech
-ff_memless
-usbhid
-hid
-ohci1394
 floppy
-pata_jmicron
-ieee1394
+ohci1394
 r8169
 mii
+pata_jmicron
 ahci
+ieee1394
 
 
 !!Sysfs Files
@@ -1122,14 +1152,22 @@
 !!ALSA/HDA dmesg
 !!------------------
 
-[   16.176781]   alloc kstat_irqs on node -1
-[   16.176785] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
-[   16.176815] HDA Intel 0000:00:1b.0: setting latency timer to 64
-[   16.234511] Console: switching to colour frame buffer device 80x30
+[   12.478065]   alloc kstat_irqs on node -1
+[   12.478069] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
+[   12.478071] hda_intel: position_fix set to 1 for device 1458:a022
+[   12.478159]   alloc irq_desc for 30 on node -1
+[   12.478160]   alloc kstat_irqs on node -1
+[   12.478166] HDA Intel 0000:00:1b.0: irq 30 for MSI/MSI-X
+[   12.478184] HDA Intel 0000:00:1b.0: setting latency timer to 64
+[   12.651207] Console: switching to colour frame buffer device 80x30
+--
+[   12.690914] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  256.44  Thu Jul 29 01:22:44 PDT 2010
+[   12.727771] hda_codec: ALC889A: BIOS auto-probing.
+[   12.729083] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input5
+[   13.056702] usbcore: registered new interface driver hiddev
 --
-[   16.260389] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  256.44  Thu Jul 29 01:22:44 PDT 2010
-[   16.324997] hda_codec: ALC889A: BIOS auto-probing.
-[   16.326329] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input8
-[   16.631050] type=1505 audit(1283100504.725:5):  operation="profile_load" pid=1003 name="/usr/share/gdm/guest-session/Xsession"
+[   15.991327]   groups: 1 0
+[   17.708288] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
+[   23.920043] eth0: no IPv6 routers present
 
 

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with bisecting a bug in the alsa driver
  2010-08-29 16:52   ` Martin
@ 2010-08-29 17:28     ` Jaroslav Kysela
  2010-08-29 17:57       ` Martin
  2010-08-29 17:59       ` Martin
  0 siblings, 2 replies; 7+ messages in thread
From: Jaroslav Kysela @ 2010-08-29 17:28 UTC (permalink / raw)
  To: Martin; +Cc: alsa-devel

On Sun, 29 Aug 2010, Martin wrote:

> hi,
>
> thanks for the quick help.
> here is the diff.txt

I would try to play with these two module parameters:

         bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
         enable_msi : -1

Try to set 'enable_msi=0' and 'bdl_pos_adj=16' for the snd-hda-intel 
module.

 						Jaroslav

-----
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with bisecting a bug in the alsa driver
  2010-08-29 17:28     ` Jaroslav Kysela
@ 2010-08-29 17:57       ` Martin
  2010-08-29 17:59       ` Martin
  1 sibling, 0 replies; 7+ messages in thread
From: Martin @ 2010-08-29 17:57 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]

im sorry to say it did not help.



Am 29.08.2010 19:28, schrieb Jaroslav Kysela:
> On Sun, 29 Aug 2010, Martin wrote:
>
>    
>> hi,
>>
>> thanks for the quick help.
>> here is the diff.txt
>>      
> I would try to play with these two module parameters:
>
>           bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
>           enable_msi : -1
>
> Try to set 'enable_msi=0' and 'bdl_pos_adj=16' for the snd-hda-intel
> module.
>
>   						Jaroslav
>
> -----
> Jaroslav Kysela<perex@perex.cz>
> Linux Kernel Sound Maintainer
> ALSA Project, Red Hat, Inc.
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>    


[-- Attachment #2: diff1.txt --]
[-- Type: text/plain, Size: 15180 bytes --]

--- alsa1021.txt	2010-08-29 18:49:05.479945563 +0200
+++ test1.txt	2010-08-29 19:56:48.936148375 +0200
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.4.59
 !!################################
 
-!!Script ran on: Sun Aug 29 16:48:50 UTC 2010
+!!Script ran on: Sun Aug 29 17:56:36 UTC 2010
 
 
 !!Linux Distribution
@@ -32,7 +32,7 @@
 !!ALSA Version
 !!------------
 
-Driver version:     1.0.21
+Driver version:     1.0.23
 Library version:    1.0.22
 Utilities version:  1.0.22
 
@@ -87,13 +87,16 @@
 snd-usb-caiaq: index=-2
 snd-cmipci: mpu_port=0x330 fm_port=0x388
 snd-pcsp: index=-2
+snd-hda-intel: bdl_pos_adj=16
+snd-hda-intel: enable_msi=0
 
 
 !!Loaded sound module options
 !!--------------------------
 
 !!Module: snd_hda_intel
-	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
+	bdl_pos_adj : 16,-1,-1,-1,-1,-1,-1,-1
+	beep_mode : 1,1,1,1,1,1,1,1
 	enable : Y,Y,Y,Y,Y,Y,Y,Y
 	enable_msi : 0
 	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
@@ -104,7 +107,7 @@
 	power_save : 0
 	power_save_controller : Y
 	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
-	probe_only : N,N,N,N,N,N,N,N
+	probe_only : 0,0,0,0,0,0,0,0
 	single_cmd : N
 
 
@@ -129,6 +132,7 @@
   IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
   IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
 Node 0x02 [Audio Output] wcaps 0x11: Stereo
+  Device: name="ALC889A Analog", type="Audio", device=0
   Converter: stream=0, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
@@ -153,6 +157,12 @@
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
 Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
+  Control: name="IEC958 Playback Con Mask", index=0, device=0
+  Control: name="IEC958 Playback Pro Mask", index=0, device=0
+  Control: name="IEC958 Playback Default", index=0, device=0
+  Control: name="IEC958 Playback Switch", index=0, device=0
+  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
+  Device: name="ALC889A Digital", type="SPDIF", device=1
   Converter: stream=0, channel=0
   Digital: Enabled GenLevel
   Digital category: 0x2
@@ -161,6 +171,9 @@
     bits [0x1e]: 16 20 24 32
     formats [0x1]: PCM
 Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In
+  Control: name="Capture Switch", index=0, device=0
+  Control: name="Capture Volume", index=0, device=0
+  Device: name="ALC889A Analog", type="Audio", device=0
   Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0x2e 0x2e]
   Converter: stream=0, channel=0
@@ -172,6 +185,9 @@
   Connection: 1
      0x24
 Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
+  Control: name="Capture Switch", index=1, device=0
+  Control: name="Capture Volume", index=1, device=0
+  Device: name="ALC889A Analog", type="Audio", device=2
   Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0xae 0xae]
   Converter: stream=0, channel=0
@@ -183,6 +199,8 @@
   Connection: 1
      0x23
 Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
+  Control: name="Capture Switch", index=2, device=0
+  Control: name="Capture Volume", index=2, device=0
   Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0x00 0x00]
   Converter: stream=0, channel=0
@@ -194,6 +212,9 @@
   Connection: 1
      0x22
 Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
+  Control: name="IEC958 Capture Switch", index=0, device=0
+  Control: name="IEC958 Capture Default", index=0, device=0
+  Device: name="ALC889A Digital", type="SPDIF", device=1
   Converter: stream=0, channel=0
   SDI-Select: 0
   Digital:
@@ -206,11 +227,27 @@
   Connection: 1
      0x1f
 Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
+  Control: name="Mic Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=0, ofs=0
+  Control: name="Mic Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=0, ofs=0
+  Control: name="Front Mic Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=1, ofs=0
+  Control: name="Front Mic Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=1, ofs=0
+  Control: name="Line Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=2, ofs=0
+  Control: name="Line Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=2, ofs=0
   Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
-  Amp-In vals:  [0x80 0x80] [0x9f 0x9f] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
+  Amp-In vals:  [0x80 0x80] [0x9f 0x9f] [0x80 0x80] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
   Connection: 10
      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
 Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
+  Control: name="Front Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
+  Control: name="Front Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=2, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x00 0x00]
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
@@ -218,6 +255,10 @@
   Connection: 2
      0x02 0x0b
 Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
+  Control: name="Surround Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
+  Control: name="Surround Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=2, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x00 0x00]
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
@@ -225,6 +266,14 @@
   Connection: 2
      0x03 0x0b
 Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
+  Control: name="Center Playback Volume", index=0, device=0
+    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
+  Control: name="LFE Playback Volume", index=0, device=0
+    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
+  Control: name="Center Playback Switch", index=0, device=0
+    ControlAmp: chs=1, dir=In, idx=2, ofs=0
+  Control: name="LFE Playback Switch", index=0, device=0
+    ControlAmp: chs=2, dir=In, idx=2, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x00 0x00]
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
@@ -232,6 +281,10 @@
   Connection: 2
      0x04 0x0b
 Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
+  Control: name="Side Playback Volume", index=0, device=0
+    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
+  Control: name="Side Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=2, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x00 0x00]
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
@@ -297,6 +350,8 @@
   Connection: 5
      0x0c 0x0d 0x0e 0x0f* 0x26
 Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
+  Control: name="Mic Boost", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=0, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
   Amp-In vals:  [0x00 0x00]
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
@@ -311,6 +366,8 @@
   Connection: 5
      0x0c* 0x0d 0x0e 0x0f 0x26
 Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
+  Control: name="Front Mic Boost", index=0, device=0
+    ControlAmp: chs=3, dir=In, idx=0, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
   Amp-In vals:  [0x00 0x00]
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
@@ -339,6 +396,8 @@
   Connection: 5
      0x0c* 0x0d 0x0e 0x0f 0x26
 Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
+  Control: name="Headphone Playback Switch", index=0, device=0
+    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
   Amp-In vals:  [0x00 0x00]
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
@@ -383,23 +442,24 @@
   Pin-ctls: 0x20: IN
 Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
   Processing caps: benign=0, ncoeff=17
-  Processing Coefficient: 0xf012
-  Coefficient Index: 0x01
 Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
   Volume-Knob: delta=0, steps=32, direct=0, val=0
   Unsolicited: tag=00, enabled=0
   Connection: 0
 Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
+  Control: name="Input Source", index=2, device=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
   Connection: 11
      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
 Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
+  Control: name="Input Source", index=1, device=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
   Connection: 11
      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
 Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
+  Control: name="Input Source", index=0, device=0
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
   Connection: 11
@@ -423,21 +483,21 @@
 !!ALSA Device nodes
 !!-----------------
 
-crw-rw----+ 1 root audio 116,  0 Aug 29 18:48 /dev/snd/controlC0
-crw-rw----+ 1 root audio 116,  6 Aug 29 18:48 /dev/snd/hwC0D2
-crw-rw----+ 1 root audio 116, 24 Aug 29 18:48 /dev/snd/pcmC0D0c
-crw-rw----+ 1 root audio 116, 16 Aug 29 18:48 /dev/snd/pcmC0D0p
-crw-rw----+ 1 root audio 116, 25 Aug 29 18:48 /dev/snd/pcmC0D1c
-crw-rw----+ 1 root audio 116, 17 Aug 29 18:48 /dev/snd/pcmC0D1p
-crw-rw----+ 1 root audio 116, 26 Aug 29 18:48 /dev/snd/pcmC0D2c
-crw-rw----+ 1 root audio 116,  1 Aug 29 18:48 /dev/snd/seq
-crw-rw----+ 1 root audio 116, 33 Aug 29 18:48 /dev/snd/timer
+crw-rw----+ 1 root audio 116,  0 Aug 29 19:55 /dev/snd/controlC0
+crw-rw----+ 1 root audio 116,  6 Aug 29 19:55 /dev/snd/hwC0D2
+crw-rw----+ 1 root audio 116, 24 Aug 29 19:56 /dev/snd/pcmC0D0c
+crw-rw----+ 1 root audio 116, 16 Aug 29 19:56 /dev/snd/pcmC0D0p
+crw-rw----+ 1 root audio 116, 25 Aug 29 19:55 /dev/snd/pcmC0D1c
+crw-rw----+ 1 root audio 116, 17 Aug 29 19:55 /dev/snd/pcmC0D1p
+crw-rw----+ 1 root audio 116, 26 Aug 29 19:55 /dev/snd/pcmC0D2c
+crw-rw----+ 1 root audio 116,  1 Aug 29 19:55 /dev/snd/seq
+crw-rw----+ 1 root audio 116, 33 Aug 29 19:55 /dev/snd/timer
 
 /dev/snd/by-path:
 total 0
-drwxr-xr-x 2 root root  60 Aug 29 18:48 .
-drwxr-xr-x 3 root root 240 Aug 29 18:48 ..
-lrwxrwxrwx 1 root root  12 Aug 29 18:48 pci-0000:00:1b.0 -> ../controlC0
+drwxr-xr-x 2 root root  60 Aug 29 19:55 .
+drwxr-xr-x 3 root root 240 Aug 29 19:55 ..
+lrwxrwxrwx 1 root root  12 Aug 29 19:55 pci-0000:00:1b.0 -> ../controlC0
 
 
 !!Aplay/Arecord output
@@ -475,8 +535,8 @@
 Card hw:0 'Intel'/'HDA Intel at 0xfa200000 irq 22'
   Mixer name	: 'Realtek ALC889A'
   Components	: 'HDA:10ec0885,1458a002,00100101'
-  Controls      : 41
-  Simple ctrls  : 23
+  Controls      : 39
+  Simple ctrls  : 22
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
   Playback channels: Mono
@@ -570,13 +630,6 @@
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
-Simple mixer control 'Beep',0
-  Capabilities: pvolume pswitch penum
-  Playback channels: Front Left - Front Right
-  Limits: Playback 0 - 31
-  Mono:
-  Front Left: Playback 23 [74%] [0.00dB] [off]
-  Front Right: Playback 23 [74%] [0.00dB] [off]
 Simple mixer control 'Capture',0
   Capabilities: cvolume cswitch penum
   Capture channels: Front Left - Front Right
@@ -978,27 +1031,6 @@
 	control.36 {
 		comment.access 'read write'
 		comment.type INTEGER
-		comment.count 2
-		comment.range '0 - 31'
-		comment.dbmin -3450
-		comment.dbmax 1200
-		iface MIXER
-		name 'Beep Playback Volume'
-		value.0 23
-		value.1 23
-	}
-	control.37 {
-		comment.access 'read write'
-		comment.type BOOLEAN
-		comment.count 2
-		iface MIXER
-		name 'Beep Playback Switch'
-		value.0 false
-		value.1 false
-	}
-	control.38 {
-		comment.access 'read write'
-		comment.type INTEGER
 		comment.count 1
 		comment.range '0 - 64'
 		comment.dbmin -6400
@@ -1007,7 +1039,7 @@
 		name 'Master Playback Volume'
 		value 64
 	}
-	control.39 {
+	control.37 {
 		comment.access 'read write'
 		comment.type BOOLEAN
 		comment.count 1
@@ -1015,7 +1047,7 @@
 		name 'Master Playback Switch'
 		value true
 	}
-	control.40 {
+	control.38 {
 		comment.access 'read write user'
 		comment.type INTEGER
 		comment.count 2
@@ -1028,7 +1060,7 @@
 		value.0 255
 		value.1 255
 	}
-	control.41 {
+	control.39 {
 		comment.access 'read write user'
 		comment.type INTEGER
 		comment.count 2
@@ -1051,6 +1083,11 @@
 Module
 binfmt_misc
 ppdev
+joydev
+hid_logitech
+ff_memless
+usbhid
+hid
 snd_hda_codec_realtek
 snd_hda_intel
 snd_hda_codec
@@ -1063,6 +1100,8 @@
 snd_seq
 snd_timer
 snd_seq_device
+snd
+ohci1394
 uvcvideo
 videodev
 v4l1_compat
@@ -1072,27 +1111,20 @@
 font
 bitblit
 softcursor
-joydev
-snd
-nvidia
-vga16fb
-vgastate
 intel_agp
 soundcore
 snd_page_alloc
+nvidia
+vga16fb
+vgastate
 lp
 parport
-hid_logitech
-ff_memless
-usbhid
-hid
-ohci1394
 floppy
-pata_jmicron
 ieee1394
 r8169
 mii
 ahci
+pata_jmicron
 
 
 !!Sysfs Files
@@ -1122,14 +1154,19 @@
 !!ALSA/HDA dmesg
 !!------------------
 
-[   16.176781]   alloc kstat_irqs on node -1
-[   16.176785] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
-[   16.176815] HDA Intel 0000:00:1b.0: setting latency timer to 64
-[   16.234511] Console: switching to colour frame buffer device 80x30
+[   12.651476]   alloc kstat_irqs on node -1
+[   12.651480] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
+[   12.651482] hda_intel: position_fix set to 1 for device 1458:a022
+[   12.651512] HDA Intel 0000:00:1b.0: setting latency timer to 64
+[   12.702626] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18]  MMIO=[fa104000-fa1047ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
+--
+[   12.742995] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  256.44  Thu Jul 29 01:22:44 PDT 2010
+[   12.768885] hda_codec: ALC889A: BIOS auto-probing.
+[   12.770556] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input5
+[   12.877157] usbcore: registered new interface driver hiddev
 --
-[   16.260389] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  256.44  Thu Jul 29 01:22:44 PDT 2010
-[   16.324997] hda_codec: ALC889A: BIOS auto-probing.
-[   16.326329] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input8
-[   16.631050] type=1505 audit(1283100504.725:5):  operation="profile_load" pid=1003 name="/usr/share/gdm/guest-session/Xsession"
+[   16.141304]   groups: 1 0
+[   17.788878] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
+[   23.380075] eth0: no IPv6 routers present
 
 

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with bisecting a bug in the alsa driver
  2010-08-29 17:28     ` Jaroslav Kysela
  2010-08-29 17:57       ` Martin
@ 2010-08-29 17:59       ` Martin
  2010-08-31 19:09         ` Martin Wolf
  1 sibling, 1 reply; 7+ messages in thread
From: Martin @ 2010-08-29 17:59 UTC (permalink / raw)
  To: alsa-devel

i also tried with

  bdl_pos_adj=256

the "error" in the last line went away but the crackling is still there

Am 29.08.2010 19:28, schrieb Jaroslav Kysela:
> On Sun, 29 Aug 2010, Martin wrote:
>
>    
>> hi,
>>
>> thanks for the quick help.
>> here is the diff.txt
>>      
> I would try to play with these two module parameters:
>
>           bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
>           enable_msi : -1
>
> Try to set 'enable_msi=0' and 'bdl_pos_adj=16' for the snd-hda-intel
> module.
>
>   						Jaroslav
>
> -----
> Jaroslav Kysela<perex@perex.cz>
> Linux Kernel Sound Maintainer
> ALSA Project, Red Hat, Inc.
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>    

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with bisecting a bug in the alsa driver
  2010-08-29 17:59       ` Martin
@ 2010-08-31 19:09         ` Martin Wolf
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Wolf @ 2010-08-31 19:09 UTC (permalink / raw)
  To: alsa-devel

 can you send me a working .config file for bisecting the kernel?
my system contains a P35 chipset core2duo
ext4 filesystem
ahci sata
intel hd audio (here is the problem)

because if i use the standard ubuntu 10.04 settings it takes ages to
compile...

Am 29.08.2010 19:59, schrieb Martin:
> i also tried with
>
>   bdl_pos_adj=256
>
> the "error" in the last line went away but the crackling is still there
>
> Am 29.08.2010 19:28, schrieb Jaroslav Kysela:
>> On Sun, 29 Aug 2010, Martin wrote:
>>
>>    
>>> hi,
>>>
>>> thanks for the quick help.
>>> here is the diff.txt
>>>      
>> I would try to play with these two module parameters:
>>
>>           bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
>>           enable_msi : -1
>>
>> Try to set 'enable_msi=0' and 'bdl_pos_adj=16' for the snd-hda-intel
>> module.
>>
>>   						Jaroslav
>>
>> -----
>> Jaroslav Kysela<perex@perex.cz>
>> Linux Kernel Sound Maintainer
>> ALSA Project, Red Hat, Inc.
>>
>> _______________________________________________
>> Alsa-devel mailing list
>> Alsa-devel@alsa-project.org
>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>    
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


-- 
Adiumentum GmbH
Gf. Martin Wolf
Banderbacherstraße 76
90513 Zirndorf

0911 / 9601470
mwolf@adiumentum.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-31 19:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-29 15:57 problem with bisecting a bug in the alsa driver Martin
2010-08-29 16:09 ` Jaroslav Kysela
2010-08-29 16:52   ` Martin
2010-08-29 17:28     ` Jaroslav Kysela
2010-08-29 17:57       ` Martin
2010-08-29 17:59       ` Martin
2010-08-31 19:09         ` Martin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.