Re: APM Suspend Problem

From: Russell King
Date: Sun Dec 07 2003 - 12:17:23 EST

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:

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.


Russell King
Linux kernel 2.6 ARM Linux -
maintainer of: 2.6 PCMCIA -
2.6 Serial core
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at