NetBSD Problem Report #46013

From riz@wintermute.localdomain  Sun Feb 12 22:58:59 2012
Return-Path: <riz@wintermute.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id AF28263B86B
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Feb 2012 22:58:59 +0000 (UTC)
Message-Id: <20120212225858.3A7AA11C88E@wintermute.localdomain>
Date: Sun, 12 Feb 2012 14:58:58 -0800 (PST)
From: riz@NetBSD.org
Reply-To: riz@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: uvm fault in printf_nolog() on MP Xen instance
X-Send-Pr-Version: 3.95

>Number:         46013
>Category:       port-xen
>Synopsis:       kernel crash in uvm_pagermapin() on MP Xen instance
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-xen-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 12 23:00:00 +0000 2012
>Closed-Date:    Fri Jul 17 11:03:21 +0000 2020
>Last-Modified:  Fri Jul 17 11:03:21 +0000 2020
>Originator:     Jeff Rizzo
>Release:        NetBSD 5.99.65
>Organization:

>Environment:


System: NetBSD ip-10-248-67-207.us-west-2.compute.internal 5.99.65 NetBSD 5.99.65 (EC2) #0: Sun Feb 12 13:57:10 PST 2012  riz@breadfruit.tastylime.net:/home/riz/obj/sys/arch/amd64/compile/EC2 amd64
Architecture: x86_64
Machine: amd64
>Description:
	While untarring src.tar.xz on an 8-vcpu Amazon EC2 instance, I ran
	into the following problem:


uvm_fault(0xffffffff8068cc20, 0xffffffff81400000, 1) -> e
fatal page fault in supervisor mode
trap type 6 code 0 rip ffffffff802ef14d cs e030 rflags 10206 cr2  ffffffff81400000 cpl 0 rsp ffffa0013a253650
panic: trap
cpu1: Begin traceback...
printf_nolog() at netbsd:printf_nolog
startlwp() at netbsd:startlwp
alltraps() at netbsd:alltraps+0xab
uvm_pagermapin() at netbsd:uvm_pagermapin+0x179
genfs_getpages() at netbsd:genfs_getpages+0xc8a
VOP_GETPAGES() at netbsd:VOP_GETPAGES+0x4f
ufs_balloc_range() at netbsd:ufs_balloc_range+0xf7
ffs_write() at netbsd:ffs_write+0x2a6
VOP_WRITE() at netbsd:VOP_WRITE+0x37
vn_write() at netbsd:vn_write+0xf9
dofilewrite() at netbsd:dofilewrite+0x7d
sys_write() at netbsd:sys_write+0x62
syscall() at netbsd:syscall+0xc4
cpu1: End traceback...

dump to dev 142,17 not possible
rebooting...

I was preparing to test the fix for pr/45975, and had the patch in the
kernel I was running, but I have seen this problem before without the
patch as well.

>How-To-Repeat:
	tar --xz -x -f /var/tmp/src.tar.xz on a "cc1.xlarge" Amazon
	EC2 instance running NetBSD-current.  I don't believe there is
	anything particular to EC2, but this is the domU with the
	most vcpus I have run NetBSD on.  This particular dom0 was running
	Xen 3.4; I don't know about the other times I have encountered
	this issue.
>Fix:
	None given.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Sun, 24 Jun 2018 20:33:49 +0000
State-Changed-Why:
While not much changed in NetBSD/xen since 2012, this might have been some MI
bug fixed since. Are you in position to retry and confirm whether this still
happens?


State-Changed-From-To: feedback->closed
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Fri, 17 Jul 2020 11:03:21 +0000
State-Changed-Why:
Feedback timeout. Thanks for erport.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 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.