linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: pZa1x <pZa1x@rogers.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: APM Suspend Problem
Date: Sun, 7 Dec 2003 17:06:38 +0000	[thread overview]
Message-ID: <20031207170638.B20112@flint.arm.linux.org.uk> (raw)
In-Reply-To: <3FD24E34.3050300@rogers.com>; from pZa1x@rogers.com on Sat, Dec 06, 2003 at 09:46:28PM +0000

On Sat, Dec 06, 2003 at 09:46:28PM +0000, pZa1x wrote:
> Please let me know if there's anything I can do to help.
> 
> Russell King wrote:
> > On Sat, Nov 29, 2003 at 11:26:47AM +0000, pZa1x wrote:
> > 
> >>(a) with yenta kernel 2.6
> >>(b) without yenta kernel 2.6
> > 
> > 
> > Ok, so there aren't any differences between the PCI config space with
> > the module loaded and unloaded.  I guess we need to start looking at
> > the devices memory space registers for differences.
> > 
> > (This will require a little more work, so there'll be a slight delay.)
> > 

Ok, if all goes well, you should be able to use the following program:

  http://pcmcia.arm.linux.org.uk/progs/cbdump.c

to dump out many of the cardbus controllers registers.  The idea is the
same with lspci - you need to dump out the registers (in order):

- without the module having been loaded since last boot
- after the module has been loaded and cardmgr started
- after a suspend attempt with the module loaded
- cardctl suspend
- cardctl resume
- cardctl eject, cardmgr stopped and the module removed
- suspend while module unloaded, then resume

This means you should end up with seven register dumps.  Please send me
all these, with each clearly marked as to which is which.

If you have other scenarios (eg, suspend works with module loaded but
no card in the socket) then dumping this as well would be useful.
However, please document exactly what you did in this case.

This is probably going to seem like using a sledge hammer to crack a
peanut...  but we know that the BIOS isn't happy about /something/
we're doing, we just need to work out what.

Thanks.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

  reply	other threads:[~2003-12-07 17:06 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-29  1:02 APM Suspend Problem pZa1x
2003-11-29  1:14 ` pZa1x
2003-11-29  8:22   ` Russell King
2003-11-29 11:26     ` pZa1x
2003-12-01 21:07       ` Russell King
2003-12-06 21:46         ` pZa1x
2003-12-07 17:06           ` Russell King [this message]
2003-12-08  2:06             ` pcmcia yenta no devices " Bob
2003-12-08  9:43               ` Russell King
     [not found] <15Eea-Id-23@gated-at.bofh.it>
     [not found] ` <15Eea-Id-25@gated-at.bofh.it>
     [not found]   ` <15Eea-Id-27@gated-at.bofh.it>
     [not found]     ` <15Eea-Id-21@gated-at.bofh.it>
2003-12-25 19:17       ` Michael Schierl
     [not found] <WnPi.57n.5@gated-at.bofh.it>
     [not found] ` <WsPg.Xi.35@gated-at.bofh.it>
     [not found]   ` <WAWd.BP.7@gated-at.bofh.it>
2003-11-28 21:12     ` Michael Schierl
  -- strict thread matches above, loose matches on Subject: below --
2003-11-27  6:20 Misha Nasledov
2003-11-27 11:46 ` Felipe Alfaro Solana
2003-11-27 20:22   ` Misha Nasledov
2003-11-27 22:58 ` Benjamin Herrenschmidt
2003-11-27 23:33   ` Misha Nasledov
2003-11-28 21:28 ` William Lee Irwin III
2003-11-28 21:50   ` Misha Nasledov
2003-11-28 21:50     ` William Lee Irwin III
2003-11-28 22:27       ` Nigel Cunningham
2003-11-28 22:49         ` William Lee Irwin III
2003-11-29  2:17           ` Misha Nasledov
2003-11-29  2:20             ` William Lee Irwin III
2003-11-29  2:35               ` Nigel Cunningham
2003-11-29  5:38               ` Shawn Willden
2003-11-29  5:46                 ` William Lee Irwin III
2003-11-29  9:57                   ` Misha Nasledov
2003-11-29  7:36                 ` Misha Nasledov
2003-12-01 20:24             ` Pavel Machek
2003-12-02 21:44 ` john stultz

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=20031207170638.B20112@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pZa1x@rogers.com \
    /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;
as well as URLs for NNTP newsgroup(s).