LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2011, 08:57 PM   #1
eltonsky
LQ Newbie
 
Registered: Sep 2010
Posts: 11

Rep: Reputation: 0
Could not enable DEBUG_SLAB in config...


I am trying to enable DEBUG_SLAB in my config. I use menuconfig and when I do a search, it shows "DEBUG_SLAB" is not set:

Symbol: DEBUG_SLAB [=n] │
│ Prompt: Debug slab memory allocations │
│ Defined at lib/Kconfig.debug:318 │
│ Depends on: DEBUG_KERNEL [=y] && SLAB [=y] && !KMEMCHECK [=n] │
│ Location: │
│ -> Kernel hacking │
│ -> Kernel debugging (DEBUG_KERNEL [=y])


And (as I assume), because it depends on KMEMCHECK, I have to set that first. So I seach KMEMCHECK:

Symbol: KMEMCHECK [=n] │
│ Prompt: kmemcheck: trap use of uninitialized memory │
│ Defined at lib/Kconfig.kmemcheck:6 │
│ Depends on: HAVE_ARCH_KMEMCHECK [=y] && DEBUG_KERNEL [=y] && !X86_USE_3DNOW [=n] && (SLUB [=n] || SLAB [=y]) && !CC │
│ Location: │
│ -> Kernel hacking │
│ Selects: FRAME_POINTER [=y] && STACKTRACE [=y]

It shows X86_USE_3DNOW is not set, so I search for that. However, it doesn't show where I can set this feature and I couldn't find it.

Is this the right way to set DEBUG_SLAB ? any idea?

Cheers,
elton
 
Old 08-15-2011, 11:03 PM   #2
eltonsky
LQ Newbie
 
Registered: Sep 2010
Posts: 11

Original Poster
Rep: Reputation: 0
figured out, I should use the "prompt" to find the feature.
Never mind
 
  


Reply

Tags
debug



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is DEBUG_SLAB and REDZONE? ravirao Linux - General 1 11-27-2008 08:32 AM
font.FreeType2.enable not seen in about:config for Firefox 3.0 Libu Linux - Software 1 07-18-2008 10:32 PM
Why can't I enable SCSI in my kernel config? Oxagast Linux - Hardware 2 01-05-2006 05:11 PM
How to enable Active FTP in system-config-securitylevel phil81uk Linux - Newbie 5 12-12-2005 03:39 AM
kernel config, cant enable patch e1000 Linux - General 2 01-05-2004 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration