Re: Problems with 2.6.10

From: Fryderyk Mazurek
Date: Sat Jan 01 2005 - 13:42:12 EST


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.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/