From owner-freebsd-bugs@freebsd.org Thu Feb 14 04:58:19 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A10C714E9D75 for ; Thu, 14 Feb 2019 04:58:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 37B698F314 for ; Thu, 14 Feb 2019 04:58:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EBD9514E9D73; Thu, 14 Feb 2019 04:58:18 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C44B414E9D72 for ; Thu, 14 Feb 2019 04:58:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A2418F313 for ; Thu, 14 Feb 2019 04:58:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6D20319F3D for ; Thu, 14 Feb 2019 04:58:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1E4wHBF074608 for ; Thu, 14 Feb 2019 04:58:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1E4wHr8074606 for bugs@FreeBSD.org; Thu, 14 Feb 2019 04:58:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 235730] Kernel panic on CURRENT-amd64 with ixl - possibly caused by r344062 Date: Thu, 14 Feb 2019 04:58:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jeffrey.e.pieper@intel.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2019 04:58:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235730 Bug ID: 235730 Summary: Kernel panic on CURRENT-amd64 with ixl - possibly caused by r344062 Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: jeffrey.e.pieper@intel.com Created attachment 202007 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202007&action= =3Dedit ixl panic fix The ixl driver panics at attach with GENERIC: Unread portion of the kernel message buffer: ixl0: mem 0xa1000000-0xa1ffffff,0xa3018000-0xa301ffff at device 0.0 numa-domain 0 on = pci6 ixl0: fw 3.1.52953 api 1.5 nvm 3.04 etid 800008c9 oem 1.262.0 ixl0: PF-ID[0]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, MDIO shared ixl0: Using 1024 tx descriptors and 1024 rx descriptors ixl0: queue equality override not set, capping rx_queues at 28 and tx_queue= s at 28 ixl0: Using 28 rx queues 28 tx queues ixl0: Using MSI-X interrupts with 29 vectors panic: Assertion tid >=3D 0 failed at /diskless/os/FreeBSD/13.0-CURRENT_latest/usr/src/sys/net/iflib.c:5652 cpuid =3D 43 time =3D 1550084681 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00e8552= 750 vpanic() at vpanic+0x1b4/frame 0xfffffe00e85527b0 panic() at panic+0x43/frame 0xfffffe00e8552810 iflib_irq_set_affinity() at iflib_irq_set_affinity+0x437/frame 0xfffffe00e85528c0 iflib_softirq_alloc_generic() at iflib_softirq_alloc_generic+0xd1/frame 0xfffffe00e8552910 ixl_if_msix_intr_assign() at ixl_if_msix_intr_assign+0xf2/frame 0xfffffe00e8552980 iflib_device_register() at iflib_device_register+0x972/frame 0xfffffe00e855= 2ce0 iflib_device_attach() at iflib_device_attach+0xb7/frame 0xfffffe00e8552d10 device_attach() at device_attach+0x3ea/frame 0xfffffe00e8552d50 device_probe_and_attach() at device_probe_and_attach+0x71/frame 0xfffffe00e8552d80 pci_driver_added() at pci_driver_added+0xe6/frame 0xfffffe00e8552dc0 devclass_driver_added() at devclass_driver_added+0x7a/frame 0xfffffe00e8552= e00 devclass_add_driver() at devclass_add_driver+0x189/frame 0xfffffe00e8552e40 module_register_init() at module_register_init+0xc0/frame 0xfffffe00e8552e70 linker_load_module() at linker_load_module+0xb78/frame 0xfffffe00e8553190 kern_kldload() at kern_kldload+0xef/frame 0xfffffe00e85531e0 sys_kldload() at sys_kldload+0x5b/frame 0xfffffe00e8553210 amd64_syscall() at amd64_syscall+0x276/frame 0xfffffe00e8553330 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe00e8553330 --- syscall (304, FreeBSD ELF64, sys_kldload), rip =3D 0x8002dc96a, rsp =3D 0x7fffffffe3d8, rbp =3D 0x7fffffffe950 --- KDB: enter: panic cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1406 1406 CPU_SET_ATOMIC(cpu, &stopped_cpus); (kgdb)=20 This is possibly due to r344062, which touched the iflib taskqueue code. We= do not see this with GENERIC-NODEBUG. Attached is a possible fix thanks to erj. --=20 You are receiving this mail because: You are the assignee for the bug.=