Re: 2.2.21-pre4 hung up

Seiichi Nakashima (nakasima@kumin.ne.jp)
Sun, 10 Mar 2002 09:59:42 +0900


Thanks mail.

I update linux-2.2.21-pre4/arch/i386/kernel/bluesmoke.c, and compile,install, bootup.
Then kernel work fine.

diff bluesmoke.c~ bluesmoke.c

167c167
< for(i=0;i<banks;i++)

---
> 	for(i=1;i<banks;i++)

=====

>[SNIP] > >According to other reports, it would appear that this change: > >diff -ruN linux-2.2.21-pre3/arch/i386/kernel/bluesmoke.c linux-2.2.21-pre4/arch/i386/kernel/bluesmoke.c >--- linux-2.2.21-pre3/arch/i386/kernel/bluesmoke.c Sun Mar 3 23:20:11 2002 >+++ linux-2.2.21-pre4/arch/i386/kernel/bluesmoke.c Sat Mar 9 03:58:57 2002 >@@ -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); > } > >is the problem. Reversing it (i.e. changing the i=0 to i=1) should allow >you to boot again. >

-------------------------------- Seiichi Nakashima Email nakasima@kumin.ne.jp -------------------------------- - 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/