FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-06-2012, 08:04 PM
Pedro Francisco
 
Default activate CONFIG_IWLEGACY_DEBUG

I need to compile the kernel of Fedora 16 with CONFIG_IWLEGACY_DEBUG=y
(apparently kernel-PAEdebug doesn't activate it).

However as the SRPM for the kernel has various configs and
compat-wireless applied, I'm in doubt where/what should I patch to
enable CONFIG_IWLEGACY_DEBUG.

Do I have to make a patch and change the SPEC to apply the patch to
the config.mk of the compat-wireless?

Thanks in Advance,
--
Pedro
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 03-01-2012, 01:02 AM
Pedro Francisco
 
Default activate CONFIG_IWLEGACY_DEBUG

On Mon, Feb 6, 2012 at 9:04 PM, Pedro Francisco
<pedrogfrancisco@gmail.com> wrote:
> I need to compile the kernel of Fedora 16 with CONFIG_IWLEGACY_DEBUG=y
> (apparently kernel-PAEdebug doesn't activate it).
> (...)
> Do I have to make a patch and change the SPEC to apply the patch to
> the config.mk of the compat-wireless?


Answering myself, yes, change the SPEC to apply a patch to config.mk .

Example below to anyone who may need it in the future:

$ for i in *.patch; do echo $i ; cat $i ;done
iwlegacyDebug-config-mk.patch
diff --git a/config.mk b/config.mk
index 6503ae1..b3d82d4 100644
--- a/config.mk
+++ b/config.mk
@@ -300,8 +300,8 @@ CONFIG_IWLWIFI=m
CONFIG_IWLEGACY=m
CONFIG_COMPAT_IWL4965=m
CONFIG_IWL3945=m
-# CONFIG_IWLEGACY_DEBUG=y
-# CONFIG_IWLEGACY_DEBUGFS=y
+CONFIG_IWLEGACY_DEBUG=y
+CONFIG_IWLEGACY_DEBUGFS=y


CONFIG_B43=m
iwlegacyDebug-SPEC.patch
diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec
index d59e592..a0ede80 100644
--- a/SPECS/kernel.spec
+++ b/SPECS/kernel.spec
@@ -23,7 +23,7 @@ Summary: The Linux kernel
#
# (Uncomment the '#' and both spaces below to set the buildid.)
#
-# % define buildid .local
+%define buildid .local
################################################## #################

# The buildid can also be specified on the rpmbuild command line
@@ -809,6 +809,7 @@ Patch21235:
scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch
Patch50000: compat-wireless-config-fixups.patch
Patch50001: compat-wireless-pr_fmt-warning-avoidance.patch
Patch50002: compat-wireless-integrated-build.patch
+Patch50003: iwlegacyDebug.patch
Patch50100: compat-wireless-rtl8192cu-Fix-WARNING-on-suspend-resume.patch

# Pending upstream fixes
@@ -1586,6 +1587,7 @@ cd compat-wireless-%{cwversion}
ApplyPatch compat-wireless-config-fixups.patch
ApplyPatch compat-wireless-pr_fmt-warning-avoidance.patch
ApplyPatch compat-wireless-integrated-build.patch
+ApplyPatch iwlegacyDebug.patch

ApplyPatch compat-wireless-rtl8192cu-Fix-WARNING-on-suspend-resume.patch
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 10:13 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org