LinuxQuestions.org
Visit Jeremy's Blog.
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 05-27-2014, 09:20 PM   #1
cyberpunker
LQ Newbie
 
Registered: May 2014
Posts: 10

Rep: Reputation: Disabled
Does the kgdboe capable / available in the kernel ?


I use Ubuntu 11.10, but in the menconfig , I can't find the kgdboe opitons

ubuntu 11.10 , x86 , kernel 3.3.3 :

menuconfig:


│ │ --- KGDB: kernel debugger
│ │

│ │ <*> KGDB: use kgdb over the serial console
│ │

│ │ [ ] KGDB: internal test suite
│ │

│ │[*] KGDB: Allow debugging with traps in notifiers
│ │

│ │[*] KGDB_KDB: include kdb frontend for kgdb ?????
││
│ │[*] KGDB_KDB: keyboard as input device



I find some webs says but I can't find :

a) CONFIG_NETCONSOLE (Networking support -> Network console logging support)

b) CONFIG_DEBUG_KERNEL (Kernel hacking -> Kernel Debugging)

c) CONFIG_KGDB (Kernel hacking -> KGDB)

d) CONFIG_KGDB_ETH (Kernel hacking -> KGDB -> Method of KGDB communication -> Ethernet)



I wonder why is that?
 
Old 05-28-2014, 01:02 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Kernel parameter: kgdboe

The term kgdboe is meant to stand for kgdb over ethernet. To use kgdboe, the ethernet driver must have implemented the NETPOLL API, and the kernel must be compiled with NETPOLL support. Also kgdboe uses unicast udp. This means your debug host needs to be on the same lan as the target system you wish to debug.
Were you aware you're going to need NETPOLL?
 
Old 05-28-2014, 04:01 AM   #3
cyberpunker
LQ Newbie
 
Registered: May 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dijetlo View Post
Were you aware you're going to need NETPOLL?
Is this related with the Kgdboe ?
 
Old 05-28-2014, 10:36 AM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
https://www.kernel.org/pub/linux/ker...b/ch03s04.html

The instructions from the maker of your kernel.
 
Old 05-29-2014, 11:27 AM   #5
cyberpunker
LQ Newbie
 
Registered: May 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dijetlo View Post
https://www.kernel.org/pub/linux/ker...b/ch03s04.html

The instructions from the maker of your kernel.


I think it is no help ,
 
Old 05-29-2014, 12:02 PM   #6
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Then you should probably read it again. As a matter of fact, I think you'll find the entire site educational.

I have to ask, Why do you want to remotely debug a kernel (what KGBDOE does) if you don't understand how to debug a local kernel? Perhaps you should practice on your own kernel first?
 
Old 06-04-2014, 04:46 AM   #7
cyberpunker
LQ Newbie
 
Registered: May 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dijetlo View Post
Then you should probably read it again. As a matter of fact, I think you'll find the entire site educational.

I have to ask, Why do you want to remotely debug a kernel (what KGBDOE does) if you don't understand how to debug a local kernel? Perhaps you should practice on your own kernel first?

I cant practice on the wmware virtual machines
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
My computer isn't capable of booting smp kernel images, can I delete them? slacker_ Linux - Newbie 2 09-02-2013 10:59 AM
How to configure and enable kgdboe ( over ethernet ) in linux kernel version 2.6.34 RajuLinux Linux - Newbie 2 01-19-2012 12:31 AM
LXer: Vista Capable Lawsuit is Too Capable LXer Syndicated Linux News 0 11-23-2008 08:50 AM
Are you capable and ready? Israfel2000 General 8 06-24-2007 10:39 AM
Is there a booter capable of loading an alteternative kernel if default is corrupted rsashok Linux - General 3 01-16-2007 10:35 PM


All times are GMT -5. The time now is 05:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration