Open LekKit opened 4 months ago
UPD: Still happening on FreeBSD 14.1
root@freebsd:~ # kldload if_re
re0: <RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet> mem 0x40000000-0x400000ff irq 7 at device 1.0 on pci0
re0: Chip rev. 0x00800000
re0: MAC rev. 0x00000000
t[0]: 0x0000000000000800
t[1]: 0xffffffc06fe0b28c
t[2]: 0x0a9cefdd868226ea
t[3]: 0xffffffc0003f01fc
t[4]: 0x0a45b27c50c94637
t[5]: 0x639e09a0a6608882
t[6]: 0x5baaff10f28a8661
s[0]: 0xffffffc050c94280
s[1]: 0xffffffd0025ba100
s[2]: 0xffffffc050c942b8
s[3]: 0x0000000000000000
s[4]: 0xffffffd0024b4810
s[5]: 0xffffffc050c94358
s[6]: 0xffffffc00099f9d8
s[7]: 0xffffffc0007e3d08
s[8]: 0xffffffc0686dd138
s[9]: 0xffffffc0686e0130
s[10]: 0xffffffc00070a2d0
s[11]: 0x0000000000000801
a[0]: 0xffffffd0025c1800
a[1]: 0xffffffc050c942b8
a[2]: 0xffffffd0025ba100
a[3]: 0x0000000000000000
a[4]: 0x00000000c0306938
a[5]: 0x0000000000000010
a[6]: 0x0000000000000020
a[7]: 0x0000000000000016
ra: 0xffffffc0003f02ec
sp: 0xffffffc050c94250
gp: 0xffffffc0007e3218
tp: 0xffffffc0009b2700
sepc: 0x0000000000000000
sstatus: 0x0000000a00000120
stval : 0x0000000000000000
panic: Fatal page fault at 0: 0
cpuid = 0
time = 1718785949
KDB: stack backtrace:
#0 0xffffffc000331076 at kdb_backtrace+0x4a
#1 0xffffffc0002ec40c at vpanic+0x10c
#2 0xffffffc0002ec2fc at panic+0x26
#3 0xffffffc00059a1fc at page_fault_handler+0x210
#4 0xffffffc000599930 at do_trap_supervisor+0x52
#5 0xffffffc00058a194 at cpu_exception_handler_supervisor+0x74
#6 0xffffffc0003e7584 at if_ioctl+0xc
#7 0xffffffc0004a3e0c at dump_iface+0x130
#8 0xffffffc0004a3780 at rtnl_handle_ifevent+0x7c
#9 0xffffffc0004a3a86 at rtnl_handle_ifattach+0x48
#10 0xffffffc0003e1256 at if_attach_internal+0x36c
#11 0xffffffc0003e0ede at if_attach+0xe
#12 0xffffffc0003eb92e at ether_ifattach+0x34
#13 0xffffffc06fe06910 at .Lpcrel_hi96+0x46
#14 0xffffffc000321ce2 at device_attach+0x36a
#15 0xffffffc00032195c at device_probe_and_attach+0x3e
#16 0xffffffc000121278 at pci_driver_added+0x102
#17 0xffffffc00031f714 at devclass_driver_added+0x34
Seems related https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275920
Steps to reproduce
root
:root
# kldload if_re
Panic backtrace
``` root@freebsd:~ # kldload if_re re0:Workarounds