2002-03-09 23:13:03

by Seiichi Nakashima

[permalink] [raw]
Subject: 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]
--------------------------------


2002-03-09 23:48:59

by Bruce Harada

[permalink] [raw]
Subject: Re: 2.2.21-pre4 hung up

On Sun, 10 Mar 2002 08:12:28 +0900
Seiichi Nakashima <[email protected]> wrote:

> 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:

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.


2002-03-09 23:48:10

by Thunder from the hill

[permalink] [raw]
Subject: Re: 2.2.21-pre4 hung up

Seiichi Nakashima wrote:
>
> 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 =====

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.
--
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
> uudecode $file | perl

2002-03-10 00:04:13

by Thunder from the hill

[permalink] [raw]
Subject: Re: 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.
> ...

ok, just to forward the patches:
>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);
> }
>
> Same here. s/i=0/i=1/ i the for() and my PII boots again.

Thunder
--
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
> uudecode $file | perl

2002-03-10 01:00:20

by Seiichi Nakashima

[permalink] [raw]
Subject: Re: 2.2.21-pre4 hung up

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 [email protected]
--------------------------------