Re: [BUG] apm resume hangs on IBM T22 with 2.4.19 (harddrive sleeps forever)

From: Karel Gardas (kgardas@objectsecurity.com)
Date: Thu Oct 10 2002 - 09:31:43 EST


I've applied patch sent by Marcelo (below) (by hand since it fails with
patch -p0) and now I'm able to boot 2.4.19pre3. The result of this
testing is that this kernel has the bug too, so IMHO this bug/feature was
introduced between 2.4.19pre2 and 2.4.19pre3.

Any other patch/idea which should I try?

Thanks a lot,

Karel

> > 2.4.18 - OK (I'm using this now)
> > 2.4.19pre1 - OK
> > 2.4.19pre2 - OK
> > 2.4.19pre3 - doesn't boot for me.^
> > 2.4.19pre4 - BUG
> > 2.4.19pre5 - BUG
> > 2.4.19 - BUG
> > 2.4.20pre10 - BUG
> >

[sniped]

> # This is a BitKeeper generated patch for the following project:
> # Project Name: Linux kernel tree
> # This patch format is intended for GNU patch command version 2.5 or higher.
> # This patch includes the following deltas:
> # ChangeSet 1.181 -> 1.181.1.1
> # arch/i386/kernel/bluesmoke.c 1.13 -> 1.14
> #
> # --------------------------------------------
> # 02/03/14 marcelo@plucky.distro.conectiva 1.181.1.1
> # Remove off-by-one Davej's fix in bluesmoke.c: it causes some
> # machines to crash at boot.
> #
> # --------------------------------------------
> #
> diff -Nru a/arch/i386/kernel/bluesmoke.c b/arch/i386/kernel/bluesmoke.c
> --- a/arch/i386/kernel/bluesmoke.c Thu Oct 10 02:40:07 2002
> +++ b/arch/i386/kernel/bluesmoke.c Thu Oct 10 02:40:07 2002
> @@ -169,7 +169,7 @@
> if(l&(1<<8))
> wrmsr(MSR_IA32_MCG_CTL, 0xffffffff, 0xffffffff);
> banks = l&0xff;
> - for(i=0;i<banks;i++)
> + for(i=1;i<banks;i++)
> {
> wrmsr(MSR_IA32_MC0_CTL+4*i, 0xffffffff, 0xffffffff);
> }
>
>

--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

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



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:37 EST