Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drm-515-kmod 5.15.118_3 panic on STABLE-14/amd64 built 27-Dec-2023 #276

Closed
daemonblade opened this issue Dec 31, 2023 · 3 comments
Closed
Labels
bug Something isn't working i915 i915 related problems

Comments

@daemonblade
Copy link

daemonblade commented Dec 31, 2023

Describe the bug

I'm getting a system panic when kldload i915kms on a version of STABLE-14 refreshed on 27-Dec-2023.

FreeBSD version

FreeBSD stormbringer 14.0-STABLE FreeBSD 14.0-STABLE #0 stable/14-n266056-70025e767f28: Wed Dec 27 09:56:50 NZDT 2023 root@stormbringer:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1400502 1400502

PCI Info

pciconf -lv

hostb0@pci0:0:0:0: class=0x060000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x4660 subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = '12th Gen Core Processor Host Bridge/DRAM Registers'
class = bridge
subclass = HOST-PCI
pcib1@pci0:0:1:0: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 device=0x460d subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = '12th Gen Core Processor PCI Express x16 Controller'
class = bridge
subclass = PCI-PCI
vgapci1@pci0:0:2:0: class=0x038000 rev=0x0c hdr=0x00 vendor=0x8086 device=0x4680 subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'AlderLake-S GT1'
class = display
none0@pci0:0:4:0: class=0x118000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x461d subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'Alder Lake Innovation Platform Framework Processor Participant'
class = dasp
pcib2@pci0:0:6:0: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 device=0x464d subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = '12th Gen Core Processor PCI Express x4 Controller'
class = bridge
subclass = PCI-PCI
none1@pci0:0:8:0: class=0x088000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x464f subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = '12th Gen Core Processor Gaussian & Neural Accelerator'
class = base peripheral
xhci0@pci0:0:20:0: class=0x0c0330 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7ae0 subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller'
class = serial bus
subclass = USB
none2@pci0:0:20:2: class=0x050000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7aa7 subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'Alder Lake-S PCH Shared SRAM'
class = memory
subclass = RAM
ig4iic0@pci0:0:21:0: class=0x0c8000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7acc subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'Alder Lake-S PCH Serial IO I2C Controller'
class = serial bus
none3@pci0:0:22:0: class=0x078000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7ae8 subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'Alder Lake-S PCH HECI Controller'
class = simple comms
none4@pci0:0:22:3: class=0x070002 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7aeb subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
class = simple comms
subclass = UART
ahci0@pci0:0:23:0: class=0x010601 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7ae2 subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'Alder Lake-S PCH SATA Controller [AHCI Mode]'
class = mass storage
subclass = SATA
isab0@pci0:0:31:0: class=0x060100 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7a83 subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-ISA
hdac1@pci0:0:31:3: class=0x040300 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7ad0 subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'Alder Lake-S HD Audio Controller'
class = multimedia
subclass = HDA
ichsmb0@pci0:0:31:4: class=0x0c0500 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7aa3 subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'Alder Lake-S PCH SMBus Controller'
class = serial bus
subclass = SMBus
none5@pci0:0:31:5: class=0x0c8000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7aa4 subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'Alder Lake-S PCH SPI Controller'
class = serial bus
em0@pci0:0:31:6: class=0x020000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x1a1c subvendor=0x1028 subdevice=0x0ac1
vendor = 'Intel Corporation'
device = 'Ethernet Connection (17) I219-LM'
class = network
subclass = ethernet
vgapci0@pci0:1:0:0: class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x1fb2 subvendor=0x10de subdevice=0x1489
vendor = 'NVIDIA Corporation'
device = 'TU117GLM [Quadro T400 Mobile]'
class = display
subclass = VGA
hdac0@pci0:1:0:1: class=0x040300 rev=0xa1 hdr=0x00 vendor=0x10de device=0x10fa subvendor=0x10de subdevice=0x1489
vendor = 'NVIDIA Corporation'
class = multimedia
subclass = HDA
nvme0@pci0:2:0:0: class=0x010802 rev=0x00 hdr=0x00 vendor=0x1c5c device=0x1959 subvendor=0x1c5c subdevice=0x1959
vendor = 'SK hynix'
device = 'Platinum P41/PC801 NVMe Solid State Drive'
class = mass storage
subclass = NVM

DRM KMOD version

drm-515-kmod 5.15.118_3
drm-kmod 20220907_1

To Reproduce

  1. boot
  2. kldload i915kms

Screenshots

Additional context

