NetBSD Problem Report #43800
From www@NetBSD.org Thu Aug 26 04:53:04 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 4B34163BC3B
for <gnats-bugs@gnats.NetBSD.org>; Thu, 26 Aug 2010 04:53:04 +0000 (UTC)
Message-Id: <20100826045304.0863B63BC38@www.NetBSD.org>
Date: Thu, 26 Aug 2010 04:53:04 +0000 (UTC)
From: manu@netbsd.org
Reply-To: manu@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: PUFFS kernel crash
X-Send-Pr-Version: www-1.0
>Number: 43800
>Category: kern
>Synopsis: PUFFS kernel crash
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 26 04:55:00 +0000 2010
>Last-Modified: Mon Sep 06 22:31:17 +0000 2010
>Originator: Emmanuel Dreyfus
>Release: NetBSD-5.0.2/i386
>Organization:
NetBSD
>Environment:
NetBSD bacasable.net.espci.fr 5.0.2 NetBSD 5.0.2 (XEN3_DOMU_PUFFS) #1: Thu Aug 19 19:08:58 CEST 2010 root@lego:/pkg_comp/NetBSD-5.0.2/src/sys/arch/i386/compile/obj/XEN3_DOMU_PUFFS i386
>Description:
high write activity on PUFFS using perfuse and fuse cause a kernel panic:
panic: genfs_getpages: past eof: 8192 vs. 0
>How-To-Repeat:
On NetBSD-5.0.2 or NetBSD-current,
- install pkgsrc/filesystems/fuse
Binary package available from
ftp://ftp.espci.fr/pub/pkgsrc/packages/NetBSD-5.0.2/i386/All
- download and unpack fuse-2.8.4 source:
http://sourceforge.net/projects/fuse/files/fuse-2.X/
- build fusexmp:
cd fuse-2.8.4/example
cc -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include -c fusexmp.c
cc -L /usr/pkg/lib -lfuse -o fusexmp fusexmp.o
- start perfused in debug mode ona terminal:
perfused -d fuse -f
- start fusexmp
fusexmp -d -f /mnt
- run this enough time to get a panic (between 10 and 30 concurrent processes are required)
( cat < /dev/zero > /mnt/test ) &
>Fix:
Hi, Pooka!
>Release-Note:
>Audit-Trail:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.