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, 01 Apr 2008 20:39:33 -0400
Greg Troxel <gdt%ir.bbn.com@localhost> wrote:
> I am using AHCI, which has worked fine.
Yes, that's what I was using.
See http://mail-index.netbsd.org/current-users/2007/11/oindex.html --
the thread starts November 5.
> 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.
Neither did I...
>
> 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.
>
--Steve Bellovin, http://www.cs.columbia.edu/~smb
Home |
Main Index |
Thread Index |
Old Index