From owner-freebsd-current@freebsd.org Sun Sep 13 08:56:36 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 2FD75A01C20 for ; Sun, 13 Sep 2015 08:56:36 +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 17A5914E2; Sun, 13 Sep 2015 08:56:35 +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 D939FC01E2; Sun, 13 Sep 2015 01:56:34 -0700 (PDT) Date: Sun, 13 Sep 2015 01:56:34 -0700 From: hiren panchasara To: "Alexander V. Chernikov" Cc: Hans Petter Selasky , "freebsd-current@FreeBSD.org" , "jch@FreeBSD.org" Subject: Re: Panic on kldload/kldunload in/near callout Message-ID: <20150913085634.GV64965@strugglingcoder.info> References: <20150910192351.GF64965@strugglingcoder.info> <55F27D68.6080501@selasky.org> <20150911232154.GS64965@strugglingcoder.info> <1405441442061150@web27j.yandex.ru> <20150912173041.GT64965@strugglingcoder.info> <3497621442123474@web28g.yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NO4xtVTk6ycZDAf4" Content-Disposition: inline In-Reply-To: <3497621442123474@web28g.yandex.ru> 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: Sun, 13 Sep 2015 08:56:36 -0000 --NO4xtVTk6ycZDAf4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 09/13/15 at 08:51P, Alexander V. Chernikov wrote: >=20 >=20 > 12.09.2015, 20:30, "hiren panchasara" : > > On 09/12/15 at 03:32P, Alexander V. Chernikov wrote: > >> ?12.09.2015, 02:22, "hiren panchasara" : > >> ?> On 09/11/15 at 09:06P, Hans Petter Selasky wrote: > > > > [skip] > >> ?> I'll try to get it. Meanwhile I am getting another panic on idle bo= x: > >> ?> http://pastebin.com/9qJTFMik > >> ?The easiest explanation could be lack of lla_create() result check, f= ixed in r286945. > >> ?This panic is triggered by fast interface down-up (or just up), when = ARP packet is received but there are no (matching) IPv4 prefix on the inter= face. > >> ?If this is not the case (e.g. it paniced w/o any interface changes an= d there were no other subnets in given L2 segment) I'd be happy to debug th= is further. > > > > Just hit another last night. (Box goes to db> ; let me know if you want > > to debug anything when that happens.) > Would you mind showing full backtrace for that core? (e.g. situation has = to be different for newer -current). Sure: Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x20 fault code =3D supervisor write data, page not present instruction pointer =3D 0x20:0xffffffff80f214d6 stack pointer =3D 0x28:0xfffffe00003d0620 frame pointer =3D 0x28:0xfffffe00003d0630 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 12 (irq264: igb0:que 0) [ thread pid 12 tid 100035 ] Stopped at memcpy+0x16: repe movsb (%rsi),%es:(%rdi) db> bt full Symbol not found KDB: reentering KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+43/frame 0xfffffe00003cff10 kdb_reenter() at kdb_reenter+51/frame 0xfffffe00003cff20 db_term() at db_term+136/frame 0xfffffe00003cff40 db_unary() at db_unary+116/frame 0xfffffe00003cff60 db_mult_expr() at db_mult_expr+27/frame 0xfffffe00003cffa0 db_add_expr() at db_add_expr+27/frame 0xfffffe00003cffe0 db_expression() at db_expression+29/frame 0xfffffe00003d0030 db_stack_trace() at db_stack_trace+48/frame 0xfffffe00003d0060 db_command() at db_command+865/frame 0xfffffe00003d0120 db_command_loop() at db_command_loop+100/frame 0xfffffe00003d0130 db_trap() at db_trap+219/frame 0xfffffe00003d01c0 kdb_trap() at kdb_trap+404/frame 0xfffffe00003d0250 trap_fatal() at trap_fatal+789/frame 0xfffffe00003d02b0 trap_pfault() at trap_pfault+806/frame 0xfffffe00003d0350 trap() at trap+1124/frame 0xfffffe00003d0560 calltrap() at calltrap+8/frame 0xfffffe00003d0560 --- trap 12, rip =3D 18446744071577933014, rsp =3D 18446741874690295344, rb= p =3D 18446741874690295344 --- memcpy() at memcpy+22/frame 0xfffffe00003d0630 arpintr() at arpintr+2951/frame 0xfffffe00003d0750 netisr_dispatch_src() at netisr_dispatch_src+97/frame 0xfffffe00003d07c0 ether_demux() at ether_demux+345/frame 0xfffffe00003d07f0 ether_nh_input() at ether_nh_input+888/frame 0xfffffe00003d0850 netisr_dispatch_src() at netisr_dispatch_src+97/frame 0xfffffe00003d08c0 ether_input() at ether_input+38/frame 0xfffffe00003d08e0 igb_rxeof() at igb_rxeof+1764/frame 0xfffffe00003d0990 igb_msix_que() at igb_msix_que+352/frame 0xfffffe00003d09e0 intr_event_execute_handlers() at intr_event_execute_handlers+474/frame 0xff= fffe00003d0a20 ithread_loop() at ithread_loop+166/frame 0xfffffe00003d0a70 fork_exit() at fork_exit+156/frame 0xfffffe00003d0ab0 fork_trampoline() at fork_trampoline+14/frame 0xfffffe00003d0ab0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- db>=20 Cheers, Hiren --NO4xtVTk6ycZDAf4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJV9To1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lZl4H+wceMc6LVNONJyAdyX+pRTBx DG/FwQgwXn7gGmanxeIEA0BttzaWV5trLRbv6ahDApXtHcEM4hpGeMa3TPq0uIJg tckmIUVA2qnSmsqEAnHWfgI5qEKUdhlFA3ydxnBVlVZkM5MVz5Ryc+rCavzAxS6N tR2jR7Lk6XRxcAuFZ3kN/eagSNvJcTN5j757CopTpZOLBz7BSzf6UC5Mwt2KkyW3 W9aiU36C27YX9AZKS6t0k4vHTQCt/vPj2Xk1s3fTBkuNqf5ysydo0vkD1s2feTw7 WPoOrizqYxUm+S7Q2NcYoYffvtdH0CbBgrNiaXb3pBKXLqbIvIYMu6I0gSOrBHk= =f7Yh -----END PGP SIGNATURE----- --NO4xtVTk6ycZDAf4--