CURRENT: rc script/kernel freeze after r349267

From: O. Hartmann <ohartmann_at_walstatt.org>
Date: Tue, 30 Jul 2019 14:20:53 +0200
Hello.

We run into a problem on one of our new Fujitus Primergy R2530M5 boxes, running
CURRENT. For the processor model see below.

Running FreeBSD 13.0-CURRENT #2 r349267: Fri Jun 21 13:34:45 CEST 2019 amd64
works fine so far (but frequent starting/stopping jails triggers a spontanous
reboot), but after upgrading to most recent revision (r350438 as of this
writing), booting the kernel works fine, but then the console freezes at the
point when showing "starting devd". Usually, after this point one can see the
initialization of the four i350 NICs (igb0-igb3). With the last CURRENT
available, this doesn't happen anymore, no keyboard action is possible (Ctrl-T,
Ctrl-C or similar), but ACPI seems active since I can shutdown the system in a
defined way by pushing the ON/Off button. The problem occurs with kernel
GENERIC, GENERIC-NODEBUG and several customized kernels.

Enabling debug messages in /etc/rc.conf results in a last line showing some
code containing "devmatch()" (can't remember, box is at a remote site now).

The machine is a two socket box but with only one socket populated and 64GB
RAM, see the following dmesg.

Kind regards,

O. Hartmann

[...]
---<<BOOT>>---
Copyright (c) 1992-2019 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT #2 r349267: Fri Jun 21 13:34:45 CEST 2019
    root_at_wotan.lan101.bundesimmobilien.intern:/usr/obj/usr/src/amd64.amd64/sys/WOTAN
amd64 FreeBSD clang version 8.0.1 (branches/release_80 363030) (based on LLVM
8.0.1) VT(efifb): resolution 1024x768
CPU: Intel(R) Xeon(R) Gold 5217 CPU _at_ 3.00GHz (2993.07-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x50657  Family=0x6  Model=0x55  Stepping=7
  Features=0xbfebfbff<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,HTT,TM,PBE>
  Features2=0x7ffefbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x121<LAHF,ABM,Prefetch>
  Structured Extended
Features=0xd39ffffb<FSGSBASE,TSCADJ,BMI1,HLE,AVX2,FDPEXC,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,NFPUSG,MPX,PQE,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PROCTRACE,AVX512CD,AVX512BW,AVX512VL>
Structured Extended Features2=0x808<PKU,AVX512VNNI> Structured Extended
Features3=0xbc000400<MD_CLEAR,IBPB,STIBP,L1DFL,ARCH_CAP,SSBD> XSAVE
Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
IA32_ARCH_CAPS=0x2b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME> VT-x:
PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance
statistics real memory  = 68719476736 (65536 MB)
avail memory = 66408230912 (63331 MB)
CPU microcode: no matching update found
Event timer "LAPIC" quality 600
ACPI APIC Table: <FUJ    D3383-B1>
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
FreeBSD/SMP: 1 package(s) x 8 core(s) x 2 hardware threads
random: unblocking device.
Security policy loaded: MAC/ntpd (mac_ntpd)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-31 on motherboard
ioapic2 <Version 2.0> irqs 32-39 on motherboard
ioapic3 <Version 2.0> irqs 40-47 on motherboard
ioapic4 <Version 2.0> irqs 48-55 on motherboard
Launching APs: 1 13 11 7 12 10 9 3 6 5 2 15 8 4 14
Timecounter "TSC-low" frequency 1496536197 Hz quality 1000
random: entropy device external interface
kbd0 at kbdmux0
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
000.000076 [4254] netmap_init               netmap: loaded module
nexus0
efirtc0: <EFI Realtime Clock> on motherboard
efirtc0: registered as a time-of-day clock, resolution 1.000000s
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <FUJ D3383-B1> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> numa-domain 0 on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71,0x74-0x77 irq 8 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 24000000 Hz quality 950
Event timer "HPET" frequency 24000000 Hz quality 350
Event timer "HPET1" frequency 24000000 Hz quality 340
Event timer "HPET2" frequency 24000000 Hz quality 340
Event timer "HPET3" frequency 24000000 Hz quality 340
Event timer "HPET4" frequency 24000000 Hz quality 340
Event timer "HPET5" frequency 24000000 Hz quality 340
Event timer "HPET6" frequency 24000000 Hz quality 340
Event timer "HPET7" frequency 24000000 Hz quality 340
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0
acpi_syscontainer0: <System Container> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff numa-domain 0 on acpi0
pci0: <ACPI PCI bus> numa-domain 0 on pcib0
ioat0: <SKX IOAT> mem 0xaac30000-0xaac33fff at device 4.0 numa-domain 0 on pci0
ioat0: Capabilities:
f0006f1<DMA_with_DIF,PQ,Extended_APIC_ID,Block_Fill,Move_CRC,DCA,Page_Break>
ioat1: <SKX IOAT> mem 0xaac2c000-0xaac2ffff at device 4.1 numa-domain 0 on pci0
ioat1: Capabilities:
f0006f1<DMA_with_DIF,PQ,Extended_APIC_ID,Block_Fill,Move_CRC,DCA,Page_Break>
ioat2: <SKX IOAT> mem 0xaac28000-0xaac2bfff at device 4.2 numa-domain 0 on pci0
ioat2: Capabilities:
f0004f1<DMA_with_DIF,Extended_APIC_ID,Block_Fill,Move_CRC,DCA,Page_Break>
ioat3: <SKX IOAT> mem 0xaac24000-0xaac27fff at device 4.3 numa-domain 0 on pci0
ioat3: Capabilities:
f0004f1<DMA_with_DIF,Extended_APIC_ID,Block_Fill,Move_CRC,DCA,Page_Break>
ioat4: <SKX IOAT> mem 0xaac20000-0xaac23fff at device 4.4 numa-domain 0 on pci0
ioat4: Capabilities:
f0004f1<DMA_with_DIF,Extended_APIC_ID,Block_Fill,Move_CRC,DCA,Page_Break>
ioat5: <SKX IOAT> mem 0xaac1c000-0xaac1ffff at device 4.5 numa-domain 0 on pci0
ioat5: Capabilities:
f0004f1<DMA_with_DIF,Extended_APIC_ID,Block_Fill,Move_CRC,DCA,Page_Break>
ioat6: <SKX IOAT> mem 0xaac18000-0xaac1bfff at device 4.6 numa-domain 0 on pci0
ioat6: Capabilities:
f0004f1<DMA_with_DIF,Extended_APIC_ID,Block_Fill,Move_CRC,DCA,Page_Break>
ioat7: <SKX IOAT> mem 0xaac14000-0xaac17fff at device 4.7 numa-domain 0 on pci0
ioat7: Capabilities:
f0004f1<DMA_with_DIF,Extended_APIC_ID,Block_Fill,Move_CRC,DCA,Page_Break> pci0:
<dasp, performance counters> at device 8.1 (no driver attached) pci0: <unknown>
at device 17.0 (no driver attached) pci0: <unknown> at device 17.1 (no driver
attached) ahci0: <Intel Lewisburg AHCI SATA controller> port
0x3070-0x3077,0x3060-0x3063,0x3020-0x303f mem
0xaac36000-0xaac37fff,0xaac3d000-0xaac3d0ff,0xaab80000-0xaabfffff at device
17.5 numa-domain 0 on pci0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port
Multiplier not supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1:
<AHCI channel> at channel 1 on ahci0 ahciem0: <AHCI enclosure management
bridge> on ahci0 xhci0: <Intel Lewisburg USB 3.0 controller> mem
bridge> 0xaac00000-0xaac0ffff at device 20.0 numa-domain 0 on pci0 xhci0: 32
bridge> bytes context size, 64-bit DMA usbus0 numa-domain 0 on xhci0 usbus0:
bridge> 5.0Gbps Super Speed USB v3.0 pci0: <simple comms> at device 22.0 (no
bridge> driver attached) pci0: <simple comms> at device 22.1 (no driver
bridge> attached) pci0: <simple comms> at device 22.4 (no driver attached)
bridge> ahci1: <Intel Lewisburg AHCI SATA controller> port
bridge> 0x3050-0x3057,0x3040-0x3043,0x3000-0x301f mem
bridge> 0xaac34000-0xaac35fff,0xaac38000-0xaac380ff,0xaab00000-0xaab7ffff at
bridge> device 23.0 numa-domain 0 on pci0 ahci1: AHCI v1.31 with 8 6Gbps ports,
bridge> Port Multiplier not supported
ahcich2: <AHCI channel> at channel 0 on ahci1
ahcich3: <AHCI channel> at channel 1 on ahci1
ahcich4: <AHCI channel> at channel 2 on ahci1
ahcich5: <AHCI channel> at channel 3 on ahci1
ahcich6: <AHCI channel> at channel 4 on ahci1
ahcich7: <AHCI channel> at channel 5 on ahci1
ahcich8: <AHCI channel> at channel 6 on ahci1
ahcich9: <AHCI channel> at channel 7 on ahci1
ahciem1: <AHCI enclosure management bridge> on ahci1
[...]
Received on Tue Jul 30 2019 - 10:34:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC