PCMCIA problems with IXP425 and Orinoco card

Ognian Kabranov kabranov at site.uottawa.ca
Thu Dec 4 16:12:52 GMT 2003


Pavel Roskin wrote:

>On Wed, 3 Dec 2003, Ognian Kabranov wrote:
>
>>I have the following problem:    the Orinoco Gold is not recognized by
>>the PCMCIA driver.
>>
>>When I start the PCMCIA services a module called 'memory_cs is' called,
>>which obviously is a memory driver and not the
>>wireless driver I wish to start.
>>
>
>As far as I know, this bug was fixed in the recent 2.6 kernels.  It's a
>race condition, so it doesn't happen always.  See this thread:
>http://lists.infradead.org/pipermail/linux-pcmcia/2003-September/thread.html#232
>I don't know if 2.4 kernel were affected.
>
>If you don't want to change the kernel, you can try "cardctl eject;
>cardctl insert".  If that doesn't work, you can a CIS replacement as a
>workaround.  Find this in /etc/pcmcia/config:
>
>card "Anonymous Memory"
>  anonymous
>  bind "memory_cs"
>
>and replace it with
>
>card "Anonymous Memory"
>  anonymous
>  cis "cis/orinoco.dat"
>  bind "orinoco_cs"
>
>If you upgrade to a recent version of pcmcia-cs, you will be able to put
>this to a separate /etc/pcmcia/*.conf file without having to change
>/etc/pcmcia/config.
>
>To create orinoco.dat, insert the card into a PC, run "dump_cis -v" and
>feed the output to cis2bin:
>http://lists.infradead.org/pipermail/linux-pcmcia/2003-November/000352.html
>
Hi,

Thank you Pavel and Dave for your prompt answer,



I appologize in advance if some of the questoins are too elementary, I 
started working with the board few weeks ago.
I followed the advice from Pavel

===> 1). and binded anomymous with "orinoco_cs", and I managed to call 
orinoco drivers.

when I try to restart PCMCIA I get the following:
-----
# /etc/rc.d/pcmcia restart
Shutting down PCMCIA services: cardmgr[1925]: executing: 'modprobe -r 
orinoco_cs'
cardmgr[1925]: executing: 'modprobe -r orinoco'
cardmgr[1925]: executing: 'modprobe -r hermes'
cardmgr[1925]: exiting
killall: bad signal name: v
csr                  1387320   0 (unused)
rmmod: ds: No such file or directory
rmmod: i82365: No such file or directory
rmmod: pcmcia_core: No such file or directory
done.
Starting PCMCIA services: cardmgr[2098]: error in file 'config' line 
2194: syntax error
cardmgr[2098]: watching 1 sockets
cardmgr[2099]: starting, version is 3.1.34
done.
cardmgr[2099]: socket 0: Anonymous Memory
# cardmgr[2099]: could not open 'cis/orinoco.dat': No such file or directory
cardmgr[2099]: executing: 'modprobe hermes'
cardmgr[2099]: + Using /lib/modules/hermes.o
cardmgr[2099]: executing: 'modprobe orinoco'
cardmgr[2099]: + Using /lib/modules/orinoco.o
cardmgr[2099]: executing: 'modprobe orinoco_cs'
cardmgr[2099]: + Using /lib/modules/orinoco_cs.o
orinoco_cs: GetFirstTuple: No more items
cardmgr[2099]: get dev info on socket 0 failed: Resource temporarily 
unavailable

#
-----------------------

=====> 2). I did not manage to start  'lspci -v', I am using 'busybox 
0.6' and this command is not listed there.
I would appreciate if you advize me where to get it from.


=====> 3). I changed the /etc/pcmcia/config.opts and i am not 100% sure 
about:
             - include ports (in IXP425 development board)
             - memory (in IXP development board)
             - the parameters I am giving to the orinoco card (I can 
look in the card documentation)

----------

#----------------------------------------------------------------------

# System resources available for PCMCIA devices

include port 0x4000-0x40ff, port 0x4400-0x44ff
#include memory 0x10000000-0x103fffff, memory 0x10000000-0x103fffff

include memory 0x4bdff000-0x4bdfffff


# 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 ----

#----------------------------------------------------------------------

# Examples of options for loadable modules

# To fix sluggish network with IBM ethernet adapter...
#module "pcnet_cs" opts "mem_speed=600"

# Options for IBM Token Ring adapters
#module "ibmtr_cs" opts "mmiobase=0xd0000 srambase=0xd4000"

# Options for Raylink/WebGear driver: uncomment only one line...
# Generic ad-hoc network
#module "ray_cs" opts "essid=ADHOC_ESSID hop_dwell=128 beacon_period=256 
translate=1"
# Infrastructure network for older cards
#module "ray_cs" opts "net_type=1 essid=ESSID1"
# Infrastructure network for WebGear
#module "ray_cs" opts "net_type=1 essid=ESSID1 translate=1 hop_dwell=128 
beacon_period=256"

# Options for WaveLAN/IEEE driver (AccessPoint mode)...
#module "wvlan_cs" opts "station_name=MY_PC"
# Options for WaveLAN/IEEE driver (ad-hoc mode)...
#module "orinoco_cs" opts "station_name=MY_PC"
#module "orinoco_cs" opts "station_name=MY_PC"
module "orinoco_cs"

# Options for Xircom Netwave driver...
#module "netwave_cs" opts "domain=0x100 scramble_key=0x0"
---------------------------------------------------------------------


=====> 4). your advise to me is to run  "dump_cis -v" on the host 
computer and than to to copy on the target board (IXP425), or to execute it
when I am connected on the target board?



best regards and thank you very much in advance,

Ognian




More information about the linux-pcmcia mailing list