on 07/08/2013 00:26 J David said the following:
> $ sudo ./bootparttest da2
> GEOM provider "da2" opened
> Mediasize: 1000204886016 Bytes (1953525168 sectors)
> Sectorsize: 512 Bytes
> da2: read 1 blocks from the offset 0 [+0]
> da2: read 1 blocks from the offset 1 [+0]
> ptable_open: PMBR detected
> da2: read 1 blocks from the offset 1 [+0]
> gpt_checkhdr: invalid entry size or number of entries
> da2: read 1 blocks from the offset 1953525167 [+0]
> gpt_checkhdr: invalid entry size or number of entries
> Partition table detected: None
> 
> (Output for da3 - da7 are identical to da2.)

Could you please hack gpt_checkhdr() in sys/boot/common/part.c to print all the
relevant values for this check and try bootparttest again?

-- 
Andriy Gapon
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to