[ltt-dev] [LTTng-patches] [bug] lttng patchs cause kernel build failed!

alexmont (LTTng Project) no-reply at lttng.org
Tue Mar 1 14:47:05 EST 2011


Issue status update for
http://lttng.org/issue/192
Post a follow up:
http://lttng.org/comment/reply/192#comment-form


  Project:      LTTng kernel patches
  Version:      2.6.32.9-lttng-0.198
  Component:    Miscellaneous
  Category:     bug report
  Priority:     critical
  Assigned to:  Anonymous
-Status:       new
+Status:       fixed
  Updated by:   alexmont

I remember seeing this, it was fixed in a later version.


If you have to stay on 2.6.32 you will have to backport the fix, see:
http://www.mail-archive.com/ltt-dev@lists.casi.polymtl.ca/msg00237.html
[1]

[1]
http://www.mail-archive.com/ltt-dev@lists.casi.polymtl.ca/msg00237.html

alexmont


Original issue:
------------------------------------------------------------------------
Wednesday, February 23, 2011 - 05:33 :

The lttng patch's version is 0.198 , linux source code version is
2.6.32.9.


I haved successfully patched the kernel source code according to the
'series' file.
Then I want to build the kernel using the patched source code.
Everything is gone well except the i7300_idle.c. The error message is:


drivers/idle/i7300_idle.c: In function ‘i7300_idle_notifier’:
drivers/idle/i7300_idle.c:460: error: ‘IDLE_START’ undeclared (first
use in this function)
drivers/idle/i7300_idle.c:460: error: (Each undeclared identifier is
reported only once
drivers/idle/i7300_idle.c:460: error: for each function it appears in.)
drivers/idle/i7300_idle.c:480: error: ‘IDLE_END’ undeclared (first
use in this function)
drivers/idle/i7300_idle.c: In function ‘i7300_idle_init’:
drivers/idle/i7300_idle.c:583: error: implicit declaration of function
‘idle_notifier_register’
drivers/idle/i7300_idle.c: In function ‘i7300_idle_exit’:
drivers/idle/i7300_idle.c:591: error: implicit declaration of function
‘idle_notifier_unregister’
make[2]: *** [drivers/idle/i7300_idle.o] Error 1
make[1]: *** [drivers/idle] Error 2
make: *** [drivers] Error 2


***************************************************************************


After this, I figured out that "i7300_idle.c" is contained in memory
power saving module, so I canceled the selection in the menuconfig,
building process is successful, but the system cannot boot up using the
new kernel.


my os is RHEL6.0 ,x86_64






More information about the lttng-dev mailing list