NetBSD Problem Report #54489

From www@netbsd.org  Mon Aug 26 15:12:52 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id AB8977A14B
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 26 Aug 2019 15:12:52 +0000 (UTC)
Message-Id: <20190826151251.DE8657A1BF@mollari.NetBSD.org>
Date: Mon, 26 Aug 2019 15:12:51 +0000 (UTC)
From: tnn@nygren.pp.se
Reply-To: tnn@nygren.pp.se
To: gnats-bugs@NetBSD.org
Subject: panic: assertion "rcr4() & CR4_SMAP" failed on HP DL380 Gen10
X-Send-Pr-Version: www-1.0

>Number:         54489
>Category:       port-amd64
>Synopsis:       panic: assertion "rcr4() & CR4_SMAP" failed on HP DL380 Gen10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jdolecek
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 26 15:15:00 +0000 2019
>Closed-Date:    
>Last-Modified:  Sun Jun 06 14:38:12 +0000 2021
>Originator:     Tobias Nygren
>Release:        9.99.10
>Organization:
>Environment:
N/A
>Description:
Tried to boot a -current GENERIC kernel on a dual socket HP DL380 Gen10.

It failed with assertion "rcr4() & CR4_SMAP" at arch/x86/x86/patch.c line 299 during multiprocessor hatch.

The machine has:
Slot 0: 16 core "Intel(R) Xeon(R) Gold 6130 CPU 2 2.10GHz"  
Slot 1: 16 core "Intel(R) Xeon(R) Gold 6130 CPU 2 2.10GHz"  
Memory: 384 GB RAM.

I tried to #if 0 the SMAP code but then the kernel asserted later with "ci->ci_tlbstate != TLBSTATE_VALID" in x86/pmap.c line 2792.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Tobias Nygren <tnn@nygren.pp.se>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/54489: panic: assertion "rcr4() & CR4_SMAP" failed on
 HP DL380 Gen10
Date: Tue, 27 Aug 2019 10:48:04 +0200

 CPU info from Linux:

 # lscpu
 Architecture:          x86_64
 CPU op-mode(s):        32-bit, 64-bit
 Byte Order:            Little Endian
 CPU(s):                64
 On-line CPU(s) list:   0-63
 Thread(s) per core:    2
 Core(s) per socket:    16
 Socket(s):             2
 NUMA node(s):          2
 Vendor ID:             GenuineIntel
 CPU family:            6
 Model:                 85
 Model name:            Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz
 Stepping:              4
 CPU MHz:               1045.129
 CPU max MHz:           3700.0000
 CPU min MHz:           1000.0000
 BogoMIPS:              4200.00
 Virtualization:        VT-x
 L1d cache:             32K
 L1i cache:             32K
 L2 cache:              1024K
 L3 cache:              22528K
 NUMA node0 CPU(s):     0-15,32-47
 NUMA node1 CPU(s):     16-31,48-63
 Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
 pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe 
 syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts 
 rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq 
 dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid 
 dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx 
 f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 intel_ppin 
 intel_pt ssbd mba ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid 
 fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx 
 rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw 
 avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total 
 cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_pkg_req pku 
 ospke md_clear spec_ctrl intel_stibp flush_l1d

State-Changed-From-To: open->feedback
State-Changed-By: maxv@NetBSD.org
State-Changed-When: Tue, 29 Oct 2019 10:20:06 +0000
State-Changed-Why:
On which CPU does the SMAP KASSERT fire?


From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/54489: panic: assertion "rcr4() & CR4_SMAP" failed
 on HP DL380 Gen10
