Subject: bin/1111: cp -R hangs in WCHAN "fifo" after finishing job
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: Ignatios Souvatzis <is@beverly.amiga.mainfranken.de>
List: netbsd-bugs
Date: 06/04/1995 13:20:09
>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 (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 4 13:20:04 1995
>Originator: Ignatios Souvatzis
>Organization:
" private"
>Release: 1.0A as of 1995 mar 6, $Id: cp.c,v 1.11 1995/01/26 06:01:36 mycroft Exp $
>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
>Audit-Trail:
>Unformatted:
Ignatios Souvatzis