Re: [PATCH] Making Cyrix III boot

2001-01-31 Thread Alan Cox

> The Cyrix III of my employer doesn't boot without this patch.
> Reason: There are no MSRs in this range.
> 
> Since hpa didn't send a better fix, I attached the band-aid fix
> for you, so that people can boot.

HPA's suggested fix is in the -ac tree

> Linus, please apply.

Linus please apply hpa's correct fix instead
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



[PATCH] Making Cyrix III boot

2001-01-28 Thread Ingo Oeser

Hi,

On Sun, Jan 28, 2001 at 10:31:52AM -0800, Linus Torvalds wrote:
> I just uploaded it to kernel.org, and I expect that I'll do the final
> 2.4.1 tomorrow, before leaving for NY and LinuxWorld. Please test that the
> pre-kernel works for you..

The Cyrix III of my employer doesn't boot without this patch.
Reason: There are no MSRs in this range.

Since hpa didn't send a better fix, I attached the band-aid fix
for you, so that people can boot.

Linus, please apply.

Regards

Ingo Oeser

--- linux-2.4.1-pre11/arch/i386/kernel/setup.c.orig Mon Jan 29 03:35:08 2001
+++ linux-2.4.1-pre11/arch/i386/kernel/setup.c  Mon Jan 29 03:36:41 2001
@@ -1401,10 +1401,11 @@
wrmsr (0x1107, lo, hi);
 
set_bit(X86_FEATURE_CX8, >x86_capability);
+   /* FIXME: This is only band-aid. Will be fixed 
+properly -ioe
rdmsr (0x8001, lo, hi);
if (hi & (1<<31))
set_bit(X86_FEATURE_3DNOW, 
>x86_capability);
-
+   */
get_model_name(c);
display_cacheinfo(c);
break;

-- 
10.+11.03.2001 - 3. Chemnitzer LinuxTag 
    come and join the fun   
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



[PATCH] Making Cyrix III boot

2001-01-28 Thread Ingo Oeser

Hi,

On Sun, Jan 28, 2001 at 10:31:52AM -0800, Linus Torvalds wrote:
 I just uploaded it to kernel.org, and I expect that I'll do the final
 2.4.1 tomorrow, before leaving for NY and LinuxWorld. Please test that the
 pre-kernel works for you..

The Cyrix III of my employer doesn't boot without this patch.
Reason: There are no MSRs in this range.

Since hpa didn't send a better fix, I attached the band-aid fix
for you, so that people can boot.

Linus, please apply.

Regards

Ingo Oeser

--- linux-2.4.1-pre11/arch/i386/kernel/setup.c.orig Mon Jan 29 03:35:08 2001
+++ linux-2.4.1-pre11/arch/i386/kernel/setup.c  Mon Jan 29 03:36:41 2001
@@ -1401,10 +1401,11 @@
wrmsr (0x1107, lo, hi);
 
set_bit(X86_FEATURE_CX8, c-x86_capability);
+   /* FIXME: This is only band-aid. Will be fixed 
+properly -ioe
rdmsr (0x8001, lo, hi);
if (hi  (131))
set_bit(X86_FEATURE_3DNOW, 
c-x86_capability);
-
+   */
get_model_name(c);
display_cacheinfo(c);
break;

-- 
10.+11.03.2001 - 3. Chemnitzer LinuxTag http://www.tu-chemnitz.de/linux/tag
come and join the fun   
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/