rpms/kernel/devel linux-2.6-mmconfig-stfu.patch, NONE, 1.1 linux-2.6-silence-acpi-blacklist.patch, NONE, 1.1 kernel.spec, 1.874, 1.875

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Tue Aug 12 18:24:48 UTC 2008


Author: ajax

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32679

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-mmconfig-stfu.patch 
	linux-2.6-silence-acpi-blacklist.patch 
Log Message:
* Tue Aug 12 2008 Adam Jackson <ajax at redhat.com>
- Silence some more useless bootup spew in quiet mode.


linux-2.6-mmconfig-stfu.patch:

--- NEW FILE linux-2.6-mmconfig-stfu.patch ---
diff -up linux-2.6.26.noarch/arch/x86/pci/mmconfig-shared.c.jx linux-2.6.26.noarch/arch/x86/pci/mmconfig-shared.c
--- linux-2.6.26.noarch/arch/x86/pci/mmconfig-shared.c.jx	2008-08-12 14:03:38.000000000 -0400
+++ linux-2.6.26.noarch/arch/x86/pci/mmconfig-shared.c	2008-08-12 14:09:43.000000000 -0400
@@ -365,7 +365,7 @@ static void __init pci_mmcfg_reject_brok
 	return;
 
 reject:
-	printk(KERN_ERR "PCI: Not using MMCONFIG.\n");
+	printk(KERN_INFO "PCI: Not using MMCONFIG.\n");
 	pci_mmcfg_arch_free();
 	kfree(pci_mmcfg_config);
 	pci_mmcfg_config = NULL;

linux-2.6-silence-acpi-blacklist.patch:

--- NEW FILE linux-2.6-silence-acpi-blacklist.patch ---
diff -up linux-2.6.26.noarch/drivers/acpi/blacklist.c.jx linux-2.6.26.noarch/drivers/acpi/blacklist.c
--- linux-2.6.26.noarch/drivers/acpi/blacklist.c.jx	2008-07-13 17:51:29.000000000 -0400
+++ linux-2.6.26.noarch/drivers/acpi/blacklist.c	2008-08-12 14:21:39.000000000 -0400
@@ -81,18 +81,18 @@ static int __init blacklist_by_year(void
 	int year = dmi_get_year(DMI_BIOS_DATE);
 	/* Doesn't exist? Likely an old system */
 	if (year == -1) {
-		printk(KERN_ERR PREFIX "no DMI BIOS year, "
+		printk(KERN_INFO PREFIX "no DMI BIOS year, "
 			"acpi=force is required to enable ACPI\n" );
 		return 1;
 	}
 	/* 0? Likely a buggy new BIOS */
 	if (year == 0) {
-		printk(KERN_ERR PREFIX "DMI BIOS year==0, "
+		printk(KERN_INFO PREFIX "DMI BIOS year==0, "
 			"assuming ACPI-capable machine\n" );
 		return 0;
 	}
 	if (year < CONFIG_ACPI_BLACKLIST_YEAR) {
-		printk(KERN_ERR PREFIX "BIOS age (%d) fails cutoff (%d), "
+		printk(KERN_INFO PREFIX "BIOS age (%d) fails cutoff (%d), "
 		       "acpi=force is required to enable ACPI\n",
 		       year, CONFIG_ACPI_BLACKLIST_YEAR);
 		return 1;


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.874
retrieving revision 1.875
diff -u -r1.874 -r1.875
--- kernel.spec	11 Aug 2008 19:46:05 -0000	1.874
+++ kernel.spec	12 Aug 2008 18:24:18 -0000	1.875
@@ -637,8 +637,13 @@
 # temporary (I hope, reported upstream) fix userspace use of videodev2.h
 Patch2700: linux-2.6-videodev2-userspace-usage.patch
 
+# Quiet boot fixes
 # silence piix3 in quiet boot (ie, qemu)
 Patch2800: linux-2.6-piix3-silence-quirk.patch
+# silence "PCI: Not using MMCONFIG"
+Patch2801: linux-2.6-mmconfig-stfu.patch
+# silence the ACPI blacklist code
+Patch2802: linux-2.6-silence-acpi-blacklist.patch
 
 %endif
 
@@ -1173,6 +1178,10 @@
 
 # silence piix3 in quiet boot (ie, qemu)
 ApplyPatch linux-2.6-piix3-silence-quirk.patch
+# silence "PCI: Not using MMCONFIG"
+ApplyPatch linux-2.6-mmconfig-stfu.patch
+# silence the ACPI blacklist code
+ApplyPatch linux-2.6-silence-acpi-blacklist.patch
 
 # ---------- below all scheduled for 2.6.24 -----------------
 
@@ -1736,6 +1745,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Tue Aug 12 2008 Adam Jackson <ajax at redhat.com>
+- Silence some more useless bootup spew in quiet mode.
+
 * Mon Aug 11 2008 Adam Jackson <ajax at redhat.com>
 - Require a mkinitrd that can handle built-in USB and requires plymouth.
 




More information about the fedora-extras-commits mailing list