[Bug 272416] Seldom crash happening with RTL8125

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Dec 2023 02:57:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272416

Mina Galić <freebsd@igalic.co> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd@igalic.co

--- Comment #4 from Mina Galić <freebsd@igalic.co> ---
I've set the attachment type to text/plain, and as far as I can see, it looks
the same as the previous crash, so let's extract the most important part:

Fatal trap 12: page fault while in kernel mode
cpuid = 16; apic id = 10
fault virtual address   = 0x10007
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80c686e0
stack pointer           = 0x28:0xfffffe015f114d30
frame pointer           = 0x28:0xfffffe015f114d80
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         = 0 (re0 taskq)
rdi: 0000000000000000 rsi: 00000000040003f4 rdx: 00000000ffffffff
rcx: 0000000000000001  r8: 0000000000000403  r9: 0000000000000403
rax: 0000000000000000 rbx: 000000000000ffff rbp: fffffe015f114d80
r10: 00000000000100a4 r11: 00000000000072c3 r12: 0000000000008803
r13: 000000000000ffff r14: fffffe015ecb9c80 r15: 0000000000000000
trap number             = 12
panic: page fault
cpuid = 16
time = 1702262468
KDB: stack backtrace:
#0 0xffffffff80b9002d at kdb_backtrace+0x5d
#1 0xffffffff80b43132 at vpanic+0x132
#2 0xffffffff80b42ff3 at panic+0x43
#3 0xffffffff8100c85c at trap_fatal+0x40c
#4 0xffffffff8100c8af at trap_pfault+0x4f
#5 0xffffffff80fe39c8 at calltrap+0x8
#6 0xffffffff8253edd0 at re_rxeof+0x2c0
#7 0xffffffff8252f87a at re_int_task_8125+0xba
#8 0xffffffff80ba5922 at taskqueue_run_locked+0x182
#9 0xffffffff80ba6bb2 at taskqueue_thread_loop+0xc2
#10 0xffffffff80afdb0f at fork_exit+0x7f
#11 0xffffffff80fe4a2e at fork_trampoline+0xe
Uptime: 38s
Dumping 2707 out of 65221 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%

__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57
57              __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct
pcpu,
(kgdb) #0  __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57
#1  doadump (textdump=<optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:405
#2  0xffffffff80b42cc7 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:526
#3  0xffffffff80b4319f in vpanic (fmt=0xffffffff81136b3b "%s", 
    ap=ap@entry=0xfffffe015f114b80) at /usr/src/sys/kern/kern_shutdown.c:970
#4  0xffffffff80b42ff3 in panic (fmt=<unavailable>)
    at /usr/src/sys/kern/kern_shutdown.c:894
#5  0xffffffff8100c85c in trap_fatal (frame=0xfffffe015f114c70, eva=65543)
    at /usr/src/sys/amd64/amd64/trap.c:952
#6  0xffffffff8100c8af in trap_pfault (frame=0xfffffe015f114c70, 
    usermode=false, signo=<optimized out>, ucode=<optimized out>)
    at /usr/src/sys/amd64/amd64/trap.c:760
#7  <signal handler called>
#8  ether_input (ifp=<optimized out>, m=0xffff)
    at /usr/src/sys/net/if_ethersubr.c:849
#9  0xffffffff8253edd0 in re_rxeof () from /boot/modules/if_re.ko
#10 0xffffffff8252f87a in re_int_task_8125 () from /boot/modules/if_re.ko
#11 0xffffffff80ba5922 in taskqueue_run_locked (queue=0xfffffe006ba84168, 
    queue@entry=0xfffff800025df700) at /usr/src/sys/kern/subr_taskqueue.c:512
#12 0xffffffff80ba6bb2 in taskqueue_thread_loop (
    arg=arg@entry=0xfffffe006ba84238)
    at /usr/src/sys/kern/subr_taskqueue.c:824
#13 0xffffffff80afdb0f in fork_exit (
    callout=0xffffffff80ba6af0 <taskqueue_thread_loop>, 
    arg=0xfffffe006ba84238, frame=0xfffffe015f114f40)
    at /usr/src/sys/kern/kern_fork.c:1160
#14 <signal handler called>
#15 0x3b1daa5d375daa59 in ?? ()
Backtrace stopped: Cannot access memory at address 0x9c2a3111906a3115
(kgdb)

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