smp errors in 2.4!!
Quoted 3 lines
I encounter this compilation error:
/usr/x.c:2112: struct has no member named
"event_Rsmp_7b16c344"
I assume you have a variable called 'event', and that name got replaced by a versioned symbol.
Yes, 'event' is a global variable in the kernel ;-)
Do you include <linux/modversions.h> in that file?
I usually use 'gcc -E' to find such problems.
--
Manfred
Test Mail!!!
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Is Kernel2.2 is SMP versioned by default?
In reply to Manfred SpraulHi,
Could anyone plz tell me whether the kernel - 2.2.14 is SMP or NON-SMP by default?
To make it SMP versioned, Do I need to add some flags in the kernel header files and re-compile to kernel?
Thanks in advance,
Jal
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Re: Is Kernel2.2 is SMP versioned by default?
Quoted 5 lines · jalaja devi
Hi,
Could anyone plz tell me whether the kernel - 2.2.14 is SMP or NON-SMP by default?
To make it SMP versioned, Do I need to add some flags in the kernel header files and re-compile to kernel?
i actually think it may be SMP (for whatever odd reason). you need to configure and compile the kernel, anyhow. select from one of:
make config (text)
make menuconfig (curses)
make xconfig (Tk)
and make sure SMP is enabled, as well as support for the rest of your hardware and the features you want.
then: make dep clean bzImage modules
see the Kernel Compile HOWTO
Signature · 3 lines
Robert M. Love [email protected] [email protected]
kgdb ksymtab_addr not found!!
Hi,
I have 2 quesions here:
1. Could any plz tell me what am i missing out here?
I basically, trying to debug my my loadable module in kernel in kernel2.4.6 version. I patched the kernel with 2.4.6 kgdb patch, using the recent version.
I am using the modutils shell script to load my module loadmodule.sh which creates a gdbscript. When I source the gdbscript I get the following warnings:
warning : section _ksymtab not found in mymodule.o warning : section _archdata not found in mymodule.o
Do I need to patch the kernel with the modutils. Why do I get these warnings.
2. How can I put a breakpoint to debug my init_module? Which is the Kernel Fxn to be invoked to put a breakpoint in my init_module?
Thanks in advance,
Jalaja
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Re: kgdb ksymtab_addr not found!!
Quoted 15 lines · jalaja devi
Hi,
I have 2 quesions here:
1. Could any plz tell me what am i missing out here?
I basically, trying to debug my my loadable module in kernel in kernel2.4.6 version. I patched the kernel with 2.4.6 kgdb patch, using the recent version.
I am using the modutils shell script to load my module
loadmodule.shwhich creates a gdbscript. When I source the gdbscript I get the following warnings:
Quoted 5 lines
warning : section
_ksymtabnot found in mymodule.o warning : section_archdatanot found in mymodule.oDo I need to patch the kernel with the modutils. Why do I get these warnings.
These warnings can be safely ignored.
Quoted 4 lines
2. How can I put a breakpoint to debug my
init_module? Which is the Kernel Fxn to be invoked to put a breakpoint in myinit_module?
You can place a breakpoint just before the the statement where kernel calls init_module. Then load the generated gdb script into gdb once the breakpoint is hit. Now you can place a breakpoint directly into any statement in the module code.
Quoted 14 lines
Thanks in advance,
Jalaja
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 2 lines
Amit Kale Veritas Software ( http://www.veritas.com )
kgdb in kerenel2.4.6 : Unable to view the global variables!!
Hi,
I am using kgdb for kernel2.4.6. But I am unable to see my global variables. Could anyone please tell me how can i fix this?
Also, When i install the loadmodule.sh, it creates the gdbscripts. When I source the gdbscript, it gives the warning,
Quoted 2 lines
Quoted 2 lines
warning : section
_ksymtabnot found in mymodule.o warning : section_archdatanot found in
mymodule.o
Is that related? Any hints will be helpful
Thanks in advance,
Jalaja
Quoted 57 lines · --- "Amit S. Kale
Quoted 6 lines · jalaja devi
Hi,
I have 2 quesions here:
1. Could any plz tell me what am i missing out
here?
Quoted 2 lines
I basically, trying to debug my my loadable module
in
Quoted 1 line
kernel in kernel2.4.6 version. I patched the
kernel
Quoted 3 lines
with 2.4.6 kgdb patch, using the recent version.
I am using the modutils shell script to load my
module
Quoted 1 line
loadmodule.shwhich creates a gdbscript. When Isource
Quoted 4 lines
the gdbscript I get the following warnings:
warning : section
_ksymtabnot found in mymodule.o warning : section_archdatanot found inmymodule.o
Quoted 2 lines
Do I need to patch the kernel with the modutils.
Why
Quoted 1 line
do I get these warnings.
These warnings can be safely ignored.
Quoted 2 lines
2. How can I put a breakpoint to debug my
init_module?Quoted 2 lines
Which is the Kernel Fxn to be invoked to put a breakpoint in my
init_module?You can place a breakpoint just before the the statement
where kernel callsinit_module. Then load the generated
gdb script into gdb once the breakpoint is hit. Now you
can place a breakpoint directly into any statement in the
module code.Quoted 8 lines
Thanks in advance,
Jalaja
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minutewith Yahoo! Messenger
Quoted 12 lines
Quoted 3 lines
http://phonecard.yahoo.com/
-
To unsubscribe from this list: send the line"unsubscribe linux-kernel" in
Quoted 2 lines
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 1 line
Please read the FAQ at http://www.tux.org/lkml/
Signature · 2 lines
Amit Kale Veritas Software ( http://www.veritas.com )
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Kernel-2.4.10 - Unresolved symbol
In reply to Amit S. KaleHi,
I compiled the code in kernel 2.4.6. But when i compile the code in 2.4.10, and do a insmod it sez Unresolved symbo: prefetch
Can anyone please tell me how to fix this and What does this mean?
Thanks
Jalaja
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1