RE: mpc8xx pcmcia cardmgr problem

2 messages, 2 authors, 2003-09-18 · open the first message on its own page

RE: mpc8xx pcmcia cardmgr problem

From: Lokesh Kumar <hidden>
Date: 2003-09-18 12:42:47

Thanks Tom,

I did search on google but found no patch againt airo.c for 2.4.18. Anything
you or anybody else aware of?

Thanks for help.

Lokesh

-----Original Message-----
From: Tom Rini [mailto:trini@kernel.crashing.org]
Sent: Wednesday, September 17, 2003 3:56 PM
To: Lokesh Kumar
Cc: 'linuxppc-embedded@lists.linuxppc.org'
Subject: Re: mpc8xx pcmcia cardmgr problem


On Wed, Sep 17, 2003 at 03:47:59PM -0400, Lokesh Kumar wrote:
Hi Guys,

I am trying to bring pcmcia up on my mpc855 based board. I am using
kernel-2.4.18 and have pcmcia extensions.

I am making pcmcia as module, so  I can insmod pcmcia_core and m8xx_pcmcia
and ds. When I insert the card and start cardmgr, this is what I get.


Starting PCMCIA services: cardmgr[79]: watching 2 sockets
done.
cardmgr[80]: starting, version is 3.2.5
cardmgr[80]: socket 1: 350 Series Wireless LAN Adapter
# insmod: insmod: char-major-4: no module by that name found
cardmgr[80]: executing: 'modprobe airo'
cardmgr[80]: + Using
/lib/modules/2.4.18/kernel/drivers/net/wireless/airo.o
cardmgr[80]: executing: 'modprobe airo_cs '
cardmgr[80]: + Using
/lib/modules/2.4.18/kernel/drivers/net/wireless/airo_cs.o
m8xx_pcmcia: voltage_set slot=B, vcc=5, vpp=5
 <7>m8xx_pcmcia: Service(1, 4, 0xc1e9180c)
m8xx_pcmcia: WRX voltage_set slot=B, vcc=5, vpp=5
 <7>m8xx_pcmcia: Service(1, 8, 0xc1e91870)
Kernel panic: request_irq
 <0>Rebooting in 180 seconds..

What am I missing here?? why is it trying to insmod char-major-4?? and why
does the kernel panic??
The kernel panics because in 2.4.18 a call to request_irq() would simply
panic.  If you hit google, you can probably find a patch to airo.c to
make it use request_8xxirq() and 'work', or if you update to 2.4.21 (or
was it 2.4.20, I forget now), this is not an issue.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: mpc8xx pcmcia cardmgr problem

From: Tom Rini <hidden>
Date: 2003-09-18 18:11:16

On Thu, Sep 18, 2003 at 08:42:47AM -0400, Lokesh Kumar wrote:
Thanks Tom,

I did search on google but found no patch againt airo.c for 2.4.18. Anything
you or anybody else aware of?
Now that I think of it, all you might have to do is to change the call
in airo.c from request_irq() to request_8xxirq().  But I haven't done
that myself.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help