Find the answer to your Linux question:
Results 1 to 3 of 3
Hi guys Linux Kernel and its Mudules debuging Any body know good GUIDES and HOWTOS how to use utilities. Step by step instructions like, for example, compiling kernel Has anybody ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    20

    Linux Kernel and its Mudules debuging


    Hi guys
    Linux Kernel and its Mudules debuging
    Any body know good GUIDES and HOWTOS how to use utilities.
    Step by step instructions like, for example, compiling kernel
    Has anybody experience of debugging kernel using these utilities?
    Any body can give me these instructions
    Using the following utilities and techniques
    The main ones:
    GDB
    KDB
    KPROBES

    and also
    KGDB
    UML
    LTT


    Any experience sharing, links, info etc are appreciated
    Thank you in advance

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    You're asking for many things.
    Try
    Code:
    kernel debug howto
    and
    Code:
    kernel compile howto
    from google.

  3. #3
    Just Joined!
    Join Date
    Sep 2005
    Posts
    20

    Debugging Linux Kernel Module with kdb

    Debugging Linux Kernel Module with kdb

    I patched my kernel with kdb
    I built it
    I installed it properly always
    I added module scull

    In console it can be invoked
    Break point is set for scull_read with no problems

    But it does not prompt at break point


    bp scull_read
    go

    cat > /dev/scull
    Hello World

    I pressed Ctrl-D

    cat /dev/scull
    Hello World

    No break point is prompted !!!????
    I have also tried all this in single user mode

  4. $spacer_open
    $spacer_close

Posting Permissions

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