Pcmcia compact flash resource issue (ports already in use, skipping probe)

ankur maheshwari ankur_maheshwari at procsys.com
Tue Dec 6 03:38:20 EST 2005


 Hi
        I am trying to enable pcmcia compact flash for mips-linux 2.4.25,
doing so I am getting these messages on my mips-base board.
----------------------------------------------------------------------------
---------------------------------------
ide0: ports already in use, skipping probe
ide0: ports already in use, skipping probe

ide_cs: ide_register() at 0x14017800 & 0x1401780e, irq 50 failed

----------------------------------------------------------------------------
----------------------------------------
After giving these msgs it release memory, io, irq and deregister client.
( found by putting prints in respective functions).
I have selected port range of 0x14017800-0x1401780e because once I enable
support of my ide it gives me port range of 0x14017XXX-0x14017XXX as we have
a pci-ide-controller. (/proc/ioports)
Along with above range I also have tried with 0x100-0x3ff, 0x800-0x8ff etc
but still I got same results.
We have programmed interrupt number and I tried changing it to other numbers
also i.e. 11, 37, 42, 43 but all have same results.
By default it is 255 which is gives me "IRQ Resource busy" message.
We have only one pcmcia device on our board. We are using TI1510 pci-pcmcia
cardbus controller.

I would like to give more detials here

proc/iomem
-----------------
10100000-10100fff : usb-ohci
11000000-11ffffff : atyfb
12000000-12000fff : atyfb
12001000-120010ff : 8139too

proc/ioports (with rest of the ide support disable as we support 1 ide and 2
sata drives on our board)
------------------
14000060-1400006f : keyboard
140002f8-140002ff : serial(auto)
140003f8-140003ff : serial(auto)
14000800-1400080f : lpc_gpio_reg
14011800-14011807 : serial(auto)
14012000-14012007 : serial(auto)
14012800-14012807 : serial(auto)
14013800-1401381b : ITE GPIO
14014030-1401406f : i2c (i2c bus adapter)
14017000-1401707f : IT8172 audio
1401d100-1401d1ff : 8139too

lspci -v
---------------------

01:07.0 Class 0607: 104c:ac56
        Flags: bus master, medium devsel, latency 168, IRQ 50
        Memory at 10200000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=01, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 10201000-10600000 (prefetchable)
        Memory window 1: 10800000-10bff000
        I/O window 0: 00004000-000040ff
        I/O window 1: 00004400-000044ff
        16-bit legacy interface ports at 0001

/etc/pcmcia/config.opts
---------------------------------

include port 0x14017800-0x17ffffff
include memory 0x10100000-0x10ffffff

-----------------------------------
-----------------------------------

I have tried some combinations of

include port 0x1f0-0x4ff, port 0x800-0x8ff
include port 0x0C00-0xffff
include port 0x4000-0xffff

include memory 0x803d0000-0x803dffff
include memory 0xC000000-0xCffffff
include memory 0xc0000-0xfffff
include memory 0x10100000-0x10ffffff
include memory 0x60000000-0x60ffffff

but nothing works in my case.
----------------------------------------------------------------------------
------------------------------------------

I have seen similar issues on couple of pcmcia forums but can't get
sufficient help or hints from them.
Thanks in advace for any comments and help.

Ankur
ankur_maheshwari at procsys.com
PSI, bangalore, India





More information about the linux-pcmcia mailing list