Skip to contentSkip to conversation

2.6.17-rc6 does not boot on HP dc7600u - MCFG area is not E820-reserved

PATCH Barry Scott 1 participant 2 messages Jun 15, 2006

lore
Share & tools
lore
#0 lore raw

I'm trying to boot 2.6.17-rc6 with Mismatched section patches applied.

On my HP dc7600U the last messages printed are:

PCI: BUIS Bug: MCFG area is not E820-reserved
PCI: Not using MMCONFIG

Googling I found a message about a IBM laptop reporting this message but that it did go on to boot. THere was a suggestion that the test should be removed. I commented out the code and I can boot further.

Here is the code I patched.

i386/pci/mmconfig.c 2006-06-15 13:04:58.000000000 +0100 renamed from i386/pci/mmconfig.c~ 2006-06-15 13:04:58.000000000 +0100 +1 -0
@@ -194,17 +194,19 @@
       if ((pci_mmcfg_config_num == 0) ||
           (pci_mmcfg_config == NULL) ||
           (pci_mmcfg_config[0].base_address == 0))
               return;
 
+/* qqq
       if (!e820_all_mapped(pci_mmcfg_config[0].base_address,
                       pci_mmcfg_config[0].base_address + 

MMCONFIG_APER_SIZE,
E820_RESERVED)) {
printk(KERN_ERR "PCI: BIOS Bug: MCFG area is not

E820-reserved\n");
               printk(KERN_ERR "PCI: Not using MMCONFIG.\n");
               return;
       }

+qqq */

       printk(KERN_INFO "PCI: Using MMCONFIG\n");
       raw_pci_ops = &pci_mmcfg;
       pci_probe = (pci_probe & ~PCI_PROBE_MASK) | PCI_PROBE_MMCONF;

Barry

#1 lore raw
Quoted 37 lines · Barry Scott

I'm trying to boot 2.6.17-rc6 with Mismatched section patches applied.

On my HP dc7600U the last messages printed are:

PCI: BUIS Bug: MCFG area is not E820-reserved
PCI: Not using MMCONFIG

Googling I found a message about a IBM laptop reporting this message but that it did go on to boot. THere was a suggestion that the test should be removed. I commented out the code and I can boot further.

Here is the code I patched.

i386/pci/mmconfig.c 2006-06-15 13:04:58.000000000 +0100 renamed from i386/pci/mmconfig.c~ 2006-06-15 13:04:58.000000000 +0100 +2 -0
@@ -194,17 +194,19 @@
       if ((pci_mmcfg_config_num == 0) ||
           (pci_mmcfg_config == NULL) ||
           (pci_mmcfg_config[0].base_address == 0))
               return;
 
+/* qqq
       if (!e820_all_mapped(pci_mmcfg_config[0].base_address,
                       pci_mmcfg_config[0].base_address + 
 MMCONFIG_APER_SIZE,
                       E820_RESERVED)) {
               printk(KERN_ERR "PCI: BIOS Bug: MCFG area is not 
 E820-reserved\n");
               printk(KERN_ERR "PCI: Not using MMCONFIG.\n");
               return;
       }
+qqq */
 
       printk(KERN_INFO "PCI: Using MMCONFIG\n");
       raw_pci_ops = &pci_mmcfg;
       pci_probe = (pci_probe & ~PCI_PROBE_MASK) | PCI_PROBE_MMCONF;
Quoted 7 lines

Barry

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Chuck Ebbert's MMCONFIG patch fixes this problem for me.

Barry