NetBSD Problem Report #43650

From www@NetBSD.org  Wed Jul 21 19:25:28 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id BF6A663BAE8
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Jul 2010 19:25:28 +0000 (UTC)
Message-Id: <20100721192528.6355663BA98@www.NetBSD.org>
Date: Wed, 21 Jul 2010 19:25:28 +0000 (UTC)
From: bbartlomiej@gmail.com
Reply-To: bbartlomiej@gmail.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD 5.0.2 DomU crashes on bigger file operations
X-Send-Pr-Version: www-1.0

>Number:         43650
>Category:       kern
>Synopsis:       NetBSD 5.0.2 DomU crashes on bigger file operations
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 21 19:30:00 +0000 2010
>Closed-Date:    Sat Mar 21 23:00:31 +0000 2020
>Last-Modified:  Sat Mar 21 23:00:31 +0000 2020
>Originator:     Bartek Krawczyk
>Release:        5.0.2
>Organization:
>Environment:
NetBSD netbsd.pentaxian.pl 5.0.2 NetBSD 5.0.2 (XEN3PAE_DOMU) #0: Sat Feb  6 17:52:02 UTC 2010  builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/XEN3PAE_DOMU i386

>Description:
When doing some more intensive filesystem work (e.g. compiling from pkgsrc or copying a directory with lots of files in it) NetBSD domU panics. It doesn't matter if I enable softdep or not. This is what i get on "xm console" on Dom0 (which is a Debian Stable):


panic: xen_failsafe_handler called!

Begin traceback...
uvm_fault(0xc9e18000, 0x7000, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c0397531 cs 9 eflags 10246 cr2 7ff0 ilevel 6
panic: trap
Faulted in mid-traceback; aborting...
dump to dev 142,9 not possible
rebooting...

I am running this on debian:
xen-3.2-1-i386.gz
2.6.26-2-xen-686

>How-To-Repeat:
Install NetBSD DomU on Linux Dom0 with PAE. 
Do some intensive filesystem work on NetBSD.
>Fix:

>Release-Note:

>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/43650: NetBSD 5.0.2 DomU crashes on bigger file operations
Date: Wed, 21 Jul 2010 22:20:24 +0200

 The real question is: why does the hypervisor enter the guest's
 failsafe_callback. What Xen version is the hypervisor ?
 Any chance to run a debug hypervisor and see if anything shows up
 in 'xen dmesg' ?

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Bartek Krawczyk <bbartlomiej@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: bouyer@antioche.eu.org
Subject: Re: kern/43650: NetBSD 5.0.2 DomU crashes on bigger file operations
Date: Wed, 21 Jul 2010 23:38:00 +0200

 I have no idea.
 Here's xm dmesg: http://pastebin.com/NXPnM3ws
 I'll try to post later some debug information - any suggestions how to
 obtain it?

 Regards,

 -- 
 Bartek Krawczyk
 JID: bbartlomiej@jabster.pl
 GG: 2094683

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: Bartek Krawczyk <bbartlomiej@gmail.com>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/43650: NetBSD 5.0.2 DomU crashes on bigger file operations
Date: Thu, 22 Jul 2010 11:21:08 +0200

 On Wed, Jul 21, 2010 at 11:38:00PM +0200, Bartek Krawczyk wrote:
 > I have no idea.
 > Here's xm dmesg: http://pastebin.com/NXPnM3ws

 So it's Xen 3.2. NetBSD has not been tested much with this version.

 > I'll try to post later some debug information - any suggestions how to
 > obtain it?

 build the hypervisor from sources with 'make debug=y xen'
 But my feeling is that this is a bug in Xen 3.2.1, any chance
 to try a newer hypervisor ?

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Bartek Krawczyk <bbartlomiej@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/43650: NetBSD 5.0.2 DomU crashes on bigger file operations
Date: Fri, 23 Jul 2010 10:45:10 +0200

 W dniu 22.07.2010 11:25, Manuel Bouyer pisze:
 >  
 >  build the hypervisor from sources with 'make debug=y xen'
 >  But my feeling is that this is a bug in Xen 3.2.1, any chance
 >  to try a newer hypervisor ?

 As I am using Debian I try not to make a mess with compilations. I'm
 only using Debian binary packages.
 Anyway - I found a bug in debian's xen linux dom0 kernel reported on
 debian bug tracking system. It appears that's the cause of my problems.
 By the way - which version of Xen is used in NetBSD 5 and -current?

 Regards
 -- 
 Bartek Krawczyk
 JID: bbartlomiej@jabster.pl
 GG: 2094683

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
        bbartlomiej@gmail.com
Subject: Re: kern/43650: NetBSD 5.0.2 DomU crashes on bigger file operations
Date: Fri, 23 Jul 2010 20:07:03 +0200

 Either Xen 3.1.4 or Xen 3.3.2 (user choice).

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

State-Changed-From-To: open->closed
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Sat, 21 Mar 2020 23:00:31 +0000
State-Changed-Why:
Problem seemed to be caused by Debian bug according to submitter.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.