GEOM_PART: Integrity check failed (ada2, MBR)

John-Mark Gurney jmg at funkthat.com
Sat May 17 16:25:15 UTC 2014


Ronald F. Guilmette wrote this message on Fri, May 16, 2014 at 12:38 -0700:
> 
> In message <20140516130346.GB43976 at funkthat.com>, 
> John-Mark Gurney <jmg at funkthat.com> wrote:
> 
> >> The result of the above operations is as follows:
> >> 
> >> May 15 21:53:33 segfault kernel: ada2 at ata5 bus 0 scbus5 target 0 lun 0
> >> May 15 21:53:33 segfault kernel: ada2: <Hitachi HTS541010A9E680 JA0OA480> AT
> >A-8 SATA 3.x device
> >> May 15 21:53:33 segfault kernel: ada2: 300.000MB/s transfers (SATA 2.x, UDMA
> >5, PIO 8192bytes)
> >> May 15 21:53:33 segfault kernel: ada2: 31MB (65134 512 byte sectors: 16H 63S
> >/T 64C)
> >
> >Wow, I just noticed this...  FreeBSD is only seeing it as a 31MB drive
> >instead of a 1TB drive...  This is probably the problem...
> 
> OHHHHH!  Wow!  Yea.  That is MESSED UP!
> 
> Good eye there!  I hadn't noticed THAT!
> 
> >What do "diskinfo /dev/ada2" and "camcontrol identify ada2" return?
> 
> I have created files containing those two outputs.  Please fetch them here:
> 
> ftp://ftp.tristatelogic.com/pub/ada2.diskinfo
> ftp://ftp.tristatelogic.com/pub/ada2.camcontrol
> 
> >If it really does return that the disk is only 31MB, we need to track this
> >down, and this is why we're failing the integrity check of the MBR..
> 
> I don't know how to properly read/interpret these outputs, so your further
> guidance would be greatly appreciated.
> 
> I will say however that it does appear to me that both programs _are_
> indeed viewing the drive in question as (perhaps) containing only 31MB...
> which is indeed seriously messed up.
> 
> (It is absolutely the case that the drive in question is indeed a 1TB drive.)

Can you get a memstick of 11-CURRENT from:
https://www.freebsd.org/snapshots/

and get the output of:
camcontrol identify ada2 -v

from a boot of the memstick?  mav thinks that it might be an issue w/
HPA, and this should help track it down.

Thanks.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-geom mailing list