[Bug 266054] panic: page fault in sys/ofed/drivers/infiniband/core/ib_cma.c:1060
Date: Fri, 26 Aug 2022 19:32:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266054 Bug ID: 266054 Summary: panic: page fault in sys/ofed/drivers/infiniband/core/ib_cma.c:1060 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pkubaj@FreeBSD.org I'm on CURRENT on 27c6009e7237597a502521e0255a74164ff6bea7 with our internal irdma driver (newer than in vanilla FreeBSD, but with no other modifications). I do (yes, wrong IP in rping): ifconfig ice0 100.0.0.117/24 rping -svda 100.0.0.116 Instead of the usual error, there is an instant panic after: created cm_id 0x128dd9c99000 The panic is: (kgdb) #0 __curthread () at /usr/237bd1/sys/amd64/include/pcpu_aux.h:59 #1 dump_savectx () at /usr/237bd1/sys/kern/kern_shutdown.c:405 #2 0xffffffff80bf0495 in dumpsys (di=0x0) at /usr/237bd1/sys/x86/include/dump.h:87 #3 doadump (textdump=1) at /usr/237bd1/sys/kern/kern_shutdown.c:434 #4 kern_reboot (howto=260) at /usr/237bd1/sys/kern/kern_shutdown.c:541 #5 0xffffffff80bf08de in vpanic (fmt=<optimized out>, ap=ap@entry=0xfffffe029d759a50) at /usr/237bd1/sys/kern/kern_shutdown.c:979 #6 0xffffffff80bf0643 in panic (fmt=<unavailable>) at /usr/237bd1/sys/kern/kern_shutdown.c:903 #7 0xffffffff81160a29 in trap_fatal (frame=0xfffffe029d759b40, eva=40) at /usr/237bd1/sys/amd64/amd64/trap.c:955 #8 0xffffffff81160adb in trap_pfault (frame=0xfffffe029d759b40, usermode=false, signo=<optimized out>, ucode=<optimized out>) at /usr/237bd1/sys/amd64/amd64/trap.c:763 #9 <signal handler called> #10 0xffffffff80e8de19 in cma_loopback_addr (addr=0xfffffe029d759c78) at /usr/237bd1/sys/ofed/drivers/infiniband/core/ib_cma.c:1060 #11 cma_any_addr (addr=0xfffffe029d759c78) at /usr/237bd1/sys/ofed/drivers/infiniband/core/ib_cma.c:1075 #12 rdma_bind_addr (id=0xfffff80156479c00, addr=addr@entry=0xfffffe029d759c78) at /usr/237bd1/sys/ofed/drivers/infiniband/core/ib_cma.c:3459 #13 0xffffffff80eb179f in ucma_bind_ip (linux_file=0xfffff80127d96380, inbuf=<optimized out>, in_len=<optimized out>, out_len=<optimized out>) at /usr/237bd1/sys/ofed/drivers/infiniband/core/ib_ucma.c:650 #14 0xffffffff80eb0c82 in ucma_write (filp=<optimized out>, buf=<optimized out>, len=48, pos=<optimized out>) at /usr/237bd1/sys/ofed/drivers/infiniband/core/ib_ucma.c:1635 #15 0xffffffff80e66ea7 in linux_file_write (file=0xfffff801220afaf0, uio=0xfffffe029d759da0, active_cred=<optimized out>, flags=<optimized out>, td=<optimized out>) at /usr/237bd1/sys/compat/linuxkpi/common/src/linux_compat.c:1592 #16 0xffffffff80c67001 in fo_write (fp=0xfffff801220afaf0, uio=0xfffffe029d759da0, active_cred=0x74000064061c0210, td=0xfffffe00f35cd720, flags=<optimized out>) at /usr/237bd1/sys/sys/file.h:349 #17 dofilewrite (td=td@entry=0xfffffe00f35cd720, fd=fd@entry=3, fp=0xfffff801220afaf0, auio=auio@entry=0xfffffe029d759da0, offset=offset@entry=-1, flags=flags@entry=0) at /usr/237bd1/sys/kern/sys_generic.c:565 #18 0xffffffff80c66b30 in kern_writev (td=0xfffffe00f35cd720, fd=3, auio=0xfffffe029d759da0) at /usr/237bd1/sys/kern/sys_generic.c:492 #19 sys_write (td=0xfffffe00f35cd720, uap=<optimized out>) at /usr/237bd1/sys/kern/sys_generic.c:407 #20 0xffffffff811613de in syscallenter (td=<optimized out>) at /usr/237bd1/sys/amd64/amd64/../../kern/subr_syscall.c:189 #21 amd64_syscall (td=0xfffffe00f35cd720, traced=0) at /usr/237bd1/sys/amd64/amd64/trap.c:1200 #22 <signal handler called> #23 0x0000128dd91f413a in ?? () which suggests an issue in the OFED code. -- You are receiving this mail because: You are the assignee for the bug.