[ltp] network/pcmcia problems

Paul Barrett linux-thinkpad@www.bm-soft.com
Mon, 30 Aug 1999 17:10:54 -0400 (EDT)


Peter Soderling writes:
 > An update on my present pcmcia situation . . .
 > 
 > A quick recap . . . I'm trying to get a IBM EtherJet Cardbus card working w/
 > RedHat6
 > ------------------------------------------------------------
 > 
 > I have compiled pcmcia-cs-3.0.14 with the modified driver found at
 > http://ivs.cs.uni-magdeburg.de/~danilo/linux.shtml . I have also added
 > (according to Craig Domanski's comments from
 > http://www.bm-soft.com/~bm/tp_comments.html#5 ) the following lines to my
 > /etc/pcmcia/config file:
 > 
 > card "IBM Etherjet Cardbus Adapter 10/100"
 >   manfid 0x00a4, 0x0113
 >   bind "tulip_cb"
 > 
 > Now, when I insert the card, the screen displays "XIRCOM init" . . . and
 > then my system locks up totally. I can't even turn it off w/ the power
 > switch. I have to unplug the power supply + pop out the battery to get it
 > turned off!  yikes . . . .

Use a pen or paper clip to push the hard reset button in the hole next
to the power switch.  It's easier than removing the battery.

 > 
 > If someone out there is running this card successfully, please let me know.
 > I need to know if there's light at the end of this tunnel . . . or if I have
 > to buy a new card.
 > 

Hi Peter,

I have this card running successfully on my TP 770 with Red Hat 6.0
and pcmcia-cs-3.0.14.

I first recompiled the kernel setting CONFIG_NET_ETHERNET to NO as the
PCMCIA README recommends.  I then compiled the kernel modules and
pcmcia and install them.  Next I added the EtherJet card entry given
above to the /etc/pcmcia/config file as you have done.  The only
configuration file that may be different is the
/etc/pcmcia/config.opts file which I have attached below (Note that
this file may not need to be change at all).  Once these changes were
made, I have had no problems seeing and using the card.  Works like a
charm, though it would be nice if it said "IBM EtherJet init" instead
of "XIRCOM init".

Have you rerun modprobe to set all the module dependancies correctly?

Your /etc/conf.modules file should have these two lines:

pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
keep

If you want to contact me directly, my E-mail address is below.

 -- Paul

#
# Local PCMCIA Configuration File
#
# System resources available for PCMCIA devices
#
include port 0x100-0x4ff, port 0x1000-0x17ff
include memory 0xc0000-0xfffff, memory 0x60000000-0x60ffffff, memory 0xa0000000-0xa0ffffff
#
# 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
# Soundcard
exclude port 0x230-0x233, irq 5
#
# Options for loadable modules
#
# To fix sluggish network with IBM ethernet adapter...
#module "pcnet_cs" opts "mem_speed=600"
#
# Options for Xircom Netwave driver...
#module "netwave_cs" opts "domain=0x100 scramble_key=0x0"
#
# for IBM EtherJet Cardbus...
#module "tulip_cb" opts "strict_csr6=1"

-- 
Dr. Paul Barrett       Space Telescope Science Institute
Phone: 410-516-6714    DESD/DPT
FAX:   410-516-8615    Baltimore, MD 21218