From: Svetoslav S. <sv...@gm...> - 2004-07-20 06:24:44
|
> On Monday 19 July 2004 17:15, Dr. Sichendra Bista wrote: > > Dear Aivils Stoss: > > > > Thank you so much for your comprehensive reply. However, everthing went > > smooth until I got errors while executing the 'make' command as stated > > below. Kindly guide! (I can send the entire script if required) > > > > > http://www.schuldei.org/aivils > > > > I will visit your personal site too. :) > > > > > > > > It should look like this > > > mydir/linux-2.4.25 > > > mydir/bruby-2.4.25-20040219.diff > > > > > > $ cd mydir > > > $ patch -s -p0 < bruby-2.4.25-20040219.diff > > > > Thank you, now this step worked! > > > > > > > > You start previously patch from wrong directory. > > > > > > > QUERY II > > > > > > > > I also came across a config file ( > > > > http://www.c3sl.ufpr.br/fourhead/.config ) and don't know how to go > > > > about it while rebuilding the kernel. > > > > > > This is detailed doc site > > > http://www.tldp.org/HOWTO/XFree-Local-multi-user-HOWTO/ > > > > > > Typicaly You read http://www.kernelnewbies.org > > > after You do > > > $ cd mydir/linux-2.4.25 > > > $ make menuconfig > > > then You do exit immediately from "make menuconfig" and You have > > > predefined config file$ make dep > > > $ make > > > > But when I executed the 'make' command. It gave the following error > > almost at the end: > > > > -frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 > > -nostdinc -iwithprefix include -DKBUILD_BASENAME=rd -c -o rd.o rd.c > > rd.c:88: error: `CONFIG_BLK_DEV_RAM_SIZE' undeclared here (not in a > > function) make[3]: *** [rd.o] Error 1 > > make[3]: Leaving directory > > `/home/drbista/multiuserpc/kernelsrc/linux-2.4.25/drivers/block' > > make[2]: *** [first_rule] Error 2 make[2]: Leaving directory > > `/home/drbista/multiuserpc/kernelsrc/linux-2.4.25/drivers/block' > > make[1]: *** [_subdir_block] Error 2 make[1]: Leaving directory > > `/home/drbista/multiuserpc/kernelsrc/linux-2.4.25/drivers' make: *** > > [_dir_drivers] Error 2 > > > > Do you recommend me to go further with the instructions below or do I > > need to make some modifications? > > Yes. Your distro have not installed kernel header files. > RPM way, may not work properly > rpm -ivh fedora/2/disc3/Fedora/RPMS/kernel-source-2.6.5-1.358.i386.rpm > > Safe way > Kernel headers means bunch of *.h files in to /usr/include/linux > Your distro may contain old obsolete headers. > Back up it all > > $ cd /usr/include > $ mv linux linux.bak > > Now make symbolic link to Your new kernel headers > > $ ln -s /home/drbista/multiuserpc/kernelsrc/linux-2.4.25/include/linux > linux > > After this exists directory /usr/include/linux which contains headers of > Your > 2.4.25 kernel. gcc during compilation can find all header files. hm, i thought that this aproach was problematic, and redhat hat droped this setup IMHO smth went wrong with the .config generation and the above config option didn't get set > > > > > > please switch to "root" user > > > > > > $ make install > > > $ make modules_install > > > > > > You should read "man lilo.conf" and add Your fresh compiled kernel > > > vi - simple text editor > > > $ vi /etc/lilo.conf > > > $ lilo > > > > > > > QUERY III > > > > > > > > Let me inform you that I have installed a FC1-based PCQLinux2004 > > > > (pcquest.com) in my machine and it has got 2.4.22-nptl and 2.6.2 > > > > kernels in parallel. I also installed another kernel 2.4.18 to make > > > > my sm56 softmodem work (as instructed at http://www.sm56.tk). > > > > > > > > I know how to install a parallel kernel from rpm package ( rpm > > > > --ivh > > > man lilo.conf > > > > kernel**.rpm --nodeps --force and then configure grub.conf. But I > > > > don't know how to install a parallel 2.4.25 kernel from the tar.gz > > > > file without disturbing other kernels in my machine. > > > > > > In theory, Svetoslav Slavtchev <sv...@gm...> allready provide > > > precompiled kernels. If You have troubles with download, then I > > > doubt about Your capability download 20Mb rpm. > > > http://karlovo.demon.co.uk/~svetlio/ruby-contrib/ > > > > Does Mr. Slavtchev's precompiled kernel for 2.4.25 works fine without > > any patches and hitches? Sounds stupid question, but important for me as > > I am going to install it on a production-level machine (I don't have > > several machines, but the borrowed one so I want to add more > > consoles/heads to minimize the cost) > > Slavtchev move away from 2.4.XX long ago. Now he make 2.6.7, but > for Mandrake. Current most safe way is coplete work with 2.4.25 , because > all what You needs are now on the site. it's a Mandrake one, but with 2.6 kernels the kernel is a lot more usable on other distros and i think it should work fine on any distro (at least the kernel itself, the rpm post install scripts wont be really compatible) there are no such havy patches in any of the distributions like in 2.4 kernels (e.g. 0(1) scheduler, nptl, ....) i did used my 2.6.3 kernel without modifications on debian unstable, all i need to do was to add another entry to lilo.conf and copy the modules to the debian install best, svetljo |