[Soekris] FreeBSD CF DMA problem

John Murphy sub02 at freeode.co.uk
Tue Aug 29 20:46:06 UTC 2006


"Jeff Quast" <af.dingo at gmail.com> wrote:

>Hi John,
>
>On 8/27/06, John Murphy <sub02 at freeode.co.uk> wrote:
>> ad1: FAILURE - READ_DMA timed out LBA=0
>>
>> That's with hw.ata.ata_dma="0" in /boot/loader.conf
>> and sysctl hw.ata.ata_dma shows hw.ata.ata_dma: 0
>>
>> Is there anything else I can try to force a PIO mode?
>
>http://www.freebsd.org/cgi/man.cgi?query=atacontrol&sektion=8&apropos=0&manpath=FreeBSD+6.0-RELEASE
>
>Try using:
>
>atacontrol mode ad1 PIO4
>
Hi Jeff

Well that works a treat, thanks.  I've now been able to fdisk and label
the thing.  Is there a way to make that permanent though? Or anything I
can do in the kernel to make it never try DMA?

I tried a verbose boot with hw.ata.ata_dma set to 0 and it seems to set
PIO mode and then set UDMA33 again :/

ad0: success setting PIO4 on National chip
ad1: success setting PIO4 on National chip
ad1: success setting UDMA33 on National chip
ata0: reinit done ..
ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0

<sequence repeated about 8 times>

-- 
Thanks again, John.


More information about the Soekris-tech mailing list