Find the answer to your Linux question:
Results 1 to 4 of 4
Hi , I am running ubunut-lucid on my desktop and i am new to linux and i want to learn device drivers. My requirement is i want to put prints ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    3

    Building and Debugging the Kernel


    Hi ,

    I am running ubunut-lucid on my desktop and i am new to linux and i want to learn device drivers.

    My requirement is i want to put prints in the kernel and want to analyse the flow of the drivers.

    Can somebody help me how can i do this on my running kernel on ubuntu.

    ---gnv

  2. #2
    Just Joined! alex1983-0112's Avatar
    Join Date
    Apr 2008
    Location
    Russia
    Posts
    16
    Use printk function.

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    3

    Building and Debugging the Kernel

    Hi Alex,

    Thanks for the quick reply.

    I am sorry if my question was not clear.
    What i want to know is i have a ubuntu which i got as a live CD running on my pc (which in not custom kernel) and i want to debug the kernel with respect to the driver i wanted to analyze.
    1. In order to do this whether i need to build the custom kernel
    2. If i write my own module how to build this module against custom kernel.

    please let me know if you have any steps to do this

  4. #4

Posting Permissions

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