[Soekris] FreeBSD CF DMA problem
Paul Hoffman
phoffman at proper.com
Tue Feb 26 21:58:08 UTC 2008
At 2:59 PM +0100 8/27/06, John Murphy wrote:
>My net4801 is into its 3rd year running FreeBSD on a standard HD 24/7.
>Can't expect it to last forever though. So I'm trying to get a CF
>working without much luck so far. It's a Kingston 1GB 50x 'elite pro'
>
>Pri Sla CF300 (LBA Xlt 999-32-63 1007 Mbyte)
>[...]
>ad1: 983MB <CF300 Ver1.27> at ata0-slave UDMA33
>ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0
>ad1: TIMEOUT - READ_DMA retrying (0 retries left) LBA=0
>ad1: FAILURE - READ_DMA timed out LBA=0
>ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=1
>ad1: TIMEOUT - READ_DMA retrying (0 retries left) LBA=1
>ad1: FAILURE - READ_DMA timed out LBA=1
>ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0
>ad1: TIMEOUT - READ_DMA retrying (0 retries left) LBA=0
>ad1: FAILURE - READ_DMA timed out LBA=0
I'm having this, except that the LBA= is for various high numbers,
and I'm on FreeBDS 6.3 which I installed onto the CF through a USB
reader on a different device.
>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?
I want to know that too. Later that day:
At 9:00 AM -0400 8/29/06, Jeff Quast wrote:
>I had a little trouble myself upgrading to a 1gb cf from a 256mb cf in
>openbsd. The logical and physical C/H/S were equal on the 256
>kingston. The logical is vastly different on the 1gb ...horay for
>1980's compatibility in the x86 architecture :(
>
>
>http://www.freebsd.org/cgi/man.cgi?query=atacontrol&sektion=8&apropos=0&manpath=FreeBSD+6.0-RELEASE
>
>Try using:
>
>atacontrol mode ad1 PIO4
>
>and 3, 2, 1...
>
I'm not seeing how to do that. I can't boot the Soekris box, so I
can't run atacontrol there. How do I make the appropriate settings on
the other box (the one that has the CF on a USB reader) so that they
live through the bootup on the Soekris box?
--Paul Hoffman
More information about the Soekris-tech
mailing list