Port-i386 archive

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

Re: latest current fails to mount root



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;
        }


But I didn't see anything that looked like IO error.

I did (while booted off usb):

dd if=/dev/rwd0d of=/dev/null bs=128k
dd: /dev/rwd0d: Input/output error
763170+0 records in
763170+0 records out
100030218240 bytes transferred in 3163.403 secs (31621079 bytes/sec)

which is 195371520, just shy of

> wd0 at atabus1 drive 0: <HTS541010G9SA00>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 95396 MB, 193821 cyl, 16 head, 63 sec, 512 bytes/sect x
> 195371568 sectors wd0: drive supports PIO mode 4, DMA mode 2,

so I wonder if end-of-disk in AHCI mode comes too early somehow.

Thanks - I'll try compat mode.  luckily I have 64M empty after my last fs.




Home | Main Index | Thread Index | Old Index