From owner-freebsd-current@freebsd.org Fri Nov 6 21:58:08 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 CD8CAA287AB; Fri, 6 Nov 2015 21:58:08 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id DE04E18C7; Fri, 6 Nov 2015 21:58:07 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA01639; Fri, 06 Nov 2015 23:58:06 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Zup1J-0008NI-SQ; Fri, 06 Nov 2015 23:58:05 +0200 Subject: Re: strange kernel crash To: Hans Petter Selasky , FreeBSD Current , FreeBSD Hackers References: <563C8CED.3020101@FreeBSD.org> <563CEB53.50909@selasky.org> From: Andriy Gapon Message-ID: <563D2236.4030708@FreeBSD.org> Date: Fri, 6 Nov 2015 23:57:10 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <563CEB53.50909@selasky.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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: Fri, 06 Nov 2015 21:58:08 -0000 On 06/11/2015 20:02, Hans Petter Selasky wrote: > On 11/06/15 12:20, Andriy Gapon wrote: >> Now the strange part: >> >> 0xffffffff80619a18 <+744>: jne 0xffffffff80619a61 <__mtx_lock_flags+817> >> 0xffffffff80619a1a <+746>: mov %rbx,(%rsp) >> => 0xffffffff80619a1e <+750>: movq $0x0,0x18(%rsp) >> 0xffffffff80619a27 <+759>: movq $0x0,0x10(%rsp) >> 0xffffffff80619a30 <+768>: movq $0x0,0x8(%rsp) > > Were these instructions dumped from RAM or from the kernel ELF file? Whatever minidump and kgdb (libkvm) do for the text section. Just in case, in addition to 'disassemble' I also did this: (kgdb) x/i 0xffffffff80619a1e => 0xffffffff80619a1e <__mtx_lock_flags+750>: movq $0x0,0x18(%rsp) -- Andriy Gapon