Date: Thu, 14 Jul 2022 07:12:11 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265207] SR-IOV: ifconfig segfault with VF interface Message-ID: <bug-265207-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265207 Bug ID: 265207 Summary: SR-IOV: ifconfig segfault with VF interface Product: Base System Version: 13.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: benoitc@enki-multimedia.eu kerlel is crashing when running the command `ifconfig-vm' over a VF interfa= ce with `passtrough =3D false`. I have an HPE branded 2x25G qlogic card (HPE Eth 1G 2p 368i/10G 2p 568FLR-MMSFP+ Adptr 866467-B21) which support SR-IOV. I have enabled it usi= ng the following configuration below. I confirmed SR-IOV is enabled. and the interface ql2 is set up. Crash: ``` # ifconfig -vm ql2 ql2: flags=3D8843< Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 02 fault virtual address =3D 0x30 fault code =3D supervisor write data, page not present instruction pointer =3D 0x20:0xffffffff82376bb9 stack pointer =3D 0x28:0xfffffe02152d4b70 frame pointer =3D 0x28:0xfffffe02152d4b70 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current proUP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM= ,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO> cacess =3D 47292 (ifconfig) trap number =3D 12 panic: page fault cpuid =3D 2 time =3D 1657782022 KDB: stack backtrace: #0 0xffffffff80c69465 at kdb_backtrace+0x65 #1 0xffffffff80c1bb1f at vpanic+0x17f #2 0xffffffff80c1b993 at panic+0x43 #3 0xffffffff810afdf5 at trap_fatal+0x385 #4 0xffffffff810afe4f at trap_pfault+0x4f #5 0xffffffff81087528 at calltrap+0x8 #6 0xffffffff82376a13 at ecore_ptt_acquire+0x83 #7 0xffffffff823b02f3 at qlnx_ioctl+0x583 #8 0xffffffff80d325e7 at ifioctl+0x407 #9 0xffffffff80c897cb at kern_ioctl+0x25b #10 0xffffffff80c894d1 at sys_ioctl+0xf1 #11 0xffffffff810b06ec at amd64_syscall+0x10c #12 0xffffffff81087e3b at fast_syscall_common+0xf8 Uptime: 7m33s ``` /etc/iov/ql0.conf ``` PF { device: "ql0"; num_vfs: 8; } DEFAULT { passthrough: true; allow-set-mac: true; allow-promisc: true; } VF-0 { passthrough: false; mac-addr: "1e:4f:d8:c5:92:ab"; } ``` --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265207-227>