NetBSD Problem Report #1111

From gnats  Sun Jun  4 13:15:36 1995
Received: from uran.informatik.uni-bonn.de (root@uran.informatik.uni-bonn.de [131.220.8.49]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id NAA14799 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sun, 4 Jun 1995 13:15:33 -0700
Message-Id: <199506042015.WAA00423@beverly.amiga.mainfranken.de>
Date: Sun, 4 Jun 1995 22:15:30 +0200
From: Ignatios Souvatzis <is@beverly.amiga.mainfranken.de>
Reply-To: is@beverly.rhein.de
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: cp -R hangs in WCHAN "fifo" after finishing job
X-Send-Pr-Version: 3.2

>Number:         1111
>Category:       bin
>Synopsis:       cp -R hangs in WCHAN "fifo", presumably after finishing the job
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 04 13:20:04 +0000 1995
>Closed-Date:    Tue Oct 10 02:39:25 +0000 1995
>Last-Modified:  Tue Oct 10 02:40:26 +0000 1995
>Originator:     Ignatios Souvatzis
>Release:        1.0A as of 1995 mar 6, $Id: cp.c,v 1.11 1995/01/26 06:01:36 mycroft Exp $
>Organization:
"	private"
>Environment:

System: NetBSD beverly 1.0A NetBSD 1.0A (BEVERLY) #179: Sun Jun 4 11:12:22 MET DST 1995 is@beverly:/usr/src/sys/arch/amiga/compile/BEVERLY amiga


>Description:
	Before upgrading my mar 6 system to current current, I wanted to 
	do a backup onto a scratch disk. I used cp -R for that.

	The cp finally stopped to work the disks, and didn't use any
	more CPU time. ps -l showed it waiting for WCHAN fifo.

beverly# ps l222
  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT TT       TIME COMMAND
    0   222   127 157   2  4   744  744 fifo   IN   p1   46:57.05 cp -P -R -p -f / /usr /current /monster/backup/

>How-To-Repeat:
beverly# df 
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd1a       15039    11479     2808    80%    /
/dev/sd1e       98262    91098     2250    98%    /usr
/dev/sd0f      132058   117248     8207    93%    /current
/dev/sd2d      801375   222144   539162    29%    /monster
mfs:22          20447        7    19417     0%    /tmp
kernfs              1        1        0   100%    /kern
procfs              8        8        0   100%    /proc

beverly# cp -P -R -p -f / /usr /current /monster/backup/.


>Fix:
Workaround: kill the cp process

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Mon Oct 9 22:39:25 EDT 1995 
State-Changed-Why:  
This is an old bug, fixed several months ago. 
>Unformatted:


 Ignatios Souvatzis

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.