Date: Thu, 13 Aug 2020 00:03:14 +0900 (JST)

 Hi,

 In message <20190826151500.50B6F7A1DC@mollari.NetBSD.org>
 	on Mon, 26 Aug 2019 15:15:00 +0000 (UTC),
 	tnn@nygren.pp.se wrote:
 >>Number:         54489
 >>Category:       port-amd64
 >>Synopsis:       panic: assertion "rcr4() & CR4_SMAP" failed on HP DL380 Gen10
 >>Confidential:   no
 >>Severity:       serious
 >>Priority:       medium
 >>Responsible:    port-amd64-maintainer
 >>State:          open
 >>Class:          sw-bug
 >>Submitter-Id:   net
 >>Arrival-Date:   Mon Aug 26 15:15:00 +0000 2019
 >>Originator:     Tobias Nygren
 >>Release:        9.99.10
 I met the same problem with a machine at my office.

 HPE Proliant MicroServer Gen10 Plus

 Release 9.99.70 and I have several photo of screen.

 >>Description:
 > Tried to boot a -current GENERIC kernel on a dual socket HP DL380 Gen10.
 > 
 > It failed with assertion "rcr4() & CR4_SMAP" at arch/x86/x86/patch.c line 299 during multiprocessor hatch.
 The same failure.

 > The machine has:
 > Slot 0: 16 core "Intel(R) Xeon(R) Gold 6130 CPU 2 2.10GHz"  
 > Slot 1: 16 core "Intel(R) Xeon(R) Gold 6130 CPU 2 2.10GHz"  
 > Memory: 384 GB RAM.
 Intel(R) Xeon (R) E-23224 CPU @ 3.40GHz
 Memory: 16GB

 > I tried to #if 0 the SMAP code but then the kernel asserted later with "ci->ci_tlbstate != TLBSTATE_VALID" in x86/pmap.c line 2792.
 I've confirmed the same situation.

 > State-Changed-From-To: open->feedback
 > State-Changed-By: maxv@NetBSD.org
 > State-Changed-When: Tue, 29 Oct 2019 10:20:06 +0000
 > State-Changed-Why:
 > On which CPU does the SMAP KASSERT fire?
 "cpu0" in my case.

 -- 
 Takahiro Kambe <taca@back-street.net>

State-Changed-From-To: feedback->open
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Thu, 13 Aug 2020 09:53:45 +0000
State-Changed-Why:
Feedback was provided.


From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/54489 (panic: assertion "rcr4() & CR4_SMAP" failed
 on HP DL380 Gen10)
Date: Tue, 08 Sep 2020 17:30:10 +0900 (JST)

 Is there anyone working on this?

 -- 
 Takahiro Kambe <taca@back-street.net>

From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@netbsd.org
Cc: port-amd64@netbsd.org
Subject: Re: port-amd64/54489 (panic: assertion "rcr4() & CR4_SMAP" failed
 on HP DL380 Gen10)
Date: Mon, 01 Feb 2021 23:41:57 +0900 (JST)

 In message <20200908083501.A16241A923A@mollari.NetBSD.org>
 	on Tue,  8 Sep 2020 08:35:01 +0000 (UTC),
 	Takahiro Kambe <taca@back-street.net> wrote:
 >  Is there anyone working on this?
 I put dmesg on FreeBSD 12.2.  Is it anything help?

 	https://dmesgd.nycbug.org/index.cgi?do=view&id=5910

 -- 
 Takahiro Kambe <taca@back-street.net>

From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@netbsd.org
Cc: port-amd64@netbsd.org
Subject: Re: port-amd64/54489 (panic: assertion "rcr4() & CR4_SMAP" failed
 on HP DL380 Gen10)
