2.2.21-pre4 hung up
Hi.
I update to linux-2.2.20 + patch-2.2.21-pre4.
before I used linux-2.2.20 + patch-2.2.21-pre3, and worked fine. linux-2.2.21-pre4 is normal end to patch, compile and install, but bootup failuer.
these messages displayed on console, and hung up.
===== messaged start =====
Uncompressing Linux... Ok, booting the kernel.
Linux version 2.2.21pre4 (root@homesv) (gcc version 2.95.3 20010315 (release)) # 1 Sun Mar 10 07:31:33 JST 2002
USER-provided physical RAM map:
USER: 000a0000 @ 00000000 (usable)
USER: 05efd000 @ 00100000 (usable)
Detected 400916 kHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 799.53 BogoMIPS
Memory: 95824k/98292k abailable (816k kernel code, 412k reserved, 1180k data, 60k init) Dentry hash table entries: 16384 (order 5, 128k)
Buffer cache hash table entries: 131072 (order 7, 512k)
Page cache hash table entries: 32768 (order 5, 128k)
CPU: L1 I cache: 16K, L1 D cache: 16K
Intel machine check architecture supported.
===== messages end =====
--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------
Quoted 18 lines · Seiichi Nakashima
Hi.
I update to linux-2.2.20 + patch-2.2.21-pre4.
before I used linux-2.2.20 + patch-2.2.21-pre3, and worked fine. linux-2.2.21-pre4 is normal end to patch, compile and install, but bootup failuer.these messages displayed on console, and hung up.
===== messaged start =====
Uncompressing Linux... Ok, booting the kernel.
Linux version 2.2.21pre4 (root@homesv) (gcc version 2.95.3 20010315 (release)) # 1 Sun Mar 10 07:31:33 JST 2002
USER-provided physical RAM map:
USER:000a0000@ 00000000 (usable)
USER:05efd000@ 00100000 (usable)
Detected 400916 kHz processor.
Console: colour VGA+ 80x25
Quoted 8 lines
Calibrating delay loop... 799.53 BogoMIPS
Memory: 95824k/98292k abailable (816k kernel code, 412k reserved, 1180k data, 60k init) Dentry hash table entries: 16384 (order 5, 128k)
Buffer cache hash table entries: 131072 (order 7, 512k)
Page cache hash table entries: 32768 (order 5, 128k)
CPU: L1 I cache: 16K, L1 D cache: 16K
Intel machine check architecture supported.
===== messages end =====
I remember this was the one-and-zero stuff from last evening or whenever. Can someone remember? It was just some 0 which had to be 1.
Signature · 13 lines
begin-base64 755 - IyEgL3Vzci9iaW4vcGVybApteSAgICAgJHNheWluZyA9CSMgVGhlIHNjcmlw dCBvbiB0aGUgbGVmdCBpcyB0aGUgcHJvb2YKIk5lbmEgaXN0IGVpbiIgLgkj IHRoYXQgaXQgaXNuJ3QgYWxsIHRoZSB3YXkgaXQgc2VlbXMKIiB2ZXJhbHRl dGVyICIgLgkjIHRvIGJlIChlc3BlY2lhbGx5IG5vdCB3aXRoIG1lKQoiTkRX LVN0YXIuXG4iICA7CiRzYXlpbmcgPX4Kcy9ORFctU3Rhci9rYW5uXAogdW5z IHJldHRlbi9nICA7CiRzYXlpbmcgICAgICAgPX4Kcy92ZXJhbHRldGVyL2Rp XAplIExpZWJlL2c7CiRzYXlpbmcgPX5zL2Vpbi8KbnVyL2c7JHNheWluZyA9 fgpzL2lzdC9zYWd0LC9nICA7CiRzYXlpbmc9fnMvXG4vL2cKO3ByaW50Zigk c2F5aW5nKQo7cHJpbnRmKCJcbiIpOwo= ==== Extract this and see what will happen if you execute my signature. Just save it to file and do a
Quoted 1 line
uudecode $file | perl
Quoted 6 lines · On Sun, 10 Mar 2002 08:12:28 +0900 Seiichi Nakashima <[email protected]>…
Hi.
I update to linux-2.2.20 + patch-2.2.21-pre4.
before I used linux-2.2.20 + patch-2.2.21-pre3, and worked fine. linux-2.2.21-pre4 is normal end to patch, compile and install, but bootup failuer.
[SNIP]
According to other reports, it would appear that this change:
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 ); }
is the problem. Reversing it (i.e. changing the i=0 to i=1) should allow you to boot again.
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++)
---
Quoted 1 line
for(i=1;i<banks;i++)
=====
Quoted 17 lines
[SNIP]
According to other reports, it would appear that this change:
diff -ruN
linux-2.2.21-pre3/arch/i386/kernel/bluesmoke.clinux-2.2.21-pre4/arch/i386/kernel/bluesmoke.carch/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 ); }
Quoted 3 lines
is the problem. Reversing it (i.e. changing the i=0 to i=1) should allow you to boot again.
--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------
Hi,
Quoted 6 lines
I update to linux-2.2.20 + patch-2.2.21-pre4.
before I used linux-2.2.20 + patch-2.2.21-pre3, and worked fine. linux-2.2.21-pre4 is normal end to patch, compile and install, but bootup failuer.these messages displayed on console, and hung up.
...
ok, just to forward the patches:
Quoted 13 lines
diff -ruN
linux-2.2.21-pre3/arch/i386/kernel/bluesmoke.clinux-2.2.21-pre4/arch/i386/kernel/bluesmoke.carch/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 ); }
Quoted 1 line
Same here. s/i=0/i=1/ i the
for()and my PII boots again.
Thunder
Signature · 13 lines
begin-base64 755 - IyEgL3Vzci9iaW4vcGVybApteSAgICAgJHNheWluZyA9CSMgVGhlIHNjcmlw dCBvbiB0aGUgbGVmdCBpcyB0aGUgcHJvb2YKIk5lbmEgaXN0IGVpbiIgLgkj IHRoYXQgaXQgaXNuJ3QgYWxsIHRoZSB3YXkgaXQgc2VlbXMKIiB2ZXJhbHRl dGVyICIgLgkjIHRvIGJlIChlc3BlY2lhbGx5IG5vdCB3aXRoIG1lKQoiTkRX LVN0YXIuXG4iICA7CiRzYXlpbmcgPX4Kcy9ORFctU3Rhci9rYW5uXAogdW5z IHJldHRlbi9nICA7CiRzYXlpbmcgICAgICAgPX4Kcy92ZXJhbHRldGVyL2Rp XAplIExpZWJlL2c7CiRzYXlpbmcgPX5zL2Vpbi8KbnVyL2c7JHNheWluZyA9 fgpzL2lzdC9zYWd0LC9nICA7CiRzYXlpbmc9fnMvXG4vL2cKO3ByaW50Zigk c2F5aW5nKQo7cHJpbnRmKCJcbiIpOwo= ==== Extract this and see what will happen if you execute my signature. Just save it to file and do a
Quoted 1 line
uudecode $file | perl