Skip to contentSkip to conversation

boot failure Re: Linux 2.2.21pre4

PATCH Mikael Pettersson 1 participant 1 message Mar 9, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · Barry K. Nathan

Reversing the following change to bluesmoke.c lets this computer boot again like it does with 2.2.21-pre3. The computer in question has a 533MHz Intel Celeron (the Pentium II-based kind).

-Barry K. Nathan <[email protected]>

diff -ruN linux-2.2.21-pre3/arch/i386/kernel/bluesmoke.c linux-2.2.21-pre4/arch/i386/kernel/bluesmoke.c

arch/i386/kernel/bluesmoke.c line 170

Quoted 8 lines
arch/i386/kernel/bluesmoke.c +1 -1
@@ -165,7 +164,7 @@
 	if(l&(1<<8))
 		wrmsr(0x17b, 0xffffffff, 0xffffffff);
 	banks = l&0xff;
-	for(i=1;i<banks;i++)
+	for(i=0;i<banks;i++)
 	{
 		wrmsr(0x400+4*i, 0xffffffff, 0xffffffff); 
 	}

Same here. s/i=0/i=1/ i the for() and my PII boots again.

/Mikael