From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 19 13:56:18 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 146DE37B401 for ; Sat, 19 Apr 2003 13:56:18 -0700 (PDT) Received: from mail1.arcor-ip.de (mail1.arcor-ip.de [145.253.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DD8143FAF for ; Sat, 19 Apr 2003 13:56:15 -0700 (PDT) (envelope-from Friedemann.Becker@student.uni-tuebingen.de) Received: from chasey (213.23.45.98) by mail1.arcor-ip.de (5.5.034) id 3E1E8763006AF115 for freebsd-hackers@freebsd.org; Sat, 19 Apr 2003 22:56:13 +0200 Date: Sat, 19 Apr 2003 22:56:39 +0200 (=?ISO-8859-1?Q?Westeurop=E4ische_Sommerzeit?=) From: Friedemann Becker To: freebsd-hackers@freebsd.org Message-ID: X-X-Sender: zxmxy33@mailserv02.uni-tuebingen.de MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: blocking nfs call X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Friedemann.Becker@student.uni-tuebingen.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 20:56:18 -0000 I tried to mount /usr/src /usr/obj and /usr/gnats from my home machine on a remote computer, it is a router that hangs on reboot and I have no time to get there soon, so I have to solve it per ssh. The problem is, the calls in mount and umount seem to be blocking calls, and when something goes wrong (appearently it did ;-), mount/umount does never return and can't be killed. this is the ps ax output of the dead processes 14672 ?? D 0:00.01 find /usr -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm 15833 ?? Is 0:00.12 /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t 15907 ?? D 0:14.14 find /usr -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm 14230 p0- D 0:25.57 umount /usr/obj 15302 p0- D 0:00.05 umount /usr/gnats 19156 p0 D+ 0:00.00 egrep D (bash) 14268 p1- DX 0:00.05 umount /usr/obj 15122 p1- D 0:00.05 mount /usr/obj 15139 p1 Ds 0:00.28 -bash (bash) 15208 p1- D 0:00.05 umount /usr/obj 15211 p1- D 0:00.05 umount -f /usr/obj 15213 p1 Ds+ 0:20.27 -bash (bash) note, that all of them are in D status (blocking disk call), but i'm not sure, if this is convenient for nfs calls. maybe a nfs call should return after a timeout period or something, but all those dead mounts and umounts are rotting since days now. additionally locate.updatedb, periodic/daily, cron and some more are started every day and some of them won't die too. So, what can I do: attaching with gdb does not work - the processes don't respond to interupts while in kernel mode. Every process, trying to access one of the above directories will block too. Friedemann