[iPAQ] Problems with aironet 340 on dual-sleeve

From: Jules Patrick Bergmann <bergmann.a.t.powderkeg.Stanford.EDU>
Date: Thu Feb 28 2002 - 22:57:37 EST

Hello,

I've been trying to get a cisco aironet 340 pcmcia up and running on
my ipaq. Initially I was trying to use it with the dual-pcmcia sleeve,
and I was getting the following errors on the console:

   cardmgr[82]: socket 0: Aironet PC4800
   cardmgr[82]: executing: 'modprobe airo'
   cardmgr[82]: executing: 'modprobe airo_cs'
   airo: Max tries exceeded when issueing command
   airo: MAC could not be enabled
   airo_cs: RequestConfiguration: Operation succeeded
   cardmgr[82]: get dev info on socket 0 failed: Resource temporarily unavailable

(note: sometimes the "RequestConfiguration: Operation succeeded" line
has a different error message).

After playing around a little, I noticed that the card works "OK" with
the single-pcmcia sleeve (I say "OK" in quotes because I haven't actually
used the card in a real wlan, its just that it gets much further along
then in the dual sleeve). With the single sleeve, I get the following

   cardmgr[82]: socket 0: Aironet PC4800
   cardmgr[82]: executing: 'modprobe airo'
   cardmgr[82]: executing: 'modprobe airo_cs'
   airo: Doing fast bap_reads
   airo: MAC enabled eth0 0:40:96:38:18:10
   eth0: index 0x05: Vcc 5.0, Vpp 5.0, irq 42, io 0xf6000000-0xf600003f
   cardmgr[82]: executing: './network start eth0'o
   ...

In the process of trying to get the card working in the double sleeve,
I managed to cross-compile the kernel (2.4.16-rmk1-hh15) and insert lots
of debugging printf's into airo.c and airo_cs.c (the aironet drivers).
While I'm not a kernel hacker by any means, if someone can point me in
right direction, I might be able to compare and contrast the single & double
sleeves in this case and maybe find out what is going on.

So my question is, where should I start looking in the kernel to debug
this? In the aironet driver (I briefly tried to compare airo_cs against
pcnet_cs, which works OK in the double sleeve for my Socket LP-E CF
ethernet)? In the sleeve drivers? Any pointers are appreciated.

Here are some additional particulars:
 - Old compaq 3630 (one of the 32mb ram/32mb rom ones)
 - Fresh install of v5.1 (I recently had some jffs2 problems and
   literally installed v5.1 last night).
 - Kernel: 2.4.16-rmk1-hh15
 - The airo 340 does not work in either slot of the dual-pcmcia
   sleeve. It does not work by itself, nor does it work when
   another device is in the sleeve (such the LP-E card). Error
   messages are about the sames.
 - Usually the card's "activity" light comes on with the "status"
   light off, but sometimes it's different (if this is interesting
   I can pay more attention to it).
 - My debugging printf's seem to show that the card is just not
   responding to the driver when in the dual sleeve. One of the
   first things the driver does is send a NOP to the card, and the
   card never responds (that is the cause of the "airo: Max tries
   exceeded when issueing command" -- the driver is looping,
   waiting for the card to set its status flag saying that it
   has finished with the command). When in the single sleeve,
   the card responds OK.

Any other info that would be useful?

And, thank you to everyone that has worked on getting linux runing
on the ipaq. It is very impressive (and cool too :).

                                thanks in advance,
                                -- Jules
Received on Fri Mar 01 03:58:28 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:38 EDT