Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
make modules and SMP?

make modules and SMP?

2006-01-13       - By Jayaram Subramani

 Back
Reply:     <<     11     12  

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