Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78264 - emerge madwifi-driver (-0.1_pre20050107) modules install problem
Summary: emerge madwifi-driver (-0.1_pre20050107) modules install problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-16 13:20 UTC by Patrick
Modified: 2005-01-16 16:44 UTC (History)
3 users (show)

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 Patrick 2005-01-16 13:20:41 UTC
emerge madwifi-driver doesn't install modules correctly (only ath_hal), They somehow get compiled as .o instead of .ko seemingly...

I pasted the whole emerging, it's pretty self explanatory

Reproducible: Always
Steps to Reproduce:
1. emerge madwifi-driver
2.
3.

Actual Results:  
emerge madwifi-driver
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/madwifi-driver-0.1_pre20050107 to /
>>> md5 src_uri ;-) madwifi-cvs-snapshot-2005-01-07.tar.bz2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.10-gentoo-r4
 * Using KV_OBJ=ko
x86
>>> Unpacking source...
>>> Unpacking madwifi-cvs-snapshot-2005-01-07.tar.bz2 to
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work
 * Converting madwifi/ath/Makefile to use M= instead of SUBDIRS=...            
               [ ok ]
 * Converting madwifi/ath_hal/Makefile to use M= instead of SUBDIRS=...        
               [ ok ]
 * Converting madwifi/ath_rate/amrr/Makefile to use M= instead of SUBDIRS=...  
               [ ok ]
 * Converting madwifi/ath_rate/onoe/Makefile to use M= instead of SUBDIRS=...  
               [ ok ]
 * Converting madwifi/net80211/Makefile to use M= instead of SUBDIRS=...       
               [ ok ]
>>> Source unpacked.
 * Preparing ath_hal module
cp ./../hal/linux/ah_osdep.c ah_osdep.c
uudecode ./../hal/linux/i386-elf.hal.o.uu
cp ./../hal/linux/i386-elf.opt_ah.h opt_ah.h
make -C //usr/src/linux
M=/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal
MODVERDIR=/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/../symbols
modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r4'
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/ah_osdep.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/ath_hal.o
  Building modules, stage 2.
  MODPOST
  CC     
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/ath_hal.mod.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/ath_hal.ko
make[1]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r4'
 * Preparing ath_rate_onoe module
make -C //usr/src/linux
M=/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_rate/onoeMODVERDIR=/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_rate/onoe/../../symbols
modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r4'
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_rate/onoe/onoe.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_rate/onoe/ath_rate_onoe.o
  Building modules, stage 2.
  MODPOST
*** Warning: "ieee80211_iterate_nodes"
[/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_rate/onoe/ath_rate_onoe.ko]
undefined!
*** Warning: "ether_sprintf"
[/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_rate/onoe/ath_rate_onoe.ko]
undefined!
  CC     
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_rate/onoe/ath_rate_onoe.mod.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_rate/onoe/ath_rate_onoe.ko
make[1]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r4'
 * Preparing wlan module
make -C //usr/src/linux
M=/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211
MODVERDIR=/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/../symbols
 modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r4'
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/if_media.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/rc4.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_crypto.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_input.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_node.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_output.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_proto.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_wireless.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_linux.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_crypto_none.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_acl.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_crypto_ccmp.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_crypto_tkip.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_crypto_wep.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/ieee80211_xauth.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_tkip.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_ccmp.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_acl.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_xauth.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_wep.o
  Building modules, stage 2.
  MODPOST
  CC     
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_rate/onoe/ath_rate_onoe.mod.o
  CC     
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan.mod.o
  CC     
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_acl.mod.o
  CC     
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_ccmp.mod.o
  CC     
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_tkip.mod.o
  CC     
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_wep.mod.o
  CC     
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_xauth.mod.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_rate/onoe/ath_rate_onoe.ko
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan.ko
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_acl.ko
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_ccmp.ko
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_tkip.ko
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_wep.ko
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/net80211/wlan_xauth.ko
make[1]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r4'
 * Preparing ath_pci module
