Emilio Perea wrote:
> I've been using a 4801-50 with a SanDisk 1GB Ultra II CF card for a
> while now, using OpenBSD without any problems. But I was looking for
> bigger, and preferably faster disk, and bought a Sandisk 2GB Extreme
> IV CF card.
>
> This is almost four times faster in write speed according to my tests in
> a laptop, which seemed great. But in the 4801 I get disk errors. I
> put the new and old dmesgs online on
> http://hermes.walkereng.com/fubar.new and
> http://hermes.walkereng.com/fubar.old, but these are the diffs:
>
> *----------------------------------------------------------------------*
> 29,31c29,31
> < wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFH-1024>
> < wd0: 1-sector PIO, LBA, 977MB, 2001888 sectors
> < wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
> ---
>
>> wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFX-2048>
>> wd0: 4-sector PIO, LBA, 1953MB, 4001760 sectors
>> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
>>
> 58a59,98
>
>> wd0(pciide0:0:0): timeout
>> type: ata
>> c_bcount: 8192
>> c_skip: 0
>> pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
>>
I had the same problem with a 4GB Sandisk under FreeBSD. You need to
tell it to use PIO mode instead of DMA (which your old one seems to do
without needing to tell it). Under FreeBSD 6.2, you do this by adding a line
hw.ata.ata_dma="0"
to /boot/loader.conf. I presume that OpenBSD has something similar.
Graham
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech