NetBSD Problem Report #52937

From www@NetBSD.org  Sun Jan 21 09:55:46 2018
Return-Path: <www@NetBSD.org>
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 202667A1E1
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 21 Jan 2018 09:55:46 +0000 (UTC)
Message-Id: <20180121095545.381667A264@mollari.NetBSD.org>
Date: Sun, 21 Jan 2018 09:55:45 +0000 (UTC)
From: alnsn@yandex.ru
Reply-To: alnsn@yandex.ru
To: gnats-bugs@NetBSD.org
Subject: NetBSD 8.0_BETA panics in pmap_remove_pte
X-Send-Pr-Version: www-1.0

>Number:         52937
>Category:       kern
>Synopsis:       NetBSD 8.0_BETA panics in pmap_remove_pte
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 21 10:00:01 +0000 2018
>Last-Modified:  Thu Jan 25 00:25:01 +0000 2018
>Originator:     Alexander Nasonov
>Release:        NetBSD 8.0_BETA
>Organization:
XMM SWAP LTD
>Environment:
NetBSD ns3078965 8.0_BETA NetBSD 8.0_BETA (NOIPMI) #0: Sun Dec 17 22:39:04 GMT 2017  alnsn@nebeda:/home/alnsn/netbsd-8/src/sys/arch/amd64/compile/obj/NOIPMI amd64
>Description:
The kernel was compiled without ipmi as a workaround for this bug: 
pkg/52764 (NetBSD 8.0_BETA crashed - ipmi0: workqueue busy: updates stopped)

This time it crashed differently:

panic: pmap_remove_pte: PG_PVLIST with pv-untracked page va = 0x7f7eba200000 pa = 0xffe8dea6c0000 (0xffe8dea6c0)
cpu5: Begin traceback...
vpanic() at netbsd:vpanic+0x140
snprintf() at netbsd:snprintf
pmap_remove_pte() at netbsd:pmap_remove_pte+0x2e3
pmap_remove() at netbsd:pmap_remove+0x23d
uvm_unmap_remove() at netbsd:uvm_unmap_remove+0x207
uvmspace_free() at netbsd:uvmspace_free+0xe4
exit1() at netbsd:exit1+0x1a0
sigexit() at netbsd:sigexit+0x15a
sendsig() at netbsd:sendsig
lwp_userret() at netbsd:lwp_userret+0x1be
trap() at netbsd:trap+0x926
--- trap (number 6) ---
7f7eba200770
cpu5: End traceback...

dumping to dev 20,1 (offset=327, size=8272343):
dump device not ready


dmesg: https://www.netbsd.org/~alnsn/ovh-dmesg-netbsd8.out
>How-To-Repeat:
Not known.

The box had been running fine to several days. Eventually, it stopped accepting ssh connections over tor and panicked a couple of hours later. 
>Fix:
Not known.

>Audit-Trail:
From: Alexander Nasonov <alnsn@yandex.ru>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/52937: NetBSD 8.0_BETA panics in pmap_remove_pte
Date: Thu, 25 Jan 2018 00:24:40 +0000

 Alexander Nasonov wrote:
 > This time it crashed differently:
 > 
 > panic: pmap_remove_pte: PG_PVLIST with pv-untracked page va = 0x7f7eba200000 pa = 0xffe8dea6c0000 (0xffe8dea6c0)

 It crashed again:

 panic: kernel diagnostic assertion "(pte & PG_G) == 0 || pm == pmap_kernel()" failed: file "/path/to/src/sys/arch/x86/x86/pmap_tlb.c", line 229
 WARNING: SPL NOT LOWERED ON TRAP EXIT 7 0
 cpu7: Begin traceback...

 vpanic() at netbsd:vpanic+0x140
 ch_voltag_convert_in() at netbsd:ch_voltag_convert_in
 pmap_tlb_shootdown() at netbsd:pmap_tlb_shootdown+0x51
 pmap_remove_pte() at netbsd:pmap_remove_pte+0x212
 pmap_remove() at netbsd:pmap_remove+0x23d
 uvm_unmap_remove() at netbsd:uvm_unmap_remove+0x207
 uvmspace_free() at netbsd:uvmspace_free+0xe4
 exit1() at netbsd:exit1+0x1a0
 sigexit() at netbsd:sigexit+0x15a
 sendsig() at netbsd:sendsig
 lwp_userret() at netbsd:lwp_userret+0x1be
 trap() at netbsd:trap+0x926
 --- trap (number 3) ---
 cpu7: End traceback...

 dumping to dev 20,1 (offset=327, size=8272343):
 dump device not ready

 Alex

NetBSD Home
NetBSD PR Database Search

(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.