Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2002 21:00:14 -0500
From:      Matthew Reimer <mreimer@vpop.net>
To:        David Wolfskill <david@catwhisker.org>
Cc:        stable@freebsd.org
Subject:   Re: ATAPI CD on -stable can't read VCD
Message-ID:  <3CC4C02E.2090003@vpop.net>
References:  <200204230003.g3N03tWZ036104@bunrab.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
David Wolfskill wrote:
>>Date: Mon, 22 Apr 2002 18:13:50 -0500
>>From: Matthew Reimer <mreimer@vpop.net>
> 
>>I'm not able to read a VCD with FreeBSD-stable. Attempting to mount the 
>>CD causes this error:
> 
>>Apr 22 17:57:37 bilbo /kernel: acd0: READ_BIG - ILLEGAL REQUEST asc=0x64 
>>ascq=0x00 error=0x00
> 
> OK; that would be an ATAPI device, right?

Yes.

>>Xine figures out how many tracks there are, but attempting to play any 
>>of them fails with "read error 22" (EINVAL).
> 
>>I'm using the VCD image at 
>>http://www.vcdimager.org/pub/vcdimager/examples/test_svcd/ for testing.
> 
>>I think this is a regression, because a couple of months ago I could 
>>play VCD's just fine.
> 
> 
>>Can anyone help? I'm willing to help debug/test/instrument.
> 
> 
> What does
> 
> 	atacontrol list
> 
> report?  More to the point, what about
> 
> 	atacontrol mode N
> [where "N" is generally either "0" or "1", and corresponds to the ATA
> controller where acd0 is]?
> 
> Reason I ask is that I had a similar problem with a DVD when I was using
> PIO4; switching to UDMA made the problem go away.

I think I'm already in UDMA mode (UDMA2 to be precise):

bilbo:/usr/home/mreimer# atacontrol list
ATA channel 0:
     Master:  ad0 <Maxtor 96147H6/ZAH814Y0> ATA/ATAPI rev 6
     Slave:   ad1 <ST38422A/3.09> ATA/ATAPI rev 4
ATA channel 1:
     Master:  ad2 <CASTLEWOOD ORB2-E/USR-4.18> ATA/ATAPI rev 2
     Slave:  acd0 <Pioneer DVD-ROM ATAPIModel DVD-114 0125/E1.25> 
ATA/ATAPI rev 4
bilbo:/usr/home/mreimer# atacontrol cap 1 1
ATA channel 1, Slave, device acd0:

ATA/ATAPI revision    4
device model          Pioneer DVD-ROM ATAPIModel DVD-114 0125
firmware revision     E1.25
cylinders             0
heads                 0
sectors/track         0
lba supported
lba48 not supported
dma supported
overlap not supported

Feature                      Support  Enable    Value   Vendor
write cache                    no       no
read ahead                     no       no
dma queued                     no       no      0/00
SMART                          no       no
microcode download             no       no
security                       no       no
power management               yes      yes
advanced power management      no       no      0/00
automatic acoustic management  no       no      0/00    0/00
bilbo:/usr/home/mreimer#

dmesg:
ata1-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata1-slave: success setting UDMA2 on Intel chip
acd0: <Pioneer DVD-ROM ATAPIModel DVD-114 0125/E1.25> DVD-ROM drive at 
ata1 as slave
acd0:  512KB buffer, UDMA33
acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R
acd0: Writes:
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: CD-ROM 120mm data disc
acd0: READ_BIG - ILLEGAL REQUEST asc=0x64 ascq=0x00 error=0x00

Thanks for your help.

Matt


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CC4C02E.2090003>