Click to See Complete Forum and Search --> : Kernel 2.4.14
wildbillm
11-16-2001, 03:51 PM
Hey... Just wanted to know if anyone has had any problems with kernel 2.4.14...
I just compiled this kernel into my Redhat 7.1 OS and my network interface eth0 FAILS...
I did not change any configuration to the kernel before compiling...
Did a make xconfig then did not change anything...
then the rest of the compiling...
Quick note to those who want to know I compiled it... It doesn't matter...It compiled ok... I just loose my network interface... I have compiled before, but this is the first time I have had this problem...
Thanks
m3rlin
11-19-2001, 06:30 AM
I use the same kernel, and i don't have a problem, but during the compilation of the kernel you must verify if your netcard is supported, if not you should enable the support, put it like a module, or built in
Hope i helped
bdg1983
11-19-2001, 06:40 AM
Loop is broken in the 2.4.14 kernel. Mine will compile, but will not load. This is a known problem and will be fixed in the next release or you can use the patch.
diff -ru linux/drivers/block/loop.c linux-patched/drivers/block/loop.c
--- linux/drivers/block/loop.c Tue Nov 6 10:41:15 2001
+++ linux-patched/drivers/block/loop.c Tue Nov 6 10:43:51 2001
@@ -218,14 +218,12 @@
index++;
pos += size;
UnlockPage(page);
- deactivate_page(page);
page_cache_release(page);
}
return 0;
unlock:
UnlockPage(page);
- deactivate_page(page);
page_cache_release(page);
fail:
return -1;
Copy the above text to a file and then
cd /usr/src/linux
(this must be symlinked to linux-2.4.14 or else just do)
cd /usr/src/linux-2.4.14
patch -p1 < /path/to/file/loopfix
And then start the kernel compile process again.
wildbillm
11-20-2001, 02:58 PM
Thanks I will give that a try and post what happened.
wildbillm
11-20-2001, 04:24 PM
Your fix gave an error on line 5, but I decided to go to:
ftp://ftp.kernel.org/pub/linux/kernel/v2.4/
and see if there was a patch and there was... I gunzipped it and recompiled...
Now I am up and running smoothly... I did however had to select my nic again... Put this in here for those who may not know that...
bdg1983
11-20-2001, 04:43 PM
Sorry the patch did not work. I never tried it myself though I believe someone else tried the same fix and it worked for them.