Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2004 11:37:50 -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:  <40042CEE.5000709@compgeek.com>
In-Reply-To: <20040113092043.P63000@carver.gumbysoft.com>
References:  <4003AE67.1050704@compgeek.com> <20040113092043.P63000@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40042CEE.5000709>