From kunchan@h7.dion.ne.jp  Fri Jun  1 04:00:40 2001
Return-Path: <kunchan@h7.dion.ne.jp>
Received: from hfep02.dion.ne.jp (hfep02.dion.ne.jp [203.181.105.68])
	by hub.freebsd.org (Postfix) with ESMTP id F08B337B42C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  1 Jun 2001 04:00:39 -0700 (PDT)
	(envelope-from kunchan@h7.dion.ne.jp)
Received: from localhost ([61.117.71.221]) by hfep02.dion.ne.jp with ESMTP
          id <20010601110038740.BXAW@hfep02.dion.ne.jp>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Fri, 1 Jun 2001 20:00:38 +0900
Message-Id: <20010601192908N.kunchan@h7.dion.ne.jp>
Date: Fri, 01 Jun 2001 19:29:07 +0900
From: Ohashi Norikazu <kunchan@pop12.odn.ne.jp>
Sender: Ohashi.Norikazu <kunchan@h7.dion.ne.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: I can't read CD-DA data from CDROM
X-Send-Pr-Version: 3.113

>Number:         27812
>Category:       kern
>Synopsis:       Some weird ATA[PI] problem ?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 01 04:10:02 PDT 2001
>Closed-Date:    Thu Sep 6 02:23:58 PDT 2001
>Last-Modified:  Mon Jul 05 16:46:11 GMT 2004
>Originator:     Ohashi. Norikazu
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD onamge.my.domain 4.3-STABLE FreeBSD 4.3-STABLE #0: Fri Jun 1 00:03:26 JST 2001 katz@onamge.my.domain:/usr/src/sys/compile/ONAMGE2 i386

kernel-config :

	# ATA and ATAPI devices
	device          ata0    at isa? port IO_WD1 irq 14
	device          ata1    at isa? port IO_WD2 irq 15
	device          ata
	device          atadisk                 # ATA disk drives
	device          atapicd                 # ATAPI CDROM drives
	device          atapifd                 # ATAPI floppy drives
	device          atapist                 # ATAPI tape drives
	options         ATA_STATIC_ID           #Static device numbering
	#options        ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices

boot message <dmesg> :
	Copyright (c) 1992-2001 The FreeBSD Project.
	Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	        The Regents of the University of California. All rights reserved.
	FreeBSD 4.3-STABLE #0: Fri Jun  1 00:03:26 JST 2001
	    katz@onamge.my.domain:/usr/src/sys/compile/ONAMGE2
	Timecounter "i8254"  frequency 1193182 Hz
	CPU: Pentium III/Pentium III Xeon/Celeron (865.25-MHz 686-class CPU)
	  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
	  Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
	OV,PAT,PSE36,PN,MMX,FXSR,SSE>
	real memory  = 268369920 (262080K bytes)
	avail memory = 256217088 (250212K bytes)
	Programming 24 pins in IOAPIC #0
	IOAPIC #0 intpin 2 -> irq 0
	FreeBSD/SMP: Multiprocessor motherboard
	 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
	 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
	 io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec00000
	Preloaded elf kernel "kernel" at 0xc04f5000.
	         :
	         :
	atapci0: <VIA 82C686 ATA100 controller> port 0xc000-0xc00f at device 7.1 on pci0
	ata0: at 0x1f0 irq 14 on atapci0
	ata1: at 0x170 irq 15 on atapci0
                 :
                 :
	atapci1: <HighPoint HPT370 ATA100 controller> port 0xe400-0xe4ff,0xe000-0xe003,0
	xdc00-0xdc07,0xd800-0xd803,0xd400-0xd407 irq 9 at device 14.0 on pci0
	ata2: at 0xd400 on atapci1
	ata3: at 0xdc00 on atapci1
                  :
                  :

	ata1-slave: identify retries exceeded
	ad0: 39093MB <FUJITSU MPG3409AT E> [79428/16/63] at ata0-master UDMA100
	ad1: 14655MB <Maxtor 91531U3> [29777/16/63] at ata0-slave UDMA66
	acd0: DVD-ROM <_NEC DV-5700B> at ata1-master using PIO4


	<machine, os, target, libraries (multiple lines)>

>Description:

	I can't get CD-DA data from CD by ATAPI Drive.
        I use DVD-ROM <NEC DV-5700B>

        I use dagrab command.
        console messge is 
		acd0: READ_CD command timeout - resetting
		ata1: resetting devices .. done

	<precise description of the problem (multiple lines)>
>How-To-Repeat:

	>dagrab  -d /dev/racd0a 1


	reproduction 100%


	<code/input/activities to reproduce the problem (multiple lines)>
>Fix:
	<how to correct or work around the problem, if known (multiple lines)>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->sos 
Responsible-Changed-By: phk 
Responsible-Changed-When: Sat Jun 2 02:06:46 PDT 2001 
Responsible-Changed-Why:  
looks like a ATA/ATAPI PR ? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27812 
State-Changed-From-To: open->analyzed 
State-Changed-By: sos 
State-Changed-When: Mon Jun 4 11:04:08 PDT 2001 
State-Changed-Why:  

I dont know "dagrep" but I suppose it does something that the atapi 
drive doesn't understand. 
However, with FreeBSD 4.2 forward you dont need a ripper to grap 
audio tracks of a CD, just use: 

dd if=/dev/acd0tN of=trackN bs=2352 

where N is the track numberyou want to grap. 

If this doesn't work, there is a problem, so please report if that 
works... 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27812 
State-Changed-From-To: analyzed->closed 
State-Changed-By: sos 
State-Changed-When: Thu Sep 6 02:23:58 PDT 2001 
State-Changed-Why:  
No feedback. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27812 
>Unformatted:
