Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2004 02:30:31 -0600
From:      Jon Noack <noackjr@compgeek.com>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        current@freebsd.org
Subject:   Re: 5.2-RELEASE: unable to mount cd-roms
Message-ID:  <40064FA7.50008@compgeek.com>
In-Reply-To: <40042CEE.5000709@compgeek.com>
References:  <4003AE67.1050704@compgeek.com> <20040113092043.P63000@carver.gumbysoft.com> <40042CEE.5000709@compgeek.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/13/2004 11:37 AM, Jon Noack wrote:
> On 1/13/2004 11:23 AM, Doug White wrote:
>> On Tue, 13 Jan 2004, Jon Noack wrote:
>>> I am unable to mount CD-ROMs with 5.2-RELEASE.  I get the
>>> following error message:
>>> 
>>> cd9660: /dev/acd0: Input/output error
>> 
>> handy.
>> 
>>> The full dmesg: http://www.noacks.org/freebsd/dmesg.20040113.txt
>>> 
>>> $ grep acd0: dmesg.20040113.txt acd0: FAILURE - MODE_SENSE_BIG
>>> status=51<READY,DSC,ERROR> sensekey=ABORTED COMMAND
>>> error=4<ABORTED> acd0: FAILURE - MODE_SENSE_BIG
>>> status=51<READY,DSC,ERROR> sensekey=ABORTED COMMAND
>>> error=4<ABORTED> acd0: <CREATIVEDVD-ROM DVD2240E 03/18/98/1.8A>
>>> DVDROM drive at ata0 as master acd0: read 16007KB/s (32015KB/s),
>>> 2KB buffer, WDMA2 acd0: Reads: CDR, CDRW, CDDA, DVDROM, packet 
>>> acd0: Writes: acd0: Audio: play, 65280 volume levels acd0:
>>> Mechanism: ejectable tray, unlocked acd0: Medium: CD-ROM 120mm
>>> photo disc acd0: WARNING - READ_BIG UDMA ICRC error (retrying
>>> request) acd0: FAILURE - READ_BIG status=51<READY,DSC,ERROR>
>>> sensekey=ILLEGAL REQUEST error=0
>> 
>> The UDMA error is telling -- I think you may have a bad cable.  Try
>> running this command in loader before starting the kernel:
>> 
>> set hw.ata.atapi_dma=0
>> 
>> (or at least check that you aren't setting it to 1 in
>> /boot/loader.conf)
>> 
>> If that fixes it, then something is corrupting DMA transactions to
>> your DVD drive.  Check the cabling, try rearranging your ATA chains
>> so it isn't a master device, etc.
> 
> The same cable worked fine for a 60GB dump/restore on Sunday night (a
> WD800JB was plugged into it to transfer data to the new hard
> drives). Regardless, I'll try a different one when I get home.
> 
> As for the DMA issue, I will quote my original message (yes, I
> rebooted each time after changing the value in /boot/loader.conf): 
> "Also, toggling "hw.ata.atapi_dma" does not change the behavior."
> 
> Jon Noack

I've tried different cables, master vs. slave, primary vs. secondary 
controllers -- none made any difference.

Jon Noack
-- 
Doing linear scans over an associative array is like trying to club 
someone to death with a loaded Uzi.
- Larry Wall



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40064FA7.50008>