lkml.org 
[lkml]   [2001]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectAbout rebuild 2.4.x kernel to support SMP.
Date

I know it's not proper ask such question here. But I don't know where can I
post this question.
I download RedHat 7.1 last week, and install it in my dual-CPU enviroment.
I try to rebuild kernel that support SMP in kernel 2.4.2 today , but it
failed.
The following is what I did.
========================================
1. Install Red Hat 7.1 in my dual-CPU environment
2. type 'uname -a' , the following is the result:
Linux lab5-1 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686 unknown
3. cd /usr/src/linux-2.4 (becuase Red Hat link the 2.4.2 kernel source to
linux-2.4)
4. make mrproper
5. make menuconfig (set SMP and RTC)
6. make dep
7. make clean
8. make bzImage
9. make modules
10. make modules_install
11. edit /etc/lilo.conf
12. run lilo
13. reboot, choose new kernel to boot the system, type 'uname -a'
Linux lab5-1 2.4.2-2 #1 SMP Wed Apr 25 18:56:05 CST 2001 i686 unknown

My question is why the result of 'uname -r' is not "2.4.2-2smp" , but
"2.4.2-2"
Whether I forgot to do something?
It seems that when we compile the 2.4.2 kernel, it will not use -D__SMP__
argument now.
(because I didn't see it in /usr/src/linux-2.4/Makefile, and I didn't see it
when I did 'make bzImage')
If someone ever build 2.4.x kernel which support SMP, please teach me how to
do it.
Thanks!!

--------------------------------------------------
Yiping Chen
VIA Technologies, Inc.
LAN Software
533 Chung Cheng Road 8F
Hsin Tien, Taipei
Taiwan
TEL : 886-2-22185452 EXT.7512
FAX : 886-2-22187527
E-mail : YipingChen@via.com.tw


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.060 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site