public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: John Knottenbelt <jak97-CezfXpuMXD6Fxr2TtlUqVg@public.gmane.org>
To: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Computer Resets on Resume From S3
Date: Fri, 21 Nov 2003 23:33:10 +0000	[thread overview]
Message-ID: <200311212333.10341.jak97@doc.ic.ac.uk> (raw)
In-Reply-To: <20031121211607.GA882-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

On Friday 21 November 2003 9:16 pm, Pavel Machek wrote:
>
> Inserting infinite loops can be used for debugging. Or debug leds on
> pci card...
> 								Pavel

Right, I inserted an infinite loop in drivers/acpi/sleep/main.c, just after  
printk(KERN_DEBUG "Back to C!\n"); in acpi_pm_enter()

        /* Johnny's infinite loop */
        for (;;) ;

However, the computer must have rebooted before then. Next thing I tried was 
an infinite loop in arch/i386/kernel/acpi/wakeup.S as the first thing for the 
wakeup_start routine.

ENTRY(wakeup_start)
wakeup_code:
        wakeup_code_start = .
        .code16

1:
        jmp      1b

This too, doesn't catch it. This makes me think that perhaps there is 
something going wrong with the ACPI wake-up address initialisation?

My dmesg (with acpi debugging enabled) is at http://www.doc.ic.ac.uk/~jak97/
dsdt/dmesg.

One warning of possible significance is:
ACPI: No IRQ known for interrupt pin A of device 0000:00:11.1 - using IRQ 255
The 11.1 device is my IDE controller. Could this be an issue? I do not have 
any problems with disks ordinarily.

Please let me know if anything stands out.

Thanks

John



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

  parent reply	other threads:[~2003-11-21 23:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20 15:22 Computer Resets on Resume From S3 John Knottenbelt
     [not found] ` <200311201522.15255.jak97-CezfXpuMXD6Fxr2TtlUqVg@public.gmane.org>
2003-11-21 21:16   ` Pavel Machek
     [not found]     ` <20031121211607.GA882-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-11-21 23:33       ` John Knottenbelt [this message]
     [not found]         ` <200311212333.10341.jak97-CezfXpuMXD6Fxr2TtlUqVg@public.gmane.org>
2003-11-22 13:19           ` Pavel Machek
     [not found]             ` <20031122131957.GA1162-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2003-11-22 17:16               ` John Knottenbelt
     [not found]                 ` <200311221716.10690.jak97-CezfXpuMXD6Fxr2TtlUqVg@public.gmane.org>
2003-11-22 17:23                   ` Pavel Machek
     [not found]                     ` <20031122172352.GA265-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-11-24 13:28                       ` John Knottenbelt
2003-11-27  3:46                       ` Sérgio Monteiro Basto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311212333.10341.jak97@doc.ic.ac.uk \
    --to=jak97-cezfxpumxd6fxr2ttluqvg@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=pavel-+ZI9xUNit7I@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox