LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 10-04-2004, 04:31 AM   #1
Ducko
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
Question rebuild kernel 2.6 boot fail on soft RAID fs


Dear all,
I've installed a Ferdora Core 2 kernel 2.6 for samba file server. It seems that the CPU load is increased more much than when I use RedHat9 kernel 2.4 before. A guy told me that the CPU load raised because kernel 2.6 use kernel clock 1000Hz (1kHz) instead of 100Hz as kernel 2.4.
So, I have rebuilt my kernel to change that option and following are what I've done:
cd /usr/src/linux-2.6.5-1.358
make oldconfig


edit file /usr/src/linux-2.6.5-1.358/include/asm-i386/param.h change the line
#define HZ 1000
to be
#define HZ 100

make bzImage
make modules
make modules_install
make install


reboot

System boot fail when i choose custom kernel (the rebuilt kernel).

My server uses 3 IDE HDDs made 2 software raid array:
md0: raid1 mount: /boot
md1: raid5 mount: /

If I rebuild the kernel with the above steps on a single HDD PC (no raid array activated), there is no problem.

Please help me to solve the problem. My goal is: down the kernel clock from 1000Hz to 100Hz .

I am a newbie, so please kindly guide me step-by-step.

Thank you very much!

Ducko

Last edited by Ducko; 10-04-2004 at 04:35 AM.
 
Old 10-04-2004, 02:13 PM   #2
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
#define HZ 1000

#define HZ 100

?? did you mean to append those lines " # " it will read right past it
 
Old 10-04-2004, 09:47 PM   #3
Ducko
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Angry

the line read:
#define HZ 1000 ....
defines the kernel clock is 1000Hz.

I've just changed it into:
#define HZ 100 ...
to define the kernel clock is 100Hz.

However, in my situation, this does not cause the problem. I've rebuilt the kernel successfully on a single HDD PC.

Thank you for your reply.

Ducko

PS: I've just wondered why the "rebuilt" kernel fail to boot when the mount /boot is placed on a software raid array

Last edited by Ducko; 10-04-2004 at 09:55 PM.
 
Old 10-04-2004, 10:28 PM   #4
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
Not sure on this one....
Did you build your RAID support straight into the kernel or as a module?
 
Old 10-05-2004, 09:40 PM   #5
Ducko
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Dear all,
Thank you very much for all your replies!
After several test cases, I found that rebuilding the kernel makes nonsense . Therefore, the problem is not concerned any more
This topic should be closed here. THank you very much to all of you.
Ducko
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DualBoot Fail: System Rebuild: Error upon reinstalling FC4 in Dual boot config krnlkule Linux - Newbie 1 09-06-2005 11:56 PM
SuSE 9.3 - Soft Raid WL7JA Linux - Newbie 3 09-01-2005 04:14 PM
From kernel compiling sig11 fails-to boot fail-what's happening? wolve Linux - Newbie 3 06-30-2004 03:51 PM
Soft RAID1 (mirror) rebuild GAVollink Linux - Hardware 4 04-25-2003 09:18 AM
Fail to boot newly upgraded Kernel 2.4.4 LenkaNguyen Linux - General 7 11-19-2001 05:16 PM


All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration