Airo Net 340 PCMCIA WiFi Card trouble
Hi! Im getting an error when using my Airo PCMCIA WiFi card with the 2.4.20, 2.4.21, 2.4.22 kernel.
It works when im using 2.4.19 and lower.
The error message:
cardmgr[19]: starting, version is 3.2.4
cs: memory probe 0x0c0000-0x0ffff: excluding 0xc0000-0xcbfff
After looking a bit at the mailinglist archive I see that there is some trouble with the Airo drivers. Will there be a fix for the 2.4.x series? Will it be fixed out of the box in 2.6.x?
I hope you can help.
The card im using is a Cisco Airo Net 340
PS. Im not subscribed to this list, so please reply to my email address.
PPS. Happy hacking!
Signature · 6 lines
Martin Willemoes Hansen -------------------------------------------------------- E-Mail [email protected] Website mwh.sysrq.dk IRC MWH, freenode.net --------------------------------------------------------
Quoted 7 lines · Martin Willemoes Hansen
Hi! Im getting an error when using my Airo PCMCIA WiFi card with the 2.4.20, 2.4.21, 2.4.22 kernel.
It works when im using 2.4.19 and lower.The error message:
cardmgr[19]: starting, version is 3.2.4
cs: memory probe 0x0c0000-0x0ffff: excluding 0xc0000-0xcbfff
This isn't an error message as such. It's the result of checking whether the memory in the specified range is actually available.
Can you describe the problem you're experiencing in any more detail please?
Signature · 2 lines
Russell King ([email protected]) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html
Quoted 9 lines · Russell King
Quoted 7 lines · Martin Willemoes Hansen
Hi! Im getting an error when using my Airo PCMCIA WiFi card with the 2.4.20, 2.4.21, 2.4.22 kernel.
It works when im using 2.4.19 and lower.The error message:
cardmgr[19]: starting, version is 3.2.4
cs: memory probe 0x0c0000-0x0ffff: excluding 0xc0000-0xcbfff
Quoted 5 lines
This isn't an error message as such. It's the result of checking whether the memory in the specified range is actually available.
Can you describe the problem you're experiencing in any more detail please?
Sure, when I boot my laptop with any of the above mentioned kernels I get the above message and the laptop freezes and stops whatever its doing.
I will have to reset the machine and boot without having the card inserted. When I insert the card after successfull boot the laptop freezes.
If I can provided more details please ask me.
Signature · 13 lines
Martin Willemoes Hansen -------------------------------------------------------- E-Mail [email protected] Website mwh.sysrq.dk IRC MWH, freenode.net -------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Quoted 9 lines · Russell King
Quoted 7 lines · Martin Willemoes Hansen
Hi! Im getting an error when using my Airo PCMCIA WiFi card with the 2.4.20, 2.4.21, 2.4.22 kernel.
It works when im using 2.4.19 and lower.The error message:
cardmgr[19]: starting, version is 3.2.4
cs: memory probe 0x0c0000-0x0ffff: excluding 0xc0000-0xcbfff
Quoted 5 lines
This isn't an error message as such. It's the result of checking whether the memory in the specified range is actually available.
Can you describe the problem you're experiencing in any more detail please?
Sure, when I boot my laptop with any of the above mentioned kernels I get the above message and the laptop freezes and stops whatever its doing.
I will have to reset the machine and boot without having the card inserted. When I insert the card after successfull boot the laptop freezes.
If I can provided more details please ask me.
Signature · 6 lines
Martin Willemoes Hansen -------------------------------------------------------- E-Mail [email protected] Website mwh.sysrq.dk IRC MWH, freenode.net --------------------------------------------------------
Quoted 3 lines
The error message:
cardmgr[19]: starting, version is 3.2.4
cs: memory probe 0x0c0000-0x0ffff: excluding >0xc0000-0xcbfff
I had the same problem you have (but in other range of memory and with
another wireless card) and it started too with 2.4.19.
I solved it testing with memory ranges in the config.opts file that comes with your pcmcia_cs version.
You have to play with them until one fits and boots. "I had to use
windows to see the memory adresses my cardbus used." Usually, when comenting the "include memory 0xc0000-0xfffff" solves it.
However this problem is not caused by the Airo driver. And, (i think) it is not a kernel problem. Maybe a pcmcia_cs one.
Quoted 3 lines
Sure, when I boot my laptop with any of the above mentioned kernels I get the above message and the laptop freezes and stops whatever its doing.
Quoted 4 lines · tonildg
Quoted 3 lines
The error message:
cardmgr[19]: starting, version is 3.2.4
cs: memory probe 0x0c0000-0x0ffff: excluding >0xc0000-0xcbfff
Quoted 8 lines
I had the same problem you have (but in other range of memory and with
another wireless card) and it started too with 2.4.19.I solved it testing with memory ranges in the config.opts file that
comes with yourpcmcia_csversion.You have to play with them until one fits and boots. "I had to use
windows to see the memory adresses my cardbus used."
Umh can I check it out on Linux as well? And how? I can boot correctly with 2.4.19.
Quoted 2 lines
Usually, when
comenting the "include memory 0xc0000-0xfffff" solves it.
Yes when I comment that include out I can boot but the card is not properly intitialized, here is the errors I get:
airo: register interrupt 0 failed, rc -16airo_cs: RequestConfiguration: Operation succeeded
cardmgr[20]: get dev info on socket 0 failed: Resource temporarily unavailable.
Quoted 2 lines
However this problem is not caused by the Airo driver. And, (i think) it is not a kernel problem. Maybe a
pcmcia_csone.
Okay so the kernel changed something and is now using that memory area?
Signature · 6 lines
Martin Willemoes Hansen -------------------------------------------------------- E-Mail [email protected] Website mwh.sysrq.dk IRC MWH, freenode.net --------------------------------------------------------
Hi again, read below...
Quoted 6 lines · tonildg
Quoted 5 lines
Quoted 4 lines
The error message:
cardmgr[19]: starting, version is 3.2.4
cs: memory probe 0x0c0000-0x0ffff: excluding >0xc0000-0xcbfff
Quoted 9 lines
Quoted 7 lines
I had the same problem you have (but in other range of memory and with
another wireless card) and it started too with 2.4.19.I solved it testing with memory ranges in the config.opts file that comes with your
pcmcia_csversion.You have to play with them until one fits and boots. "I had to use
windows to see the memory adresses my cardbus used."
< Umh can I check it out on Linux as well? And how? I can boot correctly
Quoted 1 line
with 2.4.19.
I had to look to the windows cardbus device properties to get it work,
but i think that by playing with some values you can get it working too without needing that crappy OS.
My Excuse: The reason i looked into windows whas that i was setting
up a laptop whith the host_ap module support and i needed it working for giving a wireless talk and had no time to play. :-)
Quoted 4 lines
Quoted 2 lines
Usually, when comenting the "include memory 0xc0000-0xfffff" solves it.
Quoted 9 lines
Yes when I comment that include out I can boot but the card is not properly intitialized, here is the errors I get:
airo: register interrupt 0 failed, rc -16
airo_cs: RequestConfiguration: Operation succeededcardmgr[20]: get dev info on socket 0 failed: Resource temporarily unavailable.
I can only give you this link where the problem is referenced and
have some instructions to guess wich memory addresses to reserve for the cardbus.
http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO-3.html#ss3.5
Quoted 5 lines
Quoted 1 line
However this problem is not caused by the Airo driver. And, (i think) it is not a kernel problem. Maybe a
pcmcia_csone.Okay so the kernel changed something and is now using that memory area?
No. I think kernel does not change anything. Maybe is that the
kernel fits a region of memory originally reserved for the cardbus as is defined in config.opts. Maybe because those new kernel are a few Kb bigger than before one's.
Remembering this thing makes me think that this "issue" is more apcmcia_cs thing than a kernel/driver one.
Hope it helps you or any other developer/list__member here.
PD: Excuse my poor english.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Well, we had some advance :-)
I have really no clue about what can cause your system getting no interrupt free for pcmcia.
Quoted 1 line
Quoted 1 line
airo: register interrupt 0 failed, rc -16
Googling for "pcmcia-cs register interrupt 0 failed" i found this:
http://www.linuxquestions.org/questions/archive/3/2003/07/4/48965 where it points to a ISA related issue.
Quoted 4 lines
Possable sollution.
I had a similar problem.
Quoted 8 lines
It seems the Aironet cards is 16bit (not Cardbus) you must sellect ISA support in the kernel for the cards to be recognized. (Under General setup)
Hope it helps.
Regards,
Pieter
If it does not help you, i can only point you to the pcmcia-cs documentation about interrupts at
http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO-5.html#ss5.2
hope it helps. ( tell us please :-) )
Quoted 73 lines · Martin Willemoes Hansen
Quoted 6 lines · tonildg
Quoted 5 lines
Quoted 5 lines
I solved it testing with memory ranges in the config.opts file that comes with your
pcmcia_csversion.You have to play with them until one fits and boots. "I had to use
windows to see the memory adresses my cardbus used."Quoted 7 lines
< Umh can I check it out on Linux as well? And how? I can boot correctly
Quoted 1 line
with 2.4.19.
I had to look to the windows cardbus device properties to get it work,
but i think that by playing with some values you can get it working too without needing that crappy OS.Hmm after changing the memory address I seem to get a new problem :( Hope you can point me in the right direction.
Settings in config.opts
I changed the first include memory
to the address I found in win98
----------------------------------# System resources available for PCMCIA devices
include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff include memory 0xc0030000-0xc003ffff
include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff# High port numbers do not always work...
# include port 0x1000-0x17ff# Extra port range for IBM Token Ring
include port 0xa00-0xaff# Resources we should not use, even if they appear to be available
# First built-in serial port
exclude irq 4
# Second built-in serial port
#exclude irq 3
# First built-in parallel port
exclude irq 7=====================================================================
dmesg from: 2.4.19 (everything is okay here :o))
----------------------------------------------------------------cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x398-0x39f 0x4d0-0x4d7cs: IO port probe 0x0a00-0x0aff: clean. cs: memory probe 0xc0030000-0xc003ffff: clean. airo: Probing for PCI adapters airo: Finished probing for PCI adapters airo: Doing fast bap_reads airo: MAC enabled eth0 0:40:96:45:75:51 eth0: index 0x05: Vcc 5.0, Vpp 5.0, irq 3, io 0x0100-0x013fdmesg from: 2.4.22 (seems like IO port probe is missing here)
---------------------------------------------------------------------------
-------cs: memory probe 0x60000000-0x60ffffff: clean. airo: Probing for PCI adapters airo: Finished probing for PCI adapters airo: register interrupt 0 failed, rc -16 airo_cs: RequestConfiguration: Operation succeededAnyone have an idea of what I might do to get the card going in 2.4.22?
Quoted 10 lines · xcytame
Well, we had some advance :-)
I have really no clue about what can cause your system getting no interrupt free for pcmcia.
Quoted 1 line
Quoted 1 line
airo: register interrupt 0 failed, rc -16
Googling for "pcmcia-cs register interrupt 0 failed" i found this:
http://www.linuxquestions.org/questions/archive/3/2003/07/4/48965 where it points to a ISA related issue.
After enabling ISA in the kernel it worked like a charm :o)
Thank you.
The whole solution is:
1. include memory 0xc0040000-0xc004ffff
2. Enable ISA in kernel
This works for me with:
o Cisco pcmcia, aironet 350 card
o Linux-2.4.22
o pcmcia-cs-3.2.5
Signature · 6 lines
Martin Willemoes Hansen -------------------------------------------------------- E-Mail [email protected] Website mwh.sysrq.dk IRC MWH, freenode.net --------------------------------------------------------
Quoted 2 lines · Russell King
Can you describe the problem you're experiencing in any more detail please?
Umh a little update it is in fact not a 340 card I have it is a Cisco Airo Net 350 PCMCIA card. Sorry about that mistake.
Signature · 13 lines
Martin Willemoes Hansen -------------------------------------------------------- E-Mail [email protected] Website mwh.sysrq.dk IRC MWH, freenode.net -------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Quoted 2 lines · Russell King
Can you describe the problem you're experiencing in any more detail please?
Umh a little update it is in fact not a 340 card I have it is a Cisco Airo Net 350 PCMCIA card. Sorry about that mistake.
Signature · 6 lines
Martin Willemoes Hansen -------------------------------------------------------- E-Mail [email protected] Website mwh.sysrq.dk IRC MWH, freenode.net --------------------------------------------------------