I just ran into something similar with 4G cards, where the nanobsd 
numbers for 4G sandisk cards were wrong.

It looks like in these most recent cards, Sandisk has reserved more 
flash for wear leveling and spare sectors,
so a 4G nanobsd image won't fit onto a 4G card.  I used the numbers from 
fdisk to calculate the new device size, and used that in my nanobsd 
script, and all was well.   You're getting errors at the 3.9G boundary.  
You may be running off the end of the device.


- Robert



On 1/24/11 6:41 PM, Mike Tancsa wrote:
> On the latest SANDisk batch of CFs I got, I am getting periodic errors 
> reading from the flash on my 5501 (FreeBSD RELENG_8).  However, when I put 
> the flash in different readers-- e.g. attached to a regular server, no 
> errors.  On the 5501 I get periodic
>
> ad0: FAILURE - READ_DMA status=51<READY,DSC,ERROR>  error=10<NID_NOT_FOUND>  
> LBA=7813103
> ad0: FAILURE - READ_DMA status=51<READY,DSC,ERROR>  error=10<NID_NOT_FOUND>  
> LBA=7813119
> ad0: FAILURE - READ_DMA status=51<READY,DSC,ERROR>  error=10<NID_NOT_FOUND>  
> LBA=7813116
> ad0: FAILURE - READ_DMA status=51<READY,DSC,ERROR>  error=10<NID_NOT_FOUND>  
> LBA=7813119
> ad0: FAILURE - READ_DMA status=51<READY,DSC,ERROR>  error=10<NID_NOT_FOUND>  
> LBA=7813119
> ad0: FAILURE - READ_DMA status=51<READY,DSC,ERROR>  error=10<NID_NOT_FOUND>  
> LBA=7813119
> ad0: FAILURE - READ_DMA status=51<READY,DSC,ERROR>  error=10<NID_NOT_FOUND>  
> LBA=7813119
>
>
> the 2G flashes work just fine in the same box.  The only difference I can see 
> between the 2G and 4G CF is that that atacontrol says "lba48 supported".... 
> Could this be the issue ? If so, is there a way to turn it off or work around 
> it ?  My supplier is not carrying 2G anymore and the 4 is the same price as 
> the 2G :(
>
>
>
> Protocol              ATA/ATAPI revision 0
> device model          SanDisk SDCFH-004G
> serial number         ACZ120910191749
> firmware revision     HDX 6.02
> cylinders             7751
> heads                 16
> sectors/track         63
> CFA supported
> lba supported         7813120 sectors
> lba48 supported       7813120 sectors
> dma supported
> overlap not supported
>
> Feature                      Support  Enable    Value           Vendor
> write cache                    yes      yes
> read ahead                     no       no
> Tagged Command Queuing (TCQ)   no       no      0/0x00
> SMART                          no       no
> microcode download             no       no
> security                       no       no
> power management               no       no
> advanced power management      yes      no      0/0x00
> automatic acoustic management  no       no      0/0x00  0/0x00
>
>
>       ---Mike ---Mike
> _______________________________________________
> Soekris-tech mailing list
> [email protected]
> http://lists.soekris.com/mailman/listinfo/soekris-tech
>

_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to