LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Does the kgdboe capable / available in the kernel ? (https://www.linuxquestions.org/questions/linux-newbie-8/does-the-kgdboe-capable-available-in-the-kernel-4175506242/)

cyberpunker 05-27-2014 09:20 PM

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?

dijetlo 05-28-2014 01:02 AM

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?

cyberpunker 05-28-2014 04:01 AM

Quote:

Originally Posted by dijetlo (Post 5177907)
Were you aware you're going to need NETPOLL?

Is this related with the Kgdboe ?

dijetlo 05-28-2014 10:36 AM

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

The instructions from the maker of your kernel.

cyberpunker 05-29-2014 11:27 AM

Quote:

Originally Posted by dijetlo (Post 5178129)
https://www.kernel.org/pub/linux/ker...b/ch03s04.html

The instructions from the maker of your kernel.



I think it is no help ,

dijetlo 05-29-2014 12:02 PM

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?

cyberpunker 06-04-2014 04:46 AM

Quote:

Originally Posted by dijetlo (Post 5178826)
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


All times are GMT -5. The time now is 07:49 PM.