From: Andries Brouwer <aebr@win.tue.nl>
To: Jim Houston <jim.houston@attbi.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] IDE OnTrack remap for 2.5.58
Date: Thu, 16 Jan 2003 20:56:53 +0100 [thread overview]
Message-ID: <20030116195653.GA22359@win.tue.nl> (raw)
In-Reply-To: <200301161814.h0GIEbb02258@linux.local>
On Thu, Jan 16, 2003 at 01:14:37PM -0500, Jim Houston wrote:
> I'm running a Seagate 80 GB disk in an old Pentium Pro dual processor.
> I installed the current Redhat (phoebe) beta, and it works fine until
> I try to boot a 2.5.58 kernel. It fails to mount the root disk because
> the disk has been setup with OnTrack remaping. I didn't do anything
> to ask for this remapping. Perhaps Seagate is shipping with this pre-
> installed?
>
> I went back and looked through the patches and found that the remapping
> support was removed in patch-2.5.30. The comments in the mailing list
> suggest that it belonged in user space. I have not found code/instructions
> on how to do this. Since then, most of IDE code has been reverted to the
> 2.4 versions but not this bit.
>
> The attached patch is just the bit of code which was removed in 2.5.30
> with the obvious changes needed to make it work in a 2.5.58 kernel.
> I have a dream of upgrading my test machine to something clean and modern
> unpolluted by backwards compatible cruft. Until then, this bit of code
> doesn't seem too bad.
My point of view:
(i) We must not carry this geometry nonsense forward in all
eternity. It is superfluous today. Get rid of it.
(ii) So, the automatic remapping is killed.
Most likely, there will be some people that still have old machines where
this remapping is necessary. Then there are two possible responses:
(iia) Don't run the latest kernel on an old cruft setup. Or,
(iib) Use boot parameters.
So, I am waiting a little, but if there is sufficient demand
we must have boot parameters that ask for an OnTrack remapping.
Concerning your particular case, I expect that you'll find that
your remapping is entirely superfluous.
If you like low level fiddling, boot from a floppy, e.g. tomsrtbt,
adapt the partition table and reboot. Now all should be well,
both under old and under new kernels. No data loss.
If you don't know how to fiddle, boot from a floppy, wipe the MBR
using dd if=/dev/zero, and reinstall. All data is lost.
Many intermediate approaches are possible.
We can discuss details in case you are interested.
Andries
aeb@cwi.nl
next prev parent reply other threads:[~2003-01-16 19:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-16 18:14 [patch] IDE OnTrack remap for 2.5.58 Jim Houston
2003-01-16 18:28 ` Andre Hedrick
2003-01-16 19:56 ` Andries Brouwer [this message]
2003-01-16 22:40 ` David Woodhouse
2003-01-17 14:40 ` Bill Davidsen
2003-01-20 8:25 ` Alan
-- strict thread matches above, loose matches on Subject: below --
2003-01-21 11:08 Andries.Brouwer
2003-01-21 12:02 ` Andre Hedrick
2003-01-21 23:01 ` Alan Cox
2003-01-22 1:34 Andries.Brouwer
2003-01-28 13:25 ` Alan Cox
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=20030116195653.GA22359@win.tue.nl \
--to=aebr@win.tue.nl \
--cc=jim.houston@attbi.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox