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 |
#define HZ 1000
#define HZ 100 ?? did you mean to append those lines " # " it will read right past it |
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 |
Not sure on this one....
Did you build your RAID support straight into the kernel or as a module? |
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 :cool: This topic should be closed here. THank you very much to all of you. Ducko |
All times are GMT -5. The time now is 10:33 AM. |