Skip to contentSkip to conversation

unresolved symbols due to missing iwlcore.ko

DISCUSSION Bringfried Stecklum 3 participants 4 messages Dec 14, 2010 – Dec 15, 2010

lore
Share & tools
lore
#0 lore raw

I am having trouble installing iwlagn from the recent compat-wireless. My system is Ubuntu 8.10 running kernel 2.6.36-1. The reason is that iwlcore.ko does not get build and installed in the update modules folder which, of course, leads unresolved symbols. Here is a short log

stecklum@extragalactix:~/System/src/compat-wireless-2010-12-12$ ./scripts/driver-select iwlwifi
make
...
  Building modules, stage 2.
  MODPOST 7 modules
  CC      /home/stecklum/System/src/compat-wireless-2010-12-12/compat/compat.mod.o
  LD [M]  /home/stecklum/System/src/compat-wireless-2010-12-12/compat/compat.ko
  CC 
/home/stecklum/System/src/compat-wireless-2010-12-12/drivers/net/atl1c/atl1c.mod.o
  LD [M] 
/home/stecklum/System/src/compat-wireless-2010-12-12/drivers/net/atl1c/atl1c.ko
  CC 
/home/stecklum/System/src/compat-wireless-2010-12-12/drivers/net/atl1e/atl1e.mod.o
  LD [M] 
/home/stecklum/System/src/compat-wireless-2010-12-12/drivers/net/atl1e/atl1e.ko
  CC 
/home/stecklum/System/src/compat-wireless-2010-12-12/drivers/net/atlx/atl1.mod.o
  LD [M] 
/home/stecklum/System/src/compat-wireless-2010-12-12/drivers/net/atlx/atl1.ko
  CC 
/home/stecklum/System/src/compat-wireless-2010-12-12/drivers/net/atlx/atl2.mod.o
  LD [M] 
/home/stecklum/System/src/compat-wireless-2010-12-12/drivers/net/atlx/atl2.ko
  CC 
/home/stecklum/System/src/compat-wireless-2010-12-12/net/mac80211/mac80211.mod.o
  LD [M] 
/home/stecklum/System/src/compat-wireless-2010-12-12/net/mac80211/mac80211.ko
  CC 
/home/stecklum/System/src/compat-wireless-2010-12-12/net/wireless/cfg80211.mod.o
  LD [M] 
/home/stecklum/System/src/compat-wireless-2010-12-12/net/wireless/cfg80211.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.36-1-generic'

So no iwlcore.ko at this stage.

This is after make install

stecklum@extragalactix:~/System/src/compat-wireless-2010-12-12$ find . -name iwlcore.ko -print
stecklum@extragalactix:~/System/src/compat-wireless-2010-12-12$

and consequently the module is not in the update module folder. Thus, upon modprobe iwlagn the original kernel module will be loaded which, of course, lacks the new symbols.

Regards, Bringfried

#1 lore raw

Turns out that the error is due to a fault of the configuration script. If I _don't_ select the iwlwifi driver via driver_select and build all drivers instead, iwlcore.ko will be build as well and properly installed.

#2 lore raw
Quoted 9 lines · Bringfried Stecklum

Turns out that the error is due to a fault of the configuration script. If I _don't_ select the iwlwifi driver via driver_select and build all drivers instead, iwlcore.ko will be build as well and properly installed.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

It looks like there is a mismatch between usage CONFIG_IWLWIIFI and CONFIG_COMPAT_IWLWIFI in select script and the Makefile. I'm not sure what is the intention so of COMPAT so I cannot say were it should be fixed.

Thanks
Tomas

#3 lore raw
Quoted 12 lines · Tomas Winkler
Quoted 9 lines · Bringfried Stecklum

Turns out that the error is due to a fault of the configuration script. If I _don't_ select the iwlwifi driver via driver_select and build all drivers instead, iwlcore.ko will be build as well and properly installed.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

It looks like there is a mismatch between usage CONFIG_IWLWIIFI and CONFIG_COMPAT_IWLWIFI in select script and the Makefile. I'm not sure what is the intention so of COMPAT so I cannot say were it should be fixed.

Likely the grep'ing out is dropping one config option out of the Makefile, fix that and you can fix the problem.

Luis