2001-04-30 07:26:18

by Francois Gouget

[permalink] [raw]
Subject: Aironet doesn't work


Hi,


I'm having trouble getting a Cisco 340 wireless card to work with the
aironet driver from 2.4.3-ac6. The driver loads fine but then cardmgr
says:

Apr 29 22:37:35 oleron cardmgr[613]: initializing socket 0
Apr 29 22:37:35 oleron cardmgr[613]: socket 0: Aironet PC4800
Apr 29 22:37:35 oleron cardmgr[613]: executing: 'modprobe aironet4500_core'
Apr 29 22:37:35 oleron cardmgr[613]: executing: 'modprobe aironet4500_cs'
Apr 29 22:37:36 oleron cardmgr[613]: get dev info on socket 0 failed: Resource temporarily unavailable

I'm using the debian pcmcia-cs package version 3.1.22-0.2potato. I
would be happy to help debug this but I won't have the card for long.
Where should I go from there?
My laptop is a Sony Vaio F560. I also have a 3com pcmcia network card
which works just fine so I know that pcmcia is working. I tried the
cisco card in each socket, with and without the 3com card at the same
time. My /etc/pcmcia/config file says:

--- cut here ---
device "airo_cs"
class "network" module "aironet4500_core", "aironet4500_cs"
# class "network" module "airo", "airo_cs"

card "Aironet PC4500"
manfid 0x015f, 0x0005
bind "airo_cs"

card "Aironet PC4800"
manfid 0x015f, 0x0007
bind "airo_cs"
--- cut here ---

Actually I also had to apply the following patch to get rid of
missing symbol errors when loading the driver.

--- cut here ---
--- linux-2.4.3-ac6.orig/drivers/net/aironet4500_core.c Sun Apr 22 17:05:52 2001
+++ linux-2.4.3-ac6/drivers/net/aironet4500_core.c Sun Apr 15 12:50:25 2001
@@ -2546,10 +2546,10 @@
static int p802_11_send; // 1

static int awc_process_tx_results;
-int tx_queue_len = 10;
+int rx_queue_len = 10;
int tx_rate;
int channel = 5;
-//static int tx_full_rate;
+static int tx_full_rate;
int max_mtu = 2312;
int adhoc;
int large_buff_mem = 1700 * 10;
--- cut here ---


--
Francois Gouget [email protected] http://fgouget.free.fr/
The software said it requires Win95 or better, so I installed Linux.


2001-04-30 09:31:53

by Ookhoi

[permalink] [raw]
Subject: Re: Aironet doesn't work

Hi Francois,

> I'm having trouble getting a Cisco 340 wireless card to work with the
> aironet driver from 2.4.3-ac6. The driver loads fine but then cardmgr
> says:
>
> Apr 29 22:37:35 oleron cardmgr[613]: initializing socket 0
> Apr 29 22:37:35 oleron cardmgr[613]: socket 0: Aironet PC4800
> Apr 29 22:37:35 oleron cardmgr[613]: executing: 'modprobe aironet4500_core'
> Apr 29 22:37:35 oleron cardmgr[613]: executing: 'modprobe aironet4500_cs'
> Apr 29 22:37:36 oleron cardmgr[613]: get dev info on socket 0 failed: Resource temporarily unavailable
>
> I'm using the debian pcmcia-cs package version 3.1.22-0.2potato. I
> would be happy to help debug this but I won't have the card for long.
> Where should I go from there?
> My laptop is a Sony Vaio F560. I also have a 3com pcmcia network card
> which works just fine so I know that pcmcia is working. I tried the
> cisco card in each socket, with and without the 3com card at the same
> time. My /etc/pcmcia/config file says:
>
> --- cut here ---
> device "airo_cs"
> class "network" module "aironet4500_core", "aironet4500_cs"
> # class "network" module "airo", "airo_cs"
>
> card "Aironet PC4500"
> manfid 0x015f, 0x0005
> bind "airo_cs"
>
> card "Aironet PC4800"
> manfid 0x015f, 0x0007
> bind "airo_cs"
> --- cut here ---

The aironet drivers included in the kernel never worked for me (early
2.4.x-ac), so I use the airo and airo_cs modules which are disabled in
your pcmcia config.

You find the sources at http://www.cse.ucsc.edu/~breed (airo.c and airo_cs.c).
Copy them over the airo.c and airo_cs.c in pcmcia-cs-3.1.xx/wireless,
build the modules and there you are. :-)

Ookhoi

2001-04-30 09:39:05

by Ookhoi

[permalink] [raw]
Subject: Re: Aironet doesn't work

> Hi Francois,
>
> > I'm having trouble getting a Cisco 340 wireless card to work with the
> > aironet driver from 2.4.3-ac6. The driver loads fine but then cardmgr
> > says:
> >
> > Apr 29 22:37:35 oleron cardmgr[613]: initializing socket 0
> > Apr 29 22:37:35 oleron cardmgr[613]: socket 0: Aironet PC4800
> > Apr 29 22:37:35 oleron cardmgr[613]: executing: 'modprobe aironet4500_core'
> > Apr 29 22:37:35 oleron cardmgr[613]: executing: 'modprobe aironet4500_cs'
> > Apr 29 22:37:36 oleron cardmgr[613]: get dev info on socket 0 failed: Resource temporarily unavailable
> >
> > I'm using the debian pcmcia-cs package version 3.1.22-0.2potato. I
> > would be happy to help debug this but I won't have the card for long.
> > Where should I go from there?
> > My laptop is a Sony Vaio F560. I also have a 3com pcmcia network card
> > which works just fine so I know that pcmcia is working. I tried the
> > cisco card in each socket, with and without the 3com card at the same
> > time. My /etc/pcmcia/config file says:
> >
> > --- cut here ---
> > device "airo_cs"
> > class "network" module "aironet4500_core", "aironet4500_cs"
> > # class "network" module "airo", "airo_cs"
> >
> > card "Aironet PC4500"
> > manfid 0x015f, 0x0005
> > bind "airo_cs"
> >
> > card "Aironet PC4800"
> > manfid 0x015f, 0x0007
> > bind "airo_cs"
> > --- cut here ---
>
> The aironet drivers included in the kernel never worked for me (early
> 2.4.x-ac), so I use the airo and airo_cs modules which are disabled in
> your pcmcia config.
>
> You find the sources at http://www.cse.ucsc.edu/~breed (airo.c and airo_cs.c).

Euh, make that http://www.cse.ucsc.edu/~breed/airo.html

> Copy them over the airo.c and airo_cs.c in pcmcia-cs-3.1.xx/wireless,
> build the modules and there you are. :-)
>
> Ookhoi

2001-04-30 09:40:14

by Elmer

[permalink] [raw]
Subject: Re: Aironet doesn't work



the whole pcmcia does not work in 2.4.
Not with latest cardmgr.

What makes airo_cs to work is that pcmcia package
and kernel modules are replaced.
That is what most of distros do.
Which overwrites kernel standard ones and really fucks things up
for pcmcia drivers being in kernel.



Elmer.


2001-04-30 10:13:42

by Ookhoi

[permalink] [raw]
Subject: Re: Aironet doesn't work

Hi Elmer,

> the whole pcmcia does not work in 2.4.
> Not with latest cardmgr.

My 3com 3c575 (kernel 2.4, 3c59x) works fine, and has done so since I
bought it.

> What makes airo_cs to work is that pcmcia package
> and kernel modules are replaced.

They are not replaced. They have a different name. You can try them both
with the same kernel.

> That is what most of distros do.
> Which overwrites kernel standard ones and really fucks things up
> for pcmcia drivers being in kernel.

I use pcmcia kernel modules and userspace modules together to make both
the 3com and the aironet cards work.

Ookhoi

2001-04-30 16:51:51

by Jeff Garzik

[permalink] [raw]
Subject: Re: Aironet doesn't work

Elmer Joandi wrote:
> the whole pcmcia does not work in 2.4.

Prove it.

It works for people with correct 2.4 kernel configurations.

--
Jeff Garzik | Game called on account of naked chick
Building 1024 |
MandrakeSoft |

2001-04-30 17:01:23

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: Aironet doesn't work

Em Mon, Apr 30, 2001 at 12:51:22PM -0400, Jeff Garzik escreveu:
> Elmer Joandi wrote:
> > the whole pcmcia does not work in 2.4.
>
> Prove it.
>
> It works for people with correct 2.4 kernel configurations.

<bugzilla mode>
WORKSFORME
</bugzilla mode>

8)

- Arnaldo

2001-04-30 18:37:31

by Francois Gouget

[permalink] [raw]
Subject: Re: Aironet doesn't work

On Mon, 30 Apr 2001, Jeff Garzik wrote:

> Elmer Joandi wrote:
> > the whole pcmcia does not work in 2.4.
>
> Prove it.
>
> It works for people with correct 2.4 kernel configurations.

What is a 'correct 2.4 kernel configuration'? Or more importantly how
do I tell if mine is correct?

Here's what I have in my config file:

CONFIG_HOTPLUG=y

CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
CONFIG_I82365=y

CONFIG_NET_ETHERNET=y

CONFIG_NET_RADIO=y
# CONFIG_STRIP is not set
CONFIG_WAVELAN=m
CONFIG_ARLAN=m
CONFIG_AIRONET4500=m
CONFIG_AIRONET4500_NONCS=m
# CONFIG_AIRONET4500_PNP is not set
# CONFIG_AIRONET4500_PCI is not set
# CONFIG_AIRONET4500_ISA is not set
# CONFIG_AIRONET4500_I365 is not set
CONFIG_AIRONET4500_PROC=m

CONFIG_NET_PCMCIA=y
CONFIG_PCMCIA_3C589=m
CONFIG_PCMCIA_3C574=m
CONFIG_PCMCIA_FMVJ18X=m
CONFIG_PCMCIA_PCNET=m
CONFIG_PCMCIA_NMCLAN=m
CONFIG_PCMCIA_SMC91C92=m
CONFIG_PCMCIA_XIRC2PS=m

CONFIG_NET_PCMCIA_RADIO=y
CONFIG_PCMCIA_RAYCS=m
CONFIG_PCMCIA_HERMES=m
CONFIG_PCMCIA_NETWAVE=m
CONFIG_PCMCIA_WAVELAN=m
CONFIG_AIRONET4500_CS=m

Is there any important setting that I might have missed?

I noticed that I was not loading the module aironet4500_proc. But
loading it does not change anything except that I now have stuff in
/proc/sys/aironet4500. But it doesn't really give me much more
information.


--
Francois Gouget [email protected] http://fgouget.free.fr/
Nouvelle version : les anciens bogues ont ?t? remplac?s par de nouveaux.


2001-04-30 18:37:40

by Jeff Garzik

[permalink] [raw]
Subject: Re: Aironet doesn't work

Francois Gouget wrote:
> CONFIG_PCMCIA=y
> CONFIG_CARDBUS=y
> CONFIG_I82365=y

Not correct -- you do not need I82365 if you have CardBus. However, if
you are running 2.4.4 you should be ok.

Linux 2.4.4 includes a patch from me that fixes such configurations so
that they don't conflict anymore, but running 2.4.3 or previous with
such a configuration, you are likely to run into a partially-useable
system (pcmcia but not cardbus cards work) or a completely unusable
hotplug system (no cards work).

--
Jeff Garzik | Game called on account of naked chick
Building 1024 |
MandrakeSoft |

2001-04-30 20:26:32

by Francois Gouget

[permalink] [raw]
Subject: Re: Aironet doesn't work

On Mon, 30 Apr 2001, Jeff Garzik wrote:

> Francois Gouget wrote:
> > CONFIG_PCMCIA=y
> > CONFIG_CARDBUS=y
> > CONFIG_I82365=y
>
> Not correct -- you do not need I82365 if you have CardBus. However, if
> you are running 2.4.4 you should be ok.

Ok. I upgraded to 2.4.4 and modified my config file to be:

CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
# CONFIG_I82365 is not set

But now I get the same missing symbols I initially had in 2.4.3:

Apr 30 13:19:34 oleron cardmgr[148]: initializing socket 0
Apr 30 13:19:34 oleron cardmgr[148]: socket 0: Aironet PC4800
Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_core'
Apr 30 13:19:34 oleron cardmgr[148]: + Warning: /lib/modules/2.4.4/kernel/drivers/net/aironet4500_core.o
symbol for parameter rx_queue_len not found
Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_proc'
Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_cs'
Apr 30 13:19:35 oleron cardmgr[148]: get dev info on socket 0
failed: Resource temporarily unavailable


--
Francois Gouget [email protected] http://fgouget.free.fr/
1 + e ^ ( i * pi ) = 0

2001-04-30 22:12:22

by Michael H. Warfield

[permalink] [raw]
Subject: Re: Aironet doesn't work

Hello,

I'm tunning into this discussion a little late, but...

On Mon, Apr 30, 2001 at 01:22:59PM -0700, Francois Gouget wrote:
> On Mon, 30 Apr 2001, Jeff Garzik wrote:

> > Francois Gouget wrote:
> > > CONFIG_PCMCIA=y
> > > CONFIG_CARDBUS=y
> > > CONFIG_I82365=y
> >
> > Not correct -- you do not need I82365 if you have CardBus. However, if
> > you are running 2.4.4 you should be ok.

> Ok. I upgraded to 2.4.4 and modified my config file to be:

> CONFIG_PCMCIA=y
> CONFIG_CARDBUS=y
> # CONFIG_I82365 is not set

> But now I get the same missing symbols I initially had in 2.4.3:

> Apr 30 13:19:34 oleron cardmgr[148]: initializing socket 0
> Apr 30 13:19:34 oleron cardmgr[148]: socket 0: Aironet PC4800
> Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_core'
> Apr 30 13:19:34 oleron cardmgr[148]: + Warning: /lib/modules/2.4.4/kernel/drivers/net/aironet4500_core.o
> symbol for parameter rx_queue_len not found
> Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_proc'
> Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_cs'
> Apr 30 13:19:35 oleron cardmgr[148]: get dev info on socket 0
> failed: Resource temporarily unavailable

Seen this before. What version are your modutils at? Latest are
2.4.5 on kernel.org and there have been several times where I've had
them slip out of rev and ended up with missing symbols.

> --
> Francois Gouget [email protected] http://fgouget.free.fr/
> 1 + e ^ ( i * pi ) = 0

Mike
--
Michael H. Warfield | (770) 985-6132 | [email protected]
(The Mad Wizard) | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!

2001-04-30 22:24:30

by Francois Gouget

[permalink] [raw]
Subject: Re: Aironet doesn't work

On Mon, 30 Apr 2001, Michael H. Warfield wrote:
[...]
> > But now I get the same missing symbols I initially had in 2.4.3:
>
> > Apr 30 13:19:34 oleron cardmgr[148]: initializing socket 0
> > Apr 30 13:19:34 oleron cardmgr[148]: socket 0: Aironet PC4800
> > Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_core'
> > Apr 30 13:19:34 oleron cardmgr[148]: + Warning: /lib/modules/2.4.4/kernel/drivers/net/aironet4500_core.o
> > symbol for parameter rx_queue_len not found
> > Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_proc'
> > Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_cs'
> > Apr 30 13:19:35 oleron cardmgr[148]: get dev info on socket 0
> > failed: Resource temporarily unavailable
>
> Seen this before. What version are your modutils at? Latest are
> 2.4.5 on kernel.org and there have been several times where I've had
> them slip out of rev and ended up with missing symbols.

Here I have modutils 2.4.2.


--
Francois Gouget [email protected] http://fgouget.free.fr/
War doesn't determine who's right. War determines who's left.

2001-04-30 23:47:29

by Alan

[permalink] [raw]
Subject: Re: Aironet doesn't work

> Elmer Joandi wrote:
> > the whole pcmcia does not work in 2.4.
>
> Prove it.
> It works for people with correct 2.4 kernel configurations.

Except on a few boxes where it doesnt. The Palmax is one of them but that
seems to be irq routing

2001-05-01 01:02:44

by Keith Owens

[permalink] [raw]
Subject: Re: Aironet doesn't work

On Mon, 30 Apr 2001 18:10:56 -0400,
"Michael H. Warfield" <[email protected]> wrote:
>On Mon, Apr 30, 2001 at 01:22:59PM -0700, Francois Gouget wrote:
>> Apr 30 13:19:34 oleron cardmgr[148]: initializing socket 0
>> Apr 30 13:19:34 oleron cardmgr[148]: socket 0: Aironet PC4800
>> Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_core'
>> Apr 30 13:19:34 oleron cardmgr[148]: + Warning: /lib/modules/2.4.4/kernel/drivers/net/aironet4500_core.o
>> symbol for parameter rx_queue_len not found

Bug in drivers/net/aironet4500_core.c. It has
MODULE_PARM(rx_queue_len,"i");
but rx_queue_len is never defined. Only a warning.

>> Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_proc'
>> Apr 30 13:19:34 oleron cardmgr[148]: executing: 'modprobe aironet4500_cs'
>> Apr 30 13:19:35 oleron cardmgr[148]: get dev info on socket 0
>> failed: Resource temporarily unavailable

Separate problem, the aironet4500_cs driver could not get its
resources.

> Seen this before. What version are your modutils at? Latest are
>2.4.5 on kernel.org and there have been several times where I've had
>them slip out of rev and ended up with missing symbols.

The version of modutils does not affect missing symbols, it just
reports kernel bugs.