On 1/27/2011 2:39 PM, Mike Tancsa wrote:
> On 1/27/2011 1:32 PM, Robert Sexton wrote:
>>
>> 7751 * 16 * 63 = 7813008, so the system is reporting a sector count
>> thats larger than that calculated from C/H/S.  If anything in the
>> filesystem refers to these blocks, interesting things will happen.
>>
>> I'd try 7750/16/63, or 7812000
> 
> Thanks, I actually tried with a much smaller value of 4001760, but I
> still get the same errors with that as well as 7812000 :(


And stranger still... I booted via PXE so I could just write to the CF

# dd if=/dev/zero of=/dev/ad0 count=100
100+0 records in
100+0 records ad0: out
51200 bytesFAILURE - READ_DMA status=51<READY,DSC,ERROR>
error=10<NID_NOT_FOUND> transferred in  LBA=78131190.116170 secs (4
40733 bytes/sec)

# fdisk /dev/ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=7751 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=7751 heads=16 sectors/track=63 (1008 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 7812945 (3814 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 582/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

Alix boxes have the same issue BTW. Its BIOS sees it as

01F0 Master 848A SanDisk SDCFH-004G
Phys C/H/S 7751/16/63 Log C/H/S 968/128/63

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

Reply via email to