[lkml]   [2001]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.5.1-pre2 bio offset by one error in VIA IDE
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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.174 / U:1.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site