NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/57454: HEAD hangs sometimes during booting up



>Number:         57454
>Category:       kern
>Synopsis:       HEAD hangs sometimes during booting up
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 05 13:35:00 +0000 2023
>Originator:     Salil Wadnerkar
>Release:        10.99.4
>Organization:
>Environment:
NetBSD dell.localdomain 10.99.4 NetBSD 10.99.4 (MYKERNEL) #2: Sun Jun  4 08:21:17 PDT 2023  salil@dell.localdomain:/usr/src/sys/arch/amd64/compile/MYKERNEL amd64

Note that I am facing another issue related to booting failure due to a bug in USB discovery in the NetBSD current. So, my kernel is built with a patch given to me by Taylor Campbell that prints the stack when I get the error, but does not abort.
>Description:
About once every 3-4 times my NetBSD current hangs during booting.

My dmesg:

[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023
[     1.000000]     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 10.99.4 (MYKERNEL) #2: Sun Jun  4 08:21:17 PDT 2023
[     1.000000] 	salil@dell.localdomain:/usr/src/sys/arch/amd64/compile/MYKERNEL
[     1.000000] total memory = 16265 MB
[     1.000000] avail memory = 15708 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] [   411.000000] pms* disabled
[     1.000000] [   452.000000] ugen* disabled
[     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
[     1.000004] efi: systbl at pa 7b51c018
[     1.000004] mainbus0 (root)
[     1.000004] ACPI: RSDP 0x000000007A511000 000024 (v02 DELL  )
[     1.000004] ACPI: XSDT 0x000000007A5110B8 0000F4 (v01 DELL   CBX3     01072009 AMI  00010013)
[     1.000004] ACPI: FACP 0x000000007A537308 00010C (v05 DELL   CBX3     01072009 AMI  00010013)
[     1.000004] ACPI: DSDT 0x000000007A511240 0260C8 (v02 DELL   CBX3     01072009 INTL 20160422)
[     1.000004] ACPI: FACS 0x000000007AE52E80 000040
[     1.000004] ACPI: APIC 0x000000007A537418 000084 (v03 DELL   CBX3     01072009 AMI  00010013)
[     1.000004] ACPI: FPDT 0x000000007A5374A0 000044 (v01 DELL   CBX3     01072009 AMI  00010013)
[     1.000004] ACPI: FIDT 0x000000007A5374E8 0000AC (v01 DELL   CBX3     01072009 AMI  00010013)
[     1.000004] ACPI: MCFG 0x000000007A537598 00003C (v01 DELL   CBX3     01072009 MSFT 00000097)
[     1.000004] ACPI: HPET 0x000000007A5375D8 000038 (v01 DELL   CBX3     01072009 AMI. 0005000B)
[     1.000004] ACPI: SSDT 0x000000007A537610 000359 (v01 SataRe SataTabl 00001000 INTL 20160422)
[     1.000004] ACPI: SSDT 0x000000007A537970 0012FE (v02 SaSsdt SaSsdt   00003000 INTL 20160422)
[     1.000004] ACPI: HPET 0x000000007A538C70 000038 (v01 INTEL  SKL-ULT  00000001 MSFT 0000005F)
[     1.000004] ACPI: SSDT 0x000000007A538CA8 000EBE (v02 INTEL  xh_OEMBD 00000000 INTL 20160422)
[     1.000004] ACPI: UEFI 0x000000007A539B68 000042 (v01                 00000000      00000000)
[     1.000004] ACPI: SSDT 0x000000007A539BB0 000EDE (v02 CpuRef CpuSsdt  00003000 INTL 20160422)
[     1.000004] ACPI: LPIT 0x000000007A53AA90 000094 (v01 INTEL  SKL-ULT  00000000 MSFT 0000005F)
[     1.000004] ACPI: SSDT 0x000000007A53AB28 000141 (v02 INTEL  HdaDsp   00000000 INTL 20160422)
[     1.000004] ACPI: SSDT 0x000000007A53AC70 00029F (v02 INTEL  sensrhub 00000000 INTL 20160422)
[     1.000004] ACPI: SSDT 0x000000007A53AF10 003002 (v02 INTEL  PtidDevc 00001000 INTL 20160422)
[     1.000004] ACPI: SSDT 0x000000007A53DF18 000517 (v02 INTEL  TbtTypeC 00000000 INTL 20160422)
[     1.000004] ACPI: DBGP 0x000000007A53E430 000034 (v01 INTEL           00000002 MSFT 0000005F)
[     1.000004] ACPI: DBG2 0x000000007A53E468 000054 (v00 INTEL           00000002 MSFT 0000005F)
[     1.000004] ACPI: SSDT 0x000000007A53E4C0 005136 (v02 DptfTa DptfTabl 00001000 INTL 20160422)
[     1.000004] ACPI: MSDM 0x000000007A5435F8 000055 (v03 DELL   CBX3     06222004 AMI  00010013)
[     1.000004] ACPI: SLIC 0x000000007A543650 000176 (v03 DELL   CBX3     01072009 MSFT 00010013)
[     1.000004] ACPI: TCPA 0x000000007A5437C8 000032 (v02 ALASKA NAPAASF  00000000 MSFT 01000013)
[     1.000004] ACPI: DMAR 0x000000007A543800 000114 (v01 INTEL  SKL      00000001 INTL 00000001)
[     1.000004] ACPI: ASF! 0x000000007A543918 0000A0 (v32 INTEL   HCG     00000001 TFSM 000F4240)
[     1.000004] ACPI: BGRT 0x000000007A5439B8 000038 (v00 ??              01072009 AMI  00010013)
[     1.000004] ACPI: 10 ACPI AML tables successfully acquired and loaded
[     1.000004] ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 120 pins
[     1.000004] cpu0 at mainbus0 apid 0
[     1.000004] cpu0: Use lfence to serialize rdtsc
[     1.000004] cpu0: CPU base freq 2800000000 Hz
[     1.000004] cpu0: CPU max freq 3400000000 Hz
[     1.000004] cpu0: TSC freq CPUID 2808000000 Hz
[     1.000004] cpu0: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz, id 0x406e3
[     1.000004] cpu0: node 0, package 0, core 0, smt 0
[     1.000004] cpu1 at mainbus0 apid 2
[     1.000004] cpu1: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz, id 0x406e3
[     1.000004] cpu1: node 0, package 0, core 1, smt 0
[     1.000004] cpu2 at mainbus0 apid 1
[     1.000004] cpu2: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz, id 0x406e3
[     1.000004] cpu2: node 0, package 0, core 0, smt 1
[     1.000004] cpu3 at mainbus0 apid 3
[     1.000004] cpu3: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz, id 0x406e3
[     1.000004] cpu3: node 0, package 0, core 1, smt 1
[     1.000004] acpi0 at mainbus0: Intel ACPICA 20221020
[     1.000004] acpi0: X/RSDT: OemId <DELL  , CBX3   ,01072009>, AslId <AMI ,00010013>
[     1.000004] acpi0: MCFG: segment 0, bus 0-127, address 0x00000000f0000000
[     1.000004] ACPI: Dynamic OEM Table Load:
[     1.000004] ACPI: SSDT 0xFFFFC4B860D3A808 0003FF (v02 PmRef  Cpu0Cst  00003001 INTL 20160422)
[     1.000004] ACPI: Dynamic OEM Table Load:
[     1.000004] ACPI: SSDT 0xFFFFC4B860D2D808 0006D5 (v02 PmRef  Cpu0Ist  00003000 INTL 20160422)
[     1.000004] ACPI: Dynamic OEM Table Load:
[     1.000004] ACPI: SSDT 0xFFFFC4B860D2F808 00065C (v02 PmRef  ApIst    00003000 INTL 20160422)
[     1.000004] ACPI: Dynamic OEM Table Load:
[     1.000004] ACPI: SSDT 0xFFFFC4BBBB8A9408 00018A (v02 PmRef  ApCst    00003000 INTL 20160422)
[     1.000004] acpi0: SCI interrupting at int 9
[     1.000004] acpi0: fixed power button present
[     1.000004] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
[     1.032979] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
[     1.032979] timecounter: Timecounter "hpet0" frequency 24000000 Hz quality 2000
[     1.033646] acpiec0 at acpi0 (ECDV, PNP0C09-0): io 0x930,0x934
[     1.033646] acpiec1 at acpi0 (H_EC, PNP0C09-1): using acpiec0
[     1.033646] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
[     1.033646] acpiout0 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
[     1.033646] acpiout1 at acpivga0 (LCD, 0x0400): ACPI Display Output Device
[     1.033646] acpiout1: brightness levels: [5-38,40-43,45-47,49-50,52-53,55,57,59-60,62,64,66,68,70,72,74,77,79-81,84,86,89,92,95,97,100]
[     1.033646] acpiout2 at acpivga0 (DVI, 0x0302): ACPI Display Output Device
[     1.033646] acpiout3 at acpivga0 (DVI2, 0x0303): ACPI Display Output Device
[     1.033646] acpiout4 at acpivga0 (DVI3, 0x0304): ACPI Display Output Device
[     1.033646] acpiout5 at acpivga0 (DP, 0x0300): ACPI Display Output Device
[     1.033646] acpiout6 at acpivga0 (DP2, 0x0301): ACPI Display Output Device
[     1.033646] acpiout7 at acpivga0 (DP3, 0x0305): ACPI Display Output Device
[     1.033646] acpiout8 at acpivga0 (SKC0, 0xca00): ACPI Display Output Device
[     1.033646] acpivga0: connected output devices:
[     1.033646] acpivga0:   0x0100 (acpiout0): Ext. Monitor, head 0
[     1.033646] acpivga0:   0x0400 (acpiout1): Unknown Output Device, head 0
[     1.033646] acpivga0:   0x0302 (acpiout2): Unknown Output Device, head 0
[     1.033646] acpivga0:   0x0303 (acpiout3): Unknown Output Device, head 0
[     1.033646] acpivga0:   0x0300 (acpiout5): Unknown Output Device, head 0
[     1.033646] acpivga0:   0x0301 (acpiout6): Unknown Output Device, head 0
[     1.033646] acpivga0:   0x0304 (acpiout4): Unknown Output Device, head 0
[     1.033646] acpivga0:   0x0305 (acpiout7): Unknown Output Device, head 0
[     1.033646] FWHD (INT0800) at acpi0 not configured
[     1.033646] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
[     1.033646] TSKN (INT3403) at acpi0 not configured
[     1.033646] NGFF (INT3403) at acpi0 not configured
[     1.033646] pckbc1 at acpi0 (PS2K, DLLK07A0) (kbd port): io 0x60,0x64 irq 1
[     1.033646] TPD1 (DLL07A0) at acpi0 not configured
[     1.033646] I2C4 (INT3446) at acpi0 not configured
[     1.033646] TMEM (INT3403) at acpi0 not configured
[     1.033646] acpiwmi0 at acpi0 (WTBT, PNP0C14-TBFP): ACPI WMI Interface
[     1.033646] acpiwmibus at acpiwmi0 not configured
[     1.033646] PEPD (INT33A1) at acpi0 not configured
[     1.033646] tpm0 at acpi0 (TPM, PNP0C31-1): mem 0xfed40000-0xfed44fff
[     1.033646] tpm0: device 0x00fe1050 rev 0x4
[     1.033646] acpiwmi1 at acpi0 (AMW0, PNP0C14-0): ACPI WMI Interface
[     1.033646] wmidell0 at acpiwmi1: Dell WMI mappings version 1
[     1.033646] acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
[     1.033646] acpibut0 at acpi0 (PBTN, PNP0C0C): ACPI Power Button
[     1.033646] acpibut1 at acpi0 (SBTN, PNP0C0E): ACPI Sleep Button
[     1.033646] acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
[     1.033646] acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
[     1.033646] HIDD (INT33D5) at acpi0 not configured
[     1.033646] IETM (INT3400) at acpi0 not configured
[     1.033646] acpitz0 at acpi0 (THM)
[     1.033646] acpitz0: levels: critical 107.0 C, passive cooling
[     1.033646] ACPI: Enabled 5 GPEs in block 00 to 7F
[     1.033646] pckbd0 at pckbc1 (kbd slot)
[     1.033646] pckbc1: using irq 1 for kbd slot
[     1.033646] wskbd0 at pckbd0: console keyboard
[     1.033646] pci0 at mainbus0 bus 0: configuration mode 1
[     1.033646] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[     1.033646] pchb0 at pci0 dev 0 function 0: Intel Core 6G Host and DRAM (U) (rev. 0x08)
[     1.033646] i915drmkms0 at pci0 dev 2 function 0: Intel HD Graphics 520 (GT2) (rev. 0x07)
[     1.033646] Intel Core 6G Thermal (miscellaneous DASP, revision 0x08) at pci0 dev 4 function 0 not configured
[     1.033646] xhci0 at pci0 dev 20 function 0: Intel 100 Series xHCI (rev. 0x21)
[     1.033646] xhci0: 64-bit DMA
[     1.033646] xhci0: interrupting at msi0 vec 0
[     1.033646] xhci0: xHCI version 1.0
[     1.033646] usb0 at xhci0: USB revision 3.0
[     1.033646] usb1 at xhci0: USB revision 2.0
[     1.033646] Intel 100 Series Thermal (miscellaneous DASP, revision 0x21) at pci0 dev 20 function 2 not configured
[     1.033646] dwiic0 at pci0 dev 21 function 0: I2C controller instance 0
[     1.033646] dwiic0: interrupting at ioapic0 pin 16
[     1.033646] iic0 at dwiic0: I2C bus
[     1.033646] dwiic1 at pci0 dev 21 function 1: I2C controller instance 1
[     1.033646] dwiic1: interrupting at ioapic0 pin 17
[     1.033646] iic1 at dwiic1: I2C bus
[     1.033646] ihidev0 at iic1 addr 0x2c: vendor 0x44e product 0x120b, TPD1
[     1.033646] ihidev0: 7 report ids
[     1.033646] ihidev0: interrupting at irq 51
[     1.033646] ims0 at ihidev0 reportid 1: 3 buttons, W and Z dirs
[     1.033646] wsmouse0 at ims0 mux 0
[     1.033646] hid at ihidev0 reportid 2 not configured
[     1.033646] hid at ihidev0 reportid 3 not configured
[     1.033646] hid at ihidev0 reportid 4 not configured
[     1.033646] hid at ihidev0 reportid 5 not configured
[     1.033646] hid at ihidev0 reportid 6 not configured
[     1.033646] hid at ihidev0 reportid 7 not configured
[     1.033646] dwiic2 at pci0 dev 21 function 2: I2C controller instance 2
[     1.033646] dwiic2: interrupting at ioapic0 pin 18
[     1.033646] iic2 at dwiic2: I2C bus
[     1.033646] Intel 100 Series MEI (miscellaneous communications, revision 0x21) at pci0 dev 22 function 0 not configured
[     1.033646] puc0 at pci0 dev 22 function 3: Intel 100 Series LP KT (com)
[     1.033646] com2 at puc0 port 0 (16550-compatible): ioaddr 0xf0a0, interrupting at ioapic0 pin 19
[     1.033646] com2: ns16550a, 16-byte FIFO
[     1.033646] ahcisata0 at pci0 dev 23 function 0: Intel 100 Series SATA (AHCI) (rev. 0x21)
[     1.033646] ahcisata0: 64-bit DMA
[     1.033646] ahcisata0: AHCI revision 1.31, 1 port, 32 slots, CAP 0xc734ff00<PSC,SSC,PMD,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SNCQ,S64A>
[     1.033646] ahcisata0: interrupting at msi1 vec 0
[     1.033646] atabus0 at ahcisata0 channel 2
[     1.033646] ppb0 at pci0 dev 28 function 0: Intel 100 Series PCIe (rev. 0xf1)
[     1.033646] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
[     1.033646] ppb0: link is x1 @ 5.0GT/s
[     1.033646] pci1 at ppb0 bus 1
[     1.033646] pci1: i/o space, memory space enabled
[     1.033646] rtsx0 at pci1 dev 0 function 0: Realtek Semiconductor RTS525A PCI-E Card Reader (rev. 0x01)
[     1.033646] rtsx0: interrupting at msi2 vec 0
[     1.033646] sdmmc0 at rtsx0
[     1.033646] ppb1 at pci0 dev 28 function 2: Intel 100 Series PCIe (rev. 0xf1)
[     1.033646] ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
[     1.033646] ppb1: link is x1 @ 2.5GT/s
[     1.033646] pci2 at ppb1 bus 2
[     1.033646] pci2: i/o space, memory space enabled
[     1.033646] iwm0 at pci2 dev 0 function 0: Intel Dual Band Wireless AC 8265 (rev. 0x78)
[     1.033646] iwm0: interrupting at msi3 vec 0
[     1.033646] ppb2 at pci0 dev 28 function 4: Intel 100 Series PCIe (rev. 0xf1)
[     1.033646] ppb2: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 8.0GT/s
[     1.033646] pci3 at ppb2 bus 3
[     1.033646] pci3: i/o space, memory space enabled
[     1.033646] pcib0 at pci0 dev 31 function 0: Intel 100 Series (PCH-U) LPC (rev. 0x21)
[     1.033646] Intel 100 Series PMC (miscellaneous memory, revision 0x21) at pci0 dev 31 function 2 not configured
[     1.033646] hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
[     1.033646] hdaudio0: interrupting at msi4 vec 0
[     1.033646] hdaudio0: HDA ver. 1.0, OSS 9, ISS 7, BSS 0, SDO 1, 64-bit
[     1.033646] hdafg0 at hdaudio0: Realtek product 0256
[     1.033646] hdafg0: DAC00 2ch: Speaker [Built-In]
[     1.033646] hdafg0: DAC01 2ch: HP Out [Jack]
[     1.033646] hdafg0: ADC02 2ch: Mic In [Built-In]
[     1.033646] hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
[     1.033646] audio0 at hdafg0: playback, capture, full duplex, independent
[     1.033646] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.033646] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[     1.033646] spkr0 at audio0: PC Speaker (synthesized)
[     1.033646] wsbell at spkr0 not configured
[     1.033646] hdafg1 at hdaudio0: Intel HDMI/DP
[     1.033646] hdafg1: DP00 8ch: Digital Out [Jack]
[     1.033646] hdafg1: 8ch/0ch 48000Hz PCM16*
[     1.033646] audio1 at hdafg1: playback, capture, full duplex, independent
[     1.033646] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.033646] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[     1.033646] spkr1 at audio1: PC Speaker (synthesized)
[     1.033646] wsbell at spkr1 not configured
[     1.033646] ichsmb0 at pci0 dev 31 function 4: Intel 100 Series SMBus (rev. 0x21)
[     1.033646] ichsmb0: interrupting at ioapic0 pin 16
[     1.033646] iic3 at ichsmb0: I2C bus
[     1.033646] tco0 at ichsmb0: TCO (watchdog) timer configured.
[     1.033646] tco0: Min/Max interval 1/367 seconds
[     1.033646] wm0 at pci0 dev 31 function 6, 64-bit DMA: I219 LM (4) Ethernet Connection (rev. 0x21)
[     1.033646] wm0: interrupting at msi5 vec 0
[     1.033646] wm0: PCI-Express bus
[     1.033646] wm0: 4096 words FLASH, version 0.1.4
[     1.033646] wm0: Ethernet address a4:4c:c8:19:8e:8b
[     1.033646] wm0: 0x6a4080<FLASH,PCIE,ASF_FIRM,AMT,WOL,EEE>
[     1.033646] ihphy0 at wm0 phy 2: i217 10/100/1000 media interface, rev. 6
[     1.033646] ihphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.033646] isa0 at pcib0
[     1.033646] pcppi0 at isa0 port 0x61
[     1.033646] spkr2 at pcppi0: PC Speaker
[     1.033646] wsbell at spkr2 not configured
[     1.033646] midi0 at pcppi0: PC speaker
[     1.033646] sysbeep0 at pcppi0
[     1.033646] attimer1: attached to pcppi0
[     1.033646] acpicpu0 at cpu0: ACPI CPU
[     1.033646] acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
[     1.033646] acpicpu0: C2: FFH, lat 151 us, pow   200 mW
[     1.033646] acpicpu0: C3: FFH, lat 1034 us, pow   200 mW
[     1.033646] acpicpu0: P0: FFH, lat  10 us, pow 15000 mW, 2801 MHz, turbo boost
[     1.033646] acpicpu0: P1: FFH, lat  10 us, pow 15000 mW, 2800 MHz
[     1.033646] acpicpu0: P2: FFH, lat  10 us, pow 13487 mW, 2600 MHz
[     1.033646] acpicpu0: P3: FFH, lat  10 us, pow 12175 mW, 2400 MHz
[     1.033646] acpicpu0: P4: FFH, lat  10 us, pow 11608 mW, 2300 MHz
[     1.033646] acpicpu0: P5: FFH, lat  10 us, pow 10372 mW, 2100 MHz
[     1.033646] acpicpu0: P6: FFH, lat  10 us, pow  9047 mW, 1900 MHz
[     1.033646] acpicpu0: P7: FFH, lat  10 us, pow  8538 mW, 1800 MHz
[     1.033646] acpicpu0: P8: FFH, lat  10 us, pow  7423 mW, 1600 MHz
[     1.033646] acpicpu0: P9: FFH, lat  10 us, pow  6353 mW, 1400 MHz
[     1.033646] acpicpu0: P10: FFH, lat  10 us, pow  5773 mW, 1300 MHz
[     1.033646] acpicpu0: P11: FFH, lat  10 us, pow  4774 mW, 1100 MHz
[     1.033646] acpicpu0: P12: FFH, lat  10 us, pow  3819 mW,  900 MHz
[     1.033646] acpicpu0: P13: FFH, lat  10 us, pow  2907 mW,  700 MHz
[     1.033646] acpicpu0: P14: FFH, lat  10 us, pow  2411 mW,  600 MHz
[     1.033646] acpicpu0: P15: FFH, lat  10 us, pow  1566 mW,  400 MHz
[     1.033646] coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
[     1.033646] acpicpu1 at cpu1: ACPI CPU
[     1.033646] coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=100
[     1.033646] acpicpu2 at cpu2: ACPI CPU
[     1.033646] acpicpu3 at cpu3: ACPI CPU
[     1.033646] cpu0: CPU base freq 2800000000 Hz
[     1.033646] cpu0: CPU max freq 3400000000 Hz
[     1.033646] cpu0: TSC freq CPUID 2808000000 Hz
[     1.033646] cpu0: TSC freq calibrated 2808001000 Hz
[     1.033646] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1.033646] timecounter: Timecounter "TSC" frequency 2808001000 Hz quality 3000
[     1.950149] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
[     1.984773] usbd_set_config_index: addr 0 index 0 msg 1
[     2.014773] uhub_attach() at netbsd:uhub_attach+0xbc
[     2.054773] config_attach_internal() at netbsd:config_attach_internal+0x1a7
[     2.094773] config_found_acquire() at netbsd:config_found_acquire+0xd9
[     2.134773] config_found() at netbsd:config_found+0x32
[     2.174773] usbd_attach_roothub() at netbsd:usbd_attach_roothub+0xa3
[     2.204773] xhci_new_device() at netbsd:xhci_new_device+0x5b1
[     2.244773] usb_doattach() at netbsd:usb_doattach+0xa7
[     2.284773] config_interrupts_thread() at netbsd:config_interrupts_thread+0x9b
[     2.324773] uhub0: 6 ports with 6 removable, self powered
[     2.324773] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
[     2.354773] usbd_set_config_index: addr 0 index 0 msg 1
[     2.394773] uhub_attach() at netbsd:uhub_attach+0xbc
[     2.434773] config_attach_internal() at netbsd:config_attach_internal+0x1a7
[     2.474773] config_found_acquire() at netbsd:config_found_acquire+0xd9
[     2.514773] config_found() at netbsd:config_found+0x32
[     2.544773] usbd_attach_roothub() at netbsd:usbd_attach_roothub+0xa3
[     2.584773] xhci_new_device() at netbsd:xhci_new_device+0x5b1
[     2.624773] usb_doattach() at netbsd:usb_doattach+0xa7
[     2.664773] config_interrupts_thread() at netbsd:config_interrupts_thread+0x9b
[     2.694773] uhub1: 12 ports with 12 removable, self powered
[     2.704776] IPsec: Initialized Security Association Processing.
[     2.724778] acpiacad0: AC adapter online.
[     2.794776] ahcisata0 port 2: device present, speed: 6.0Gb/s
[     2.824778] wd0 at atabus0 drive 0
[     2.844773] wd0: <SanDisk X400 M.2 2280 512GB>
[     2.874773] wd0: drive supports 1-sector PIO transfers, LBA48 addressing
[     2.874773] wd0: 476 GB, 992277 cyl, 16 head, 63 sec, 512 bytes/sect x 1000215216 sectors
[     2.904777] wd0: GPT GUID: 7358413d-f503-45b4-9ef7-1c130b8ded0d
[     2.904777] dk0 at wd0: "e526f6c8-392f-49cf-964f-4fe0b2eaf89c", 262144 blocks at 2048, type: msdos
[     2.924773] dk1 at wd0: "7dc1723b-fba3-4fd6-9114-84b7a22111bc", 966640237 blocks at 264192, type: ffs
[     2.954773] dk2 at wd0: "80e110b8-d7eb-412a-9907-b72e923cb443", 33309327 blocks at 966905856, type: swap
[     2.984773] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
[     2.984773] wd0(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
[     3.084774] acpibat0: LGC-LGC7.780 LION rechargeable battery
[     3.114773] acpibat0: granularity: low->warn 0.078 Ah, warn->full 0.078 Ah
[     3.294776] usbd_set_config_index: addr 1 index 0 msg 1
[     3.294776] usbd_probe_and_attach() at netbsd:usbd_probe_and_attach+0x68
[     3.294776] xhci_new_device() at netbsd:xhci_new_device+0x54a
[     3.294776] uhub_explore() at netbsd:uhub_explore+0x4bd
[     3.304775] usb_discover() at netbsd:usb_discover+0x4f
[     3.304775] usb_event_thread() at netbsd:usb_event_thread+0x46
[     3.304775] uhidev0 at uhub1 port 2 configuration 1 interface 0
[     3.304775] uhidev0: Logitech (0x046d) USB Optical Mouse (0xc077), rev 2.00/72.00, addr 1, iclass 3/1
[     3.304775] ums0 at uhidev0: 3 buttons and Z dir
[     3.304775] wsmouse1 at ums0 mux 0
[     3.774776] usbd_set_config_index: addr 2 index 0 msg 1
[     3.774776] usbd_probe_and_attach() at netbsd:usbd_probe_and_attach+0x68
[     3.774776] xhci_new_device() at netbsd:xhci_new_device+0x54a
[     3.785044] uhub_explore() at netbsd:uhub_explore+0x4bd
[     3.785044] usb_discover() at netbsd:usb_discover+0x4f
[     3.785044] usb_event_thread() at netbsd:usb_event_thread+0x46
[     3.814776] uvideo0 at uhub1 port 5 configuration 1 interface 0: CN0K49W1LOG0076AAEDAA00 (0x0bda) Integrated Webcam_HD (0x5650), rev 2.00/60.06, addr 2
[     3.814776] video0 at uvideo0: CN0K49W1LOG0076AAEDAA00 (0x0bda) Integrated Webcam_HD (0x5650), rev 2.00/60.06, addr 2
[     4.284776] ubt0 at uhub1 port 7
[     4.284776] ubt0: vendor 8087 (0x8087) product 0a2b (0x0a2b), rev 2.00/0.10, addr 3
[     4.284776] usbd_set_config_index: addr 3 index 0 msg 1
[     4.284776] ubt_attach() at netbsd:ubt_attach+0xc4
[     4.284776] config_attach_internal() at netbsd:config_attach_internal+0x1a7
[     4.284776] config_found_acquire() at netbsd:config_found_acquire+0xd9
[     4.284776] config_found() at netbsd:config_found+0x32
[     4.284776] usbd_attachwholedevice() at netbsd:usbd_attachwholedevice+0xf0
[     4.284776] usbd_probe_and_attach() at netbsd:usbd_probe_and_attach+0x3a
[     4.294798] xhci_new_device() at netbsd:xhci_new_device+0x54a
[     4.294798] uhub_explore() at netbsd:uhub_explore+0x4bd
[     4.294798] usb_discover() at netbsd:usb_discover+0x4f
[     4.294798] usb_event_thread() at netbsd:usb_event_thread+0x46
[     4.804776] usbd_set_config_index: addr 4 index 0 msg 1
[     4.804776] usbd_probe_and_attach() at netbsd:usbd_probe_and_attach+0x68
[     4.804776] xhci_new_device() at netbsd:xhci_new_device+0x54a
[     4.804776] uhub_explore() at netbsd:uhub_explore+0x4bd
[     4.814775] usb_discover() at netbsd:usb_discover+0x4f
[     4.814775] usb_event_thread() at netbsd:usb_event_thread+0x46
[     4.824778] Broadcom Corp (0x0a5c) 5880 (0x5832), class 0/0, rev 1.10/1.01, addr 4, uhub1 port 10 not configured
[     4.824778] swwdog0: software watchdog initialized
[     4.864772] boot device: wd0
[     4.884772] root on dk1 dumps on dk2
[     4.914772] root file system type: ffs
[     4.934772] kern.module.path=/stand/amd64/10.99.4/modules
[     5.014772] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).



