From owner-freebsd-amd64@freebsd.org Sat Mar 19 12:25:01 2016 Return-Path: Delivered-To: freebsd-amd64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 831C2AD49B5 for ; Sat, 19 Mar 2016 12:25:01 +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 mx1.freebsd.org (Postfix) with ESMTPS id 680D21D1B for ; Sat, 19 Mar 2016 12:25:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2JCP1Lt020102 for ; Sat, 19 Mar 2016 12:25:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 208136] kldunload if_cxgbe causes kernel panic Date: Sat, 19 Mar 2016 12:25:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: nonesuch@longcount.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 cc 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-Mailman-Approved-At: Sat, 19 Mar 2016 12:47:13 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2016 12:25:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208136 Bug ID: 208136 Summary: kldunload if_cxgbe causes kernel panic Product: Base System Version: 10.3-BETA2 Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: nonesuch@longcount.org CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org On a clean install of FreeBSD 10.3-RC2 (GENERIC) #0 r296632: Fri Mar 11 03:33:10 UTC 2016 . I loaded the cxgbe -- Chelsio T4 and T5 driver. root@ny4:~ # kldload if_cxgbe t4nex0: mem 0xc8880000-0xc88bffff,0xc8000000-0xc87fffff,0xc89c4000-0xc89c5fff irq 50 at device 0.4 on pci129 cxgbe0: on t4nex0 cxgbe0: Ethernet address: 00:07:43:13:56:80 cxgbe0: 16 txq, 8 rxq (NIC); 8 txq, 2 rxq (TOE) cxgbe1: on t4nex0 cxgbe1: Ethernet address: 00:07:43:13:56:88 cxgbe1: 16 txq, 8 rxq (NIC); 8 txq, 2 rxq (TOE) t4nex0: PCIe gen2 x8, 2 ports, 22 MSI-X interrupts, 71 eq, 21 iq I then uploaded it=20 root@ny4:~ # kldunload if_cxgbe Fatal trap 12: page fault while in kernel mode cpuid =3D 24; apic id =3D 18 fault virtual address =3D 0x378 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80936ae0 stack pointer =3D 0x28:0xfffffe201e227630 frame pointer =3D 0x28:0xfffffe201e2276b0 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 process =3D 1573 (kldunload) trap number =3D 12 panic: page fault cpuid =3D 24 KDB: stack backtrace: #0 0xffffffff8098e360 at kdb_backtrace+0x60 #1 0xffffffff80951066 at vpanic+0x126 #2 0xffffffff80950f33 at panic+0x43 #3 0xffffffff80d55f4b at trap_fatal+0x36b #4 0xffffffff80d5624d at trap_pfault+0x2ed #5 0xffffffff80d558ca at trap+0x47a #6 0xffffffff80d3b8a2 at calltrap+0x8 #7 0xffffffff8093691e at __mtx_lock_flags+0x5e #8 0xffffffff81e1f4c6 at cxgbe_uninit_synchronized+0xa6 #9 0xffffffff81e1f3af at cxgbe_detach+0x15f #10 0xffffffff80983032 at device_detach+0x52 #11 0xffffffff80985708 at bus_generic_detach+0x28 #12 0xffffffff81e26119 at t4_detach+0x49 #13 0xffffffff80983032 at device_detach+0x52 #14 0xffffffff8098288b at devclass_driver_deleted+0x6b #15 0xffffffff809827af at devclass_delete_driver+0x7f #16 0xffffffff809873e3 at driver_module_handler+0x43 #17 0xffffffff80935c8e at module_unload+0x4e Uptime: 17m43s Dump failed. Partition too small. The box uses zfs root, has no tunings . --=20 You are receiving this mail because: You are on the CC list for the bug.=