lkml.org 
[lkml]   [2005]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Problems with 2.6.10
Date
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@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 14:09    [W:0.049 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site