Search Linux Wireless

Building current snapshot against kernel 2.6.38 (kfree_rcu problem)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I haven't heard any news about the ath9k bug that's been plaguing me so
I thought I'd try doing some debugging myself by adding printk messages
to shutdown functions. The trouble is the current snapshot (2011-05-05)
won't build against Debian's 2.6.38 kernel:

/home/tony/compat-wireless-2011-05-05/net/mac80211/agg-tx.c: In function â___ieee80211_stop_tx_ba_sessionâ:
/home/tony/compat-wireless-2011-05-05/net/mac80211/agg-tx.c:158: error: implicit declaration of function âkfree_rcuâ
/home/tony/compat-wireless-2011-05-05/net/mac80211/agg-tx.c:158: error: ârcu_headâ undeclared (first use in this function)
/home/tony/compat-wireless-2011-05-05/net/mac80211/agg-tx.c:158: error: (Each undeclared identifier is reported only once
/home/tony/compat-wireless-2011-05-05/net/mac80211/agg-tx.c:158: error: for each function it appears in.)
/home/tony/compat-wireless-2011-05-05/net/mac80211/agg-tx.c: In function âieee80211_tx_ba_session_handle_startâ:
/home/tony/compat-wireless-2011-05-05/net/mac80211/agg-tx.c:317: error: ârcu_headâ undeclared (first use in this function)
/home/tony/compat-wireless-2011-05-05/net/mac80211/agg-tx.c: In function âieee80211_stop_tx_ba_cbâ:
/home/tony/compat-wireless-2011-05-05/net/mac80211/agg-tx.c:696: error: ârcu_headâ undeclared (first use in this function)

I think the errors about rcu_head are actually caused by the lack of a
definition for kfree_rcu. I Googled it and AFAICT kfree_rcu was only
introduced this March. But compat-wireless is supposed to work with all
2.6 kernels isn't it, so why is it using such a new feature? Have I just
caught a "bad" snapshot before an alternative for kfree_rcu was added
for older kernels?

I'd prefer to build against 2.6.38 if possible because compiling a
2.6.39-rc will take hours and then cause some inconvenience with the
nvidia packages.

Please Cc replies to me because I'm not subscribed to the list.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux