2005-01-01 18:41:10

by Fryderyk Mazurek

[permalink] [raw]
Subject: Re: Problems with 2.6.10

Hello!

At last I fixed my problem! I changed source to not enable "Host
Protected Area". This means that on 2.6.10 I have 33,8GB disk, not
40GB, how on "true" 2.6.10. And now my BIOS detect my disk. But
question is, what does "true" kernel do, and why influence to BIOS?
Maybe this is kernel BUG?
Here is my diff's file. Maybe my patch is primitive, but it works.
Maybe somebody will do better patch.

My patch:
--- ./ide-disk-copy.c 2004-12-24 22:34:32.000000000 +0100
+++ ./ide-disk.c 2005-01-01 18:07:33.000000000 +0100
@@ -642,7 +642,9 @@
drive->name,
capacity, sectors_to_MB(capacity),
set_max, sectors_to_MB(set_max));
-
+
+ return;
+
if (lba48)
set_max = idedisk_set_max_address_ext(drive, set_max);
else


I want to thank all who helped me and I wish a Happy New Year!

Fryderyk.