pcmcia problem at shutdown

idurand at labri.fr idurand at labri.fr
Fri Jan 14 13:03:08 EST 2005


Quoting Russell King <rmk+pcmcia at arm.linux.org.uk>:

> On Thu, Jan 13, 2005 at 06:58:18PM +0100, Dominik Brodowski wrote:
> > Hi,
> >
> > What's the output of /proc/iomem

------------------------------------------------------------
output of /proc/iomem
------------------------------------------------------------
00000000-0009f7ff : System RAM
0009f800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000cffff : Video ROM
000f0000-000fffff : System ROM
00100000-07feffff : System RAM
  00100000-002d0e16 : Kernel code
  002d0e17-003618ff : Kernel data
07ff0000-07fffbff : ACPI Tables
07fffc00-07ffffff : ACPI Non-volatile Storage
10000000-10000fff : 0000:00:0a.0
  10000000-10000fff : yenta_socket
10001000-10001fff : 0000:00:0a.1
  10001000-10001fff : yenta_socket
10400000-107fffff : PCI CardBus #02
10800000-10bfffff : PCI CardBus #02
10c00000-10ffffff : PCI CardBus #06
11000000-113fffff : PCI CardBus #06
60000000-60000fff : pcmcia_socket0
60001000-60001fff : pcmcia_socket0
f4000000-f4003fff : 0000:00:0b.0
f4004000-f40047ff : 0000:00:0b.0
  f4004000-f40047ff : ohci1394
f4004800-f400483f : 0000:00:0c.0
f4008000-f400ffff : 0000:00:0c.0
f4010000-f401ffff : 0000:00:0c.0
f4100000-f5ffffff : PCI Bus #01
  f4100000-f4100fff : 0000:01:00.0
  f5000000-f5ffffff : 0000:01:00.0
f8000000-fbffffff : 0000:00:00.0
fff80000-ffffffff : reserved

------------------------------------------------------------
>
> You actually want the output of /proc/ioports while the card is inserted,
> and after the card has been removed/ejected.
------------------------------------------------------------
output of /proc/ioports when booting with pcmcia card
------------------------------------------------------------
0000-001f : dma1
0020-0021 : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02e8-02ef : pcmcia_socket0
  02e8-02ef : serial
02f8-02ff : serial
0300-030f : pcmcia_socket0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0cf8-0cff : PCI conf1
1000-100f : 0000:00:07.1
  1000-1007 : ide0
  1008-100f : ide1
1020-103f : 0000:00:07.2
  1020-103f : uhci_hcd
1040-105f : 0000:00:07.3
1400-14ff : 0000:00:08.0
  1400-14ff : ESS Maestro 2E
4000-40ff : PCI CardBus #02
4400-44ff : PCI CardBus #02
4800-48ff : PCI CardBus #06
4c00-4cff : PCI CardBus #06
8000-803f : 0000:00:07.3
9000-9fff : PCI Bus #01
  9000-90ff : 0000:01:00.0

------------------------------------------------------------
ouptput of /proc/ioports when booting without card
------------------------------------------------------------
0000-001f : dma1
0020-0021 : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0cf8-0cff : PCI conf1
1000-100f : 0000:00:07.1
  1000-1007 : ide0
  1008-100f : ide1
1020-103f : 0000:00:07.2
  1020-103f : uhci_hcd
1040-105f : 0000:00:07.3
1400-14ff : 0000:00:08.0
  1400-14ff : ESS Maestro 2E
4000-40ff : PCI CardBus #02
4400-44ff : PCI CardBus #02
4800-48ff : PCI CardBus #06
4c00-4cff : PCI CardBus #06
8000-803f : 0000:00:07.3
9000-9fff : PCI Bus #01
  9000-90ff : 0000:01:00.0

------------------------------------------------------------
I cannot test what happends in /proc/ioports after ejecting the card as the
system freezes if I do so or if I shutdown the pcmcia services.
------------------------------------------------------------

> I don't really remember, but I suspect 2.6.8.1 probably doesn't have the
> reworked PCMCIA resource subsystem, so it argues with the other subsystems.
>
> That said, "trying to free free resource" should never cause the kernel
> to crash or halt - it's just a warning message and the system should just
> continue on.  Something else is going wrong elsewhere.
>
> Also, if possible, please consider checking whether this behaviour happens
> with mainline 2.6.8.1 or not.
What does that mean exactly, what am I suppose to try?

Thanks for looking at my problem.
Irene



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the linux-pcmcia mailing list