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

Karel Gardas (kgardas@objectsecurity.com)
Mon, 30 Sep 2002 15:47:29 +0200 (CEST)


On Mon, 30 Sep 2002, Stephen Rothwell wrote:

> > But you don't have clean 2.4.19.
>
> True, I should try that.

Did you try it?

> > I've done it right now and it seems 2.4.19 w/o any patch is broken for me.
> > i.e. it behaves the same wrong way and hd is sleeping forevere after apm
> > resume...
> >
> > Anything what should I test now?
>
> Can you try 2.4.19 with the arch/i386/kernel/apm.c from 2.4.18?

I've tried it and w/o success so hd is still sleeping after resume. So
maybe the problem is somewhere else. Do you have any advice what should I
try now? 2.4.20-pre<latest>? Or some other files from 2.4.18?

BTW: I'm always waiting at most 5 minutes for hd wakeup, is that enough? I
hope so, since it's enough on 2.4.18...

<after some time looking into syslog>

Maybe you'll find usefull that I have these messages after resume in
syslog:

Sep 28 22:07:39 thinkpad apmd[211]: System Suspend
Sep 29 19:31:28 thinkpad apmd[211]: apmd_call_proxy: Executing proxy: '/etc/apm/apmd_proxy' 'resume' 'suspend'
Sep 29 19:31:45 thinkpad kernel: ide_dmaproc: chipset supported ide_dma_lostirq func only: 13
Sep 29 19:31:45 thinkpad kernel: hda: lost interrupt
Sep 29 19:31:48 thinkpad apmd[211]: apmd_call_proxy: + Setting the System Clock using the Hardware Clock as reference... System Clock set. Local time: Sun Sep 29 19:31:48 CEST 2002
Sep 29 19:31:48 thinkpad apmd[211]: Normal Resume

But I don't know if they appear after every resume on working 2.4.18. I'd
have to check it.

Thanks a lot,

Karel

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