All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: Anton Altaparmakov <aia21@cam.ac.uk>
Cc: Jens Axboe <axboe@suse.de>,
	Linus Torvalds <torvalds@transmeta.com>,
	linux-kernel@vger.kernel.org
Subject: Re: 2.5.1-pre2 bio offset by one error in VIA IDE
Date: Wed, 28 Nov 2001 16:55:30 -0700	[thread overview]
Message-ID: <20011128165530.L856@lynx.no> (raw)
In-Reply-To: <Pine.LNX.4.33.0111271701140.1629-100000@penguin.transmeta.com> <15364.3457.368582.994067@gargle.gargle.HOWL> <Pine.LNX.4.33.0111271701140.1629-100000@penguin.transmeta.com> <20011128132000.T23858@suse.de> <5.1.0.14.2.20011128232246.00aea8f0@pop.cus.cam.ac.uk>
In-Reply-To: <5.1.0.14.2.20011128232246.00aea8f0@pop.cus.cam.ac.uk>; from aia21@cam.ac.uk on Wed, Nov 28, 2001 at 11:31:14PM +0000

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/


  reply	other threads:[~2001-11-28 23:56 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-27 20:44 2.5.1-pre2 does not compile f5ibh
2001-11-27 20:50 ` Linus Torvalds
2001-11-27 22:02   ` Paul Mackerras
2001-11-28  1:04     ` Linus Torvalds
2001-11-28  1:34       ` Block I/O Enchancements, 2.5.1-pre2 Jeff V. Merkey
2001-11-28  1:45         ` Jeff Garzik
2001-11-28  1:55           ` Jeff V. Merkey
2001-11-28  2:32             ` Jeff Garzik
2001-11-28  3:38               ` Linus Torvalds
2001-11-30  2:19                 ` Daniel Phillips
2001-11-30 12:21                   ` Hans Reiser
     [not found]                     ` <15367.32910.275973.287742@laputa.namesys.com>
2001-12-01  9:31                       ` [reiserfs-dev] " Hans Reiser
2001-11-28 10:17               ` Martin Dalecki
2001-11-28 13:35         ` Jens Axboe
2001-11-28 17:29           ` Jeff Merkey
2001-11-28  6:58       ` 2.5.1-pre2 does not compile Jens Axboe
2001-11-28 12:20       ` bio write-up (was: Re: 2.5.1-pre2 does not compile) Jens Axboe
2001-11-28 23:31       ` 2.5.1-pre2 bio offset by one error in VIA IDE Anton Altaparmakov
2001-11-28 23:55         ` Andreas Dilger [this message]
2001-11-29  1:07         ` Anton Altaparmakov
2001-11-30  1:53     ` 2.5.1-pre2 does not compile Daniel Phillips
2001-11-27 22:09   ` Christoph Hellwig
2001-11-27 22:22     ` onboard ethernet/sound on Soyo SY-K7V? Dax Kelson
2001-11-27 22:47       ` François Cami
2001-11-27 22:57       ` Jeff Garzik
2001-11-27 22:29     ` 2.5.1-pre2 does not compile Robert Love
2001-11-28  0:29     ` Linus Torvalds
2001-11-28 12:55       ` Christoph Hellwig
2001-11-28 16:26         ` Andreas Dilger
2001-11-28 16:42           ` Christoph Hellwig
2001-11-28 16:39             ` Martin Dalecki
2001-11-28 17:27             ` Andreas Dilger
2001-11-28  0:40   ` Andre Hedrick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011128165530.L856@lynx.no \
    --to=adilger@turbolabs.com \
    --cc=aia21@cam.ac.uk \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.