Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-07-2005, 08:50 AM   #1
Registered: Aug 2004
Posts: 76

Rep: Reputation: 15
Debugging Linux Kernel Module with kdb

Any body can help me???

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

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

Any help will be appreciated
Old 10-28-2005, 01:21 AM   #2
LQ Newbie
Registered: Oct 2005
Location: India
Distribution: Redhat 9.0
Posts: 20

Rep: Reputation: 0
how to patch 2.4.20-8 kernel with kdb

I tried to patch my kernel 2.4.20-8 with kdb (kdb-v4.3-2.4.20-common-1 and kdb-v4.3-2.4.20-i386-1). But the kernel did not get patched. Lot of .rej files are formed in many directories.
Then I tried to patch the same kernel with (kdb-v3.0-2.4.20-common-1 and kdb-v3.0-2.4.20-i386-1).
Lot or .rej files are formed in many directories. Now how to get rid of these .rej files. will kernel compilation help in gettin rid of these files or do I have to manually search them and delete them. Will the presence of these .rej files effect my future kdb patching attempts.
Any help would be greatly appreciated.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
patching linux kernel-2.4.20-8 with kdb enthusiast_abdul Programming 1 11-08-2005 09:11 AM
Visual Debugging and Linux Kernel Debugging Igor007 Programming 0 09-30-2005 10:33 AM
Kernel Linux Debugging Igor007 Programming 2 09-05-2005 02:10 PM
Linux kernel debugging and Linux kernel module programming Igor007 Programming 2 08-13-2005 05:12 AM
Linux kernel debugging and Linux kernel module programming Igor007 Linux - Enterprise 3 08-12-2005 02:47 PM

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration