Summary: | pcmcia-cs-3.1.31-r3.ebuild breaks a working pcmcia-cs environment | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Avi Schwartz <avi> |
Component: | [OLD] Core system | Assignee: | Karl Trygve Kalleberg (RETIRED) <karltk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo-bug |
Priority: | High | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Avi Schwartz
2002-03-06 11:59:03 UTC
I didn't touch these things in -r3. I'm guessing they were changed in -r2 or earlier? It's really hard for me to work with this package as I don't have a laptop. Something very strange is going on here. When I look at the original /etc/init.d/pcmcia file on my system, I can see it is not a standard gentoo script but rather the original file that ships with the PCMCIA-CS distribution. Is it possible that the gentoo script went in by mistake? Here are the first few lines of the pcmcia script that works properly. You can see it is not a gentoo startup script: #!/bin/sh # rc.pcmcia 1.39 2001/10/04 12:30:05 (David Hinds) # # This is designed to work in BSD as well as SysV init setups. See # the HOWTO for customization instructions. # Tags for Red Hat init configuration tools # # chkconfig: 2345 45 96 # processname: cardmgr # pidfile: /var/run/cardmgr.pid # config: /etc/pcmcia/config # config: /etc/pcmcia/config.opts # description: PCMCIA support is usually to support things like ethernet \ # and modems in laptops. It won't get started unless \ # configured so it is safe to have it installed on machines \ # that don't need it. chadh submitted a new gentoo-specific script, but it breaks a bit. I'll get to the bottom of this during the weekend. Yep. I am the culprit. After speaking with drobbins, we decided to remove the module loading from the init script. I also moved the environment variables to /etc/conf.d/pcmcia, which is more appropriate, IMO. A definite bug is that I didn't know how to determine if pcmcia_core, yenta_socket/i82365, and ds were compiled into the kernel. I can tell if the modules are loaded, but not if they are compiled in. pcmcia-cs-3.1.31-r4 is now available and should address all these issues. |