Bug 271391 - graphics/drm-510-kmod: i915kms kernel panic with HD 530 on i386
Summary: graphics/drm-510-kmod: i915kms kernel panic with HD 530 on i386
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Some People
Assignee: freebsd-x11 (Nobody)
URL: https://www.freshports.org/graphics/d...
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2023-05-13 16:17 UTC by daeron
Modified: 2023-05-20 00:52 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daeron 2023-05-13 16:17:15 UTC
i915kms panics freezing machine, 13.2-RELEASE
- Have two Lenovo ThinkCentre Intel(R) Core(TM) i5-6400T CPU with HD 530 graphics.

Loaded from boot same
Loaded from rc.conf same
Loaded from first line in rc.conf same
Loaded manually by kldload same but does display partial report, such as:

drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 02
fault virtual address = 0x2147b000
fault code            = supervisor write data, reserved bits in PTE
instruction pointer   = 0x20:0x1434820
stack pointer         = 0x28:0x2e5165b0
frame pointer         = 0x28:0x2e5165bc
code segment          = base rx0, limit 0xfffff, type 0x1b
                      = DPL 0, pres 1, def32 1, gran 1
processor eflags      = interrupt enabled, resume, IOPL = 0
current process       = 1252 (kldload)
trap number           = 12
panic: page fault
cpuid = 1
time = 1683991363
KDB: stack backtrace:
#0 0x10704bf at kdb_backtrace+0x4f
#1 0x1028ab4 at vpanic+0xf4
#2 0x10289b4 at panic+0x14
#3 0x142ea36 at trap_fatal+0x346
#4 0x142ea70 at trap_pfault+0x30
#5 0x142e081 at trap+0x2a1
#6 0xffc0321f at dma_fence_stub+0xd0544e6b
#7 0x28 at ll+0x7
Comment 1 O. Hartmann 2023-05-15 15:23:05 UTC
Similar problem here with 13-STABLE (FreeBSD 13.2-STABLE #8 stable/13-n255361-b1e09025dfdb: Sun May 14 12:14:09 CEST 2023 amd64), hardware Lenovo T560 with i7-6600 CPU und HD 520 iGPU (PU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (2807.99-MHz K8-class CPU, 16 GiB RAM). I have no coredump so far, although configured to drop into gdb, the notebook reboots - without any trace.
Firmware/BIOS latest available installed.

In my case the crash is triggered when starting windowmaker windowmanager. Using another WM, say twm or blackbox, mitigates the problem until starting memory consuming applications like firefox, claws-mail or other clients. Just in case this might help.
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2023-05-19 23:16:10 UTC
(In reply to O. Hartmann from comment #1)

> amd64

Better keep that separate from this i386 report, at least for now. 

Check <https://github.com/freebsd/drm-kmod/issues> before adding to Bugzilla. 

Thanks
Comment 3 daeron 2023-05-20 00:52:21 UTC
clarifying it is 
  FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC i386
 that panics / dies whenever attempting to load i915kms