Some log output:
Dec 28 07:54:47 stormbringer kernel: drmn1: successfully loaded firmware image 'i915/adls_dmc_ver2_01.bin'
Dec 28 07:54:47 stormbringer kernel: drmn1: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
Dec 28 07:54:47 stormbringer kernel: drmn1: successfully loaded firmware image 'i915/tgl_guc_62.0.0.bin'
Dec 28 07:54:47 stormbringer kernel: drmn1: successfully loaded firmware image 'i915/tgl_huc_7.9.3.bin'
Dec 28 07:54:47 stormbringer kernel: drmn1: 0xfffffe01a5568638Vdrmn1: Please file a bug on drm/i915; see https://gitlab.freedeskto
p.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.drmn1: 0xfffffe01a5568698Vdrmn1: 0xfffffe01a55686d8V
Dec 28 07:54:47 stormbringer kernel:
Dec 28 07:54:47 stormbringer kernel: Fatal trap 12: page fault while in kernel mode
Dec 28 07:54:47 stormbringer kernel: cpuid = 8; apic id = 20
Dec 28 07:54:47 stormbringer kernel: fault virtual address = 0x458
Dec 28 07:54:47 stormbringer kernel: fault code = supervisor read data, page not present
Dec 28 07:54:47 stormbringer kernel: instruction pointer = 0x20:0xffffffff80b2167c
Dec 28 07:54:47 stormbringer kernel: stack pointer = 0x28:0xfffffe01a5568560
Dec 28 07:54:47 stormbringer kernel: frame pointer = 0x28:0xfffffe01a55685e0
Dec 28 07:54:47 stormbringer kernel: code segment = base 0x0, limit 0xfffff, type 0x1b
Dec 28 07:54:47 stormbringer kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Dec 28 07:54:47 stormbringer kernel: processor eflags = interrupt enabled, resume, IOPL = 0
Dec 28 07:54:47 stormbringer kernel: current process = 135 (kldload)
Dec 28 07:54:47 stormbringer kernel: rdi: fffffe01a95bcda8 rsi: 0000000000000004 rdx: 0000000000000000
Dec 28 07:54:47 stormbringer kernel: rcx: 0000000000000000 r8: fffff800184d0000 r9: fffff800184d0000
Dec 28 07:54:47 stormbringer kernel: rax: 0000000000000000 rbx: 0000000000000000 rbp: fffffe01a55685e0
Dec 28 07:54:47 stormbringer kernel: r10: 0000000000530020 r11: ffffffffffffa9c7 r12: fffffe01a5568580
Dec 28 07:54:47 stormbringer kernel: r13: fffff800184d0000 r14: 0000000000000000 r15: fffffe01a95bcda8
Dec 28 07:54:47 stormbringer kernel: trap number = 12
Dec 28 07:54:47 stormbringer kernel: panic: page fault
Dec 28 07:54:47 stormbringer kernel: cpuid = 8
Dec 28 07:54:47 stormbringer kernel: time = 1703703168
Dec 28 07:54:47 stormbringer kernel: KDB: stack backtrace:
Dec 28 07:54:47 stormbringer kernel: #0 0xffffffff80b9208d at kdb_backtrace+0x5d
Dec 28 07:54:47 stormbringer kernel: #1 0xffffffff80b45122 at vpanic+0x132
Dec 28 07:54:47 stormbringer kernel: #2 0xffffffff80b44fe3 at panic+0x43
Dec 28 07:54:47 stormbringer kernel: #3 0xffffffff8101294c at trap_fatal+0x40c
Dec 28 07:54:47 stormbringer kernel: #4 0xffffffff8101299f at trap_pfault+0x4f
Dec 28 07:54:47 stormbringer kernel: #5 0xffffffff80fe8dc8 at calltrap+0x8
Dec 28 07:54:47 stormbringer kernel: #6 0xffffffff80dc0d9c at xa_next+0xbc
Dec 28 07:54:47 stormbringer kernel: #7 0xffffffff84335011 at intel_guc_submission_cancel_requests+0x31
Dec 28 07:54:47 stormbringer kernel: #8 0xffffffff8431df59 at __intel_gt_set_wedged+0x389
Dec 28 07:54:47 stormbringer kernel: #9 0xffffffff8431db64 at intel_gt_set_wedged+0x74
Dec 28 07:54:47 stormbringer kernel: #10 0xffffffff84314a73 at intel_gt_resume+0x5f3
Dec 28 07:54:47 stormbringer kernel: #11 0xffffffff84312113 at intel_gt_init+0x213
Dec 28 07:54:47 stormbringer kernel: #12 0xffffffff8420c652 at i915_gem_init+0x92
Dec 28 07:54:47 stormbringer kernel: #13 0xffffffff84208bf6 at i915_driver_probe+0xd56
Dec 28 07:54:47 stormbringer kernel: #14 0xffffffff84219cd0 at i915_pci_probe+0x40
Dec 28 07:54:47 stormbringer kernel: #15 0xffffffff80db4b40 at linux_pci_attach_device+0x420
Dec 28 07:54:47 stormbringer kernel: #16 0xffffffff80b81a7e at device_attach+0x3be
Dec 28 07:54:47 stormbringer kernel: #17 0xffffffff80b837c1 at bus_generic_driver_added+0xa1

@evadot
Copy link
Contributor

evadot commented Jan 5, 2024

Is this a new issue ? Did it worked before ?

@evadot evadot added bug Something isn't working i915 i915 related problems labels Jan 5, 2024
@daemonblade
Copy link
Author

daemonblade commented Jan 5, 2024

I only upgraded to STABLE-14 in the past week or so, and it's the first time I've tried it.
Yesterday, I rebuilt: drm-kmod-20220907_1 and drm-515-kmod-5.15.118_3, and the logs this time are just a bit different:

Jan  4 08:18:34 stormbringer kernel: iic0: <I2C generic I/O> on iicbus0
Jan  4 08:18:34 stormbringer kernel: drmn1: <drmn> on vgapci1
Jan  4 08:18:34 stormbringer kernel: vgapci1: child drmn1 requested pci_enable_io
Jan  4 08:18:34 stormbringer syslogd: last message repeated 1 times
Jan  4 08:18:34 stormbringer kernel: drmn1: [drm] Incompatible option enable_guc=-1 - undocumented flag
Jan  4 08:18:34 stormbringer kernel: [drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
Jan  4 08:18:34 stormbringer kernel: [drm] Got stolen memory base 0x6c800000, size 0x3c00000
Jan  4 08:18:34 stormbringer kernel: lkpi_iic0: <LinuxKPI I2C> on drmn1
Jan  4 08:18:34 stormbringer kernel: iicbus1: <Philips I2C bus> on lkpi_iic0
Jan  4 08:18:34 stormbringer kernel: iic1: <I2C generic I/O> on iicbus1
Jan  4 08:18:34 stormbringer kernel: lkpi_iic1: <LinuxKPI I2C> on drmn1
Jan  4 08:18:34 stormbringer kernel: iicbus2: <Philips I2C bus> on lkpi_iic1
Jan  4 08:18:34 stormbringer kernel: iic2: <I2C generic I/O> on iicbus2
Jan  4 08:18:34 stormbringer kernel: lkpi_iic2: <LinuxKPI I2C> on drmn1
Jan  4 08:18:34 stormbringer kernel: iicbus3: <Philips I2C bus> on lkpi_iic2
Jan  4 08:18:34 stormbringer kernel: iic3: <I2C generic I/O> on iicbus3
Jan  4 08:18:34 stormbringer kernel: lkpi_iic3: <LinuxKPI I2C> on drmn1
Jan  4 08:18:34 stormbringer kernel: iicbus4: <Philips I2C bus> on lkpi_iic3
Jan  4 08:18:34 stormbringer kernel: iic4: <I2C generic I/O> on iicbus4
Jan  4 08:18:34 stormbringer kernel: lkpi_iic4: <LinuxKPI I2C> on drmn1
Jan  4 08:18:34 stormbringer kernel: iicbus5: <Philips I2C bus> on lkpi_iic4
Jan  4 08:18:34 stormbringer kernel: iic5: <I2C generic I/O> on iicbus5
Jan  4 08:18:34 stormbringer kernel: lkpi_iic5: <LinuxKPI I2C> on drmn1
Jan  4 08:18:34 stormbringer kernel: iicbus6: <Philips I2C bus> on lkpi_iic5
Jan  4 08:18:34 stormbringer kernel: iic6: <I2C generic I/O> on iicbus6
Jan  4 08:18:34 stormbringer kernel: lkpi_iic6: <LinuxKPI I2C> on drmn1
Jan  4 08:18:34 stormbringer kernel: iicbus7: <Philips I2C bus> on lkpi_iic6
Jan  4 08:18:34 stormbringer kernel: iic7: <I2C generic I/O> on iicbus7
Jan  4 08:18:34 stormbringer kernel: lkpi_iic7: <LinuxKPI I2C> on drmn1
Jan  4 08:18:34 stormbringer kernel: iicbus8: <Philips I2C bus> on lkpi_iic7
Jan  4 08:18:34 stormbringer kernel: iic8: <I2C generic I/O> on iicbus8
Jan  4 08:18:34 stormbringer kernel: lkpi_iic8: <LinuxKPI I2C> on drmn1
Jan  4 08:18:34 stormbringer kernel: iicbus9: <Philips I2C bus> on lkpi_iic8
Jan  4 08:18:34 stormbringer kernel: iic9: <I2C generic I/O> on iicbus9
Jan  4 08:18:34 stormbringer kernel: drmn1: successfully loaded firmware image 'i915/adls_dmc_ver2_01.bin'
Jan  4 08:18:34 stormbringer kernel: drmn1: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
Jan  4 08:18:34 stormbringer kernel: drmn1: successfully loaded firmware image 'i915/tgl_guc_62.0.0.bin'
Jan  4 08:18:34 stormbringer kernel: drmn1: successfully loaded firmware image 'i915/tgl_huc_7.9.3.bin'
Jan  4 08:19:21 stormbringer syslogd: kernel boot file is /boot/kernel/kernel
Jan  4 08:19:21 stormbringer kernel: [drm ERROR :intel_huc_auth] HuC: Firmware not verified -60
Jan  4 08:19:21 stormbringer kernel: drmn1: 0xfffffe01aa2ce608Vdrmn1: Please file a bug on drm/i915; see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.
Jan  4 08:19:21 stormbringer kernel: 
Jan  4 08:19:21 stormbringer kernel: Fatal trap 12: page fault while in kernel m

@evadot
Copy link
Contributor

evadot commented Nov 12, 2024

So this is a duplicate of #252 and this is fixed with 6.1-lts. Closing this one.

@evadot evadot closed this as completed Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working i915 i915 related problems
Projects
None yet
Development

No branches or pull requests

2 participants