-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Description
Describe the bug
kernel panic from linux_dump_stack() caused by drm_atomic_helper.c:621 while I was running Firefox and compiling kernel sources.
relevant ports source path graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_2/drivers/gpu/drm/drm_atomic_helper.c:621
Fatal trap 9: general protection fault while in kernel mode
cpuid = 2; apic id = 04
instruction pointer = 0x20:0xffffffff81075b79
stack pointer = 0x28:0xfffffe00d2d63a10
frame pointer = 0x28:0xfffffe00d2d63b60
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 15413 (c++)
trap number = 9
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /wrkdirs/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_2/drivers/gpu/drm/drm_atomic_helper.c:621
#0 0xffffffff80e3acc3 at linux_dump_stack+0x23
#1 0xffffffff82a863c3 at drm_atomic_helper_check_modeset+0xb3
#2 0xffffffff8297eb8d at intel_atomic_check+0x8d
#3 0xffffffff82a85360 at drm_atomic_check_only+0x400
#4 0xffffffff82a85793 at drm_atomic_commit+0x13
#5 0xffffffff82a923b8 at drm_client_modeset_commit_atomic+0x148
#6 0xffffffff82a92119 at drm_client_modeset_commit_force+0x69
#7 0xffffffff82ad253a at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#8 0xffffffff82acc527 at vt_kms_postswitch+0x167
#9 0xffffffff80a622cb at vt_window_switch+0x12b
#10 0xffffffff80a5f36f at vtterm_cngrab+0x4f
#11 0xffffffff80ba06d6 at cngrab+0x16
#12 0xffffffff80c05d6e at vpanic+0xee
#13 0xffffffff80c05c73 at panic+0x43
#14 0xffffffff810850c7 at trap_fatal+0x387
#15 0xffffffff81084577 at trap+0x67
#16 0xffffffff8105b8d8 at calltrap+0x8
#17 0xffffffff80f26a9f at vmspace_exit+0x7f
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /wrkdirs/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_2/drivers/gpu/drm/drm_atomic_helper.c:621
FreeBSD version
I'm running 13.0-STABLE on this laptop.
FreeBSD laptop 13.0-STABLE FreeBSD 13.0-STABLE #4 stable/13-659d71186: Wed Apr 14 00:01:48 IST 2021 sbz@laptop:/usr/obj/usr/src/amd64.amd64/sys/T410 amd64
PCI Info
Not a very recent Graphic controller
pciconf -lv
vgapci0@pci0:0:2:0: class=0x030000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x0046 subvendor=0x17aa subdevice=0x215a
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Graphics Controller'
class = display
subclass = VGA
DRM KMOD version
drm-fbsd13-kmod 5.4.92.g20210202
drm-kmod g20190710_1
To Reproduce
Unsure if it will be possible to reproduce, I was running Firefox and compiling kernel source at the same time and suddenly it raised the panic.
Additional context
Thinkpad T410 running with xorg server xorg-server-1.20.9_3,1 with intel kms I have kld_list="i915kms" in rc.conf
kldstat |grep i915
4 1 0xffffffff82920000 158458 i915kms.ko
dmesg report Intel Ironlake
agp0: <Intel Ironlake (M) SVGA controller> on vgapci0
drmn0: <drmn> on vgapci0
vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 0xf2000000-0xf23fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci1
vgapci0: child drmn0 requested pci_enable_io
drmn0: fb0: i915drmfb frame buffer device
Metadata
Metadata
Assignees
Labels
No labels