From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 14 04:30:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C1A4106566C for ; Fri, 14 Mar 2008 04:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 15DDA8FC1F for ; Fri, 14 Mar 2008 04:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2E4U14A066881 for ; Fri, 14 Mar 2008 04:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2E4U1UF066877; Fri, 14 Mar 2008 04:30:01 GMT (envelope-from gnats) Resent-Date: Fri, 14 Mar 2008 04:30:01 GMT Resent-Message-Id: <200803140430.m2E4U1UF066877@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Greg Rivers Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2D961065671 for ; Fri, 14 Mar 2008 04:22:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DE3D78FC1D for ; Fri, 14 Mar 2008 04:22:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2E4IsWj018351 for ; Fri, 14 Mar 2008 04:18:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2E4IsZi018350; Fri, 14 Mar 2008 04:18:54 GMT (envelope-from nobody) Message-Id: <200803140418.m2E4IsZi018350@www.freebsd.org> Date: Fri, 14 Mar 2008 04:18:54 GMT From: Greg Rivers To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/121684: dump frequently hangs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 04:30:02 -0000 >Number: 121684 >Category: bin >Synopsis: dump frequently hangs >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 14 04:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Greg Rivers >Release: RELENG_7 as of March 12 >Organization: >Environment: FreeBSD 7.0-STABLE Wed Mar 12 14:41:38 CDT 2008 i386 >Description: dump frequently hangs in this state: UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 0 87976 29731 0 8 0 35852 34164 wait I+ p2 0:00.51 dump 0afLC /dev/null 32 /dev/da0e (dump) 0 87985 87976 0 4 0 35852 34220 sbwait I+ p2 0:01.06 dump: /dev/da0e: pass 3: 0.99% done, finished in 0:16 at Thu Mar 13 15:42:10 2008 (dump) 0 87986 87985 0 20 0 35852 34180 pause I+ p2 0:00.91 dump 0afLC /dev/null 32 /dev/da0e (dump) 0 87987 87985 0 20 0 35852 34180 pause I+ p2 0:00.91 dump 0afLC /dev/null 32 /dev/da0e (dump) 0 87988 87985 0 20 0 35852 34180 pause I+ p2 0:00.92 dump 0afLC /dev/null 32 /dev/da0e (dump) It appears to be a race condition, as repeated attempts to dump the same (clean) file system sometimes succeed and sometimes fail. >How-To-Repeat: dump a UFS2 filesystem. >Fix: The problem appears to be with the signal processing that schedules the dump subprocesses. A full ktrace of a hung dump session is available at ftp://ftp.tharned.org/pub/dump-ktrace.bz2 >Release-Note: >Audit-Trail: >Unformatted: