Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: latest current fails to mount root



On Tue, Apr 01, 2008 at 08:39:33PM -0400, Greg Troxel wrote:
> I am using AHCI, which has worked fine.
> The message was from src/sys/kern/subr_disk_mbr.c:scan_mbr():
> 
>         /* Check end of partition is inside disk limits */
>         if ((uint64_t)ext_base + le32toh(dp->mbrp_start) +
>             le32toh(dp->mbrp_size) > a->lp->d_secperunit) {
>                 /* This mbr doesn't look good.... */
>                 a->msg = "mbr partition exceeds disk size";
>                 /* ...but don't report this as an error (yet) */
>                 return SCAN_CONTINUE;
>         }

It might be worth building a kernel that prints all the values
in the above expression (and maybe some other info) in order
to determine which value is wrong.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index