How do/Should I recompile my (Redhat 2.4.x) IA64 kernel for PAPI?
The below is for 2.4 kernels: Rebuilding the IA64 kernel is only advised if you’re using Redhat kernels, particularly RedHat Enterprise, which seems to lag in terms of bug support for the perfmon subsystem. We highly advise you to: 1) Download a stock 2.4 kernel 2) Apply the IA64 specific patches from http://www.kernel.org/pub/linux/kernel/ports/ia64/v2.4 . Latest info about the 2.4 perfmon support can be found at: http://www.hpl.hp.com/research/linux/perfmon/download.php4 You’ll then need to reconfigure and rebuild your kernel. Reconfigure your kernel and enable PERFMON support. Then rebuild the kernel. On IA-64 you need to use “make compressed” instead of “make bzImage”. You can thank HP for that change.