Date: Fri, 05 Feb 2021 12:34:56 +0900 (JST)

 In message <20210201.234157.1627783213602290279.taca@back-street.net>
 	on Mon, 01 Feb 2021 23:41:57 +0900 (JST),
 	Takahiro Kambe <taca@back-street.net> wrote:
 >>  Is there anyone working on this?
 > I put dmesg on FreeBSD 12.2.  Is it anything help?
 > 
 > 	https://dmesgd.nycbug.org/index.cgi?do=view&id=5910
 I added some printf() for debugging code for a few days and something
 wrong with detecting CPU.

 Then I recorded boot screen and found what was wrong.

 	No CPU is recognized.

 ACPI related these messages:

 	bogus MADT X2APIC entry (id = 0x0)
 	bogus MADT X2APIC entry (id = 0x4)
 	bogus MADT X2APIC entry (id = 0x2)
 	bogus MADT X2APIC entry (id = 0x6)

 And there are CPU setting for enabe/disable X2APIC.

 After disabling X2APIC, install kernel of NetBSD 9.1_STABLE booted
 smoothly.

 [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 [     1.000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
 [     1.000000]     2018, 2019, 2020 The NetBSD Foundation, Inc.  All rights reserved.
 [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [     1.000000]     The Regents of the University of California.  All rights reserved.

 [     1.000000] NetBSD 9.1_STABLE (GENERIC) #69: Mon Feb  1 11:44:38 JST 2021
 [     1.000000] 	taca@tabi.i.kisu.co.jp:/data/netbsd-9/amd64/obj/sys/arch/amd64/compile/GENERIC
 [     1.000000] total memory = 16234 MB
 [     1.000000] avail memory = 15736 MB
 [     1.000000] cpu_rng: RDSEED
 [     1.000000] timecounter: Timecounters tick every 10.000 msec
 [     1.000000] Kernelized RAIDframe activated
 [     1.000000] running cgd selftest aes-xts-256 aes-xts-512 done
 [     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 [     1.000003] efi: systbl at pa 798fe018
 [     1.000003] HPE ProLiant MicroServer Gen10 Plus
 [     1.000003] mainbus0 (root)
 [     1.000003] ACPI: RSDP 0x000000007BFFE014 000024 (v02 HPE   )
 [     1.000003] ACPI: XSDT 0x000000007BFE7188 0000FC (v01 HPE    Server   00000001 INTL 20160422)
 [     1.000003] ACPI: FACP 0x000000007BFF4000 00010C (v06 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: DSDT 0x000000007BFE4000 0014F4 (v02 HPE    Server   00000002 HPE  00020000)
 [     1.000003] ACPI: FACS 0x000000007BDD0000 000040
 [     1.000003] ACPI: SSDT 0x000000007BFFC000 000197 (v01 HPE    CpuSsdt  00000001 INTL 20130328)
 [     1.000003] ACPI: BOOT 0x000000007BFFB000 000028 (v01 HPE    Server   00000002 MSFT 01000013)
 [     1.000003] ACPI: SSDT 0x000000007BFFA000 00003A (v01 HPE    PLATOPRG 00000001 INTL 20130328)
 [     1.000003] ACPI: HEST 0x000000007BFF9000 0000A8 (v01 HPE    Server   00000001 INTL 00000001)
 [     1.000003] ACPI: BERT 0x000000007BFF8000 000030 (v01 HPE    Server   00000001 INTL 00000001)
 [     1.000003] ACPI: ERST 0x000000007BFF7000 000250 (v01 HPE    Server   00000001 INTL 00000001)
 [     1.000003] ACPI: FPDT 0x000000007BFF6000 000034 (v01 HPE    Server   20170001 INTL 20160422)
 [     1.000003] ACPI: BGRT 0x000000007BFF5000 000038 (v01 HPE    Server   20170001 1590 20160422)
 [     1.000003] ACPI: HPET 0x000000007BFF3000 000038 (v01 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: WDDT 0x000000007BFF2000 000040 (v01 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: APIC 0x000000007BFF1000 000084 (v03 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: MCFG 0x000000007BFF0000 00003C (v01 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: SLIT 0x000000007BFEF000 00002D (v01 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: SRAT 0x000000007BFEE000 000188 (v03 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: SPMI 0x000000007BFED000 000041 (v05 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: RASF 0x000000007BFEC000 000030 (v01 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: SPCR 0x000000007BFEB000 000050 (v02 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: MSCT 0x000000007BFEA000 00004E (v02 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: BDAT 0x000000007BFE9000 000030 (v01 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: WSMT 0x000000007BFE8000 000028 (v01 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: PCCT 0x000000007BFFD000 000030 (v01 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: DMAR 0x000000007BFE6000 0000B0 (v01 HPE    Server   00000001 1590 00000001)
 [     1.000003] ACPI: SSDT 0x000000007BFE1000 002AEB (v02 HPE    PCISSDT  00000002 HPE  00020000)
 [     1.000003] ACPI: SSDT 0x000000007BFE0000 0001C4 (v02 HPE    TIMESSDT 00000002 HPE  00020000)
 [     1.000003] ACPI: SSDT 0x000000007BFDF000 0002F2 (v01 HPE    pmab     00000001 INTL 20130328)
 [     1.000003] ACPI: OEM1 0x000000007BFDE000 0000DF (v02 HPE    CPU  CPC 00000002 HPE  00020000)
 [     1.000003] ACPI: 6 ACPI AML tables successfully acquired and loaded
 [     1.000003] ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 120 pins
 [     1.000003] x2APIC available but disabled by DMAR table
 [     1.000003] cpu0 at mainbus0 apid 0
 [     1.000003] cpu0: CPU base freq 3400000000 Hz
 [     1.000003] cpu0: CPU max freq 4600000000 Hz
 [     1.000003] cpu0: TSC freq CPUID 3408000000 Hz
 [     1.000003] cpu0: Intel(R) Xeon(R) E-2224 CPU @ 3.40GHz, id 0x906ea
 [     1.000003] cpu0: package 0, core 0, smt 0
 [     1.000003] cpu1 at mainbus0 apid 4
 [     1.000003] cpu1: Intel(R) Xeon(R) E-2224 CPU @ 3.40GHz, id 0x906ea
 [     1.000003] cpu1: package 0, core 2, smt 0
 [     1.000003] cpu2 at mainbus0 apid 2
 [     1.000003] cpu2: Intel(R) Xeon(R) E-2224 CPU @ 3.40GHz, id 0x906ea
 [     1.000003] cpu2: package 0, core 1, smt 0
 [     1.000003] cpu3 at mainbus0 apid 6
 [     1.000003] cpu3: Intel(R) Xeon(R) E-2224 CPU @ 3.40GHz, id 0x906ea
 [     1.000003] cpu3: package 0, core 3, smt 0
 [     1.000003] acpi0 at mainbus0: Intel ACPICA 20190405
 [     1.000003] acpi0: X/RSDT: OemId <HPE   ,Server  ,00000001>, AslId <INTL,20160422>
 [     1.000003] acpi0: MCFG: segment 0, bus 0-255, address 0x00000000e0000000
 [     1.000003] acpi0: SCI interrupting at int 9
 [     1.000003] acpi0: fixed power button present
 [     1.000003] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 [     1.001853] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
 [     1.001853] timecounter: Timecounter "hpet0" frequency 24000000 Hz quality 2000
 [     1.024859] WERR (PNP0C33) at acpi0 not configured
 [     1.024859] acpiwmi0 at acpi0 (SRIO, PNP0C14-0): ACPI WMI Interface
 [     1.024859] acpiwmibus at acpiwmi0 not configured
 [     1.024859] SCK0 (ACPI0004) at acpi0 not configured
 [     1.024859] APIC (PNP0003) at acpi0 not configured
 [     1.024859] attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
 [     1.024859] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 [     1.024859] spkr0 at pcppi1: PC Speaker
 [     1.024859] wsbell at spkr0 not configured
 [     1.024859] midi0 at pcppi1: PC speaker
 [     1.024859] sysbeep0 at pcppi1
 [     1.024859] XTRA (PNP0C02) at acpi0 not configured
 [     1.024859] ipmi_acpi0 at acpi0 (KCS, IPI0001-0): io 0xca2-0xca3
 [     1.024859] ipmi0 at ipmi_acpi0
 [     1.024859] UAR1 (PNP0501) at acpi0 not configured
 [     1.024859] TIME (ACPI000E) at acpi0 not configured
 [     1.024859] PMI0 (ACPI000D) at acpi0 not configured
 [     1.024859] ACPI: Enabled 2 GPEs in block 00 to 7F
 [     1.024859] attimer1: attached to pcppi1
 [     1.024859] pci0 at mainbus0 bus 0: configuration mode 1
 [     1.024859] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 [     1.024859] pchb0 at pci0 dev 0 function 0: vendor 8086 product 3e33 (rev. 0x07)
 [     1.024859] ppb0 at pci0 dev 1 function 0: vendor 8086 product 1901 (rev. 0x07)
 [     1.024859] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 8.0GT/s
 [     1.024859] pci1 at ppb0 bus 7
 [     1.024859] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.024859] vendor 8086 product a379 (miscellaneous DASP, revision 0x10) at pci0 dev 18 function 0 not configured
 [     1.024859] xhci0 at pci0 dev 20 function 0: vendor 8086 product a36d (rev. 0x10)
 [     1.024859] xhci0: interrupting at msi0 vec 0
 [     1.024859] xhci0: xHCI version 1.10
 [     1.024859] usb0 at xhci0: USB revision 3.1
 [     1.024859] usb1 at xhci0: USB revision 2.0
 [     1.024859] vendor 8086 product a36f (RAM memory, revision 0x10) at pci0 dev 20 function 2 not configured
 [     1.024859] vendor 8086 product a360 (miscellaneous communications, revision 0x10) at pci0 dev 22 function 0 not configured
 [     1.024859] vendor 8086 product a364 (miscellaneous communications, revision 0x10) at pci0 dev 22 function 4 not configured
 [     1.024859] ahcisata0 at pci0 dev 23 function 0: vendor 8086 product a352 (rev. 0x10)
 [     1.024859] ahcisata0: 64-bit DMA
 [     1.024859] ahcisata0: AHCI revision 1.31, 6 ports, 32 slots, CAP 0xe534ff45<EMS,PSC,SSC,PMD,SAM,ISS=0x3=Gen3,SCLO,SALP,SSNTF,SNCQ,S64A>
 [     1.024859] ahcisata0: interrupting at msi1 vec 0
 [     1.024859] atabus0 at ahcisata0 channel 0
 [     1.024859] atabus1 at ahcisata0 channel 1
 [     1.024859] atabus2 at ahcisata0 channel 2
 [     1.024859] atabus3 at ahcisata0 channel 3
 [     1.024859] atabus4 at ahcisata0 channel 4
 [     1.024859] atabus5 at ahcisata0 channel 5
 [     1.024859] ppb1 at pci0 dev 27 function 0: vendor 8086 product a32c (rev. 0xf0)
 [     1.024859] ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 8.0GT/s
 [     1.024859] pci2 at ppb1 bus 6
 [     1.024859] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.024859] ppb2 at pci0 dev 28 function 0: vendor 8086 product a338 (rev. 0xf0)
 [     1.024859] ppb2: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x2 @ 8.0GT/s
 [     1.024859] ppb2: link is x2 @ 5.0GT/s
 [     1.024859] pci3 at ppb2 bus 2
 [     1.024859] pci3: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.024859] wm0 at pci3 dev 0 function 0: I350 Gigabit Network Connection (rev. 0x01)
 [     1.024859] wm0: for TX and RX interrupting at msix2 vec 0 affinity to 0
 [     1.024859] wm0: for TX and RX interrupting at msix2 vec 1 affinity to 1
 [     1.024859] wm0: for TX and RX interrupting at msix2 vec 2 affinity to 2
 [     1.024859] wm0: for TX and RX interrupting at msix2 vec 3 affinity to 3
 [     1.024859] wm0: for LINK interrupting at msix2 vec 4
 [     1.024859] wm0: PCI-Express bus
 [     1.024859] wm0: 16384 words (16 address bits) SPI EEPROM, version 1.63, option ROM Version 1.2529.0, Image Unique ID e100108f
 [     1.024859] wm0: Ethernet address 94:40:c9:ed:71:c2
 [     1.024859] wm0: Copper
 [     1.024859] wm0: 0x40674440<SPI,IOH_VALID,PCIE,NEWQUEUE,ASF_FIRM,ARC_SUBSYS,WOL,EEE,CRC_STRIP>
 [     1.024859] ihphy0 at wm0 phy 1: I350 10/100/1000 media interface, rev. 1
 [     1.024859] ihphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 [     1.024859] wm1 at pci3 dev 0 function 1: I350 Gigabit Network Connection (rev. 0x01)
 [     1.024859] wm1: for TX and RX interrupting at msix3 vec 0 affinity to 0
 [     1.024859] wm1: for TX and RX interrupting at msix3 vec 1 affinity to 1
 [     1.024859] wm1: for TX and RX interrupting at msix3 vec 2 affinity to 2
 [     1.024859] wm1: for TX and RX interrupting at msix3 vec 3 affinity to 3
 [     1.024859] wm1: for LINK interrupting at msix3 vec 4
 [     1.024859] wm1: PCI-Express bus
 [     1.024859] wm1: 16384 words (16 address bits) SPI EEPROM, version 1.63, option ROM Version 1.2529.0, Image Unique ID e100108f
 [     1.024859] wm1: Ethernet address 94:40:c9:ed:71:c3
 [     1.024859] wm1: Copper
 [     1.024859] wm1: 0x40674440<SPI,IOH_VALID,PCIE,NEWQUEUE,ASF_FIRM,ARC_SUBSYS,WOL,EEE,CRC_STRIP>
 [     1.024859] ihphy1 at wm1 phy 1: I350 10/100/1000 media interface, rev. 1
 [     1.024859] ihphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 [     1.024859] wm2 at pci3 dev 0 function 2: I350 Gigabit Network Connection (rev. 0x01)
 [     1.024859] wm2: for TX and RX interrupting at msix4 vec 0 affinity to 0
 [     1.024859] wm2: for TX and RX interrupting at msix4 vec 1 affinity to 1
 [     1.024859] wm2: for TX and RX interrupting at msix4 vec 2 affinity to 2
 [     1.024859] wm2: for TX and RX interrupting at msix4 vec 3 affinity to 3
 [     1.024859] wm2: for LINK interrupting at msix4 vec 4
 [     1.024859] wm2: PCI-Express bus
 [     1.024859] wm2: 16384 words (16 address bits) SPI EEPROM, version 1.63, option ROM Version 1.2529.0, Image Unique ID e100108f
 [     1.024859] wm2: Ethernet address 94:40:c9:ed:71:c4
 [     1.024859] wm2: Copper
 [     1.024859] wm2: 0x40674440<SPI,IOH_VALID,PCIE,NEWQUEUE,ASF_FIRM,ARC_SUBSYS,WOL,EEE,CRC_STRIP>
 [     1.024859] ihphy2 at wm2 phy 1: I350 10/100/1000 media interface, rev. 1
 [     1.024859] ihphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 [     1.024859] wm3 at pci3 dev 0 function 3: I350 Gigabit Network Connection (rev. 0x01)
 [     1.024859] wm3: for TX and RX interrupting at msix5 vec 0 affinity to 0
 [     1.024859] allocated pic msix5 type edge pin 1 level 6 to cpu1 slot 3 idt entry 115
 [     1.024859] wm3: for TX and RX interrupting at msix5 vec 1 affinity to 1
 [     1.024859] allocated pic msix5 type edge pin 2 level 6 to cpu1 slot 4 idt entry 116
 [     1.024859] wm3: for TX and RX interrupting at msix5 vec 2 affinity to 2
 [     1.024859] allocated pic msix5 type edge pin 3 level 6 to cpu1 slot 4 idt entry 117
 [     1.024859] wm3: for TX and RX interrupting at msix5 vec 3 affinity to 3
 [     1.024859] allocated pic msix5 type edge pin 4 level 6 to cpu1 slot 4 idt entry 118
 [     1.024859] wm3: for LINK interrupting at msix5 vec 4
 [     1.024859] wm3: PCI-Express bus
 [     1.024859] wm3: 16384 words (16 address bits) SPI EEPROM, version 1.63, option ROM Version 1.2529.0, Image Unique ID e100108f
 [     1.024859] wm3: Ethernet address 94:40:c9:ed:71:c5
 [     1.024859] wm3: Copper
 [     1.024859] wm3: 0x40674440<SPI,IOH_VALID,PCIE,NEWQUEUE,ASF_FIRM,ARC_SUBSYS,WOL,EEE,CRC_STRIP>
 [     1.024859] ihphy3 at wm3 phy 1: I350 10/100/1000 media interface, rev. 1
 [     1.024859] ihphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 [     1.024859] ppb3 at pci0 dev 29 function 0: vendor 8086 product a330 (rev. 0xf0)
 [     1.024859] ppb3: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
 [     1.024859] ppb3: link is x1 @ 5.0GT/s
 [     1.024859] pci4 at ppb3 bus 1
 [     1.024859] pci4: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.024859] vendor 103c product 3306 (miscellaneous system, revision 0x07) at pci4 dev 0 function 0 not configured
 [     1.024859] genfb0 at pci4 dev 0 function 1: vendor 102b product 0538 (rev. 0x02)
 [     1.024859] genfb0: framebuffer at 0x84000000, size 1024x768, depth 32, stride 4096
 [     1.024859] genfb0: shadow framebuffer enabled, size 3072 KB
 [     1.024859] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
 [     1.024859] wsmux1: connecting to wsdisplay0
 [     1.024859] drm at genfb0 not configured
 [     1.024859] vendor 103c product 3307 (miscellaneous system, revision 0x07) at pci4 dev 0 function 2 not configured
 [     1.024859] ehci0 at pci4 dev 0 function 4: vendor 103c product 22f6 (rev. 0x00)
 [     1.024859] allocated pic msi6 type edge pin 0 level 6 to cpu1 slot 5 idt entry 119
 [     1.024859] ehci0: interrupting at msi6 vec 0
 [     1.024859] ehci0: EHCI version 1.0
 [     1.024859] usb2 at ehci0: USB revision 2.0
 [     1.024859] ppb4 at pci0 dev 29 function 1: vendor 8086 product a331 (rev. 0xf0)
 [     1.024859] ppb4: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
 [     1.024859] pci5 at ppb4 bus 3
 [     1.024859] pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.024859] ppb5 at pci0 dev 29 function 2: vendor 8086 product a332 (rev. 0xf0)
 [     1.024859] ppb5: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
 [     1.024859] pci6 at ppb5 bus 4
 [     1.024859] pci6: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.024859] ppb6 at pci0 dev 29 function 3: vendor 8086 product a333 (rev. 0xf0)
 [     1.024859] ppb6: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
 [     1.024859] pci7 at ppb6 bus 5
 [     1.024859] pci7: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.024859] pcib0 at pci0 dev 31 function 0: vendor 8086 product a30a (rev. 0x10)
 [     1.024859] vendor 8086 product a324 (miscellaneous serial bus, revision 0x10) at pci0 dev 31 function 5 not configured
 [     1.024859] isa0 at pcib0
 [     1.024859] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 [     1.024859] pckbc0 at isa0 port 0x60-0x64
 [     1.024859] acpicpu0 at cpu0: ACPI CPU
 [     1.024859] acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
 [     1.024859] acpicpu0: C2: FFH, lat  41 us, pow   350 mW
 [     1.024859] acpicpu0: T0: FFH, lat   1 us, pow 13586 mW, 100 %
 [     1.024859] coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
 [     1.024859] acpicpu1 at cpu1: ACPI CPU
 [     1.024859] coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=100
 [     1.024859] acpicpu2 at cpu2: ACPI CPU
 [     1.024859] coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=100
 [     1.024859] acpicpu3 at cpu3: ACPI CPU
 [     1.024859] coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=100
 [     1.024859] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 [     1.024859] cpu1: CPU base freq 3400000000 Hz
 [     1.024859] cpu1: CPU max freq 4600000000 Hz
 [     1.024859] cpu1: TSC freq CPUID 3408000000 Hz
 [     1.024859] cpu2: CPU base freq 3400000000 Hz
 [     1.024859] cpu2: CPU max freq 4600000000 Hz
 [     1.024859] cpu2: TSC freq CPUID 3408000000 Hz
 [     1.024859] cpu3: CPU base freq 3400000000 Hz
 [     1.024859] cpu3: CPU max freq 4600000000 Hz
 [     1.024859] cpu3: TSC freq CPUID 3408000000 Hz
 [     1.024859] timecounter: Timecounter "TSC" frequency 3408000000 Hz quality 3000
 [     1.739850] uhub0 at usb0: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
 [     1.739850] uhub0: 6 ports with 6 removable, self powered
 [     1.739850] uhub1 at usb1: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
 [     1.739850] uhub1: 16 ports with 16 removable, self powered
 [     1.739850] IPsec: Initialized Security Association Processing.
 [     1.755906] uhub2 at usb2: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
 [     1.755906] uhub2: 8 ports with 8 removable, self powered
 [     1.845907] ahcisata0 port 0: device present, speed: 6.0Gb/s
 [     2.855908] ahcisata0 port 5: PHY offline
 [     2.855908] ahcisata0 port 2: PHY offline
 [     2.855908] ahcisata0 port 1: PHY offline
 [     2.855908] ahcisata0 port 4: PHY offline
 [     2.855908] ahcisata0 port 3: PHY offline
 [     3.355908] uhidev0 at uhub1 port 1 configuration 1 interface 0
 [     3.355908] uhidev0: vendor 0566 (0x566) product 3107 (0x3107), rev 1.10/1.00, addr 1, iclass 3/1
 [     3.375912] ukbd0 at uhidev0
 [     3.385908] wd0 at atabus0 drive 0
 [     3.385908] wd0: <Crucial_CT525MX300SSD1>
 [     3.385908] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 [     3.385908] wd0: 489 GB, 1017471 cyl, 16 head, 63 sec, 512 bytes/sect x 1025610768 sectors
 [     3.385908] wd0: GPT GUID: a4e46b8b-64fe-11eb-8953-9440c9ed71c2
 [     3.385908] dk0 at wd0: "a4e549f1-64fe-11eb-8953-9440c9ed71c2", 409600 blocks at 40, type: msdos
 [     3.385908] dk1 at wd0: "a4e5b302-64fe-11eb-8953-9440c9ed71c2", 1016709120 blocks at 409640, type: ffs
 [     3.385908] dk2 at wd0: "a4e6857a-64fe-11eb-8953-9440c9ed71c2", 8388608 blocks at 1017118760, type: swap
 [     3.385908] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [     3.385908] wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [     3.775908] wskbd0 at ukbd0: console keyboard, using wsdisplay0
 [     3.775908] uhidev1 at uhub1 port 1 configuration 1 interface 1
 [     3.775908] uhidev1: vendor 0566 (0x566) product 3107 (0x3107), rev 1.10/1.00, addr 1, iclass 3/0
 [     3.775908] uhidev1: 2 report ids
 [     3.775908] uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
 [     3.775908] uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
 [     4.685908] umass0 at uhub1 port 2 configuration 1 interface 0
 [     4.685908] umass0: UFD 2.0 (0x90c) Silicon-Power8G (0x1000), rev 2.00/11.00, addr 2
 [     4.685908] umass0: using SCSI over Bulk-Only
 [     4.685908] scsibus0 at umass0: 2 targets, 1 lun per target
 [     5.115908] sd0 at scsibus0 target 0 lun 0: <UFD 2.0, Silicon-Power8G, 1100> disk removable
 [     5.115908] sd0: 7681 MB, 15744 cyl, 16 head, 63 sec, 512 bytes/sect x 15730688 sectors
 [     5.125908] sd0: GPT GUID: 0832269f-7ea8-4195-bf0e-2b195f6d4ea2
 [     5.125908] dk3 at sd0: "EFI system", 262144 blocks at 2048, type: msdos
 [     5.125908] dk4 at sd0: "b74b3fb7-d83c-4b23-9666-8cc83142cdae", 2908160 blocks at 264192, type: ffs
 [     5.595908] uhub3 at uhub1 port 8: vendor 0424 (0x424) product 2660 (0x2660), class 9/0, rev 2.00/8.01, addr 3
 [     5.595908] uhub3: single transaction translator
 [     5.595908] uhub3: 2 ports with 1 removable, self powered
 [    11.335908] ipmi0: version 32.0 interface KCS iobase 0xca2/0x2 spacing 1
 [    11.335908] ipmi0: ID 19.3 IPMI 2.0 Available
 [    11.335908] ipmi0: Additional Chassis IPMBRcv FRU SEL SDR Sensor
 [    11.335908] ipmi0: Manufacturer 0b85c Product 205c
 [    11.335908] ipmi0: Firmware 2.11
 [    67.675908] uhub2: autoconfiguration error: device problem, disabling port 4
 [    67.735907] WARNING: 1 error while detecting hardware; check system log.
 [    67.735907] boot device: sd0
 [    67.735907] root on dk4 dumps on dk2
 [    67.735907] root file system type: ffs
 [    67.745907] kern.module.path=/stand/amd64/9.1/modules
 [    67.745907] WARNING: clock gained 4 days

 -- 
 Takahiro Kambe <taca@back-street.net>

Responsible-Changed-From-To: port-amd64-maintainer->jdolecek
Responsible-Changed-By: jdolecek@NetBSD.org
Responsible-Changed-When: Sun, 06 Jun 2021 14:38:12 +0000
Responsible-Changed-Why:
Seems x2APIC needs some work. I keep meaning to look into this, so putting
this on my name for now.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.