Port-i386 archive

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

Re: latest current fails to mount root



Greg Troxel <gdt%ir.bbn.com@localhost> writes:

> 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 switched from AHCI to legacy, and now get:

piixide0 at pci0 dev 31 function 2
piixide0: Intel 82801GBM/GHM Serial ATA Controller (ICH7) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at piixide0 channel 1
wd0 at atabus0 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: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)

and the system booted fine.


Also, after updating from 4.99.24 to recent current, I've experienced a
number of hangs, apparently under high load (firefox and npviewer or
make -j4, but hard to tell).  I'll see if running w/o AHCI hangs or not,
and also try instrumenting the "exceeds disk size" printf to find out
the offending values.


Home | Main Index | Thread Index | Old Index