LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel probelm 2.6.20-2 (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-probelm-2-6-20-2-a-722133/)

Misbah Naveed 04-27-2009 10:38 PM

kernel probelm 2.6.20-2
 
Hi
I am using RHEL4 with kernel-2.6.9-50 and want to upgrade my kernel to 2.6.20-2. For this i download the desired kernel from the site kernel.org and perform the steps..
1.cd /usr/src
2.untar the kernel and the cd in it..
3. make menuconfig and enable some options of Multimedia device
4. make
at this comand i got the following warnings
WARNING: drivers/atm/lanai.o - Section mismatch: reference to .init.text: from .text between 'sram_test_pass' (at offset 0x1f7) and 'sram_test_and_clear'
WARNING: drivers/net/sis900.o - Section mismatch: reference to .init.text:sis900_mii_probe from .text between 'sis900_probe' (at offset 0x4fc) and 'sis900_default_phy'
WARNING: drivers/net/sunhme.o - Section mismatch: reference to .init.text: from .text between 'happy_meal_pci_probe' (at offset 0x3179) and 'happy_meal_pci_remove'
WARNING: drivers/net/tokenring/3c359.o - Section mismatch: reference to .init.text:xl_init from .text between 'xl_probe' (at offset 0x228) and 'xl_hw_reset'
WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to .init.text: from .text between 'de_init_one' (at offset 0x266a) and 'de_remove_one'
WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to .init.text: from .text between 'de_init_one' (at offset 0x275f) and 'de_remove_one'
WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to .init.text: from .text between 'de_init_one' (at offset 0x2766) and 'de_remove_one'

5. make modules modules_install
6. make install
7. reboot

When i select the new kernel i got
Enforcing mode request but no policy loaded. Halting now
Kernel panic-not syncing: Attempting to built init!
atkbd.c spurious ACK on isa0060/serio.o Some program might be trying access hardware directly......

Kindly tell me the solution of this problem..
thanks

John VV 04-28-2009 03:30 AM

you do relies that "2.6.27.21" is the current

so you want to build a custom kernel for RHEL4 . " yum update " would be the safest way


All times are GMT -5. The time now is 10:16 PM.