Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 2019 17:27:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236838] Commit r340224 prevents loading the kernel for some Intel Xeon hardware
Message-ID:  <bug-236838-227-kSsyaP8nGZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236838-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236838-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236838

--- Comment #5 from longwitz@incore.de ---
Created attachment 203384
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203384&action=
=3Dedit
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 =3D pci_cfgregread(0, 0, 0, PCIR_VENDOR, 2);
+       printf("pci_cfgregopen: vid=3D%x\n", vid);
        did =3D pci_cfgregread(0, 0, 0, PCIR_DEVICE, 2);
+       printf("pci_cfgregopen: vid=3D%x\n", did);
        switch (vid) {
        case 0x8086:
                switch (did) {
-               case 0x3590:
                case 0x3592:
                        /* Intel 7520 or 7320 */
                        pciebar =3D 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 setti=
ng
"debug.late_console=3D0" in loader.conf I got the attached output on the se=
rial
console.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236838-227-kSsyaP8nGZ>