Skip to contentSkip to conversation

New: debug build of ath9k fails.

Bug 51751 [email protected] 1 participant 11 messages Dec 16, 2012 – Nov 24, 2013

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=51751

Summary: debug build of ath9k fails.
Product: Backports project
Version: unspecified
Kernel Version: 3.6.9 - 3.6.10
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Not sure
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

Since 2012-12-04 building the ath9k module from compat-wireless fails when these build options are enabled.

export CONFIG_ATH9K_DEBUGFS=y
export CONFIG_ATH_DEBUG=y

This is the error message from a failed build.

CC [M]
/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-15-p/compat-wireless-2012-12-15-p/drivers/net/wireless/ath/ath9k/debug.o /media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-15-p/compat-wireless-2012-12-15-p/drivers/net/wireless/ath/ath9k/debug.c:
In function ‘ath9k_sta_add_debugfs’:
/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-15-p/compat-wireless-2012-12-15-p/drivers/net/wireless/ath/ath9k/debug.c:1589:4:
error: ‘struct ath_node’ has no member named ‘node_stat’ /media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-15-p/compat-wireless-2012-12-15-p/drivers/net/wireless/ath/ath9k/debug.c:
In function ‘ath9k_sta_remove_debugfs’:
/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-15-p/compat-wireless-2012-12-15-p/drivers/net/wireless/ath/ath9k/debug.c:1599:19:
error: ‘struct ath_node’ has no member named ‘node_stat’
make[5]: *** [/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-15-p/compat-wireless-2012-12-15-p/drivers/net/wireless/ath/ath9k/debug.o] Error 1
make[4]: *** [/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-15-p/compat-wireless-2012-12-15-p/drivers/net/wireless/ath/ath9k] Error 2
make[3]: *** [/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-15-p/compat-wireless-2012-12-15-p/drivers/net/wireless/ath] Error 2
make[2]: *** [/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-15-p/compat-wireless-2012-12-15-p/drivers/net/wireless] Error 2
make[1]: ***
[_module_/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-15-p/compat-wireless-2012-12-15-p]
Error 2
make[1]: Leaving directory
`/usr/src/linux-headers-3.6.0-10.dmz.1-liquorix-amd64'
make: *** [modules] Error 2

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 51751] debug build of ath9k fails.

https://bugzilla.kernel.org/show_bug.cgi?id=51751

Sujith <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Sujith <[email protected]> 2012-12-25 10:26:47 --- Patch here: https://patchwork.kernel.org/patch/1898351/

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 51751] debug build of ath9k fails.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51751

--- Comment #2 from [email protected] 2012-12-25 14:51:36 --- (In reply to comment #1)

Quoted 1 line

Patch here: https://patchwork.kernel.org/patch/1898351/

That did not work for me with compat-wireless-2012-12-18-p.tar.bz2. It did not even build the ath9k module.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 51751] debug build of ath9k fails.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51751

--- Comment #3 from Sujith <[email protected]> 2012-12-25 14:55:48 --- For compat-drivers, you can just uncomment this line in config.mk:

# export CONFIG_MAC80211_DEBUGFS=y
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 51751] debug build of ath9k fails.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51751

--- Comment #4 from [email protected] 2012-12-25 15:39:25 --- (In reply to comment #3)

Quoted 2 lines

For compat-drivers, you can just uncomment this line in config.mk:

# export CONFIG_MAC80211_DEBUGFS=y

It did not build the ath9k module that time either. Maybe it is a problem with that compat-drivers release? I will try a older one to see if it works there.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 51751] debug build of ath9k fails.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51751

--- Comment #5 from [email protected] 2012-12-25 16:47:25 --- Uncommenting export CONFIG_MAC80211_DEBUGFS=y works with compat-wireless-2012-12-17-p.tar.bz2.
It seems that the ath9k module is broken in compat-wireless-2012-12-18-p.tar.bz2, it does not build even with the default options.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 51751] debug build of ath9k fails.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51751

--- Comment #6 from Sujith <[email protected]> 2012-12-26 02:07:01 --- Yes, I see it too - recent versions of compat-drivers appear to be broken.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 51751] debug build of ath9k fails.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51751

--- Comment #7 from Sujith <[email protected]> 2013-06-03 02:34:10 --- The releases from the new "backports" project doesn't have this issue. This bug can be closed.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.