13.1-beta2 panic: page fault when utilizing iovctl(8) on ixl(4)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Mar 2022 18:53:56 UTC
Hello, this is most basic 13.1-BETA2 setup, no debug tools yet, just deployed to do a quick ixlv(4) test: Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0x54 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff8111d22b stack pointer = 0x28:0xfffffe0199c27870 frame pointer = 0x28:0xfffffe0199c278b0 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 = 2908 (iovctl) trap number = 12 panic: page fault cpuid = 2 time = 1647885762 KDB: stack backtrace: #0 0xffffffff80c69345 at kdb_backtrace+0x65 #1 0xffffffff80c1b9bf at vpanic+0x17f #2 0xffffffff80c1b833 at panic+0x43 #3 0xffffffff810addf5 at trap_fatal+0x385 #4 0xffffffff810ade4f at trap_pfault+0x4f #5 0xffffffff810851c8 at calltrap+0x8 #6 0xffffffff8111d4c6 at ixl_reconfigure_filters+0x66 #7 0xffffffff8112b177 at ixl_vf_setup_vsi+0x3e7 #8 0xffffffff8112ac84 at ixl_if_iov_vf_add+0x1c4 #9 0xffffffff80d488ed at iflib_device_iov_add_vf+0x8d #10 0xffffffff8086e827 at pci_iov_ioctl+0x1497 #11 0xffffffff80ab4ec6 at devfs_ioctl+0xc6 #12 0xffffffff80d0ccb4 at vn_ioctl+0x1a4 #13 0xffffffff80ab557e at devfs_ioctl_f+0x1e #14 0xffffffff80c8968b at kern_ioctl+0x25b #15 0xffffffff80c89391 at sys_ioctl+0xf1 #16 0xffffffff810ae6ec at amd64_syscall+0x10c #17 0xffffffff81085adb at fast_syscall_common+0xf8 Uptime: 5m8s __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 /usr/src/sys/amd64/include/pcpu_aux.h: No such file or directory. (kgdb) bt #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xffffffff80c1b5bc in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:487 #3 0xffffffff80c1ba2e in vpanic (fmt=0xffffffff811b2ef6 "%s", ap=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:920 #4 0xffffffff80c1b833 in panic (fmt=<unavailable>) at /usr/src/sys/kern/kern_shutdown.c:844 #5 0xffffffff810addf5 in trap_fatal (frame=0xfffffe019663a7b0, eva=84) at /usr/src/sys/amd64/amd64/trap.c:944 #6 0xffffffff810ade4f in trap_pfault (frame=0xfffffe019663a7b0, usermode=false, signo=<optimized out>, ucode=<optimized out>) at /usr/src/sys/amd64/amd64/trap.c:763 #7 <signal handler called> #8 0xffffffff8111d22b in ixl_add_filter (vsi=vsi@entry=0xfffff802cf4d7800, macaddr=macaddr@entry=0x54 <error: Cannot access memory at address 0x54>, vlan=vlan@entry=-1) at /usr/src/sys/dev/ixl/ixl_pf_main.c:1147 #9 0xffffffff8111d4c6 in ixl_reconfigure_filters (vsi=vsi@entry=0xfffff802cf4d7800) at /usr/src/sys/dev/ixl/ixl_pf_main.c:1118 #10 0xffffffff8112b177 in ixl_vf_setup_vsi (pf=pf@entry=0xfffffe015a672000, vf=vf@entry=0xfffff802cf4d7800) at /usr/src/sys/dev/ixl/ixl_pf_iov.c:218 #11 0xffffffff8112ac84 in ixl_if_iov_vf_add (ctx=<optimized out>, vfnum=0, params=0xfffff80003748840) at /usr/src/sys/dev/ixl/ixl_pf_iov.c:1799 #12 0xffffffff80d488ed in IFDI_IOV_VF_ADD (_ctx=0xfffff800031fec00, num_vfs=0, params=0xfffff80003748840) at ./ifdi_if.h:479 #13 iflib_device_iov_add_vf (dev=<optimized out>, vfnum=0, params=0xfffff80003748840) at /usr/src/sys/net/iflib.c:5684 #14 0xffffffff8086e827 in PCI_IOV_ADD_VF (dev=0xfffff80003404500, vfnum=0, config=0xfffff80003748840) at ./pci_iov_if.h:60 #15 pci_iov_enumerate_vfs (dinfo=0xfffff80003748840, config=0xfffff802cf91a8c0, first_rid=46352, rid_stride=1) at /usr/src/sys/dev/pci/pci_iov.c:665 #16 pci_iov_config (cdev=<optimized out>, arg=<optimized out>) at /usr/src/sys/dev/pci/pci_iov.c:761 #17 pci_iov_ioctl (dev=<optimized out>, cmd=<optimized out>, data=<optimized out>, fflag=<optimized out>, td=<optimized out>) at /usr/src/sys/dev/pci/pci_iov.c:986 #18 0xffffffff80ab4ec6 in devfs_ioctl (ap=0xfffffe019663abb8) at /usr/src/sys/fs/devfs/devfs_vnops.c:944 #19 0xffffffff80d0ccb4 in vn_ioctl (fp=0xfffff802cf4b1550, com=0, data=0xfffffe019663ad50, active_cred=0xfffff809308f2d00, td=0x0) at /usr/src/sys/kern/vfs_vnops.c:1694 #20 0xffffffff80ab557e in devfs_ioctl_f (fp=0xfffff80003404500, com=0, data=0xffffffff, cred=0xffffffff81250496, td=0xfffffe0162e42ac0) at /usr/src/sys/fs/devfs/devfs_vnops.c:875 #21 0xffffffff80c8968b in fo_ioctl (fp=0xfffff802cf4b1550, com=<optimized out>, data=0xffffffff, active_cred=0xffffffff81250496, td=0xfffffe0162e42ac0) at /usr/src/sys/sys/file.h:360 #22 kern_ioctl (td=0x0, fd=3, com=com@entry=2148560906, data=0xffffffff <error: Cannot access memory at address 0xffffffff>, data@entry=0xfffffe019663ad50 "") at /usr/src/sys/kern/sys_generic.c:803 #23 0xffffffff80c89391 in sys_ioctl (td=<optimized out>, uap=0xfffffe0162e42ea8) at /usr/src/sys/kern/sys_generic.c:711 #24 0xffffffff810ae6ec in syscallenter (td=0xfffffe0162e42ac0) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:189 #25 amd64_syscall (td=0xfffffe0162e42ac0, traced=0) at /usr/src/sys/amd64/amd64/trap.c:1185 #26 <signal handler called> #27 0x000000080121b8ca in ?? () Backtrace stopped: Cannot access memory at address 0x7fffffffea48 ixl0@pci0:181:0:0: class=0x020000 rev=0x04 hdr=0x00 vendor=0x8086 device=0x37d2 subvendor=0x15d9 subdevice=0x37d2 vendor = 'Intel Corporation' device = 'Ethernet Connection X722 for 10GBASE-T' class = network subclass = ethernet cat /etc/iovctl.conf PF { device : "ixl0"; num_vfs : 1; } DEFAULT { passthrough : true; } VF-0 { mac-addr : "02:56:48:7e:d9:f7"; } Any help/hints highly appreciated! -harry