From owner-freebsd-current@FreeBSD.ORG Fri Jul 16 22:51:30 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 D920616A4CE for ; Fri, 16 Jul 2004 22:51:30 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id A338B43D48 for ; Fri, 16 Jul 2004 22:51:30 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-63-195-111-154.dsl.snfc21.pacbell.net [63.195.111.154]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i6GMpLra005945 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Jul 2004 15:51:22 -0700 Message-ID: <40F85B9B.7030509@root.org> Date: Fri, 16 Jul 2004 15:50:03 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.6 (X11/20040518) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: ATA DVD playback hanging in physrd 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: Fri, 16 Jul 2004 22:51:31 -0000 While playing back a DVD on my Thinkpad, it hangs at some point (2-5 minutes after beginning playback). The player is hung in "physrd" and the drive stops spinning. This hang happens when the drive is in PIO4 or DMA mode. However, starting another process (i.e. cat /dev/acd0) spins up the drive and it works (and the other process begins running again). What's interesting is that I can quickly trigger this hang by starting IO on a completely different channel (i.e. dd if=/dev/ad0 of=/dev/null bs=1m). This indicates that it may be a driver issue since the DVD drive that hangs is on a different channel and irq than the hard drive. Devices: atapci0: port 0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 [...] ad0: 19077MB [41344/15/63] at ata0-master UDMA100 ata1-master: FAILURE - ATAPI_RESET no interrupt acd0: DVDROM at ata1-master PIO4 The same behavior also happens on my DVD/CDRW drive. ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt ata1-master: FAILURE - ATAPI_RESET no interrupt acd0: CDRW at ata1-master PIO4 -Nate