Bug 87593
| Summary: | kernel oprofile modules does not compile for UP kernel | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | greg hosler <greg> |
| Component: | kernel | Assignee: | Arjan van de Ven <arjanv> |
| Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-12-17 00:21:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
oprofile has other issues for UP as well, that's why disabled it |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Description of problem: The kernel oprofile modules contains references to cpu_possible which is only defines in include/asm-i386/smp.h, and include/asm-x86_64/smp.h, making it impossible to build an oprofile kernel module for a UP kernel w/o getting the following error message from depmod: depmod: *** Unresolved symbols in /lib/modules/2.4.20-8custom/kernel/arch/i386/oprofile/oprofile.o depmod: cpu_possible specifically, the following files reference cpu_possible(): drivers/oprofile/buffer_sync.c drivers/oprofile/cpu_buffer.c drivers/oprofile/oprofile_stats.c cpu_possible() needs to be defined in such a manner that the UP kernel builds will compile these modules w/o undefined references. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. on a UP machine, make xconfig, and enable profiling 2. build kernel, and modules, and module_install 3. observe the error message "*** Unresolved symbols in /lib/modules/2.4.20-8custom/kernel/arch/i386/oprofile/oprofile.o depmod: cpu_possible" Actual Results: unloadable oprofile module Expected Results: a loadable oprofile module Additional info: