From owner-freebsd-bugs@freebsd.org Thu Apr 4 17:27:28 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B4B91531E63 for ; Thu, 4 Apr 2019 17:27:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2F08583FCD for ; Thu, 4 Apr 2019 17:27:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DCF471531E5F; Thu, 4 Apr 2019 17:27:27 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C82421531E5E for ; Thu, 4 Apr 2019 17:27:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D89A83FCA for ; Thu, 4 Apr 2019 17:27:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 32FE21FE6C for ; Thu, 4 Apr 2019 17:27:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x34HRQY3044556 for ; Thu, 4 Apr 2019 17:27:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x34HRQ0p044555 for bugs@FreeBSD.org; Thu, 4 Apr 2019 17:27:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236838] Commit r340224 prevents loading the kernel for some Intel Xeon hardware Date: Thu, 04 Apr 2019 17:27:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: longwitz@incore.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 17:27:28 -0000 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.=