Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-27-2004, 07:54 PM
|
#1
|
Member
Registered: May 2004
Posts: 226
Rep:
|
kprobes
Hi, mavens:
I'm a commoner who're interested in learning linux kernel. Lately I followed the article on ibm (... l-kprobes.html) to learn how to use kprobe to debug kernel, but I encountered a probelm after 'patch'ing files to kernel source. I downloaded files first from ibm Kernel Probes project (... kprobes-dprobes-2.6.8-rc1-full.patch.bz2).
And then patch it to my kernel source version 2.6.8, previously downloaded from kernel.org.
Then I tried to compile kernel, but it issued error as followed:
[BTW, when I patch kernel source, there's messenges appearing like "can't patch to the kernel .... in put line xxx", seemly looks like it(kernel and patch version) doesn't match with each other]
==========error printed on console==========BEG
arch/i386/kernel/traps.c:29: linux/kprobes.h:No such files or directory
arch/i386/kernel/traps.c:46: asm/kwatch.h:No such files or directory
arch/i386/kernel/traps.c:29: In function "do_general_protection"
...
==========error printed on console==========END
seemly I miss lots of files after typing command "make". Where did I do it wrong? Is it because the patch version incorrect? For I found out that the kprobes patch file I download from ibm website, seemly it's for kernel version 2.6.8-rc1 [from the file name I suppose]; however, I can't find any rc1 version on kernel.org. What should I do in order to enable this option? Or are there any better suggestion?
I appreciate it, sincerely.
Jason
p.s: sorry, the messenge tell me that I can't post the url, therefore, I only left page and file name as keywords.
|
|
|
10-28-2004, 12:03 AM
|
#2
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
must be that patch is designated rc1
that is it's for 2.6.8-rc1
which is the first release cantidate (cvs snapshot) from the 2.6.8 line
this would be quite a bit different from the final release 2.6.8
trouble is i have no idea where you can get these releases
(it was most likely a patch to 2.6.7)
i see on the board
Linux 2.6.8-rc1
From: Linus Torvalds
Date: Sun Jul 11 2004 - 13:34:27 EST
hope you can find that
|
|
|
11-08-2004, 04:20 AM
|
#3
|
Member
Registered: May 2004
Posts: 226
Original Poster
Rep:
|
after several check, i got a reply from ibm, now that i can use kernel version 2.6.9 to use kprobe.
thanks your help, sincerely. [p.s.,:i tried to get from kernel.org for version 2.6.8rc1 with patch from ibm kprobe, but it still failed! Therefore, I replace 2.6.8 with version 2.6.9, and now it works.]
Quote:
Originally posted by foo_bar_foo
must be that patch is designated rc1
that is it's for 2.6.8-rc1
which is the first release cantidate (cvs snapshot) from the 2.6.8 line
this would be quite a bit different from the final release 2.6.8
trouble is i have no idea where you can get these releases
(it was most likely a patch to 2.6.7)
i see on the board
Linux 2.6.8-rc1
From: Linus Torvalds
Date: Sun Jul 11 2004 - 13:34:27 EST
hope you can find that
|
|
|
|
All times are GMT -5. The time now is 01:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|