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

Bug 69929

Summary: orinoco ebuild installs modules in wrong directory with pcmcia support enabled and uses the wrong pcmcia cardservices version
Product: Gentoo Linux Reporter: jochen <jochen.eisinger>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED FIXED    
Severity: major Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 68964    

Description jochen 2004-11-03 03:51:43 UTC
The orinoco stand alone makefile tests whether pcmcia-cs modules are present and disables them if so. however, since the driver is build in a sandbox, it doesn't see the modules and thus fails to disable them:

for f in hermes.o orinoco.o orinoco_nortel.o orinoco_pci.o orinoco_plx.o orinoco
_tmd.o orinoco_cs.o spectrum_cs.o; do \
    if test -e /var/tmp/portage/orinoco-0.15_rc2/image//lib/modules/2.4.27-gento
o-r1/pcmcia/$f; then \
        install -m 644 -o 0 -g 0 $f /var/tmp/portage/orinoco-0.15_rc2/image//lib
/modules/2.4.27-gentoo-r1/pcmcia/$f; \
    else \
        install -m 644 -o 0 -g 0 $f /var/tmp/portage/orinoco-0.15_rc2/image//lib
/modules/2.4.27-gentoo-r1/net/$f; \
    fi; \
done

the first test should be test -e /lib/modules ... i.e. without the sandbox prefix, maybe you should fix that in postinstall() ?

this results in pcmcia-cs and orinoco modules to be around at the same time -> Oops when loading them

furthermore, the wrong pcmcia-cs version is used: the 3.2.5-3.2.7 diff does not contain the correct cardutils version (it defines 0x3205 instead of 0x3207) so obviously the correct sources aren't used.

this results in the orinoco_cs module complaining about a version mismatch and refusing to load (after resolving above conflict by hand)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Henrik Brix Andersen 2005-04-28 02:38:05 UTC
The pcmcia-cs version issue is fixed in net-wireless/orinoco-0.15_rc2-r2 - and a warning about the conflicting modules from pcmcia-cs has been added.