Re: 2.6.17-rc[56]-mm*: pcmcia "I/O resource not free"
From: Andy Isaacson
Date: Tue Jun 20 2006 - 17:16:01 EST
On Sat, Jun 17, 2006 at 10:03:27AM -0700, Andrew Morton wrote:
> > The PCMCIA slot on my Thinkpad X40 stopped working sometime between
> > 2.6.17-rc4-mm3 and 2.6.17-rc5-mm3, and is still not working as of
> > 2.6.17-rc6-mm2.
[snip]
> > -Probing IDE interface ide2...
> > -hde: CF Card, CFA DISK drive
> > -PM: Adding info for No Bus:ide2
> > -hdf: probing with STATUS(0x50) instead of ALTSTATUS(0x0a)
> > +ide2: I/O resource 0xF8A8A00E-0xF8A8A00E not free.
> > +ide2: ports already in use, skipping probe
> > +ide2: I/O resource 0xF8A8A01E-0xF8A8A01E not free.
> > +ide2: ports already in use, skipping probe
> > +ide2: I/O resource 0xF8A8A00E-0xF8A8A00E not free.
> > +ide2: ports already in use, skipping probe
>
> hm. I don't know who to blame for this yet ;)
>
> The contents of /proc/ioports on both kernels might be useful. Let's see
> which device+driver is already using those ports, and whether the older
> kenrel uses the same addresses.
In further testing, -rc6 is fine while -rc6-mm2 fails.
Under 2.6.17-rc6 (after having inserted and removed the card, but that
doesn't seem to make much difference) I have
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
03c0-03df : vga+
03f6-03f6 : ide0
1000-107f : 0000:00:1f.0
1000-107f : motherboard
1000-1003 : PM1a_EVT_BLK
1004-1005 : PM1a_CNT_BLK
1008-100b : PM_TMR
1010-1015 : ACPI CPU throttle
1020-1020 : PM2_CNT_BLK
1028-102f : GPE0_BLK
1180-11bf : 0000:00:1f.0
1180-11bf : motherboard
15e0-15ef : motherboard
1600-167f : motherboard
1680-169f : motherboard
1800-1807 : 0000:00:02.0
1810-181f : 0000:00:1f.1
1810-1817 : ide0
1818-181f : ide1
1820-183f : 0000:00:1d.0
1820-183f : uhci_hcd
1840-185f : 0000:00:1d.1
1840-185f : uhci_hcd
1860-187f : 0000:00:1d.2
1860-187f : uhci_hcd
1880-189f : 0000:00:1f.3
18c0-18ff : 0000:00:1f.5
18c0-18ff : Intel 82801DB-ICH4
1c00-1cff : 0000:00:1f.5
1c00-1cff : Intel 82801DB-ICH4
2000-207f : 0000:00:1f.6
2000-207f : Intel 82801DB-ICH4 Modem
2400-24ff : 0000:00:1f.6
2400-24ff : Intel 82801DB-ICH4 Modem
3000-7fff : PCI Bus #02
3000-30ff : PCI CardBus #03
3400-34ff : PCI CardBus #03
7000-703f : 0000:02:01.0
7000-703f : e1000
The diff between -rc6 and -rc6-mm2 shows that they have the same ioport
assignment (there's only a textual diff due to ACPI string changes).
I've put just about everything you could want to know about the two
kernels at
http://web.hexapodia.org/~adi/bobble/bobble_2.6.17-rc6_20060620093733/
and
http://web.hexapodia.org/~adi/bobble/bobble_2.6.17-rc6-mm2_20060620094254/
-andy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/