From owner-freebsd-stable Mon Apr 22 18:59:25 2002 Delivered-To: freebsd-stable@freebsd.org Received: from boromir.vpop.net (dns1.vpop.net [206.117.147.2]) by hub.freebsd.org (Postfix) with ESMTP id 5FDBF37B417 for ; Mon, 22 Apr 2002 18:59:19 -0700 (PDT) Received: from vpop.net (bilbo.vpop.net [65.103.33.41]) by boromir.vpop.net (8.11.6/8.11.6) with ESMTP id g3N1xDF84297; Mon, 22 Apr 2002 18:59:14 -0700 (PDT) (envelope-from mreimer@vpop.net) Message-ID: <3CC4C02E.2090003@vpop.net> Date: Mon, 22 Apr 2002 21:00:14 -0500 From: Matthew Reimer Organization: VPOP Technologies, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.9) Gecko/20020316 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Wolfskill Cc: stable@freebsd.org Subject: Re: ATAPI CD on -stable can't read VCD References: <200204230003.g3N03tWZ036104@bunrab.catwhisker.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Wolfskill wrote: >>Date: Mon, 22 Apr 2002 18:13:50 -0500 >>From: Matthew Reimer > >>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 ATA/ATAPI rev 6 Slave: ad1 ATA/ATAPI rev 4 ATA channel 1: Master: ad2 ATA/ATAPI rev 2 Slave: acd0 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: 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