Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

520
Views
How to use kgdb over ethernet (kgdboe)?

i am using ubuntu 12.04 and kernel version is 3.12.6, i want to learn how to use kgdb to debug kernel. I didn't get much info. regarding kgdboe (kgdb over ethernet). I have compiled kernel and enabled kgdb in menuconfig, i have created kernel image using make bzImage on development machine and copied same on target machine, now problem is how to connect both target and development machine. i m not getting parameter set for kgbdoe. Plz help if anybody know how to use kgdb over ethernet

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Have you read this: https://www.kernel.org/pub/linux/kernel/people/jwessel/kgdb/ch03s04.html ?

You have to run debugged kernel with special options - like for example:

kgdbwait kgdbcon kgdboe=@192.168.248.76/,@192.168.242.24/00:11:22:33:44:55

and on debugging side you run following commands:

gdb
file vmlinux
target remote udp:192.168.248.76:6443

it has worked for me.

over 4 years ago · Santiago Trujillo Report

0

You can get the kgdboe source from here, build it and load it into your kernel:

make -C /lib/modules/$(uname -r)/build M=$(pwd)
sudo insmod kgdboe.ko

Then type 'dmesg' to see the load log and get instructions on connecting from gdb.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!