Re: getting module symbols into ksyms
Thanks for the info. I'll give it a try. Jerry - Original Message - From: "Keith Owens" <[EMAIL PROTECTED]> To: "Jerry Kelley" <[EMAIL PROTECTED]> Cc: "linux kernel" <[EMAIL PROTECTED]> Sent: Sunday, October 22, 2000 5:24 PM Subject: Re: getting module symbols into ksyms > On Sun, 22 Oct 2000 10:26:04 -0500, > "Jerry Kelley" <[EMAIL PROTECTED]> wrote: > >kernel = 2.2.14-5.0 for i686 UP > >insmod reports version 2.3.10-pre1 > >ksymoops is 0.7c > > Upgrade both modutils and ksymoops, both are well out of date. Also > kernel 2.2.14 does not have the code to handle symbols if you get an > oops during module initialization, you need at least kernel 2.2.15 for > that. > > ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.3 > ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.3 > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: getting module symbols into ksyms
On Sun, 22 Oct 2000 10:26:04 -0500, "Jerry Kelley" <[EMAIL PROTECTED]> wrote: >kernel = 2.2.14-5.0 for i686 UP >insmod reports version 2.3.10-pre1 >ksymoops is 0.7c Upgrade both modutils and ksymoops, both are well out of date. Also kernel 2.2.14 does not have the code to handle symbols if you get an oops during module initialization, you need at least kernel 2.2.15 for that. ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.3 ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.3 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: getting module symbols into ksyms
kernel = 2.2.14-5.0 for i686 UP insmod reports version 2.3.10-pre1 ksymoops is 0.7c If the insmod version is not the same as modutils some guidance on finding the modutils version would be appreciated. (The system installed is the RedHat 6.2 distribution.) Thanks in advance. Jerry - Original Message - From: "Keith Owens" <[EMAIL PROTECTED]> To: "Jerry Kelley" <[EMAIL PROTECTED]> Cc: "linux kernel" <[EMAIL PROTECTED]> Sent: Saturday, October 21, 2000 9:11 PM Subject: Re: getting module symbols into ksyms > On Sat, 21 Oct 2000 10:41:08 -0500, > "Jerry Kelley" <[EMAIL PROTECTED]> wrote: > >I'm trying to debug the oops that my module is generating. When I use = > >ksymoops on the oops text I get a warning saying that the module is in = > >lsmod but is not found in ksyms. I have two questions: > > Please send in plain text instead of quoted printable+HTML, it uses > less bandwidth for exactly the same result. Tools, Options, Send, set > Mail send for Plain text. > > You provided zero details about your system, no indication of which > kernel, modutils or ksymoops you are running. So the only help that > can be provided is to tell you to upgrade to the latest modutils and > ksymoops[*] and try again. If you still have a problem, provide > details next time. > > [*] ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.3 > ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.3 > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: getting module symbols into ksyms
Yes, I know about the HTML crap. I realized after I sent it what I had done and knew I'd get flack about it. Regarding the issue, I'm using 2.2.14-5.0. I'll have to check version of ksymoops and modutils. It's too bad that a seemingly simple question like this ends up being so complicated. I'll get the details. - Original Message - From: "Keith Owens" <[EMAIL PROTECTED]> To: "Jerry Kelley" <[EMAIL PROTECTED]> Cc: "linux kernel" <[EMAIL PROTECTED]> Sent: Saturday, October 21, 2000 9:11 PM Subject: Re: getting module symbols into ksyms > On Sat, 21 Oct 2000 10:41:08 -0500, > "Jerry Kelley" <[EMAIL PROTECTED]> wrote: > >I'm trying to debug the oops that my module is generating. When I use = > >ksymoops on the oops text I get a warning saying that the module is in = > >lsmod but is not found in ksyms. I have two questions: > > Please send in plain text instead of quoted printable+HTML, it uses > less bandwidth for exactly the same result. Tools, Options, Send, set > Mail send for Plain text. > > You provided zero details about your system, no indication of which > kernel, modutils or ksymoops you are running. So the only help that > can be provided is to tell you to upgrade to the latest modutils and > ksymoops[*] and try again. If you still have a problem, provide > details next time. > > [*] ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.3 > ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.3 > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: getting module symbols into ksyms
On Sat, 21 Oct 2000 10:41:08 -0500, "Jerry Kelley" <[EMAIL PROTECTED]> wrote: >I'm trying to debug the oops that my module is generating. When I use = >ksymoops on the oops text I get a warning saying that the module is in = >lsmod but is not found in ksyms. I have two questions: Please send in plain text instead of quoted printable+HTML, it uses less bandwidth for exactly the same result. Tools, Options, Send, set Mail send for Plain text. You provided zero details about your system, no indication of which kernel, modutils or ksymoops you are running. So the only help that can be provided is to tell you to upgrade to the latest modutils and ksymoops[*] and try again. If you still have a problem, provide details next time. [*] ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.3 ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.3 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
getting module symbols into ksyms
I'm trying to debug the oops that my module is generating. When I use ksymoops on the oops text I get a warning saying that the module is in lsmod but is not found in ksyms. I have two questions: 1. How do I get my symbols into ksyms? 2. Are only exported symbols in ksyms? Translation: Will I have to export all of my routines in order to effectively debug the module? (I assume that only exported symbols are in ksyms and will build a debug version that exports more routines in the debug version but not in the release version.) Thanks. I realize that these are probably very rudimentary questions but I'd rather ask the experts rather than wander around. Jerry Kelley [EMAIL PROTECTED]