Hi Emilio,

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

The net4801 added support for DMA on the CompactFlash from PCB rev 3, 
dated 040226. If you have an older board then you will need to tell the 
ATA driver to disable DMA, as it will detect that the disk support DMA 
but don't know it's not wired....


Best Regards,


Soren Kristensen

CEO & Chief Engineer
Soekris Engineering, Inc.





> 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
>> wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), 
>> retrying
>> wd0(pciide0:0:0): timeout
>>         type: ata
>>         c_bcount: 8192
>>         c_skip: 0
>> pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
>> wd0: transfer error, downgrading to Ultra-DMA mode 1
>> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
>> wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), 
>> retrying
>> wd0(pciide0:0:0): timeout
>>         type: ata
>>         c_bcount: 8192
>>         c_skip: 0
>> pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
>> wd0: transfer error, downgrading to Ultra-DMA mode 0
>> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
>> wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), 
>> retrying
>> wd0(pciide0:0:0): timeout
>>         type: ata
>>         c_bcount: 8192
>>         c_skip: 0
>> pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
>> wd0: transfer error, downgrading to DMA mode 2
>> wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
>> wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), 
>> retrying
>> wd0: soft error (corrected)
>> wd0(pciide0:0:0): timeout
>>         type: ata
>>         c_bcount: 8192
>>         c_skip: 0
>> pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
>> wd0: transfer error, downgrading to PIO mode 4
>> wd0(pciide0:0:0): using PIO mode 4
>> wd0a: device timeout reading fsbn 16 of 16-0 (wd0 bn 79; cn 0 tn 1 sn 16), 
>> retrying
>> wd0: soft error (corrected)
> *----------------------------------------------------------------------*
> 
> In both cases the card was partitioned and formatted by the OpenBSD
> setup program, choosing "use the whole disk for OpenBSD".  Should I try
> again using different disk geometry, go back to the old card, or
> something else?  (I just upgraded the bios from 1.28 to 1.30, just in
> case, but it didn't make any difference.)
> _______________________________________________
> Soekris-tech mailing list
> Soekris-tech@lists.soekris.com
> http://lists.soekris.com/mailman/listinfo/soekris-tech
> 
> .
> 
_______________________________________________
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to