Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83447 - Undefined symbol with madwifi-driver 0.1_pre20050224
Summary: Undefined symbol with madwifi-driver 0.1_pre20050224
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-27 02:09 UTC by Joël
Modified: 2005-08-11 03:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of 'emerge info' (emerge-info.txt,3.92 KB, text/plain)
2005-02-27 08:57 UTC, Joël
Details
Result of 'emerge madwifi-driver &>/tmp/madwifi-compile-log.txt' (madwifi-compile-log.txt,13.81 KB, text/plain)
2005-02-27 09:01 UTC, Joël
Details
lsmod (before 'modprobe ath_pci') (lsmod-before.txt,956 bytes, text/plain)
2005-02-27 09:07 UTC, Joël
Details
lsmod (after 'modprobe ath_pci') (lsmod-after.txt,1.01 KB, text/plain)
2005-02-27 09:07 UTC, Joël
Details
result of emerge with KBUILD_VERBOSE enabled (madwifi-compile-verbose-log.txt,52.47 KB, text/plain)
2005-02-27 09:43 UTC, Joël
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joël 2005-02-27 02:09:37 UTC
madwifi-driver 0.1_pre20050106 works fine, but with the new 0.1_pre20050224 version, upon modprobe ath_pci I get:

ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
ath_rate_amrr: 0.1
ath_pci: Unknown symbol ieee80211_getrssi

A Ubuntu user has the same problem:
http://sourceforge.net/mailarchive/message.php?msg_id=10884670

I don't know it this is kernel related. I'm using 2.6.10-morph24.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2005-02-27 07:04:17 UTC
What snapshot do you need so that this works for you?

Can you please test by renameing the ebuild?
0226
0210
0120
So that we can find out on when it broke for you or if is already fixed.
Comment 2 Joël 2005-02-27 08:15:28 UTC
Thank you for helping !

Here are the results:

0226: Unknown symbol ieee80211_getrssi
0210: Unknown symbol ieee80211_getrssi
0120: OK ;-)
0106: OK ;-)
Comment 3 Joël 2005-02-27 08:37:43 UTC
0129: NOT ok
0128: NOT ok
0127: ok
0126: ok
0124: ok

...so the problem appeared in the 2005-01-28 snapshot.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2005-02-27 08:51:35 UTC
Can you please post "emerge info" and the full compile log of a version >=0128?
Also lsmod after loading the module would be nice.
Comment 5 Joël 2005-02-27 08:57:17 UTC
Created attachment 52239 [details]
Output of 'emerge info'
Comment 6 Joël 2005-02-27 09:01:00 UTC
Created attachment 52241 [details]
Result of 'emerge madwifi-driver &>/tmp/madwifi-compile-log.txt'
Comment 7 Joël 2005-02-27 09:03:20 UTC
I haven't tried changing my CFLAGS and LDFLAGS since they're completely ignored for all kernel-related builds. Is it correct ?
Comment 8 Joël 2005-02-27 09:07:15 UTC
Created attachment 52243 [details]
lsmod (before 'modprobe ath_pci')
Comment 9 Joël 2005-02-27 09:07:51 UTC
Created attachment 52244 [details]
lsmod (after 'modprobe ath_pci')
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2005-02-27 09:23:09 UTC
Can you please attach the output of:

export KBUILD_VERBOSE=1
KBUILD_VERBOSE=1 emerge madwifi-driver

?
Comment 11 Joël 2005-02-27 09:43:40 UTC
Created attachment 52245 [details]
result of emerge with KBUILD_VERBOSE enabled
Comment 12 Roy Marples (RETIRED) gentoo-dev 2005-02-28 23:31:50 UTC
I've been by this bug - however it's a kernel problem imo.

Using 2.6.10-gentoo-r7 and earlier 0.1_pre20050107 did work (prior ebuilds didn't support amd64)

However, no madwifi driver ebuild work against this kernel anymore - I get the unknown symbols error

wlan: Unknown symbol request_module

Building against 2.6.9-gentoo-r14 works fine.
Comment 13 Roy Marples (RETIRED) gentoo-dev 2005-03-04 13:44:51 UTC
Compiles and works fine with gentoo-dev-sources-2.6.11-r1 :)
Comment 14 Stefan Schweizer (RETIRED) gentoo-dev 2005-03-07 12:57:09 UTC
Do you think it is a sufficient fix when I add

if kernel_is 2 6 10; then
 die "does not work with 2.6.10"
fi

to the ebuild?

Or should we look for a new snapshot that works on 2.6.10?
Comment 15 Roy Marples (RETIRED) gentoo-dev 2005-03-08 01:16:16 UTC
Probably easiest to add that to the ebuild.

I actually think it's the ebuild doing something wrong as 0.1_pre20050107 used to work on 2.6.10-r7 - maybe something changed in the ebuild?
Comment 16 Matthias F. Brandstetter (RETIRED) gentoo-dev 2005-04-09 19:23:43 UTC
Hello, I get this type of error as well:

madwifi-cvs-snapshot-2005-01-07 and
madwifi-cvs-snapshot-2005-02-24

gentoo-sources-2.6.11-gentoo-r5

dmesg gives this (after modprobe): "unknown symbol wireless_send_event"

Any ideas on this?
Comment 17 Matthias F. Brandstetter (RETIRED) gentoo-dev 2005-04-09 19:42:25 UTC
UPDATE: after adding generic support for wirless cards and wireless extensions to my kernel, and remerging madwifi-drivers, I had no problems any more...
Comment 18 Henrik Brix Andersen 2005-04-26 11:36:13 UTC
Adding solar to CC:
Comment 19 Henrik Brix Andersen 2005-06-04 05:10:24 UTC
A check for CONFIG_NET_RADIO should be added to the ebuild:

CONFIG_CHECK="NET_RADIO"
ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) &
Wireless Extensions (CONFIG_NET_RADIO)."

See net-wireless/ipw2200-1.0.4 for example use.
Comment 20 Henrik Brix Andersen 2005-07-21 04:26:00 UTC
Same goes for net-wireless/madwifi-bsd
Comment 21 Stefan Schweizer (RETIRED) gentoo-dev 2005-08-11 02:52:40 UTC
A new madwifi-driver including that config-check was added.
madwifi-bsd was removed from the tree.

Thanks for reporting
Comment 22 Joël 2005-08-11 03:20:08 UTC
Are you mentioning the new 0.1_pre20050809 ?

That module version does load and detect my access points fine, but with it I
can't access the network or ping anything.. So I had to put it in package.mask :-\

The previous one (0.1_pre20050420) works perfectly well.
Comment 23 Stefan Schweizer (RETIRED) gentoo-dev 2005-08-11 03:26:23 UTC
Well, that is the problem with cvs snapshots, for some people it works, for some
people it does not :(

You can just rename the package in your overlay and try out other versions.
Please tell me afterwards what version worked.