[Bug 236838] Commit r340224 prevents loading the kernel for some Intel Xeon hardware

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 4 17:27:28 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236838

--- Comment #5 from longwitz at incore.de ---
Created attachment 203384
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203384&action=edit
Output serial console of full verbose boot

I use amd64, the commit r340224 (r339979) does only affect amd64. Removing the
line with 'case 0x3590' helps, kernel now boots fine. With the patch

--- pci_cfgreg.c.orig   2018-11-26 16:43:04.706033000 +0100
+++ pci_cfgreg.c        2019-04-04 11:30:51.847357000 +0200
@@ -90,13 +90,15 @@
         * This also implies that it can do PCIe extended config cycles.
         */

+       printf("pci_cfgregopen called\n");
        /* Check for supported chipsets */
        vid = pci_cfgregread(0, 0, 0, PCIR_VENDOR, 2);
+       printf("pci_cfgregopen: vid=%x\n", vid);
        did = pci_cfgregread(0, 0, 0, PCIR_DEVICE, 2);
+       printf("pci_cfgregopen: vid=%x\n", did);
        switch (vid) {
        case 0x8086:
                switch (did) {
-               case 0x3590:
                case 0x3592:
                        /* Intel 7520 or 7320 */
                        pciebar = pci_cfgregread(0, 0, 0, 0xce, 2) << 16;
@@ -112,6 +114,7 @@
                }
        }

+       printf("pci_cfgregopen returns\n");
        return (1);
 }

together with a 'printf(Calling pci_early_quirks())' in machdep.c and setting
"debug.late_console=0" in loader.conf I got the attached output on the serial
console.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list