From fabi@chaos.ffm.saargate.de  Fri Mar 24 16:32:21 2000
Return-Path: <fabi@chaos.ffm.saargate.de>
Received: from chaos.ffm.saargate.de (chaos.ffm.saargate.de [212.88.133.79])
	by hub.freebsd.org (Postfix) with ESMTP id 6661D37BD85
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Mar 2000 16:32:05 -0800 (PST)
	(envelope-from fabi@chaos.ffm.saargate.de)
Received: (from fabi@localhost)
	by chaos.ffm.saargate.de (8.9.3/8.9.3) id BAA51074;
	Sat, 25 Mar 2000 01:31:54 +0100 (CET)
	(envelope-from fabi)
Message-Id: <200003250031.BAA51074@chaos.ffm.saargate.de>
Date: Sat, 25 Mar 2000 01:31:54 +0100 (CET)
From: fabi@saargate.de
Sender: fabi@chaos.ffm.saargate.de
Reply-To: fabi@saargate.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: ata crashes when trying to extract cd-da using dagrab
X-Send-Pr-Version: 3.2

>Number:         17589
>Category:       kern
>Synopsis:       ata crashes when trying to extract cd-da using dagrab
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 24 16:40:01 PST 2000
>Closed-Date:    Tue Nov 14 00:59:14 PST 2000
>Last-Modified:  Tue Nov 14 01:00:03 PST 2000
>Originator:     Fabian Lessle
>Release:        FreeBSD 4.0-20000307-CURRENT i386
>Organization:
none
>Environment:

	
	acd0: CD-RW (Traxdata CDRW2260+) at ata1 slave using PIO3
 	unknown2: (GENERIC ESDI/IDE/ATA controller) at port 0x1e0-0x1e7,0x3e6 irq 11 on isa0
	ata1: at 0x170 irq 15 on atapci0

	dagrab version: 0.3.4	

>Description:

	
	When I try to extract CD-DA from an cd with 2s-breaks beetween the 
	tracks, it causes no problems until the drive reaches the end
	of the track and the 2 seconds which are displayed as '-2' and '-1'
	in normal CD-players. But then the system hangs up (after about
	5 seconds I can't do anything) and the kernel gives that output:
	
	acd0: READ_CD command timeout - resetting
	ata1: resetting devices .. ata1-slave: timeout waiting for command=ef s=	d0 e=68
	done
	ata1-slave: timeout waiting to give command=a0 s=d0 e=68
	acd0: failure to send ATAPI packet command
	acd0: failure to execute ATAPI packet command
	acd0: READ_CD command timeout - resetting

	and so on...
	
	ps: If I try to reboot by pressing alt-ctrl-del, the system won't do
	    that and the kernel outputs similar messages for ad2 (ata1-master)
	    So the shutdown process can't turn ad2 off and I finally have to
	    use the hardware reset.
	    I am sorry, but it didn't log the messages. :(

>How-To-Repeat:

	
	Insert an audio CD with 2s breaks.
	Type "dagrab 1" or "dagrab 2", etc.

>Fix:

	
	Workaround: Burn CDs in disc-at-once mode.
	Fix: Don't know such things. :( 

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos  
Responsible-Changed-By: dan 
Responsible-Changed-When: Sat Mar 25 08:01:18 PST 2000 
Responsible-Changed-Why:  
This is Soren's area. 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Tue Nov 14 00:59:14 PST 2000 
State-Changed-Why:  
From 4.2 onwards you dont need a grapper anymore, just 
use dd and copy the tracks from /dev/acdXtN. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17589 
>Unformatted:
