From owner-freebsd-current@freebsd.org Tue Nov 15 16:31:52 2016 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 2614AC431A4 for ; Tue, 15 Nov 2016 16:31:52 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BCAD182E for ; Tue, 15 Nov 2016 16:31:51 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id f82so9910795wmf.1 for ; Tue, 15 Nov 2016 08:31:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=5jEPv1F4kNxRaELH42ffXe+u8xCRjPr+QWMwqWAM2ZE=; b=qA4JYKlT5gf0aj/2/Ysyk/LQrBQ45mrWC+hYR1RP9fHzhWIKraqN+VI4MiI3k0cthA hlX7NEqWWH+Y45eeVl2CULciIv1llErSdJi0jMwxza5KMAgNT9qO1etLCKimvLMhHlDa A55qVr7nvHj1XwywcnDDWZNxJPmfFJWhVFicpQxan3iEt2L7Nj5U3nfklG7gSC1tGPe4 +4+Ez5T2fHnQG35I7a+d97lRc6Oy77nS94khS5mKphY69GO90/crngLaRfZRLNyfWswG rDIXAytc27i/LFB7lkv64Y+tV4WpoVGVbijuk+Skj27axtJmY5VS6Dvpcx3q3dU7lun+ 9JoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=5jEPv1F4kNxRaELH42ffXe+u8xCRjPr+QWMwqWAM2ZE=; b=OP99CC2rMV/anRbEMEZkZe81hCYkHIiOKug0DZNt3+Ou98TAi3qhs9bDqMWTI08wWv 5aYrHeFXzjz+CIDV1yVs6/CjQweracP7uPdYnG1L5P7HvTrmJXrFffATSjEZnB4vDxOY L8GC7bq7GvObXDzoZixKPONGStUbcrCghn6xRcEGlXKAgQ48n5KmZpLbssWLN/0e1DGB o1fOq574/WuwO/dEwbUnLNpYdAFoNla306g6pZOYtWFWQYHPZpR0f7/Ecg1uDS+Bgosv 0mVJBUIh8p735xuPuUbc3JkSzhPXxOgn8CEXnQxeJc8Mk/kIN5RWjRZx8D+1zTJ7CKKX XkMA== X-Gm-Message-State: ABUngvdRQydQaiKDH86Kak/in0rGeQOrxTm1A5b9Jsa1n96fS2ju2ZS5exsOed1/FMfYgw== X-Received: by 10.28.129.81 with SMTP id c78mr4844286wmd.94.1479227509436; Tue, 15 Nov 2016 08:31:49 -0800 (PST) Received: from brick (abuh111.neoplus.adsl.tpnet.pl. [83.8.179.111]) by smtp.gmail.com with ESMTPSA id s204sm5162346wmd.1.2016.11.15.08.31.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Nov 2016 08:31:48 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Tue, 15 Nov 2016 17:31:45 +0100 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Alex Deiter Cc: freebsd-current Subject: Re: CURRENT [r308668] autofs kernel panic Message-ID: <20161115163145.GB69156@brick> Mail-Followup-To: Alex Deiter , freebsd-current References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 15 Nov 2016 16:31:52 -0000 On 1115T1016, Alex Deiter wrote: > Hello, > > FreeBSD 12.0-CURRENT-r308668 amd64 crashed on "pkg install” command: > > # cat /usr/local/etc/pkg/repos/local.conf > local: { > url: "file:///net/nostromo/var/devel/pkg", > enabled: yes > } > > Path /net/nostromo/var/devel/pkg accessible via autofs/automountd: > > # ls /net/nostromo/var/devel/pkg > All Latest digests.txz meta.txz packagesite.txz > > # mount -t nfs > nostromo:/var/devel/pkg on /net/nostromo/var/devel/pkg (nfs, nosuid, > automounted) > > # kgdb /usr/lib/debug/boot/kernel/kernel.debug /var/crash/vmcore.0 > ... > Unread portion of the kernel message buffer: > kernel trap 12 with interrupts disabled > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x100df > fault code = supervisor read data, page not present > instruction pointer = 0x20:0xffffffff8063c88d > stack pointer = 0x28:0xfffffe085f966520 > frame pointer = 0x28:0xfffffe085f966570 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = resume, IOPL = 0 > current process = -134214453 (pkg) > > kgdb: kvm_read: invalid address (0x6c6576656c6572) > kgdb: kvm_read: invalid address (0xf8000ce021d8ffff) > #0 0x0000000000000000 in ?? () > (kgdb) list *0xffffffff8063c88d > 0xffffffff8063c88d is in hardclock_cnt (/usr/src/sys/kern/kern_clock.c:568). [..] It looks a bit weird - the "kvm_read" errors, and also the one-function traceback that contains only one function, that seems unrelated to autofs. Are you sure you're using the right kernel? Could you try the usual kgdb /boot/kernel/kernel /var/crash/vmcore.0 instead? Thanks!