NetBSD-Bugs archive

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

Re: kern/60220 (kernel panic after modifying floating-point status register)



riastradh%NetBSD.org@localhost wrote:
> Can you share the following information?
> 
> 1. cpuctl identify 0

$ cpuctl identify 0
cpu0: highest basic info 00000010
cpu0: highest extended info 8000001e
cpu0: "AMD Ryzen 5 PRO 5650U with Radeon Graphics     "
cpu0: AMD Family 19h (686-class), 2406.94 MHz
cpu0: family 0x19 model 0x50 stepping 0 (id 0xa50f00)
cpu0: features 0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE>
cpu0: features 0x178bfbff<MCA,CMOV,PAT,PSE36,CLFSH,MMX,FXSR,SSE,SSE2,HTT>
cpu0: features1 0x5ed8220b<SSE3,PCLMULQDQ,MONITOR,SSSE3,CX16,SSE41,SSE42,MOVBE>
cpu0: features1 0x5ed8220b<POPCNT,AES,XSAVE,OSXSAVE,AVX,RDRAND>
cpu0: features2 0x2bd3fb7f<SYSCALL/SYSRET,NOX,MMXX,MMX,FXSR,FFXSR,RDTSCP,LONG>
cpu0: features3 0x1f1<LAHF,ALTMOVCR0,LZCNT,SSE4A,MISALIGNSSE,3DNOWPREFETCH>
cpu0: features5 0x840529<FSGSBASE,BMI1,AVX2,BMI2,INVPCID,RDSEED,CLFLUSHOPT>
cpu0: xsave features 0x7<x87,SSE,AVX>
cpu0: xsave area size: current 832, maximum 832, xgetbv enabled
cpu0: enabled xsave 0x7<x87,SSE,AVX>
cpu0: I-cache: 32KB 64B/line 8-way, D-cache: 32KB 64B/line 8-way
cpu0: L2 cache: 512KB 64B/line 8-way
cpu0: L3 cache: 16MB 64B/line disabled
cpu0: ITLB: 64 4KB entries fully associative, 64 2MB entries fully associative, 64 1GB entries fully associative
cpu0: DTLB: 64 4KB entries fully associative, 64 2MB entries fully associative, 64 1GB entries fully associative
cpu0: L2 ITLB: 512 4KB entries 4-way, 512 2MB entries 2-way
cpu0: L2 DTLB: 2048 4KB entries 8-way, 2048 2MB entries 4-way, 64 1GB entries fully associative
cpu0: Initial APIC ID 0
cpu0: Cluster/Package ID 0
cpu0: Core ID 0
cpu0: SMT ID 0
cpu0: monitor-line size 64
cpu0: DSPM-eax 0x4<ARAT>
cpu0: SEF highest subleaf 00000000
cpu0: Power Management features: 0x100<ITSC>
cpu0: AMD Extended features 0x4000000<SSB_NO>
cpu0: UCode version: 0x0

> 2. dmesg

# 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]     2024, 2025, 2026
[     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 11.0_RC3 (GENERIC) #0: Sat Apr  4 06:08:56 UTC 2026
[     1.000000] 	mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
[     1.000000] total memory = 1023 MB
[     1.000000] avail memory = 962 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
[     1.000004] mainbus0 (root)
[     1.000004] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX  )
[     1.000004] ACPI: XSDT 0x000000003FFF0030 00003C (v01 VBOX   VBOXXSDT 00000001 ASL  00000061)
[     1.000004] ACPI: FACP 0x000000003FFF00F0 0000F4 (v04 VBOX   VBOXFACP 00000001 ASL  00000061)
[     1.000004] ACPI: DSDT 0x000000003FFF0610 002353 (v02 VBOX   VBOXBIOS 00000002 INTL 20230628)
[     1.000004] ACPI: FACS 0x000000003FFF0200 000040
[     1.000004] ACPI: APIC 0x000000003FFF0240 000054 (v02 VBOX   VBOXAPIC 00000001 ASL  00000061)
[     1.000004] ACPI: SSDT 0x000000003FFF02A0 00036C (v01 VBOX   VBOXCPUT 00000002 INTL 20230628)
[     1.000004] ACPI: 2 ACPI AML tables successfully acquired and loaded
[     1.000004] ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 0x20, 24 pins
[     1.000004] cpu0 at mainbus0 apid 0
[     1.000004] cpu0: Use mfence to serialize rdtsc
[     1.000004] cpu0: AMD Ryzen 5 PRO 5650U with Radeon Graphics     , id 0xa50f00
[     1.000004] cpu0: node 0, package 0, core 0, smt 0
[     1.000004] cpu0: searching errata for cpu revision 0x00a50f00
[     1.000004] acpi0 at mainbus0: Intel ACPICA 20241212
[     1.000004] acpi0: X/RSDT: OemId <VBOX  ,VBOXXSDT,00000001>, AslId <ASL ,00000061>
[     1.000004] acpi0: SCI interrupting at int 9
[     1.000004] acpi0: fixed power button present
[     1.000004] acpi0: fixed sleep button present
[     1.000004] timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
[     1.021851] pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
[     1.021851] pckbc2 at acpi0 (PS2M, PNP0F03) (aux port): irq 12
[     1.021851] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53
[     1.021851] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
[     1.021851] acpiout0 at acpivga0 (VGA, 0x0100): ACPI Display Output Device
[     1.021851] acpivga0: connected output devices:
[     1.021851] acpivga0:   0x0100 (acpiout0): VGA Analog Monitor, index 0, port 0, head 0
[     1.021851] acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter
[     1.021851] ACPI: Enabled 2 GPEs in block 00 to 07
[     1.021851] pckbd0 at pckbc1 (kbd slot)
[     1.021851] pckbc1: using irq 1 for kbd slot
[     1.021851] wskbd0 at pckbd0: console keyboard
[     1.021851] pms0 at pckbc1 (aux slot)
[     1.021851] pckbc1: using irq 12 for aux slot
[     1.021851] wsmouse0 at pms0 mux 0
[     1.021851] pci0 at mainbus0 bus 0: configuration mode 1
[     1.021851] pci0: This pci host supports neither MSI nor MSI-X.
[     1.021851] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[     1.021851] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
[     1.021851] pcib0 at pci0 dev 1 function 0: Intel 82371SB (PIIX3) PCI-ISA Bridge (rev. 0x00)
[     1.021851] piixide0 at pci0 dev 1 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
[     1.021851] piixide0: bus-master DMA support present
[     1.021851] piixide0: primary channel configured to compatibility mode
[     1.021851] piixide0: primary channel interrupting at ioapic0 pin 14
[     1.021851] atabus0 at piixide0 channel 0
[     1.021851] piixide0: secondary channel configured to compatibility mode
[     1.021851] piixide0: secondary channel interrupting at ioapic0 pin 15
[     1.021851] atabus1 at piixide0 channel 1
[     1.021851] vga0 at pci0 dev 2 function 0: VMware Virtual SVGA II (rev. 0x00)
[     1.021851] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
[     1.021851] wsmux1: connecting to wsdisplay0
[     1.021851] drm at vga0 not configured
[     1.021851] wm0 at pci0 dev 3 function 0, 64-bit DMA: Intel i82540EM 1000BASE-T Ethernet (rev. 0x02)
[     1.021851] wm0: interrupting at ioapic0 pin 19
[     1.021851] wm0: 32-bit 33MHz PCI bus
[     1.021851] wm0: 64 words (6 address bits) MicroWire EEPROM
[     1.021851] wm0: RX packet buffer size: 48KB
[     1.021851] wm0: Ethernet address 08:00:27:af:a7:66
[     1.021851] wm0: 0x2<LOCK_EECD>
[     1.021851] makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 4
[     1.021851] makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[     1.021851] VirtualBox Guest Service (miscellaneous system) at pci0 dev 4 function 0 not configured
[     1.021851] auich0 at pci0 dev 5 function 0: i82801AA (ICH) AC-97 Audio
[     1.021851] auich0: interrupting at ioapic0 pin 21
[     1.021851] auich0: ac97: SigmaTel STAC9700 codec; no 3D stereo
[     1.021851] auich0: ac97: ext id 0x809<AC97_23,VRM,VRA>
[     1.021851] ohci0 at pci0 dev 6 function 0: Apple Computer Intrepid USB Controller (rev. 0x00)
[     1.021851] ohci0: interrupting at ioapic0 pin 22
[     1.021851] ohci0: OHCI version 1.0
[     1.021851] usb0 at ohci0: USB revision 1.0
[     1.021851] piixpm0 at pci0 dev 7 function 0: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x08)
[     1.021851] piixpm0: interrupting at ioapic0 pin 23
[     1.021851] iic0 at piixpm0 port 0: I2C bus
[     1.021851] ehci0 at pci0 dev 11 function 0: Intel 82801FB/FR USB EHCI Controller (rev. 0x00)
[     1.021851] ehci0: 32-bit DMA
[     1.021851] ehci0: interrupting at ioapic0 pin 19
[     1.021851] ehci0: EHCI version 1.0
[     1.021851] ehci0: Using DMA subregion for control data structures
[     1.021851] usb1 at ehci0: USB revision 2.0
[     1.021851] isa0 at pcib0
[     1.021851] pcppi0 at isa0 port 0x61
[     1.021851] spkr0 at pcppi0: PC Speaker
[     1.021851] wsbell at spkr0 not configured
[     1.021851] midi0 at pcppi0: PC speaker
[     1.021851] sysbeep0 at pcppi0
[     1.021851] attimer1: attached to pcppi0
[     1.021851] acpicpu0 at cpu0: ACPI CPU
[     1.021851] acpicpu0: C1: HLT, lat   0 us, pow     0 mW
[     1.021851] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1.021851] acpiacad0: AC adapter online.
[     1.719329] auich0: measured ac97 link rate at 47997 Hz, will use 48000 Hz
[     1.719329] audio0 at auich0: playback, capture, full duplex, independent
[     1.719329] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.719329] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[     1.719329] spkr1 at audio0: PC Speaker (synthesized)
[     1.719329] wsbell at spkr1 not configured
[     1.719329] IPsec: Initialized Security Association Processing.
[     1.739952] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     1.739952] uhub0: 12 ports with 12 removable, self powered
[     1.739952] uhub1 at usb1: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[     1.739952] uhub1: 12 ports with 12 removable, self powered
[     4.778058] wd0 at atabus0 drive 0
[     4.778058] wd0: <VBOX HARDDISK>
[     4.778058] wd0: drive supports 128-sector PIO transfers, LBA addressing
[     4.778058] wd0: 8499 MB, 17268 cyl, 16 head, 63 sec, 512 bytes/sect x 17406361 sectors
[     4.778058] wd0: GPT GUID: 3c94d2ce-6f52-4adb-a504-8c5b906d6239
[     4.778058] dk0 at wd0: "587abbb5-2a96-4dde-8799-311d862f053e", 15308800 blocks at 64, type: ffs
[     4.778058] dk1 at wd0: "b6ef2ab4-dab3-482f-8888-662d66a19015", 2097152 blocks at 15308928, type: swap
[     4.789588] wd0: 32-bit data port
[     4.789588] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
[     4.789588] wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
[     4.789588] atapibus0 at atabus1: 2 targets
[     4.798518] cd0 at atapibus0 drive 0: <VBOX CD-ROM, VB2-01700376, 1.0> cdrom removable
[     4.798518] cd0: 32-bit data port
[     4.798518] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
[     4.798518] cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
[     4.798518] swwdog0: software watchdog initialized
[     4.798518] boot device: wd0
[     4.798518] root on dk0 dumps on dk1
[     4.798518] root file system type: ffs
[     4.798518] kern.module.path=/stand/amd64/11.0/modules
[    15.417084] wsdisplay0: screen 1 added (80x25, vt100 emulation)
[    15.417084] wsdisplay0: screen 2 added (80x25, vt100 emulation)
[    15.417084] wsdisplay0: screen 3 added (80x25, vt100 emulation)
[    15.417084] wsdisplay0: screen 4 added (80x25, vt100 emulation)

> 3. the full panic message including stack trace, either from dmesg when
>    the machine reboots or from serial console output if you can capture
>    it

dmesg does not show it. But I'm attaching a video of the VirtualBox window.
The stack trace is at 00:00:21.

> 4. if you can enter ddb when it crashes (sysctl -w ddb.onpanic=1), the
>    output from `ps', `ps/w', and `show all tstiles'

Find attached screenshots of the output (in the VirtualBox window).

Attachment: netbsd-crash-2026-05-01_11.39.08.webm
Description: video/webm

Attachment: ps-part1.png
Description: PNG image

Attachment: ps-part2.png
Description: PNG image

Attachment: ps-part3.png
Description: PNG image

Attachment: ps-part4.png
Description: PNG image

Attachment: psw-part1.png
Description: PNG image

Attachment: psw-part2.png
Description: PNG image

Attachment: psw-part3.png
Description: PNG image

Attachment: psw-part4.png
Description: PNG image

Attachment: tstiles-part1.png
Description: PNG image

Attachment: tstiles-part2.png
Description: PNG image

Attachment: tstiles-part3.png
Description: PNG image

Attachment: tstiles-part4.png
Description: PNG image



Home | Main Index | Thread Index | Old Index