* [ltt-dev] Kernel compilation fails after applying LTTng patch
@ 2010-01-22 17:48 Naren
2010-01-22 17:48 ` Naren
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Naren @ 2010-01-22 17:48 UTC (permalink / raw)
Hi,
After applying lttng patch to my kernel, the "make" fails. However, the
patching of the kernel was successful as i was able to see LTTng
configurations in the "menuconfig". However, after selecting the required
configurations for LTTng in the menuconfig, the make fails with the
following error message.
CC [M] arch/x86/kernel/apm_32.o
arch/x86/kernel/apm_32.c: In function ?apm_cpu_idle?:
arch/x86/kernel/apm_32.c:951: error: implicit declaration of function
?enter_idle?
arch/x86/kernel/apm_32.c:959: error: implicit declaration of function
?__exit_idle?
make[2]: *** [arch/x86/kernel/apm_32.o] Error 1
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2
I am not sure what is the source of this error. I also believe the kernel is
compatible with the lttng patch.
Linux : Ubuntu 9.1
Kernel Version: linux-2.6.32.4
Lttng Patch Version : 0.187
Need help with this error.
Regards
Naren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100122/99c2231c/attachment-0001.htm>
^ permalink raw reply [flat|nested] 9+ messages in thread* [ltt-dev] Kernel compilation fails after applying LTTng patch 2010-01-22 17:48 [ltt-dev] Kernel compilation fails after applying LTTng patch Naren @ 2010-01-22 17:48 ` Naren 2010-01-22 17:48 ` Naren 2010-01-22 18:53 ` Mathieu Desnoyers 2 siblings, 0 replies; 9+ messages in thread From: Naren @ 2010-01-22 17:48 UTC (permalink / raw) Hi, After applying lttng patch to my kernel, the "make" fails. However, the patching of the kernel was successful as i was able to see LTTng configurations in the "menuconfig". However, after selecting the required configurations for LTTng in the menuconfig, the make fails with the following error message. CC [M] arch/x86/kernel/apm_32.o arch/x86/kernel/apm_32.c: In function ?apm_cpu_idle?: arch/x86/kernel/apm_32.c:951: error: implicit declaration of function ?enter_idle? arch/x86/kernel/apm_32.c:959: error: implicit declaration of function ?__exit_idle? make[2]: *** [arch/x86/kernel/apm_32.o] Error 1 make[1]: *** [arch/x86/kernel] Error 2 make: *** [arch/x86] Error 2 I am not sure what is the source of this error. I also believe the kernel is compatible with the lttng patch. Linux : Ubuntu 9.1 Kernel Version: linux-2.6.32.4 Lttng Patch Version : 0.187 Need help with this error. Regards Naren -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100122/99c2231c/attachment-0002.htm> ^ permalink raw reply [flat|nested] 9+ messages in thread
* [ltt-dev] Kernel compilation fails after applying LTTng patch 2010-01-22 17:48 [ltt-dev] Kernel compilation fails after applying LTTng patch Naren 2010-01-22 17:48 ` Naren @ 2010-01-22 17:48 ` Naren 2010-01-22 18:53 ` Mathieu Desnoyers 2 siblings, 0 replies; 9+ messages in thread From: Naren @ 2010-01-22 17:48 UTC (permalink / raw) Hi, After applying lttng patch to my kernel, the "make" fails. However, the patching of the kernel was successful as i was able to see LTTng configurations in the "menuconfig". However, after selecting the required configurations for LTTng in the menuconfig, the make fails with the following error message. CC [M] arch/x86/kernel/apm_32.o arch/x86/kernel/apm_32.c: In function ?apm_cpu_idle?: arch/x86/kernel/apm_32.c:951: error: implicit declaration of function ?enter_idle? arch/x86/kernel/apm_32.c:959: error: implicit declaration of function ?__exit_idle? make[2]: *** [arch/x86/kernel/apm_32.o] Error 1 make[1]: *** [arch/x86/kernel] Error 2 make: *** [arch/x86] Error 2 I am not sure what is the source of this error. I also believe the kernel is compatible with the lttng patch. Linux : Ubuntu 9.1 Kernel Version: linux-2.6.32.4 Lttng Patch Version : 0.187 Need help with this error. Regards Naren -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100122/99c2231c/attachment.htm> ^ permalink raw reply [flat|nested] 9+ messages in thread
* [ltt-dev] Kernel compilation fails after applying LTTng patch 2010-01-22 17:48 [ltt-dev] Kernel compilation fails after applying LTTng patch Naren 2010-01-22 17:48 ` Naren 2010-01-22 17:48 ` Naren @ 2010-01-22 18:53 ` Mathieu Desnoyers [not found] ` <19fa8ef31001221610v4bd0a31fu341cabaecb57d1b0@mail.gmail.com> 2 siblings, 1 reply; 9+ messages in thread From: Mathieu Desnoyers @ 2010-01-22 18:53 UTC (permalink / raw) Weird, this is supposed to be fixed in 0.187 (this was a bug in 0.186). Can you send me a copy of your .config and of the patchset "series" file you are using ? Thanks, Mathieu * Naren (tracemein at gmail.com) wrote: > Hi, > > After applying lttng patch to my kernel, the "make" fails. However, the > patching of the kernel was successful as i was able to see LTTng > configurations in the "menuconfig". However, after selecting the required > configurations for LTTng in the menuconfig, the make fails with the > following error message. > > CC [M] arch/x86/kernel/apm_32.o > arch/x86/kernel/apm_32.c: In function ?apm_cpu_idle?: > arch/x86/kernel/apm_32.c:951: error: implicit declaration of function > ?enter_idle? > arch/x86/kernel/apm_32.c:959: error: implicit declaration of function > ?__exit_idle? > make[2]: *** [arch/x86/kernel/apm_32.o] Error 1 > make[1]: *** [arch/x86/kernel] Error 2 > make: *** [arch/x86] Error 2 > > > I am not sure what is the source of this error. I also believe the kernel is > compatible with the lttng patch. > > Linux : Ubuntu 9.1 > Kernel Version: linux-2.6.32.4 > Lttng Patch Version : 0.187 > > Need help with this error. > > Regards > Naren > _______________________________________________ > ltt-dev mailing list > ltt-dev at lists.casi.polymtl.ca > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <19fa8ef31001221610v4bd0a31fu341cabaecb57d1b0@mail.gmail.com>]
* [ltt-dev] Kernel compilation fails after applying LTTng patch [not found] ` <19fa8ef31001221610v4bd0a31fu341cabaecb57d1b0@mail.gmail.com> @ 2010-01-23 0:24 ` Mathieu Desnoyers 2010-01-24 14:45 ` Naren 0 siblings, 1 reply; 9+ messages in thread From: Mathieu Desnoyers @ 2010-01-23 0:24 UTC (permalink / raw) * Naren (tracemein at gmail.com) wrote: > Hi, > [...] > > This is the error i am getting during compilation. > > Root device is (8, 1) > Setup is 13244 bytes (padded to 13312 bytes). > System is 3874 kB > CRC f2bf972e > Kernel: arch/x86/boot/bzImage is ready (#1) > Building modules, stage 2. > MODPOST 2623 modules > ERROR: "__exit_idle" [arch/x86/kernel/apm.ko] undefined! > ERROR: "enter_idle" [arch/x86/kernel/apm.ko] undefined! > WARNING: modpost: Found 3 section mismatch(es). > To see full details build your kernel with: > 'make CONFIG_DEBUG_SECTION_MISMATCH=y' > make[1]: *** [__modpost] Error 1 > make: *** [modules] Error 2 > LTTng 0.188 should fix your problem. Thanks for the report, Mathieu -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [ltt-dev] Kernel compilation fails after applying LTTng patch 2010-01-23 0:24 ` Mathieu Desnoyers @ 2010-01-24 14:45 ` Naren 2010-01-24 14:45 ` Naren ` (2 more replies) 0 siblings, 3 replies; 9+ messages in thread From: Naren @ 2010-01-24 14:45 UTC (permalink / raw) Hi, I've tried latest patch 0.188 with Vanilla Kernel 2.6.32.4. Still the problem persists. After booting, the screen goes blank. My Linux: Ubuntu 9.1 Vanilla Kernel Version: 2.6.32.4 Patch Version : 0.188 Link for Kernel Log: http://pastebin.ca/1764010 Link for Config File: http://pastebin.ca/1764006 Regards, Naren On Sat, Jan 23, 2010 at 1:24 AM, Mathieu Desnoyers < compudj at krystal.dyndns.org> wrote: > * Naren (tracemein at gmail.com) wrote: > > Hi, > > > [...] > > > > This is the error i am getting during compilation. > > > > Root device is (8, 1) > > Setup is 13244 bytes (padded to 13312 bytes). > > System is 3874 kB > > CRC f2bf972e > > Kernel: arch/x86/boot/bzImage is ready (#1) > > Building modules, stage 2. > > MODPOST 2623 modules > > ERROR: "__exit_idle" [arch/x86/kernel/apm.ko] undefined! > > ERROR: "enter_idle" [arch/x86/kernel/apm.ko] undefined! > > WARNING: modpost: Found 3 section mismatch(es). > > To see full details build your kernel with: > > 'make CONFIG_DEBUG_SECTION_MISMATCH=y' > > make[1]: *** [__modpost] Error 1 > > make: *** [modules] Error 2 > > > > LTTng 0.188 should fix your problem. > > Thanks for the report, > > Mathieu > > -- > Mathieu Desnoyers > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100124/c61a8b89/attachment-0002.htm> ^ permalink raw reply [flat|nested] 9+ messages in thread
* [ltt-dev] Kernel compilation fails after applying LTTng patch 2010-01-24 14:45 ` Naren @ 2010-01-24 14:45 ` Naren 2010-01-24 14:45 ` Naren 2010-01-24 15:27 ` Mathieu Desnoyers 2 siblings, 0 replies; 9+ messages in thread From: Naren @ 2010-01-24 14:45 UTC (permalink / raw) Hi, I've tried latest patch 0.188 with Vanilla Kernel 2.6.32.4. Still the problem persists. After booting, the screen goes blank. My Linux: Ubuntu 9.1 Vanilla Kernel Version: 2.6.32.4 Patch Version : 0.188 Link for Kernel Log: http://pastebin.ca/1764010 Link for Config File: http://pastebin.ca/1764006 Regards, Naren On Sat, Jan 23, 2010 at 1:24 AM, Mathieu Desnoyers < compudj at krystal.dyndns.org> wrote: > * Naren (tracemein at gmail.com) wrote: > > Hi, > > > [...] > > > > This is the error i am getting during compilation. > > > > Root device is (8, 1) > > Setup is 13244 bytes (padded to 13312 bytes). > > System is 3874 kB > > CRC f2bf972e > > Kernel: arch/x86/boot/bzImage is ready (#1) > > Building modules, stage 2. > > MODPOST 2623 modules > > ERROR: "__exit_idle" [arch/x86/kernel/apm.ko] undefined! > > ERROR: "enter_idle" [arch/x86/kernel/apm.ko] undefined! > > WARNING: modpost: Found 3 section mismatch(es). > > To see full details build your kernel with: > > 'make CONFIG_DEBUG_SECTION_MISMATCH=y' > > make[1]: *** [__modpost] Error 1 > > make: *** [modules] Error 2 > > > > LTTng 0.188 should fix your problem. > > Thanks for the report, > > Mathieu > > -- > Mathieu Desnoyers > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100124/c61a8b89/attachment-0003.htm> ^ permalink raw reply [flat|nested] 9+ messages in thread
* [ltt-dev] Kernel compilation fails after applying LTTng patch 2010-01-24 14:45 ` Naren 2010-01-24 14:45 ` Naren @ 2010-01-24 14:45 ` Naren 2010-01-24 15:27 ` Mathieu Desnoyers 2 siblings, 0 replies; 9+ messages in thread From: Naren @ 2010-01-24 14:45 UTC (permalink / raw) Hi, I've tried latest patch 0.188 with Vanilla Kernel 2.6.32.4. Still the problem persists. After booting, the screen goes blank. My Linux: Ubuntu 9.1 Vanilla Kernel Version: 2.6.32.4 Patch Version : 0.188 Link for Kernel Log: http://pastebin.ca/1764010 Link for Config File: http://pastebin.ca/1764006 Regards, Naren On Sat, Jan 23, 2010 at 1:24 AM, Mathieu Desnoyers < compudj at krystal.dyndns.org> wrote: > * Naren (tracemein at gmail.com) wrote: > > Hi, > > > [...] > > > > This is the error i am getting during compilation. > > > > Root device is (8, 1) > > Setup is 13244 bytes (padded to 13312 bytes). > > System is 3874 kB > > CRC f2bf972e > > Kernel: arch/x86/boot/bzImage is ready (#1) > > Building modules, stage 2. > > MODPOST 2623 modules > > ERROR: "__exit_idle" [arch/x86/kernel/apm.ko] undefined! > > ERROR: "enter_idle" [arch/x86/kernel/apm.ko] undefined! > > WARNING: modpost: Found 3 section mismatch(es). > > To see full details build your kernel with: > > 'make CONFIG_DEBUG_SECTION_MISMATCH=y' > > make[1]: *** [__modpost] Error 1 > > make: *** [modules] Error 2 > > > > LTTng 0.188 should fix your problem. > > Thanks for the report, > > Mathieu > > -- > Mathieu Desnoyers > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100124/c61a8b89/attachment.htm> ^ permalink raw reply [flat|nested] 9+ messages in thread
* [ltt-dev] Kernel compilation fails after applying LTTng patch 2010-01-24 14:45 ` Naren 2010-01-24 14:45 ` Naren 2010-01-24 14:45 ` Naren @ 2010-01-24 15:27 ` Mathieu Desnoyers 2 siblings, 0 replies; 9+ messages in thread From: Mathieu Desnoyers @ 2010-01-24 15:27 UTC (permalink / raw) * Naren (tracemein at gmail.com) wrote: > Hi, > > I've tried latest patch 0.188 with Vanilla Kernel 2.6.32.4. Still the > problem persists. After booting, the screen goes blank. > Then the problem does not "persist" per se, as the kernel now compiles and links. That's a whole different problem. I recommend to: - try compiling a 2.6.32.4 kernel without the lttng patchset applied and boot it to see if you have the same problem. - If it works, then try reapplying the lttng patchset, but leaving all lttng option configured as N, see if it works. - Plug a serial console to your machine and get the kernel OOPS output. Thanks, Mathieu > My Linux: Ubuntu 9.1 > > Vanilla Kernel Version: 2.6.32.4 > > Patch Version : 0.188 > > Link for Kernel Log: http://pastebin.ca/1764010 > > Link for Config File: http://pastebin.ca/1764006 > > Regards, > Naren > > On Sat, Jan 23, 2010 at 1:24 AM, Mathieu Desnoyers < > compudj at krystal.dyndns.org> wrote: > > > * Naren (tracemein at gmail.com) wrote: > > > Hi, > > > > > [...] > > > > > > This is the error i am getting during compilation. > > > > > > Root device is (8, 1) > > > Setup is 13244 bytes (padded to 13312 bytes). > > > System is 3874 kB > > > CRC f2bf972e > > > Kernel: arch/x86/boot/bzImage is ready (#1) > > > Building modules, stage 2. > > > MODPOST 2623 modules > > > ERROR: "__exit_idle" [arch/x86/kernel/apm.ko] undefined! > > > ERROR: "enter_idle" [arch/x86/kernel/apm.ko] undefined! > > > WARNING: modpost: Found 3 section mismatch(es). > > > To see full details build your kernel with: > > > 'make CONFIG_DEBUG_SECTION_MISMATCH=y' > > > make[1]: *** [__modpost] Error 1 > > > make: *** [modules] Error 2 > > > > > > > LTTng 0.188 should fix your problem. > > > > Thanks for the report, > > > > Mathieu > > > > -- > > Mathieu Desnoyers > > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 > > > _______________________________________________ > ltt-dev mailing list > ltt-dev at lists.casi.polymtl.ca > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-01-24 15:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-22 17:48 [ltt-dev] Kernel compilation fails after applying LTTng patch Naren
2010-01-22 17:48 ` Naren
2010-01-22 17:48 ` Naren
2010-01-22 18:53 ` Mathieu Desnoyers
[not found] ` <19fa8ef31001221610v4bd0a31fu341cabaecb57d1b0@mail.gmail.com>
2010-01-23 0:24 ` Mathieu Desnoyers
2010-01-24 14:45 ` Naren
2010-01-24 14:45 ` Naren
2010-01-24 14:45 ` Naren
2010-01-24 15:27 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox