Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 17:06:01 -0700
From:      Nate Lawson <nate@root.org>
To:        Kevin Oberman <oberman@es.net>
Cc:        sos@deepcore.dk
Subject:   Re: ATA DVD playback hanging in physrd
Message-ID:  <410AE269.4040404@root.org>
In-Reply-To: <20040716231556.7D2225D08@ptavv.es.net>
References:  <20040716231556.7D2225D08@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Oberman wrote:
>>From: Nate Lawson <nate@root.org>
>>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: <Intel ICH3 UDMA100 controller> 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 <IC25N020ATMR04-0> [41344/15/63] at ata0-master UDMA100
>>ata1-master: FAILURE - ATAPI_RESET no interrupt
>>acd0: DVDROM <MATSHITADVD-ROM SR-8175> 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 <UJDA720 DVD/CDRW> at ata1-master PIO4
> 
> I have been seeing the same thing on my ThinkPad for a couple of
> weeks. It may have been there for longer as I had not heavily used the
> DVD for a while. There have been similar reports from others, but this
> is the most exact match to what I have been seeing. Mine is a Toshiba
> DVD/CDRW (DW-28E) at ata1-master UDMA33.

I just tested and this behavior is the same with today's -current.

-Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?410AE269.4040404>