On Nov 28, 2001 23:31 +0000, Anton Altaparmakov wrote:
> I just booted my Athlon VIA KT133 chipset box with 2.5.1-pre2 only to
> discover it dropped me into single user mode because /dev/hda2 could not be
> mounted. (Rebooting into 2.5.0+viro patch everything is ok, back into
> 2.5.1-pre2 is broken...)
>
> Looking with hexedit /dev/hda2 when booted into 2.5.1-pre2 the first sector
> contains junk, the second sector contains the real data that I see as the
> first sector when booted into 2.5.0+viro fix.
>
> That suggests to me there is an off by one error in the VIA IDE driver in
> the 2.5.10pre2 kernel causing the partition to start one sector earlier
> than it should.
It may be an issue with your particular partition table having /dev/hda1
being an odd number of 512-byte sectors long, but Jens' code only doing
math on 1kB blocks. Just speculation of course. What does "fdisk -ul"
tell you under the two kernels?
Cheers, Andreas
-- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:32 EST