NetBSD Problem Report #52065
From martin@aprisoft.de Sun Mar 12 07:50:49 2017
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id D49BF7A263
for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Mar 2017 07:50:49 +0000 (UTC)
Message-Id: <20170312075038.49F935CC761@emmas.aprisoft.de>
Date: Sun, 12 Mar 2017 08:50:38 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: page fault in kevent
X-Send-Pr-Version: 3.95
>Number: 52065
>Category: kern
>Synopsis: page fault in kevent
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 12 07:55:00 +0000 2017
>Closed-Date: Sun Jun 03 07:09:20 +0000 2018
>Last-Modified: Sun Jun 03 07:09:20 +0000 2018
>Originator: Martin Husemann
>Release: NetBSD 7.99.65
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD martins.aprisoft.de 7.99.65 NetBSD 7.99.65 (GENERIC) #122: Wed Mar 8 16:36:35 CET 2017 martin@martins.aprisoft.de:/ssd/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Doing a pkg_chk with pkgsrc on an NFS mount caused this:
uvm_fault(0xfffffe841f792750, 0x0, 2) -> e
fatal page fault in supervisor mode
trap type 6 code 2 rip ffffffff808d0f10 cs 8 rflags 10246 cr2 0 ilevel 8 rsp fffffe811df82bf0
curlwp 0xfffffe84201df360 pid 670.5 lowest kstack 0xfffffe811df802c0
db{3}> bt
kevent1() at netbsd:kevent1+0x4ce
sys___kevent50() at netbsd:sys___kevent50+0x33
syscall() at netbsd:syscall+0x1bc
--- syscall (number 435) ---
db{3}>mach cpu 0
using CPU 0
db{3}> bt
x86_stihlt() at netbsd:x86_stihlt+0x6
acpicpu_cstate_idle_enter() at netbsd:acpicpu_cstate_idle_enter+0xdb
acpicpu_cstate_idle() at netbsd:acpicpu_cstate_idle+0xdb
idle_loop() at netbsd:idle_loop+0xf8
db{3}> mach cpu 1
using CPU 1
db{3}> bt
x86_pause() at netbsd:x86_pause+0x2
knote_activate() at netbsd:knote_activate+0x21
knote() at netbsd:knote+0x3f
selnotify() at netbsd:selnotify+0x1f
sowakeup() at netbsd:sowakeup+0x3d
unp_send() at netbsd:unp_send+0x539
sosend() at netbsd:sosend+0x741
soo_write() at netbsd:soo_write+0x2c
dofilewrite() at netbsd:dofilewrite+0x97
sys_write() at netbsd:sys_write+0x5f
syscall() at netbsd:syscall+0x1bc
--- syscall (number 4) ---
7243fc03dcda:
db{3}> mach cpu 2
using CPU 2
db{3}> bt
x86_stihlt() at netbsd:x86_stihlt+0x6
acpicpu_cstate_idle_enter() at netbsd:acpicpu_cstate_idle_enter+0xdb
acpicpu_cstate_idle() at netbsd:acpicpu_cstate_idle+0xdb
idle_loop() at netbsd:idle_loop+0xf8
md_root_setconf() at netbsd:md_root_setconf
db{3}> mach cpu 4
using CPU 4
db{3}> ba t
x86_stihlt() at netbsd:x86_stihlt+0x6
acpicpu_cstate_idle_enter() at netbsd:acpicpu_cstate_idle_enter+0xdb
acpicpu_cstate_idle() at netbsd:acpicpu_cstate_idle+0xdb
idle_loop() at netbsd:idle_loop+0xf8
Bad frame pointer: 0xfffffe811d317580
db{3}> mach cpu 5
using CPU 5
db{3}> bt
x86_stihlt() at netbsd:x86_stihlt+0x6
acpicpu_cstate_idle_enter() at netbsd:acpicpu_cstate_idle_enter+0xdb
acpicpu_cstate_idle() at netbsd:acpicpu_cstate_idle+0xdb
idle_loop() at netbsd:idle_loop+0xf8
Bad frame pointer: 0xfffffe811d3045c0
Unfortunately could not get a crash dump.
>How-To-Repeat:
n/a
>Fix:
n/a
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 03 Jun 2018 07:09:20 +0000
State-Changed-Why:
This looks like a one-off kernel panic that cannot be reproduced. I'm guessing it's the same kevent race that joerg/christos fixed a while back that Go kept triggering. The fix was pulled up. Feel free to re-open if you suspect the problem is not fixed even now.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.