From vova@vbook.fbsd.ru  Wed Oct 15 00:27:44 2003
Return-Path: <vova@vbook.fbsd.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4776B16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Oct 2003 00:27:44 -0700 (PDT)
Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 57A1C43F85
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Oct 2003 00:27:43 -0700 (PDT)
	(envelope-from vova@vbook.fbsd.ru)
Received: from vova by vbook.fbsd.ru with local (Exim 4.24; FreeBSD 5.1)
	id 1A9g6Q-0000MK-Up
	for FreeBSD-gnats-submit@freebsd.org; Wed, 15 Oct 2003 11:29:50 +0400
Message-Id: <E1A9g6Q-0000MK-Up@vbook.fbsd.ru>
Date: Wed, 15 Oct 2003 11:29:50 +0400
From: Vladimir Grebenschikov <vova@sw.ru>
Sender: Vladimir Grebenschikov <vova@vbook.fbsd.ru>
Reply-To: Vladimir Grebenschikov <vova@sw.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: fsck_ufs -B lockup any writes on filesystem
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58060
>Category:       kern
>Synopsis:       fsck_ufs -B lockup any writes on filesystem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 15 00:30:20 PDT 2003
>Closed-Date:    Sat Oct 25 09:20:33 PDT 2003
>Last-Modified:  Sat Oct 25 09:20:33 PDT 2003
>Originator:     Vladimir Grebenschikov
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
SWsoft
>Environment:
System: FreeBSD vbook.fbsd.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #12: Fri Oct 10 12:38:23 MSD 2003 root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK i386


>Description:

After unclean shutdown, system boots and work properly. After some time any
processes triing to write was blocked in suspfs state.
fsck_ufs process was blocked in suspwt state.

Killing blocked processes does not helps.

# ps alx | fgrep fsck_ufs
    0   917   736   0  75  0   676  268 suspwt D     ??    0:00.91 fsck_ufs -p -B /dev/ad0s3f

# strace -p 917
mount(0x80af3d3, 0x80cb44c, 0x1211000, 0xbfbffcc0^C <unfinished ...>
^C

# ps alx | fgrep suspfs
    0   559     1   0  75  0  7076 1588  suspfs Is    ??    0:01.92 /usr/local/sbin/cupsd
  207   611   609   0  75  0  8832 2396  suspfs I     ??    0:00.11 /usr/X11R6/bin/gdm-binary
  207   836     1   0  75  0 18000 9108  suspfs I     ??    0:02.33 /usr/X11R6/libexec/stickynotes_applet
  207   865     1   2  75  0 55932 41028 suspfs I     ??    1:59.49 evolution-1.4
  207   867     1   0  75  0 32296 16000 suspfs I     ??    0:22.15 /usr/X11R6/share/opera/bin/opera --bi
  207   942     1   0  75  0  4120 2068  suspfs I     p0-   0:00.04 licq

I can cure situation only be running fsck -y in single-user mode.

>How-To-Repeat:


>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: rwatson 
State-Changed-When: Sat Oct 25 09:19:32 PDT 2003 
State-Changed-Why:  
Problem believed to have been resolved by vfs_bio.c:1.412 on 10/14/2003. 
If the problem persists, please let me know. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=58060 
>Unformatted:
