rpms/kernel/F-11 alsa-hda-add-debugging.patch, NONE, 1.1 kernel.spec, 1.1597, 1.1598

Chuck Ebbert cebbert at fedoraproject.org
Sat May 9 22:35:49 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16206

Modified Files:
	kernel.spec 
Added Files:
	alsa-hda-add-debugging.patch 
Log Message:
Add more verbose debug messages for bug #498401

alsa-hda-add-debugging.patch:

--- NEW FILE alsa-hda-add-debugging.patch ---
Add more information to the hda_intel 'too big adjustment' error message.

Index: linux-2.6.29.noarch/sound/pci/hda/hda_intel.c
===================================================================
--- linux-2.6.29.noarch.orig/sound/pci/hda/hda_intel.c
+++ linux-2.6.29.noarch/sound/pci/hda/hda_intel.c
@@ -1097,8 +1097,8 @@ static int azx_setup_periods(struct azx 
 				pos_align;
 		pos_adj = frames_to_bytes(runtime, pos_adj);
 		if (pos_adj >= period_bytes) {
-			snd_printk(KERN_WARNING "Too big adjustment %d\n",
-				   bdl_pos_adj[chip->dev_index]);
+			snd_printk(KERN_WARNING "Too big adjustment %d: adj=%d, bytes=%d, size=%d, periods=%d\n",
+				   bdl_pos_adj[chip->dev_index], pos_adj, period_bytes, azx_dev->bufsize, periods);
 			pos_adj = 0;
 		} else {
 			ofs = setup_bdle(substream, azx_dev,


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/kernel.spec,v
retrieving revision 1.1597
retrieving revision 1.1598
diff -u -p -r1.1597 -r1.1598
--- kernel.spec	9 May 2009 02:08:24 -0000	1.1597
+++ kernel.spec	9 May 2009 22:35:18 -0000	1.1598
@@ -661,6 +661,7 @@ Patch607: alsa-hda_intel-fix-unexpected-
 Patch608: alsa-pcm-midlevel-add-more-strict-buffer-position.patch
 Patch610: hda_intel-prealloc-4mb-dmabuffer.patch
 Patch611: linux-2.6.29-alsa-update-quirks.patch
+Patch612: alsa-hda-add-debugging.patch
 
 Patch670: linux-2.6-ata-quirk.patch
 
@@ -1260,6 +1261,7 @@ ApplyPatch alsa-dont-reset-stream-at-eac
 ApplyPatch alsa-hda_intel-fix-unexpected-ring-buffer-positio.patch
 ApplyPatch alsa-pcm-midlevel-add-more-strict-buffer-position.patch
 ApplyPatch hda_intel-prealloc-4mb-dmabuffer.patch
+ApplyPatch alsa-hda-add-debugging.patch
 
 # Networking
 
@@ -1969,6 +1971,9 @@ fi
 # and build.
 
 %changelog
+* Sat May 09 2009 Chuck Ebbert <kcebbert at redhat.com> 2.6.29.3-136
+- Add more verbose debug messages for bug #498401
+
 * Fri May 08 2009 Kyle McMartin <kyle at redhat.com> 2.6.29.3-135
 - Linux 2.6.29.3
 - Merged patches:




More information about the fedora-extras-commits mailing list