When it boots up properly, I see these added lines in the dmesg:

[     5.999943] [drm] Driver supports precise vblank timestamp query.
[     5.999943] i915drmkms0: interrupting at msi6 vec 0 (i915drmkms0)
[     6.009944] i915drmkms0: notice: Failed to load DMC firmware i915/skl_dmc_ver1_27.bin. Disabling runtime power management.
[     6.009944] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
[     6.179947] intelfb0 at i915drmkms0
[     6.179947] [drm] DRM_I915_DEBUG enabled
[     6.179947] [drm] DRM_I915_DEBUG_GEM enabled
[     6.190221] intelfb0: framebuffer at 0xa0040000, size 1920x1080, depth 32, stride 7680
[     6.209944] wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
[     6.209944] wsmux1: connecting to wsdisplay0
[     6.519942] iwm0: hw rev 0x230, fw ver 22.361476.0, address cc:2f:71:7f:0c:29
[     7.649940] wsdisplay0: screen 1 added (default, vt100 emulation)
[     7.649940] wsdisplay0: screen 2 added (default, vt100 emulation)
[     7.649940] wsdisplay0: screen 3 added (default, vt100 emulation)
[     7.649940] wsdisplay0: screen 4 added (default, vt100 emulation)

So, this could be related to I915 DRM.

Note that I am facing another issue related to booting failure due to a bug in USB discovery in the NetBSD current. So, my kernel is built with a patch given to me by Taylor Campbell that prints the stack when I get the error, but does not abort.

>How-To-Repeat:
It happens once every 3?4 times while NetBSD is booting up.
>Fix:



Home | Main Index | Thread Index | Old Index