make -C //usr/src/linux
M=/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath
MODVERDIR=/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath/../symbols
modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r4'
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath/if_ath.o
  CC [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath/if_ath_pci.o
  LD [M]  /var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath/ath_pci.o
  Building modules, stage 2.
  MODPOST
  CC     
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath/ath_pci.mod.o
  LD [M] 
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath/ath_pci.ko
make[1]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r4'
>>> Test phase [not enabled]: net-wireless/madwifi-driver-0.1_pre20050107

>>> Install madwifi-driver-0.1_pre20050107 into
/var/tmp/portage/madwifi-driver-0.1_pre20050107/image/ category net-wireless
 * Installing ath_hal module
 * Installing ath_rate_onoe module
install: cannot stat `ath_rate_onoe.ko': No such file or directory
modinfo: could not find module
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/ath_rate_onoe.ko
 * Installing wlan module
install: cannot stat `wlan.ko': No such file or directory
modinfo: could not find module
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/wlan.ko
 * Installing wlan_acl module
install: cannot stat `wlan_acl.ko': No such file or directory
modinfo: could not find module
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/wlan_acl.ko
 * Installing wlan_ccmp module
install: cannot stat `wlan_ccmp.ko': No such file or directory
modinfo: could not find module
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/wlan_ccmp.ko
 * Installing wlan_tkip module
install: cannot stat `wlan_tkip.ko': No such file or directory
modinfo: could not find module
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/wlan_tkip.ko
 * Installing wlan_wep module
install: cannot stat `wlan_wep.ko': No such file or directory
modinfo: could not find module
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/wlan_wep.ko
 * Installing wlan_xauth module
install: cannot stat `wlan_xauth.ko': No such file or directory
modinfo: could not find module
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/wlan_xauth.ko
 * Installing ath_pci module
install: cannot stat `ath_pci.ko': No such file or directory
modinfo: could not find module
/var/tmp/portage/madwifi-driver-0.1_pre20050107/work/madwifi/ath_hal/ath_pci.ko
man:
prepallstrip:
strip:
>>> Completed installing into /var/tmp/portage/madwifi-driver-0.1_pre20050107/image/

>>> Merging net-wireless/madwifi-driver-0.1_pre20050107 to /
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.10-gentoo-r4/
--- /lib/modules/2.6.10-gentoo-r4/net/
>>> /lib/modules/2.6.10-gentoo-r4/net/ath_hal.ko
--- /usr/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/madwifi-driver-0.1_pre20050107/
>>> /usr/share/doc/madwifi-driver-0.1_pre20050107/README.gz
>>> /usr/share/doc/madwifi-driver-0.1_pre20050107/COPYRIGHT.gz
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/doc/madwifi-driver-0.1_pre20050107/README.gz
--- !mtime obj /usr/share/doc/madwifi-driver-0.1_pre20050107/COPYRIGHT.gz
--- cfgpro obj /lib/modules/2.6.10-gentoo-r4/net/ath_hal.ko
--- cfgpro dir /lib/modules/2.6.10-gentoo-r4/net
--- cfgpro dir /lib/modules/2.6.10-gentoo-r4
--- !empty dir /usr/share/doc/madwifi-driver-0.1_pre20050107
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr
--- !empty dir /lib/modules
--- !empty dir /lib
>>> original instance of package unmerged safely.
 * Updating module dependencies for 2.6.10-gentoo-r4...                        
               [ ok ]
 * Updating modules.conf...                                                    
               [ ok ]
 * If you would like to load this module automatically upon boot
 * please type the following as root:
 *     # echo "ath_hal" >> /etc/modules.autoload.d/kernel-2.6
 *     # echo "ath_rate_onoe" >> /etc/modules.autoload.d/kernel-2.6
 *     # echo "wlan" >> /etc/modules.autoload.d/kernel-2.6
 *     # echo "wlan_acl" >> /etc/modules.autoload.d/kernel-2.6
 *     # echo "wlan_ccmp" >> /etc/modules.autoload.d/kernel-2.6
 *     # echo "wlan_tkip" >> /etc/modules.autoload.d/kernel-2.6
 *     # echo "wlan_wep" >> /etc/modules.autoload.d/kernel-2.6
 *     # echo "wlan_xauth" >> /etc/modules.autoload.d/kernel-2.6
 *     # echo "ath_pci" >> /etc/modules.autoload.d/kernel-2.6

 *
 * The madwifi drivers create an interface named 'athX'
 * Create /etc/init.d/net.ath0 and add a line for athX
 * in /etc/conf.d/net like 'iface_ath0="dhcp"'
 *
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> net-wireless/madwifi-driver-0.1_pre20050107 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

Expected Results:  
emerging it cleanly :)
Comment 1 ChazeFroy 2005-01-16 14:28:34 UTC
I also confirm this problem with the pre20050107 ebuild on vanilla sources 2.6.10.
Comment 2 Henrik Brix Andersen 2005-01-16 14:42:41 UTC
Adding solar and horton to CC:
Comment 3 Joël 2005-01-16 15:10:36 UTC
Same problem here.

I suspect, that probably by mistake, the 0.1_pre20050106 (which worked fine, for me at least) has recently been keyworded "-*", instead of the 0.1_pre20050107 (which doesn't work).

See, when we look at madwifi-tools, the version is still at 0.1_pre20050106 (and it's working fine).

So, shouldn't the keywords of 0.1_pre20050106 and 0.1_pre20050107 be inverted, or am I wrong ?
Comment 4 Patrick 2005-01-16 16:13:57 UTC
I can confirm Joel's idea:
unmerged 20050107
# emerge -C net-wireless/madwifi-driver
# echo =net-wireless/madwifi-driver-0.1pre20050106 >> /etc/portage/package.unmask
# emerge =net-wireless/madwifi-driver-0.1pre20050106
# modprobe <all the modules>
# /etc/init.d/net.ath0 start

works great

and let the fingers from emerge sync / emerge -u world because you can't:

# echo =net-wireless/madwifi-driver-0.1pre20050107 >> /etc/portage/package.mask

even if that would be pretty nice to avoid overwriting at next emerge -u world.
but probably it's fixed till then

greets patrick

Comment 5 Henrik Brix Andersen 2005-01-16 16:44:24 UTC
This should be fixed in the linux-mod.eclass. Please resync in a couple of hours and remerge. Reopen this bug if the problem still exists.