2003-08-23 11:25:16

by iain d broadfoot

[permalink] [raw]
Subject: 2.6.0t4 - no pcmcia

After booting 2.6.0-test4, i get the following error when trying to
initialise cardmgr:

orinoco_cs: RequestIRQ: Resource in use

I couldn't see anything changed in the config that could have caused
this.

$ diff linux-2.6.0-test3/.config linux-2.6.0-test4/.config
12a13
> # CONFIG_BROKEN is not set
21a23,24
> CONFIG_IKCONFIG=y
> CONFIG_IKCONFIG_PROC=y
25a29
> CONFIG_IOSCHED_NOOP=y
104c108
< # ACPI Support
---
> # ACPI (Advanced Configuration and Power Interface) Support
105a110
> # CONFIG_ACPI_HT is not set
123a129,132
>
> #
> # APM (Advanced Power Management) BIOS Support
> #
230a240
> # CONFIG_BLK_DEV_IDETAPE is not set
471a482
> CONFIG_XFRM=y
568a580
> # CONFIG_SIS190 is not set
771a784
> # CONFIG_AGP_ATI is not set
1114a1128,1129
> # CONFIG_CRYPTO_CAST5 is not set
> # CONFIG_CRYPTO_CAST6 is not set

cheers,

iain
(back on test3 for now)
--
"If sharing a thing in no way diminishes it, it is not rightly owned if it is
not shared." -- St. Augustine

"As for compromises: no. Free or fuck off."
-- Andrew Suffield, on debian-legal


2003-08-23 11:40:55

by Russell King

[permalink] [raw]
Subject: Re: 2.6.0t4 - no pcmcia

On Sat, Aug 23, 2003 at 12:24:46PM +0100, iain d broadfoot wrote:
> After booting 2.6.0-test4, i get the following error when trying to
> initialise cardmgr:
>
> orinoco_cs: RequestIRQ: Resource in use
>
> I couldn't see anything changed in the config that could have caused
> this.

Please check that you have: CONFIG_ISA=y

--
Russell King ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

2003-08-23 11:51:56

by iain d broadfoot

[permalink] [raw]
Subject: Re: 2.6.0t4 - no pcmcia

* Russell King ([email protected]) wrote:
> Please check that you have: CONFIG_ISA=y

$ grep CONFIG_ISA linux-2.6.0-test4/.config
CONFIG_ISA=y
# CONFIG_ISAPNP is not set

iain

--
"If sharing a thing in no way diminishes it, it is not rightly owned if it is
not shared." -- St. Augustine

"As for compromises: no. Free or fuck off."
-- Andrew Suffield, on debian-legal

2003-08-26 22:36:36

by iain d broadfoot

[permalink] [raw]
Subject: Same problem with pcmcia in 2.4.22 as in 2.6.0-test4

Hi again,

I'm currently back in -test3, since it's the most recent version
to give me working pcmcia.

orinoco_cs: RequestIRQ: Resource in use

is what gets printed on insertion, both in 2.4.22 and -test4.

Does anyone have any thoughts on what I might have
mis-configured?

cheers,

iain

--
"If sharing a thing in no way diminishes it, it is not rightly owned if it is
not shared." -- St. Augustine

"As for compromises: no. Free or fuck off." -- Andrew Suffield, on debian-legal

2003-08-31 12:10:32

by iain d broadfoot

[permalink] [raw]
Subject: Re: Same problem with pcmcia in 2.4.22 as in 2.6.0-test4

Hallo again,

Just wondering if anyone has any insights into what's going wrong with
my pcmcia in both 2.4.22 and 2.6.0-test4.

orinoco_cs: RequestIRQ: Resource in use

is the error I get on inserting my wireless card.

thanks,

iain

--
"If sharing a thing in no way diminishes it, it is not rightly owned if it is
not shared." -- St. Augustine

"As for compromises: no. Free or fuck off." -- Andrew Suffield, on debian-legal

2003-08-31 12:38:50

by Russell King

[permalink] [raw]
Subject: Re: Same problem with pcmcia in 2.4.22 as in 2.6.0-test4

On Sun, Aug 31, 2003 at 01:10:20PM +0100, iain d broadfoot wrote:
> Hallo again,
>
> Just wondering if anyone has any insights into what's going wrong with
> my pcmcia in both 2.4.22 and 2.6.0-test4.
>
> orinoco_cs: RequestIRQ: Resource in use
>
> is the error I get on inserting my wireless card.

There's a patch on pcmcia.arm.linux.org.uk for 2.6.0-test4 which gets
some more information about what went wrong. Could you apply it and
report the kernel messages please?

--
Russell King ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

2003-09-02 20:32:53

by iain d broadfoot

[permalink] [raw]
Subject: Re: Same problem with pcmcia in 2.4.22 as in 2.6.0-test4

* Russell King ([email protected]) wrote:
> On Sun, Aug 31, 2003 at 01:10:20PM +0100, iain d broadfoot wrote:
> > Hallo again,
> >
> > Just wondering if anyone has any insights into what's going wrong with
> > my pcmcia in both 2.4.22 and 2.6.0-test4.
> >
> > orinoco_cs: RequestIRQ: Resource in use
> >
> > is the error I get on inserting my wireless card.
>
> There's a patch on pcmcia.arm.linux.org.uk for 2.6.0-test4 which gets
> some more information about what went wrong. Could you apply it and
> report the kernel messages please?

the output the patch should've sent didn't show up in dmesg at all...

I had the same error message as before.

does that indicate anything helpful?

cheers,

iain

--
"If sharing a thing in no way diminishes it, it is not rightly owned if it is
not shared." -- St. Augustine

"As for compromises: no. Free or fuck off." -- Andrew Suffield, on debian-legal

2003-09-02 21:44:53

by Russell King

[permalink] [raw]
Subject: Re: Same problem with pcmcia in 2.4.22 as in 2.6.0-test4

On Tue, Sep 02, 2003 at 09:30:43PM +0100, iain d broadfoot wrote:
> * Russell King ([email protected]) wrote:
> > On Sun, Aug 31, 2003 at 01:10:20PM +0100, iain d broadfoot wrote:
> > > Hallo again,
> > >
> > > Just wondering if anyone has any insights into what's going wrong with
> > > my pcmcia in both 2.4.22 and 2.6.0-test4.
> > >
> > > orinoco_cs: RequestIRQ: Resource in use
> > >
> > > is the error I get on inserting my wireless card.
> >
> > There's a patch on pcmcia.arm.linux.org.uk for 2.6.0-test4 which gets
> > some more information about what went wrong. Could you apply it and
> > report the kernel messages please?
>
> the output the patch should've sent didn't show up in dmesg at all...
>
> I had the same error message as before.

Oh dear.

> does that indicate anything helpful?

It could mean one of two things - either we don't have any interrupts
available at all, or orinoco already claimed its interrupt before...

Could you try the updated debugging patch there please? It should
print something extra no matter what.

Could you also provide the kernel messages which include the
initialisation of your PCMCIA or CardBus bridge please?

--
Russell King ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

2003-09-04 12:33:12

by iain d broadfoot

[permalink] [raw]
Subject: Re: Same problem with pcmcia in 2.4.22 as in 2.6.0-test4

* Russell King ([email protected]) wrote:
> Could you try the updated debugging patch there please? It should
> print something extra no matter what.
>
> Could you also provide the kernel messages which include the
> initialisation of your PCMCIA or CardBus bridge please?

are these the right lines?

=======================================================================
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x3c0-0x3df 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
cs: request irq: pci irq 11 mask 0090
orinoco_cs: RequestIRQ: Resource in use
=======================================================================

that's from my boot sequence - I pulled and inserted the card and got
the last two lines again.

cheers,

iain

--
"If sharing a thing in no way diminishes it, it is not rightly owned if it is
not shared." -- St. Augustine

"As for compromises: no. Free or fuck off." -- Andrew Suffield, on debian-legal

2003-09-04 17:03:56

by Russell King

[permalink] [raw]
Subject: Re: Same problem with pcmcia in 2.4.22 as in 2.6.0-test4

On Thu, Sep 04, 2003 at 01:32:58PM +0100, iain d broadfoot wrote:
> * Russell King ([email protected]) wrote:
> > Could you try the updated debugging patch there please? It should
> > print something extra no matter what.
> >
> > Could you also provide the kernel messages which include the
> > initialisation of your PCMCIA or CardBus bridge please?
>
> are these the right lines?
>
> =======================================================================
> cs: IO port probe 0x0c00-0x0cff: clean.
> cs: IO port probe 0x0800-0x08ff: clean.
> cs: IO port probe 0x0100-0x04ff: excluding 0x3c0-0x3df 0x4d0-0x4d7
> cs: IO port probe 0x0a00-0x0aff: clean.
> cs: memory probe 0xa0000000-0xa0ffffff: clean.
> cs: request irq: pci irq 11 mask 0090
> orinoco_cs: RequestIRQ: Resource in use
> =======================================================================
>
> that's from my boot sequence - I pulled and inserted the card and got
> the last two lines again.

Ok, I'm mostly happy that it isn't a generic PCMCIA bug as such now -
it seems that orinoco_cs may be passing a mask which doesn't include
any reasonable IRQs, or the two available IRQs (7 and 4) are already
in use by other devices.

Hmm, I wonder if we could fall back to the PCI IRQ when this occurs.
Unfortunately I can't look into the issue as deeply as I'd like at
present, so I'll create a "wouldn't it be nice if" (WIBNI) list of
things to do on pcmcia.arm.linux.org.uk.

--
Russell King ([email protected]) http://www.arm.linux.org.uk/personal/
Maintainer of:
2.6 ARM Linux - http://www.arm.linux.org.uk/
2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core


2003-09-05 12:36:10

by iain d broadfoot

[permalink] [raw]
Subject: Re: Same problem with pcmcia in 2.4.22 as in 2.6.0-test4

* Russell King ([email protected]) wrote:
> Unfortunately I can't look into the issue as deeply as I'd like at
> present, so I'll create a "wouldn't it be nice if" (WIBNI) list of
> things to do on pcmcia.arm.linux.org.uk.

Sorry to harass again, I'm just wondering if there's anything I can do
to help fix this issue - I'd hate to be stuck on test3 forever! :)

cheers,

iain

--
"If sharing a thing in no way diminishes it, it is not rightly owned if it is
not shared." -- St. Augustine

"As for compromises: no. Free or fuck off." -- Andrew Suffield, on debian-legal