On 2022/02/04 01:26, Claudio Miranda wrote: > Hello, > > As of the OpenBSD 7.0-current snapshot from 2022-02-02, I've been getting a > kernel panic on boot when it tries to load inteldrm0. The system is a Dell > Latitude E6410 laptop with a Core i5-520M and Intel HD Graphics. Below is the > dmesg.boot output which inludes the panic and trace from ddb.
This is likely fixed by a commit from shortly after that snapshot was built. Wait for a new snapshot, or build your own from a source checkout. > OpenBSD 7.0-current (GENERIC.MP) #307: Thu Feb 3 15:15:42 MST 2022 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP .. > inteldrm0: msi, IRONLAKE, gen 5 > uvm_fault(0xffffffff822fb4c0, 0x40, 0, 1) -> e > kernel: page fault trap, code=0 > Stopped at gen3_stolen_size+0x1b: movq 0x40(%rax),%rdi > TID PID UID PRFLAGS PFLAGS CPU COMMAND > > * 0 0 0 0x10000 0x200 0K swapper > > gen3_stolen_size(ffff800000111000,ffff800000111000,4de144a071cb0374,de000005,10,ffffffff826f8940) > at gen3_stolen_size+0x1b > intel_init_stolen_res(ffff800000111000,ffff800000111000,212038c56f97838a,ffff800000111024,ffff800000111000,ffff800000111930) > at intel_init_stolen_res+0xf9 > inteldrm_attach(ffff8000000e9c00,ffff800000111000,ffffffff826f8a90,ffff8000000e9c00,ffff8000000e9c00,ffffffff826f8a90) > at inteldrm_attach+0x37e > config_attach(ffff8000000e9c00,ffffffff82294ec0,ffffffff826f8a90,ffffffff8166e640,26a9b2207f566041,80001000) > at config_attach+0x1f4 > pci_probe_device(ffff8000000e9c00,80001000,0,0,d03cbfc83c46c518,0) at > pci_probe_device+0x4e0 > pci_enumerate_bus(ffff8000000e9c00,0,0,ffff8000000e9c00,3cc3ddf0a79f6dda,ffff80000002c180) > at pci_enumerate_bus+0x139 > config_attach(ffff80000002c180,ffffffff82292b18,ffffffff826f8c98,ffffffff8168c020,26a9b2207f5833cd,ffff8000000e9900) > at config_attach+0x1f4 > acpipci_attach_bus(ffff80000002c180,ffff8000000e9900,7fed778b7f825bf1,0,ffff80000002c180,ffffffff8227dbd0) > at acpipci_attach_bus+0x1ac > acpipci_attach_busses(ffff80000002c180,ffff80000002c180,aeed7bb616cd44cb,ffffffff826f8db8,ffff80000002c180,0) > at acpipci_attach_busses+0x5d > mainbus_attach(0,ffff80000002c180,0,0,aecdc77f778cabb1,0) at > mainbus_attach+0x1c3 > config_attach(0,ffffffff82292648,0,0,26a9b2207f483722,0) at > config_attach+0x1f4 > cpu_configure(db938d4bcb1fe700,0,0,ffff80000002d000,ffffffff8178bb13,ffffffff826f8f00) > at cpu_configure+0x33 > main(0,0,0,0,1,1) at main+0x3a3 > end trace frame: 0x0, count: 2 > https://www.openbsd.org/ddb.html describes the minimum info required in bug > reports. Insufficient info makes it difficult to find and fix bugs. > ddb{0}> *cpu0: uvm_fault(0xffffffff822fb4c0, 0x40, 0, 1) -> e > ddb{0}> > gen3_stolen_size(ffff800000111000,ffff800000111000,4de144a071cb0374,de000005,10,ffffffff826f8940) > at gen3_stolen_size+0x1b > intel_init_stolen_res(ffff800000111000,ffff800000111000,212038c56f97838a,ffff800000111024,ffff800000111000,ffff800000111930) > at intel_init_stolen_res+0xf9 > inteldrm_attach(ffff8000000e9c00,ffff800000111000,ffffffff826f8a90,ffff8000000e9c00,ffff8000000e9c00,ffffffff826f8a90) > at inteldrm_attach+0x37e > config_attach(ffff8000000e9c00,ffffffff82294ec0,ffffffff826f8a90,ffffffff8166e640,26a9b2207f566041,80001000) > at config_attach+0x1f4 > pci_probe_device(ffff8000000e9c00,80001000,0,0,d03cbfc83c46c518,0) at > pci_probe_device+0x4e0 > pci_enumerate_bus(ffff8000000e9c00,0,0,ffff8000000e9c00,3cc3ddf0a79f6dda,ffff80000002c180) > at pci_enumerate_bus+0x139 > config_attach(ffff80000002c180,ffffffff82292b18,ffffffff826f8c98,ffffffff8168c020,26a9b2207f5833cd,ffff8000000e9900) > at config_attach+0x1f4 > acpipci_attach_bus(ffff80000002c180,ffff8000000e9900,7fed778b7f825bf1,0,ffff80000002c180,ffffffff8227dbd0) > at acpipci_attach_bus+0x1ac > acpipci_attach_busses(ffff80000002c180,ffff80000002c180,aeed7bb616cd44cb,ffffffff826f8db8,ffff80000002c180,0) > at acpipci_attach_busses+0x5d > mainbus_attach(0,ffff80000002c180,0,0,aecdc77f778cabb1,0) at > mainbus_attach+0x1c3 > config_attach(0,ffffffff82292648,0,0,26a9b2207f483722,0) at > config_attach+0x1f4 > cpu_configure(db938d4bcb1fe700,0,0,ffff80000002d000,ffffffff8178bb13,ffffffff826f8f00) > at cpu_configure+0x33 > main(0,0,0,0,1,1) at main+0x3a3 > end trace frame: 0x0, count: -13