NetBSD-Users archive

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

Re: Kernel crash AMD64 NetBSD10 install on Celeron



There were---and are--- problems with DRM on some boards and for
example Linux may work on these simply because they disable DRM on
boot... (meaning that some other OS succeeding may be simply because
it doesn't attempt to drive the GPU). See:

https://notes.kergis.com/netbsd_on_OVH_baremetal.html

for an example.


On Sun, Jul 28, 2024 at 07:49:17PM +0000, xuser wrote:
> I've seen that bug myself but i don't think anyone filed a bug report for
> it.
> 
> For me it only happens when booting on a dell laptop with nvidia.
> 
> 
> On Sun, 28 Jul 2024, Joel wrote:
> 
> > Hello -- the machine is branded as a Protectli Vault FW2B with HDMI. I
> > recently had OpenBSD 7.5 running on it as a router. Below is the stack
> > trace, followed by the full serial console output. I booted from a USB
> > AMD64 image I downloaded today.
> > Is this a known issue? If not I'll be happy to file a bug.
> > 
> > Thanks - Joel
> > 
> > db{1}> trace
> > mutex_vector_enter() at netbsd:mutex_vector_enter+0x82
> > intel_rps_mark_interactive() at netbsd:intel_rps_mark_interactive+0x1e
> > intel_prepare_plane_fb() at netbsd:intel_prepare_plane_fb+0x1ab
> > drm_atomic_helper_prepare_planes() at
> > netbsd:drm_atomic_helper_prepare_planes+0x
> > 8f
> > intel_atomic_commit() at netbsd:intel_atomic_commit+0xaf
> > drm_client_modeset_commit_atomic() at
> > netbsd:drm_client_modeset_commit_atomic+0x
> > 1f4
> > drm_client_modeset_commit_force() at
> > netbsd:drm_client_modeset_commit_force+0x4c
> > 
> > drm_fb_helper_restore_fbdev_mode_unlocked() at
> > netbsd:drm_fb_helper_restore_fbde
> > v_mode_unlocked+0x55
> > drmfb_genfb_setmode() at netbsd:drmfb_genfb_setmode+0x17
> > genfb_attach() at netbsd:genfb_attach+0x176
> > drmfb_attach() at netbsd:drmfb_attach+0x22d
> > intelfb_attach_task() at netbsd:intelfb_attach_task+0x4e
> > i915drmkms_attach_real() at netbsd:i915drmkms_attach_real+0xaa
> > config_mountroot_thread() at netbsd:config_mountroot_thread+0x37
> > db{1}>
> > 
> > 
> > > consdev com0,115200
> > Welcome to the NetBSD/amd64 10.0 installation image
> > ===============================================================================
> > 
> > If you encounter a problem while booting, report a bug at
> > https://www.NetBSD.org/.
> > > boot
> > 21288680+782888+1314264 [939258+1396248+1023001]=0x1b34a30
> > [   1.0000000] cpu_rng: rdrand
> > [   1.0000000] entropy: ready
> > [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
> > [   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
> > 2013,
> > [   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022,
> > 2023,
> > [   1.0000000]     2024
> > [   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
> > [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
> > [   1.0000000]     The Regents of the University of California. All
> > rights reserved.
> > 
> > [   1.0000000] NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024
> > [   1.0000000]
> > mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
> > [   1.0000000] total memory = 8101 MB
> > [   1.0000000] avail memory = 7811 MB
> > [   1.0000040] efi: systbl at pa abba9f18
> > [   1.0000040] mainbus0 (root)
> > [   1.0000040] ACPI: RSDP 0x00000000AB4BB000 000024 (v02 ALASKA)
> > [   1.0000040] ACPI: XSDT 0x00000000AB4BB080 00007C (v01 ALASKA A M I   
> > 01072009 AMI  00010013)
> > [   1.0000040] ACPI: FACP 0x00000000AB4C6F18 00010C (v05 ALASKA A M I   
> > 01072009 AMI  00010013)
> > [   1.0000040] ACPI: DSDT 0x00000000AB4BB190 00BD85 (v02 ALASKA A M I   
> > 01072009 INTL 20120913)
> > [   1.0000040] ACPI: FACS 0x00000000AB8A7E80 000040
> > [   1.0000040] ACPI: APIC 0x00000000AB4C7028 000068 (v03 ALASKA A M I   
> > 01072009 AMI  00010013)
> > [   1.0000040] ACPI: FPDT 0x00000000AB4C7090 000044 (v01 ALASKA A M I   
> > 01072009 AMI  00010013)
> > [   1.0000040] ACPI: FIDT 0x00000000AB4C70D8 00009C (v01 ALASKA A M I   
> > 01072009 AMI  00010013)
> > [   1.0000040] ACPI: MCFG 0x00000000AB4C7178 00003C (v01 ALASKA A M I   
> > 01072009 MSFT 00000097)
> > [   1.0000040] ACPI: SSDT 0x00000000AB4C71B8 000763 (v01 PmRef CpuPm   
> > 00003000 INTL 20061109)
> > [   1.0000040] ACPI: SSDT 0x00000000AB4C7920 000290 (v01 PmRef Cpu0Tst 
> > 00003000 INTL 20061109)
> > [   1.0000040] ACPI: SSDT 0x00000000AB4C7BB0 00017A (v01 PmRef ApTst   
> > 00003000 INTL 20061109)
> > [   1.0000040] ACPI: UEFI 0x00000000AB4C7D30 000042 (v01 ALASKA A M I   
> > 00000000      00000000)
> > [   1.0000040] ACPI: LPIT 0x00000000AB4C7D78 000104 (v01 ALASKA A M I   
> > 00000005 MSFT 0100000D)
> > [   1.0000040] ACPI: CSRT 0x00000000AB4C7E80 00014C (v00 INTEL LANFORDC
> > 00000005 MSFT 0100000D)
> > [   1.0000040] ACPI: 4 ACPI AML tables successfully acquired and loaded
> > [   1.0000040] ioapic0 at mainbus0 apid 1
> > [   1.0000040] cpu0 at mainbus0 apid 0
> > [   1.0000040] cpu0: Intel(R) Celeron(R) CPU  J3060  @ 1.60GHz, id 0x406c4
> > [   1.0000040] cpu0: node 0, package 0, core 0, smt 0
> > [   1.0000040] acpi0 at mainbus0: Intel ACPICA 20221020 [139/1047][  
> > 1.0000040] ACPI: Dynamic OEM Table Load:
> > [   1.0000040] ACPI: SSDT 0xFFFFF9D600E19808 0006B8 (v01 PmRef Cpu0Ist 
> > 00003000 INTL 20061109)
> > [   1.0000040] ACPI: Dynamic OEM Table Load:
> > [   1.0000040] ACPI: SSDT 0xFFFFF9D73F14E408 0003A5 (v01 PmRef Cpu0Cst 
> > 00003001 INTL 20061109)
> > [   1.0000040] ACPI: Dynamic OEM Table Load:
> > [   1.0000040] ACPI: SSDT 0xFFFFF9D600E101C8 00015F (v01 PmRef ApIst   
> > 00003000 INTL 20061109)
> > [   1.0000040] ACPI: Dynamic OEM Table Load:
> > [   1.0000040] ACPI: SSDT 0xFFFFF9D600E27348 00008D (v01 PmRef ApCst   
> > 00003000 INTL 20061109)
> > [   1.0000040] acpi0: fixed power button present
> > [   1.0195526] acpiec0 at acpi0 (H_EC, PNP0C09-1): not present
> > [   1.0195526] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
> > [   1.0195526] acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output
> > Device
> > [   1.0195526] acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output
> > Device
> > [   1.0195526] acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output
> > Device
> > [   1.0195526] acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output
> > Device
> > [   1.0195526] acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output
> > Device
> > [   1.0195526] acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output
> > Device
> > [   1.0195526] acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output
> > Device
> > [   1.0195526] acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output
> > Device
> > [   1.0195526] acpiout8 at acpivga0 (DD1F, 0x0400): ACPI Display Output
> > Device
> > [   1.0195526] acpiout9 at acpivga0 (ISP0, 0x22b8): ACPI Display Output
> > Device
> > [   1.0195526] FWHD (INT0800) at acpi0 not configured
> > [   1.0195526] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53
> > irq 0
> > [   1.0195526] com0 at acpi0 (UAR1, PNP0501-0): io 0x3f8-0x3ff irq 4
> > [   1.0195526] com: ns16550a, 16-byte FIFO
> > [   1.0195526] com0: console
> > [   1.0195526] BTH1 (BCM2E64) at acpi0 not configured
> > [   1.0195526] GPS1 (BCM4752) at acpi0 not configured
> > [   1.0195526] SHUB (SMO91D0) at acpi0 not configured
> > [   1.0195526] STRB (INTCF1C) at acpi0 not configured
> > [   1.0195526] acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
> > [   1.0195526] acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
> > [   1.0195526] acpitz0 at acpi0 (TZ01): cpu0 cpu1
> > [   1.0195526] acpitz0: active cooling level 0: 110.0C
> > [   1.0195526] ACPI: Enabled 5 GPEs in block 00 to 3F
> > [   1.0195526] pci0 at mainbus0 bus 0: configuration mode 1
> > [   1.0195526] pchb0 at pci0 dev 0 function 0: Intel Braswell Soc
> > Transaction Router (rev. 0x35)
> > [   1.0195526] i915drmkms0 at pci0 dev 2 function 0: Intel HD Graphics
> > (rev. 0x35)
> > [   1.0195526] ahcisata0 at pci0 dev 19 function 0: Intel Braswell AHCI
> > (rev. 0x35)
> > [   1.0195526] ahcisata0: AHCI revision 1.31, 2 ports, 32 slots, CAP
> > 0xd734ff01<PSC,SSC,PMD,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SMPS,SNCQ,S64A>
> > [   1.0195526] ahcisata0: interrupting at msi0 vec 0
> > [   1.0195526] atabus0 at ahcisata0 channel 0
> > [   1.0195526] atabus1 at ahcisata0 channel 1
> > [   1.0195526] xhci0 at pci0 dev 20 function 0: Intel Braswell xHCI
> > (rev. 0x35)
> > [   1.0195526] xhci0: interrupting at msi1 vec 0
> > [   1.0195526] usb0 at xhci0: USB revision 3.0
> > [   1.0195526] usb1 at xhci0: USB revision 2.0
> > [   1.0195526] Intel Braswell TXE (miscellaneous crypto, revision 0x35)
> > at pci0 dev 26 function 0 not configured
> > [   1.0195526] hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
> > [   1.0195526] hdaudio0: interrupting at msi2 vec 0
> > [   1.0195526] hdaudio0: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
> > [   1.0195526] hdafg0 at hdaudio0: Realtek ALC662
> > [   1.0195526] hdafg0: DAC00 2ch: HP Out [Jack]
> > [   1.0195526] hdafg0: ADC01 2ch: Mic In [Jack]
> > [   1.0195526] hdafg0: 2ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz
> > 192000Hz PCM16 PCM20 PCM24 AC3
> > [   1.0195526] audio0 at hdafg0: playback, capture, full duplex, independent
> > [   1.0195526] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
> > for playback
> > [   1.0195526] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
> > for recording
> > [   1.0195526] spkr0 at audio0: PC Speaker (synthesized) [80/1047][  
> > 1.0195526] wsbell at spkr0 not configured
> > [   1.0195526] hdafg1 at hdaudio0: Intel product 2883
> > [   1.0195526] hdafg1: DP00 8ch: Digital Out [Jack]
> > [   1.0195526] hdafg1: DP01 8ch: Digital Out [Jack]
> > [   1.0195526] hdafg1: DP02 8ch: Digital Out [Jack]
> > [   1.0195526] hdafg1: 8ch/0ch 48000Hz PCM16*
> > [   1.0195526] audio1 at hdafg1: playback, capture, full duplex, independent
> > [   1.0195526] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
> > for playback
> > [   1.0195526] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
> > for recording
> > [   1.0195526] spkr1 at audio1: PC Speaker (synthesized)
> > [   1.0195526] wsbell at spkr1 not configured
> > [   1.0195526] ppb0 at pci0 dev 28 function 0: Intel Braswell PCIe (rev.
> > 0x35)
> > [   1.0195526] ppb0: PCI Express capability version 2 <Root Port of
> > PCI-E Root Complex> x1 @ 2.5GT/s
> > [   1.0195526] pci1 at ppb0 bus 1
> > [   1.0195526] wm0 at pci1 dev 0 function 0: I211 Ethernet (COPPER)
> > (rev. 0x03)
> > [   1.0195526] wm0: for TX and RX interrupting at msix3 vec 0 affinity to 0
> > [   1.0195526] wm0: for TX and RX interrupting at msix3 vec 1 affinity to 1
> > [   1.0195526] wm0: for LINK interrupting at msix3 vec 2
> > [   1.0195526] wm0: Ethernet address 00:e0:67:16:e5:c2
> > [   1.0195526] wm0: Copper
> > [   1.0195526] makphy0 at wm0 phy 1: I210 10/100/1000 media interface, rev. 0
> > [   1.0195526] makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
> > 1000baseT, 1000baseT-FDX, auto
> > [   1.0195526] ppb1 at pci0 dev 28 function 1: Intel Braswell PCIe (rev.
> > 0x35)
> > [   1.0195526] ppb1: PCI Express capability version 2 <Root Port of
> > PCI-E Root Complex> x1 @ 2.5GT/s
> > [   1.0195526] pci2 at ppb1 bus 2
> > [   1.0195526] wm1 at pci2 dev 0 function 0: I211 Ethernet (COPPER)
> > (rev. 0x03)
> > [   1.0195526] wm1: for TX and RX interrupting at msix4 vec 0 affinity to 0
> > [   1.0195526] wm1: for TX and RX interrupting at msix4 vec 1 affinity to 1
> > [   1.0195526] wm1: for LINK interrupting at msix4 vec 2
> > [   1.0195526] wm1: Ethernet address 00:e0:67:16:e5:c3
> > [   1.0195526] wm1: Copper
> > [   1.0195526] makphy1 at wm1 phy 1: I210 10/100/1000 media interface, rev. 0
> > [   1.0195526] makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
> > 1000baseT, 1000baseT-FDX, auto
> > [   1.0195526] pcib0 at pci0 dev 31 function 0: Intel Braswell PCU LPC
> > (rev. 0x35)
> > [   1.0195526] ichsmb0 at pci0 dev 31 function 3: Intel Braswell PCU
> > SMBus (rev. 0x35)
> > [   1.0195526] ichsmb0: interrupting at ioapic0 pin 18
> > [   1.0195526] iic0 at ichsmb0: I2C bus
> > [   1.0195526] isa0 at pcib0
> > [   1.0195526] pcppi0 at isa0 port 0x61
> > [   1.0195526] spkr2 at pcppi0: PC Speaker
> > [   1.0195526] wsbell at spkr2 not configured
> > [   1.0195526] midi0 at pcppi0: PC speaker
> > [   1.0195526] sysbeep0 at pcppi0
> > [   1.0195526] attimer1: attached to pcppi0
> > [   1.0195526] acpicpu0 at cpu0: ACPI CPU
> > [   1.0195526] coretemp0 at cpu0: thermal sensor, 1 C resolution
> > [   1.0195526] acpicpu1 at cpu1: ACPI CPU
> > [   1.0195526] coretemp1 at cpu1: thermal sensor, 1 C resolution
> > [   1.5567094] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000),
> > class 9/0, rev 3.00/1.00, addr 0
> > [   1.5657973] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000),
> > class 9/0, rev 2.00/1.00, addr 0
> > [   1.6657930] ahcisata0 port 0: device present, speed: 6.0Gb/s
> > [   2.0457963] uhub2 at uhub1 port 3: vendor 1a40 (0x1a40) USB 2.0 Hub
> > [MTT] (0x0101), class 9/0, rev 2.00/1.00, addr 1
> > [   2.0557947] uhub2: multiple transaction translators
> > [   2.6657978] ahcisata0 port 1: PHY offline
> > [   2.8157981] umass0 at uhub2 port 1 configuration 1 interface 0
> > [   2.8257984] umass0: SanDisk (0x0781) Ultra (0x5581), rev 2.10/1.00, addr 2
> > [   2.8257984] scsibus0 at umass0: 2 targets, 1 lun per target
> > [   2.8357985] sd0 at scsibus0 target 0 lun 0: <SanDisk, Ultra, 1.00>
> > disk removable
> > [   2.8457988] sd0: 58680 MB, 65535 cyl, 16 head, 63 sec, 512 bytes/sect
> > x 120176640 sectors [21/1047][   2.8658005] dk0 at sd0: "EFI system",
> > 262144 blocks at 2048, type: msdos
> > [   2.8757986] dk1 at sd0: "30c4cc4e-5369-449c-8994-a4b1ea665b4b",
> > 4853760 blocks at 264192, type: ffs
> > [   3.2258002] wd0 at atabus0 drive 0
> > [   3.2258002] wd0: <BIWIN SSD>
> > [   3.2258002] wd0: 119 GB, 248085 cyl, 16 head, 63 sec, 512 bytes/sect
> > x 250069680 sectors
> > [   3.2558002] uhidev0 at uhub2 port 2 configuration 1 interface 0
> > [   3.2672735] uhidev0: SEM (0x1a2c) USB Keyboard (0x506f), rev
> > 1.10/1.11, addr 3, iclass 3/1
> > [   3.2787075] ukbd0 at uhidev0
> > [   3.2787075] wskbd0 at ukbd0 mux 1
> > [   3.2864662] uhidev1 at uhub2 port 2 configuration 1 interface 1
> > [   3.2864662] uhidev1: SEM (0x1a2c) USB Keyboard (0x506f), rev
> > 1.10/1.11, addr 3, iclass 3/0
> > [   3.3012797] uhidev1: 2 report ids
> > [   3.3072211] uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
> > [   3.3072211] uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
> > [   3.7358030] ugen0 at uhub2 port 3
> > [   3.7358030] ugen0: American Power Conversion (0x051d) Back-UPS ES
> > 600M1 FW:928.a8 .D USB FW:a8 (0x0002), rev 2.00/0.90, addr 4
> > [   3.7558028] swwdog0: software watchdog initialized
> > [   3.8158047] boot device: sd0
> > [   3.8158047] root on dk1
> > [   3.8458031] root file system type: ffs
> > [   3.8458031] kern.module.path=/stand/amd64/10.0/modules
> > [   3.8558032] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> > [   3.8694711] [drm] Driver supports precise vblank timestamp query.
> > [   3.8758029] i915drmkms0: interrupting at msi5 vec 0 (i915drmkms0)
> > [   4.1058065] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on
> > minor 0
> > [   4.8958133] intelfb0 at i915drmkms0
> > [   4.8958133] [drm] DRM_I915_DEBUG enabled
> > [   4.8958133] [drm] DRM_I915_DEBUG_GEM enabled
> > [   4.9058086] uvm_fault(0xffffffff8190fb40, 0xfffffffffffff000, 1) -> e
> > [   4.9058086] fatal page fault in supervisor mode
> > [   4.9158083] trap type 6 code 0 rip 0xffffffff80cd8e5f cs 0x8 rflags
> > 0x10202 cr2 0xfffffffffffffff0 ilevel 0 rsp 0xffffbf823a3b7b30
> > [   4.9258084] curlwp 0xfffff9d601353a80 pid 0.197 lowest kstack
> > 0xffffbf823a3b32c0
> > kernel: page fault trap, code=0
> > Stopped in pid 0.197 (system) at netbsd:mutex_vector_enter+0x82: movq
> > 0(%r12),%rax
> > mutex_vector_enter() at netbsd:mutex_vector_enter+0x82
> > intel_rps_mark_interactive() at netbsd:intel_rps_mark_interactive+0x1e
> > intel_prepare_plane_fb() at netbsd:intel_prepare_plane_fb+0x1ab
> > drm_atomic_helper_prepare_planes() at
> > netbsd:drm_atomic_helper_prepare_planes+0x
> > 8f
> > intel_atomic_commit() at netbsd:intel_atomic_commit+0xaf
> > drm_client_modeset_commit_atomic() at
> > netbsd:drm_client_modeset_commit_atomic+0x
> > 1f4
> > drm_client_modeset_commit_force() at
> > netbsd:drm_client_modeset_commit_force+0x4c
> > 
> > drm_fb_helper_restore_fbdev_mode_unlocked() at
> > netbsd:drm_fb_helper_restore_fbde
> > v_mode_unlocked+0x55
> > drmfb_genfb_setmode() at netbsd:drmfb_genfb_setmode+0x17
> > genfb_attach() at netbsd:genfb_attach+0x176
> > drmfb_attach() at netbsd:drmfb_attach+0x22d
> > intelfb_attach_task() at netbsd:intelfb_attach_task+0x4e
> > i915drmkms_attach_real() at netbsd:i915drmkms_attach_real+0xaa
> > config_mountroot_thread() at netbsd:config_mountroot_thread+0x37
> > ds          f00
> > es          923c
> > fs          7b00
> > gs          e008
> > rdi         ffffbf8010a02460
> > rsi         1
> > rbp         ffffbf823a3b7b90
> > rbx         fffff9d601353a80
> > rdx         fffff9d601353a80
> > rcx         fffff9d601353a80
> > rax         0
> > r8          3e8
> > r9          844
> > r10         0
> > r11         0
> > r12         fffffffffffffff0
> > r13         0
> > r14         fffffffffffffff0
> > r15         ffffbf8010a02460
> > rip         ffffffff80cd8e5f    mutex_vector_enter+0x82
> > cs          8
> > rflags      10202
> > rsp         ffffbf823a3b7b30
> > ss          10
> > netbsd:mutex_vector_enter+0x82: movq    0(%r12),%rax
> > db{1}>
> > 


-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
                     http://nunc-et-hic.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index