LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel patching 2.4.7-2 (https://www.linuxquestions.org/questions/linux-software-2/kernel-patching-2-4-7-2-a-85817/)

devashish 08-26-2003 06:10 AM

Kernel patching 2.4.7-2
 
I have 2.4.7-2 in redflag, I also have intel82830 graphic chip which is not supported in the kernel but intel has the driver avilable which I have downloaded, now this driver requires kernel 2.4.11 so i thought patching would be the way to go i downloaded patches 2.4.8 to 2.4.12 but the very first patch find 90% of the files missing, I saw it was looking for a /linux/ directory but I have a /linux-2.4.7-2/ directory and a symbolic link /linux-2.4/ so I did
$ln -s ./linux-2.4.7-2 ./linux
and tried again, its still the same, any ideas where I am going wrong?? I placed the patch in the directory /usr/src/linux-2.4.7-2/
and did bzip2 -dc patch2.4.8.bz2 | patch -p0
and also tried the ./script/make-patch thing.
Ur suggestions will be highly appreciated.......

cnjohnson 08-26-2003 07:21 AM

Try going to kernel.org and getting the kernel you need and building that. Much easier to do than trying to patch your kernel.

Cheers--
Charles

devashish 08-26-2003 07:58 AM

I have a 2.4.19-16mdk kernel in another partition can I use it??

devashish 08-26-2003 07:59 AM

I have a 2.4.19-16mdk kernel in another partition can I use it?? I mean can I copy the /lib/src/2.4.19-16mdk/ directory to /usr/src/ directoty in the other system and do a make config and make dep on it??

cnjohnson 08-26-2003 08:01 AM

If you are running mandrake, and you have the complete source you can certainly try. But who knows until you try?

Cheers--
Charles

devashish 08-26-2003 08:06 AM

ok then lets find out out....
ill do a make xconfig
make dep
make modules
make bzImage
make modules_install
then cp the bzimage to the /boot dir
and then ?? do i set lilo up to boot from the new image instead of vmlinuz or what??
but I boot from floppy how do I make my floppy use the new image???
Thanks once more

devashish 08-26-2003 10:00 AM

okay i tried everything went well except for this:

Kernel panic VFS: Unable to mount root file system on 03:04
any ideas??
That was after using the disk created by bzdisk, the old floppy disk still boots the system to the older kernel :confused:

sb73542 08-27-2003 03:01 PM

To make a new boot floppy:
cd /lib/modules
ls and see what is listed
mkbootdisk --device /dev/fd0 kernel_as_listed_above

mkbootdisk may be located in /sbin.


All times are GMT -5. The time now is 02:51 AM.