LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   how to access kernel 2.6.32 in rhel5 (https://www.linuxquestions.org/questions/linux-kernel-70/how-to-access-kernel-2-6-32-in-rhel5-870912/)

mrinaljidal 03-25-2011 05:26 AM

how to access kernel 2.6.32 in rhel5
 
hello sir,
i want to configure wireless internet on my laptop having rhel5,my pci is b4312 chip that follows only kernel 2.6.32,but i have a problem to access it or to boot.
commands that i've applied,
#make menuconfig
#make
#make modules
#make modules_install
#make install
then after reboot the system through kernel 2.6.32
the follwing error was shown i.e

red hat version 5.1.19.6 starting version(2.6.32)'
insmod: error inserting '/lib/dm-region-hash.ko': -1 file exists
mount: could not find filesystem '/dev/root'
setuproot: error mounting /proc: no such file or directory
setuproot: error mounting /sys: no such file or directory
switchroot: mount failed: no such file or directory
kernal panic - not syncing: attempted to kill init!

i think that would be sufficient,suggest me to solve this problem or give me another method

andrewthomas 03-25-2011 09:14 AM

Quote:

Originally Posted by mrinaljidal (Post 4302755)
hello sir,
i want to configure wireless internet on my laptop having rhel5,my pci is b4312 chip that follows only kernel 2.6.32,but i have a problem to access it or to boot.
commands that i've applied,
#make menuconfig
#make
#make modules
#make modules_install
#make install
then after reboot the system through kernel 2.6.32
the follwing error was shown i.e

red hat version 5.1.19.6 starting version(2.6.32)'
insmod: error inserting '/lib/dm-region-hash.ko': -1 file exists
mount: could not find filesystem '/dev/root'
setuproot: error mounting /proc: no such file or directory
setuproot: error mounting /sys: no such file or directory
switchroot: mount failed: no such file or directory
kernal panic - not syncing: attempted to kill init!

i think that would be sufficient,suggest me to solve this problem or give me another method

You probably only need to
Code:

make && make modules_install
after configuring your kernel
What you didn't do is copy the image to your /boot directory.
You also should add a CONFIG_LOCALVERSION="-custom" during your
Code:

make menuconfig
step, so it doesn't conflict with your standard kernel
Then after the make modules_install step, you need to copy some more files to /boot and update your menu.lst
Code:

cp System.map /boot/System.map-2.6.32-custom
cp .config /boot/config-2.6.32-custom
cp arch/x86/boot/bzImage /boot/kernel-2.6.32-custom

What I use for the "2.6.32-custom" is whatever is listed on the last line after the make modules_install step

snowday 03-25-2011 10:28 AM

Hello Mrinaljidal, I am a CentOS user (basically the same as Red Hat) and like you I have a Broacom 4312 card. Unfortunately, support for Broadcom cards is not built into any Linux kernel, therefore upgrading to 2.6.32 will not solve your problem. You need the "nonfree" firmware from Broadcom.

The following tutorial worked well for me, I hope it does for you too!

http://wiki.centos.org/HowTos/Laptops/Wireless/Broadcom

accessory2008 03-25-2011 04:40 PM

For op's kernel panic problem, choose YES for one configuration when compiling the new kernel:

General config-->enable deprecated sysfs features which may confuse old userspace tools
(or similar, on 2.6.31.13, it is callled "remove sysfs features that may confuse old userspace tools")


All times are GMT -5. The time now is 10:54 AM.