From owner-freebsd-current@FreeBSD.ORG Wed Jul 7 18:49:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D42FE16A4CE; Wed, 7 Jul 2004 18:49:08 +0000 (GMT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFFD243D39; Wed, 7 Jul 2004 18:49:08 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id IBA74465; Wed, 07 Jul 2004 11:49:08 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id E4D445D09; Wed, 7 Jul 2004 11:49:07 -0700 (PDT) To: Mikhail Teterin In-reply-to: Your message of "Tue, 06 Jul 2004 13:46:55 EDT." <200407061346.55218@misha-mx.virtual-estates.net> Date: Wed, 07 Jul 2004 11:49:07 -0700 From: "Kevin Oberman" Message-Id: <20040707184907.E4D445D09@ptavv.es.net> cc: pav@FreeBSD.org cc: current@FreeBSD.org Subject: Re: unkillable process in physrd-sttae X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 18:49:08 -0000 > From: Mikhail Teterin > Date: Tue, 6 Jul 2004 13:46:55 -0400 > Sender: owner-freebsd-current@freebsd.org > > => As I was playing a DVD, the picture stopped and everything seemingly > => froze. I was able to login from another machine and look, what's > => happening. > = > =I see this regularly, both DVD-Video playback and reading of files off > =data DVD. Workaround is to list directories and read files from the DVD, > =it will unstuck blocked process too. Or, issue > > I'm not so much concerned about the DVD-playback (`cdcontrol reset' is > my workaround), but for the possibility of a process getting into a > state, where it can not be killed. NFS-related issues used to be like > this, but, it seems, `umount -f' works now. > > =# atacontrol mode 1 udma33 xxx > = > =(in case your DVD unit is alone on secondary IDE channel)... > > Thanks, I'll try that too. Currently I just run > > while (1) > cdcontrol reset > sleep 1 > end > > while the movie is playing :-( I have seen similar problems on my ThinkPad T30. It used to work very cleanly, but now I am getting intermittent freezes, too. My CD is also running DMA33 with ATAPICAM and CURRENT updated at least once a week and often much more frequently, but my windows (other than the on running the application) don't freeze. I can't kill the process though and it stays in the phyrd state. I can simply run another application (in another window) that accesses the DVD. As soon as I do that, the frozen window takes off again and runs without any error. This looks to me like I am losing an interrupt. The driver locks things up until the new application kicks the drive, delivering an interrupt and things are off and running. I first noticed this about 2 weeks ago, but I had not used the drive for a couple of months for large transfers, so I don;t know exactly when the problem showed up. mplayer is the application I was using. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634