[Bug 292879] kernel module if_rge crashes on loading

[email protected] Mon, 02 Feb 2026 07:56:09 +0000
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292879

            Bug ID: 292879
           Summary: kernel module if_rge crashes on loading
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: [email protected]
          Reporter: [email protected]

arm64 -- 
uname -a
FreeBSD orange.smallcatbrain.com 16.0-CURRENT FreeBSD 16.0-CURRENT #0
main-d78cbf483fe7: Sun Feb  1 13:50:58 EET 2026    
[email protected]:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-NODEBUG
arm64

uname -K
1600011

during load of kernel module: if_rge system crashes

Also:  /net/realtek-rge-kmod/   crashes
See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275882

Autoloading module: if_rge
rge0: <RTL8125> mem 0xf3000000-0xf300ffff,0xf3010000-0xf3013fff at device 0.0
on pci2
rge0: [ERR] rge_attach: failed to allocate MSI
Fatal data abort:
  x0: 0x0000000000000000
  x1: 0xffff000130ae8000
  x2: 0x0000000000000400
  x3: 0x00000000e0560002
  x4: 0x0000000000000003
  x5: 0x0000000000000050
  x6: 0xffff00000058da7c (kvprintf + 0x440)
  x7: 0x0000000000000000
  x8: 0x0000000000000000
  x9: 0x0000000000000000
 x10: 0xffff000130ae8000
 x11: 0x00000000051eb850
 x12: 0x0000000000000001
 x13: 0x0000000000000000
 x14: 0x0000000000000000
 x15: 0x0000000000000000
 x16: 0xffff0001452bc998 (__stop_set_sysinit_set + 0x430)
 x17: 0xffff00000068d5c4 (if_setdrvflagbits + 0x0)
 x18: 0xffff00004330a000 (crypto_dev + 0x419a53f0)
 x19: 0xffffa00114b94800
 x20: 0xffffa00101a25a00
 x21: 0x0000000000000000
 x22: 0xffff000145452000 ($d + 0x1955a0)
 x23: 0xffff000000e7c0ef (lockstat_enabled + 0x0)
 x24: 0xffffa00114b948e0
 x25: 0xffff000000b695e8 (do_execve.fexecv_proc_title + 0x7f1c3)
 x26: 0xffff000000ae0693 (notify.prefix + 0x2db4c)
 x27: 0xffffa001072deb90
 x28: 0x0000000000000000
 x29: 0xffff0000fb1072f0 (crypto_dev + 0xf97a26e0)
  sp: 0xffff0000fb1072f0
  lr: 0xffff00014528e808 (rge_detach + 0x288)
 elr: 0xffff000145291cd8 (rge_freemem + 0x2c)
spsr: 0x0000000060400009
 far: 0x0000000000000000
 esr: 0x0000000096000004
panic: vm_fault failed: 0xffff000145291cd8 error 1
cpuid = 5
time = 1770022348
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x38
vpanic() at vpanic+0x1a0
panic() at panic+0x48
data_abort() at data_abort+0x268
handle_el1h_sync() at handle_el1h_sync+0x18
--- exception, esr 0x96000004
rge_freemem() at rge_freemem+0x2c
rge_detach() at rge_detach+0x284
rge_attach() at rge_attach+0x2c0
device_attach() at device_attach+0x468
pci_driver_added() at pci_driver_added+0x110
devclass_driver_added() at devclass_driver_added+0x48
device_do_deferred_actions() at device_do_deferred_actions+0x74
devctl2_ioctl() at devctl2_ioctl+0x284
devfs_ioctl() at devfs_ioctl+0xf4
vn_ioctl() at vn_ioctl+0xc8
devfs_ioctl_f() at devfs_ioctl_f+0x24
kern_ioctl() at kern_ioctl+0x2a4
sys_ioctl() at sys_ioctl+0x144
do_el0_sync() at do_el0_sync+0x720
handle_el0_sync() at handle_el0_sync+0x4c
--- exception, esr 0x56000000
KDB: enter: panic
[ thread pid 173 tid 100367 ]
Stopped at      kdb_enter+0x48: str     xzr, [x19, #640]
db>

-- 
You are receiving this mail because:
You are the assignee for the bug.