rpms/kernel/F-10 linux-2.6-pciehp-kill-annoying-messages.patch, NONE, 1.1 kernel.spec, 1.1176, 1.1177

Chuck Ebbert cebbert at fedoraproject.org
Mon Dec 8 07:56:07 UTC 2008


Author: cebbert

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

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-pciehp-kill-annoying-messages.patch 
Log Message:
Stop the pciehp driver from filling the log with status messages.

linux-2.6-pciehp-kill-annoying-messages.patch:

--- NEW FILE linux-2.6-pciehp-kill-annoying-messages.patch ---
System log on Aspire One fills with messages: fix by changing
them to debug messages.

Index: linux-2.6.27.noarch/drivers/pci/hotplug/pciehp_ctrl.c
===================================================================
--- linux-2.6.27.noarch.orig/drivers/pci/hotplug/pciehp_ctrl.c
+++ linux-2.6.27.noarch/drivers/pci/hotplug/pciehp_ctrl.c
@@ -117,13 +117,13 @@ u8 pciehp_handle_presence_change(struct 
 		/*
 		 * Card Present
 		 */
-		info("Card present on Slot(%s)\n", slot_name(p_slot));
+		dbg("Card present on Slot(%s)\n", slot_name(p_slot));
 		event_type = INT_PRESENCE_ON;
 	} else {
 		/*
 		 * Not Present
 		 */
-		info("Card not present on Slot(%s)\n", slot_name(p_slot));
+		dbg("Card not present on Slot(%s)\n", slot_name(p_slot));
 		event_type = INT_PRESENCE_OFF;
 	}
 


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1176
retrieving revision 1.1177
diff -u -r1.1176 -r1.1177
--- kernel.spec	8 Dec 2008 07:38:22 -0000	1.1176
+++ kernel.spec	8 Dec 2008 07:55:36 -0000	1.1177
@@ -721,6 +721,8 @@
 Patch2804: linux-2.6.27-pci-hush-allocation-failures.patch
 # Don't attempt to assign IRQ 0
 Patch2806: linux-2.6-pci-fix-pciehp-irq0.patch
+# stop filling the log with messages
+Patch2807: linux-2.6-pciehp-kill-annoying-messages.patch
 
 Patch2900: linux-2.6.27-ext4-rename-ext4dev-to-ext4.patch
 
@@ -1314,6 +1316,8 @@
 ApplyPatch linux-2.6.27-pci-hush-allocation-failures.patch
 # don't allocate IRQ 0 in pciehp
 ApplyPatch linux-2.6-pci-fix-pciehp-irq0.patch
+#
+ApplyPatch linux-2.6-pciehp-kill-annoying-messages.patch
 
 # SELinux on ppc64 without plymouth can't boot
 ApplyPatch linux-2.6-selinux-empty-tty-files.patch
@@ -1895,6 +1899,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Mon Dec 08 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.8-141
+- Stop the pciehp driver from filling the log with status messages.
+
 * Mon Dec 08 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.8-140
 - Linux 2.6.27.8
   Dropped patches:




More information about the fedora-extras-commits mailing list