In article <[EMAIL PROTECTED]>, Martha M. Nunez <[EMAIL PROTECTED]> wrote:
>Hi, I run red hat 5.2 (2.0.36)on a Compaq Presario 1626.  I have tried
>recompiling the kernel, but every time I mess something up with pcmcia. 
>After recompiling & "make modules", I do a "make modules_install", this
>doesn't create a pcmcia directory in /lib/modules/2.0.36.  I checked all
>the kernel configurations for pcmcia & everything looks fine in there. 
>Is there anything else that I need to do?  Any ideas on what I'm
>overlooking?  I would really appreciate your help.


Rebuilding the kernel doesn't rebuild the pcmcia package, even though redhat
includes it in the kernel sources tree.  With RedHat 5.2 on my ThinkPad 600,
I did essentialy this:  (unfortunately my notes aren't quite detailed enough)

cd /usr/src/linux/pcmcia-cs-3.0.5
make config
        (answer all questions with defaults, except for prefix, which is /)
make all

        I chose not to do a full pcmcia install,
        but rather to just install the modules:
cd modules
make install

The PCMCIA support as shipped in RedHat 5.2 is just slightly broken, so even
if you don't recompile the kernel, you may need to configure pcmcia, make all,
and then do this next part:

cd ../etc/cis
make install

This creates the /etc/pcmcia/cis directory, and populates it with the files
3CXEM556.dat and PCMLM28.dat.  If you have either of these cards, you need
these files.  These files are workarounds for bugs in the card information
structures on particular PCMCIA cards.  I have a 3COM 3CXEM556BT 10baseT/Modem
combo card; without getting this right, the modem is inaccessable.  With
this fix, it works great.

As someone else suggested, you may want to get the latest version of the
pcmcia package instead of the one supplied with RH5.2.  I will probably try
this myself shortly.  But doing that means you probably want to get whatever
patches RedHat applied to pcmcia to hook it into their configuration system,
which requires digging into the kernel source SRPM and spec file.  It
appears that they made some changes in the area of connecting the
/etc/pcmcia/network startup/shutdown to their network stuff in
/etc/sysconfig/network-scripts.  They also did a few things related to their
/lib/modules/prefered scheme for finding the right kernel modules.

-- 
-- 
Steve Tell | [EMAIL PROTECTED] | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845

Reply via email to