lkml.org 
[lkml]   [2003]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] IDE OnTrack remap for 2.5.58
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

-
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/

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