Bug report compat-wireless-2.6-old
I'm reporting a bug.=20
Went I make, this is what I get:
compat-wireless-2.6-old # make /root/compat-wireless-2.6-old/config.mk:30: *** "ERROR: There is a bug = with compat-wireless on 2.6.22. Remove me if you want to fix me". Stop= =2E
How can I fix it?
Edgar Velasco
_________________________________________________________________=
___________________
Yahoo! MTV Blog & Rock >=A1Cu=E9ntanos tu historia, inspira una canc= i=F3n y g=E1nate un viaje a los Premios MTV! Participa aqu=ED http://mt=
vla.yahoo.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Edgar Velasco
I'm reporting a bug.
Went I make, this is what I get:compat-wireless-2.6-old # make
/root/compat-wireless-2.6-old/config.mk:30: *** "ERROR: There is a bug with compat-wireless on 2.6.22. Remove me if you want to fix me". Stop.How can I fix it?
Edgar Velasco
(keeping the subject now)
The error happens because config.mk checks for your kernel release and if it detects its you are using a kernel release <= 2.6.22 it'll stop and error out with that message. The problem is there is an oops (kernel crash) that will occur if you enable the compile to go through and use it. The error indicates to you that if you want to try to fix the issue you can remove the force check on config.mk.
I used to support 2.6.22 but distributions have newer kernels so I rather focus attention on newer kernels as we move forward. This gives the opportunity for those developers interested in using 2.6.22 to go ahead and fix it if they wish.
If you are a user I'd recommend to upgrade to at least 2.6.26.
Luis
Quoted 19 lines · Luis R. Rodriguez
Quoted 8 lines · Edgar Velasco
I'm reporting a bug.
Went I make, this is what I get:compat-wireless-2.6-old # make
/root/compat-wireless-2.6-old/config.mk:30: *** "ERROR: There is a bug with compat-wireless on 2.6.22. Remove me if you want to fix me". Stop.How can I fix it?
Edgar Velasco(keeping the subject now)
The error happens because config.mk checks for your kernel release and if it detects its you are using a kernel release <= 2.6.22 it'll stop and error out with that message. The problem is there is an oops (kernel crash) that will occur if you enable the compile to go through and use it. The error indicates to you that if you want to try to fix the issue you can remove the force check on config.mk.
Quoted 6 lines
I used to support 2.6.22 but distributions have newer kernels so I rather focus attention on newer kernels as we move forward. This gives the opportunity for those developers interested in using 2.6.22 to go ahead and fix it if they wish.
If you are a user I'd recommend to upgrade to at least 2.6.26.
BTW this was the oops IIRC:
wme_qdiscop_dequeue+0x120__qdisc_runieee80211_send_probe_req+0x1a0ieee80211_send_probe_req+0x1a0dev_queue_xmit+0x218ieee80211_sta_scan_work+0xe6ieee80211_sta_scan_work+0x0run_workqueue+0x81
So at least people interested can look at some code path. Turns out I did have my old module lying around so I'm able to also tell you exactly where this happens:
mcgrof@tesla /lib/modules/2.6.22-15-generic/updates/net/mac80211 $ gdb mac80211.ko
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) l *(wme_qdiscop_dequeue+0x120)0x18a20 is in wme_qdiscop_dequeue (/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/ieee80211_i.h:768).
warning: Source file is more recent than executable.
763 static inline struct ieee80211_sub_if_data *
764 IEEE80211_DEV_TO_SUB_IF(struct net_device *dev)
765 {
766 struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);
767
768 BUG_ON(!local || local->mdev == dev);
769
770 return netdev_priv(dev);
771 }
772
(gdb)
So line 768 is the culprit. I've stashed this here for now as we have no bugzilla thingy for compat-wireless-old (should we?):
http://wireless.kernel.org/en/users/Download/compat-wireless-old-2.6.22-bug
Luis