Hi All,
I am using RedHat9 with 2.4.20-8 kernel. Recently I downloaded the cifs-08.7a.tar and wanted to install cifs module
in the Linux.
As per the manual I came along with the cifs tar file, I applied the patch by patch -p1 < cifs_patch
Then copied the extracted files to /use/linux2.4.20/fs/cifs.
Then cd /use/src/linux-2.4.20
make xconfig
make dep
make modules
make bzImage
All went fine. From this point I do not know as to how to enable the cifs in my kernel.
I did the following:
cp /usr/src/linux-2.4.20/arch/i386/boot/bzImage /boot/bzImage
cp /usr/src/linux2.4.20/System.map to /boot
edit /etc/lilo.conf
add the lines like:
image=/boot/bzImage
label=mylinux
root=/dev/hda1
read-only
The above setup gave me kernel panic, root volume not found.
My existing good kernel shows something like this:
image=/boot/vmlinuz
label=linux
initrd=/boot/initrd.2.4.20-8
read-only
append="root=LABEL=/"
I tried some docs on google and when I try
mkinitrd /boot/initrd.2.4.20-8 2.4.20-8 gave it already exists. If I try something else it says /lib/modules not
found. I guess this command is purely for new kernel compilation and not for one single module to install.
Any suggestion will be appreciated.
Thanks
Siva
-------------------------------------
JSiva
Network Appliance Inc. (jsknair@yahoo.com
I am using RedHat9 with 2.4.20-8 kernel. Recently I downloaded the cifs-08.7a.tar and wanted to install cifs module
in the Linux.
As per the manual I came along with the cifs tar file, I applied the patch by patch -p1 < cifs_patch
Then copied the extracted files to /use/linux2.4.20/fs/cifs.
Then cd /use/src/linux-2.4.20
make xconfig
make dep
make modules
make bzImage
All went fine. From this point I do not know as to how to enable the cifs in my kernel.
I did the following:
cp /usr/src/linux-2.4.20/arch/i386/boot/bzImage /boot/bzImage
cp /usr/src/linux2.4.20/System.map to /boot
edit /etc/lilo.conf
add the lines like:
image=/boot/bzImage
label=mylinux
root=/dev/hda1
read-only
The above setup gave me kernel panic, root volume not found.
My existing good kernel shows something like this:
image=/boot/vmlinuz
label=linux
initrd=/boot/initrd.2.4.20-8
read-only
append="root=LABEL=/"
I tried some docs on google and when I try
mkinitrd /boot/initrd.2.4.20-8 2.4.20-8 gave it already exists. If I try something else it says /lib/modules not
found. I guess this command is purely for new kernel compilation and not for one single module to install.
Any suggestion will be appreciated.
Thanks
Siva
-------------------------------------
JSiva
Network Appliance Inc. (jsknair@yahoo.com