  | | | make modules and SMP? | make modules and SMP? 2006-01-13 - By Jayaram Subramani
Back When you're building on a SMP host, by default rhconfig.h includes a file called "/boot/kernel.h"
It will have following variables set: -- ---- ---- ---- ---- ---- ----- #ifndef __BOOT_KERNEL_HUGEMEM #define __BOOT_KERNEL_HUGEMEM 0 #endif
#ifndef __BOOT_KERNEL_SMP #define __BOOT_KERNEL_SMP 1 #endif
#ifndef __BOOT_KERNEL_UP #define __BOOT_KERNEL_UP 0 #endif -- ---- ---- ---- ---- ---- ---- ---
So, either you need to boot with a UP kernel to do a UP build, or change /boot/kernel.h file to the following settings:
-- ---- ---- ---- ------ #ifndef __BOOT_KERNEL_HUGEMEM #define __BOOT_KERNEL_HUGEMEM 0 #endif
#ifndef __BOOT_KERNEL_SMP #define __BOOT_KERNEL_SMP 0 #endif
#ifndef __BOOT_KERNEL_UP #define __BOOT_KERNEL_UP 1 #endif -- ---- ---- ---- --
Hope this helps, Jayaram.
-- --Original Message-- -- From: taroon-list-bounces@(protected) [mailto:taroon-list-bounces@(protected)] On Behalf Of Brian Long Sent: Friday, January 13, 2006 8:10 AM To: taroon-list@(protected) Subject: make modules and SMP?
I'm trying to recompile the tg3 module on 2.4.21-32.0.1.EL using a patch from Hewlett Packard. It just patches the tg3 module in Update 5 to be the version from Update 6. This will allow me to load Update 5 on their newer workstations (XW4300, for example).
I've run the following commands after patching the tg3 source: make clean make mrproper cp configs/kernel-2 (See http://nel-2.ora-code.com).4.21-i686.config .config make oldconfig make dep make modules
I'm running this in a SMP machine, but I used the UP config. When I run "strings tg3.o", it build the right version (3.27RH), but it mentions the SMP kernel "kernel_version=2.4.21-32.0.1.ELsmp".
What am I missing to build the UP tg3.o on an SMP host?
Thanks.
/Brian/ -- Brian Long | | | IT Data Center Systems | .|||. .|||. Cisco Linux Developer | ..:|||||||:...:|||||||:.. Phone: (919) 392-7363 | C i s c o S y s t e m s
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |