Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111045

Summary: Hostap-driver now in mainline kernel: PCMCIA support still needs the configuration file
Product: Gentoo Linux Reporter: Antti Mäkelä <zarhan>
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://hostap.epitest.fi
Whiteboard:
Package list:
Runtime testing required: ---

Description Antti Mäkelä 2005-10-31 11:29:32 UTC
Beginning with Linux kernel 2.6.14, hostap-driver is now part of the kernel
tree, and the old hostap-driver packages are only to be used with older kernels.

As such, the hostap-driver should probably check kernel version and if >=2.6.14
notify the user to use kernel drivers instead.

However, a potential problem arises from the fact that when using a PCMCIA card,
the module is loaded with pcmcia-cs. To work with hostap-driver, the file
/etc/pcmcia/hostap_cs.conf that specifies the supported cards is needed to be in
system.

Until pcmcia-cs mainline adds the support, I thing Gentoo's pcmcia-cs ebuild
should be patched to include the hostap's config file in installed files now
that the hostap-driver package is no longer used.

(Alternate solution is that hostap-driver package does not install anything
besides the hostap_cs.conf if kernel >=2.6.14..)
Comment 1 Henrik Brix Andersen 2005-10-31 11:59:43 UTC
Starting with linux-2.6.13, you should use sys-apps/pcmciautils instead of
sys-apps/pcmcia-cs - and pcmciautils doesn't need those configuration files.

sys-apps/pcmciautils will be stabilized before 2.6.14 goes stable.
Comment 2 Antti Mäkelä 2005-10-31 12:11:46 UTC
Will there be a notifier in pcmcia-cs suggesting a move to pcmciautils? Thanks
for the information, this is the first time I have heard of this :)
Comment 3 Henrik Brix Andersen 2005-10-31 12:13:58 UTC
Yes, this will be added once it goes stable.