Find the answer to your Linux question:
Results 1 to 5 of 5
Hi I have downloaded kernel 2.6.13 from www.kernel.org and kgdb-2 2.6.13 from http://sourceforge.net/projects/kgdb I am using guides to get all things set up from: http://kgdb.linsyssoft.com/quickstart.htm http://www.linuxjournal.com/comment/reply/4525 I read that I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    20

    Debug loadable modules with kgdb


    Hi
    I have downloaded kernel 2.6.13 from www.kernel.org and kgdb-2 2.6.13 from
    http://sourceforge.net/projects/kgdb
    I am using guides to get all things set up from:

    http://kgdb.linsyssoft.com/quickstart.htm
    http://www.linuxjournal.com/comment/reply/4525

    I read that I can debug loadable modules with kgdb
    I have not met commands in those guides “make modules” and “make modules_ install” to execute neither on development nor target machine.


    How can I debug loadable modules?
    Maybe I do not understand something
    May be some things are missed in those guides???


    Please help
    Any help will be appreciated

  2. #2
    Just Joined!
    Join Date
    Jun 2006
    Posts
    18
    Had you solved it? I will like to ask same question...

  3. #3
    Linux User fernape's Avatar
    Join Date
    Dec 2005
    Location
    Holland
    Posts
    301
    Check out this article. Just keep in mind that modules are not compiled as the article said (that was true for 2.4 series, but not for 2.6).

    http://www.linuxjournal.com/article/4525

    HTH

    Best Regards

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2006
    Posts
    7

    kgdb2.4

    hi,
    i downloaded the kgdb patch for kernel 2.6.15.5 but while patching the kernel with the file i386.patch file it returned error, it seems to me that the patch was not for the right kernel also i would like to know whether there is any patch for the 2.6.18 kernel available or not?
    thatx alot!!

    Quote Originally Posted by fernape
    Check out this article. Just keep in mind that modules are not compiled as the article said (that was true for 2.4 series, but not for 2.6).

    http://www.linuxjournal.com/article/4525

    HTH

    Best Regards

  6. #5
    Just Joined!
    Join Date
    Mar 2007
    Posts
    1

    kgdb for linux-2.6

    Hi,
    Then can anyone guide with the steps for debugging a module in linux-2.6??


    Best Regards
    Pradeep

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •