From owner-freebsd-current@freebsd.org Thu Sep 10 19:23:52 2015 Return-Path: Delivered-To: freebsd-current@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 5EAA3A010C5 for ; Thu, 10 Sep 2015 19:23:52 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.strugglingcoder.info", Issuer "mail.strugglingcoder.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BE391826; Thu, 10 Sep 2015 19:23:52 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPA id 58AC4C030E; Thu, 10 Sep 2015 12:23:51 -0700 (PDT) Date: Thu, 10 Sep 2015 12:23:51 -0700 From: hiren panchasara To: freebsd-current@FreeBSD.org Cc: jch@FreeBSD.org, hselasky@FreeBSD.org Subject: Panic on kldload/kldunload in/near callout Message-ID: <20150910192351.GF64965@strugglingcoder.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Wb5NtZlyOqqy58h0" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2015 19:23:52 -0000 --Wb5NtZlyOqqy58h0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I am on 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r286760M: Thu Sep 10 08:15:43 MST 2015 I get random (1 out of 10 tries) panics when I do: # kldunload dummynet ; kldunload ipfw ;kldload ipfw ; kldload dummynet I used to get panics on a couple months old -head also. kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0xffffffff8225cf58 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80aad500 stack pointer =3D 0x28:0xfffffe1f9d588700 frame pointer =3D 0x28:0xfffffe1f9d588790 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 Following https://www.freebsd.org/doc/faq/advanced.html, I did: # nm -n /boot/kernel/kernel | grep ffffffff80aad500 # nm -n /boot/kernel/kernel | grep ffffffff80aad50 # nm -n /boot/kernel/kernel | grep ffffffff80aad5 # nm -n /boot/kernel/kernel | grep ffffffff80aad ffffffff80aad030 t itimers_event_hook_exec ffffffff80aad040 t realtimer_expire ffffffff80aad360 T callout_process ffffffff80aad6b0 t softclock_call_cc ffffffff80aadc10 T softclock ffffffff80aadd20 T timeout ffffffff80aade90 T callout_reset_sbt_on So I guess " ffffffff80aad360 T callout_process" is the closest match? I'll try to get real dump to get more information but that may take a while.=20 ccing jch and hans who've been playing in this area. Cheers, Hiren --Wb5NtZlyOqqy58h0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJV8djDXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lwdwIAJ+0caFyY6xqkogxnX6CP4GA oXoYg/9aBfIvteaA4nATnAQtprXtsmtQXt2Xru0EXVX1cNcX8RlSaVEb/i6P6AWe sNyIOPucyXtucJaEmTBhs2+MEwIQbHyIysCUJ/GnU/NC3cg5ZYcOQCdl3PXgS5T4 wlLoQRZBav4WarQU3vGCPCLlvgfBuaHuoBOS9LdAvft5yMu+Me8NwoejeZ62K39O Cs/jHoy4qzETbkzg6OZuNpjazUT0Sk9zdbhtFT3kSMyASJ+S6r9vXzlNVL7a+JHb IfitNtUb1+3dHUKhZE9pFQAiaYNTsbapdy2rb3hodES95wVHv7f29bonHrfssGU= =9hXu -----END PGP SIGNATURE----- --Wb5NtZlyOqqy58h0--