Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274 - pcmcia-cs does not work if kernel is configured with pcmcia
Summary: pcmcia-cs does not work if kernel is configured with pcmcia
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-22 14:40 UTC by Karl Trygve Kalleberg (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-01-22 14:40:26 UTC
If /usr/src/linux/.config contains CONFIG_PCMCIA=y or =m, the pcmcia-cs kernel
modules will not be built.

If the kernel PCMCIA support is built later, the kernel pcmcia_core will
conflict with pcmcia-cs pcmcia_core. 

Furthermore, the pcmcia-cs documentation does not sufficiently explain that
pcmcia-cs should be used completely separately from the kernel.

We should make a note, possibly in pkg_postinst() that you have to disable
kernel PCMCIA support before merging pcmcia-cs, if it is enabled.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-04 20:29:05 UTC
So we basically need to choose between kernel PCMCIA and pcmcia-cs PCMCIA?  They
absolutely can't coexist?
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-02-05 13:23:19 UTC
The problem seems to be that:
1) If the kernel PCMCIA support is enabled, the modules in pcmcia-cs are not
built. This means that some wlan cards (such as the SMC ones) will not function,
since these drivers do not exist in the mainstream kernels.
2) If the modules in the pcmcia-cs package are forced to be compiled, these
drivers are incompatible with the PCMCIA core provided by the kernel. The kernel
advocates using yenta_socket, which does not work with the wlan driver.

If your driver is available in the mainstream kernel, it is of course
preferrable that the pcmcia-cs package does not bother to built extra modules;
the pcmcia-cs user-space utilities is the only thing you'd want from the
pcmcia-cs package.

The best solution would be if the mainstream kernel included all PCMCIA drivers
from the pcmcia-cs package (maybe Marcelo will allow them in). Failing that, the
general solution is to disable PCMCIA in the kernel tree, and have the pcmcia-cs
ebuild do some sanity-checking and warn if it detects that the kernel it is
compiled against has PCMCIA configured.

Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-02-06 00:30:37 UTC
I'm thinking from the perspective of our boot cd.  You'd recommend using
pcmcia-cs modules for now?
Comment 4 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-02-06 11:29:49 UTC
Definitely. There are simply too few drivers supplied with the mainstream kernel.
Comment 5 Daniel Robbins (RETIRED) gentoo-dev 2002-02-09 22:40:27 UTC
This has been fixed in the new -r16 build cd, which will be uploaded to ibiblio
as soon as it comes back up.