[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PCMCIA problem



Jose Oncina <oncina@dlsi.ua.es> writes:

>   I am trying to install Debian 1.2 in a laptop, everything goes ok
> until I try to load the module of my PCMCIA card (the 3c589_cs).
> 
> The program answers:
> 
>   "Can't locate module 3c589_cs"
> 
> The same happened for any PCMCIA module.
> 
> In order to solve this problem I opened another shell and I added
> the line:
>   
> 
>   path[pcmcia]=/lib/modules/`uname -r`/pcmcia
> 
> in
>   
>   /etc/conf.modules
> 
> then it says:
> 
>   "No dependency information for module
>                                /lib/modules/2.0.27/pcmcia/3c589_cs.o"
> 
> then I execute:
> 
>   depmod -a
> 
> and it says:
> 
>   "Installation succeeded"
> 
> and the rest goes ok.
> 
> When I reboot the system it loads the module but the net does not work!
> 
> Why?

I'm not sure that I understand what you are trying to do.  Are you
trying to load the PCMCIA modules manually (that is, using insmod)?
The PCMCIA modules are not designed to be loaded this way.  Instead
they should be loaded automatically by the cardmgr program.

The cardmgr program monitors the PCMCIA sockets and loads the
appropriate device drivers (kernel module) when a card is inserted.
This way the user doesn't need specify any PCMCIA modules to load in
the /etc/modules file nor must he supply a path to the PCMCIA modules'
location in the /etc/conf.modules file.  Instead, the appropriate
modules are loaded automatically for all PCMCIA cards that have been
inserted into the computer.  Furthermore, the modules are loaded and
removed automatically as new cards are inserted and replaced.

For Debian users, PCMCIA support is provided in two complimentary
packages: pcmcia-cs and pcmcia-modules-<kernel_version>.  The
pcmcia-modules.. package contains the kernel modules, and the
pcmcia-cs package provides the cardmgr program, its configuration
files, some auxiliary programs, and documentation.  Both of these
packages are needed for PCMCIA support.

If you are using a PCMCIA network card, you should know that the
network information should go in the /etc/pcmcia/network.opts file
(found in the pcmcia-cs package) and NOT in the /etc/init.d/network
file.  This is important.  Your PCMCIA network card will not be able
to reach your network if you try to establish the network connection
in the /etc/init.d/network file.

-- 
Brian


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: