Re: [suse-programming-e] Kernel Code changes
Hi, I have checked under /proc ie /proc/net/route file and no change in the same. I want to know in general ; how to go about changing kernel ? Surely someone would have done this. Where should I change so that it gets compiled and the changes are visible My kernel version is 2.4 and I have not put any great chuck of code as of now. Just a simple printk to see can be modify ! I can see .o files being generated in /usr/src/linux/net/ipv4 but no more. Could you please suggest Cheers! Chitresh Jonathan Cowherd wrote:
/sbin/route & /bin/route are separate tools to modify the routing parameters for the kernel. Check under /proc to see if your changes in route.c had taken effect.
Maybe post what you are changing in route.c or what you are attempting to do. Please include kernel and compiler versions.
Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: jonathan.cowherd@genscape.com Office: (502) 583-3730
-----Original Message----- From: Chitresh [mailto:chitresh@mahindrabt.com] Sent: Thursday, June 20, 2002 1:41 PM To: jlm@compgen.com Cc: suse-programming-e@suse.com Subject: Re: [suse-programming-e] Kernel Code changes
Hi,
Yes , I did so . I am using linux 7.1 ( SUSE Linux ) .
It is not a module , it is changes to route.c file directly. Hence change route.c make dependent make bzImage make modules Copy System.map to /boot/System/map Copy bzImage to /boot/vmlinux changed lilo.conf ran ./sbin/lilo
How do you compile the source of the kernel file .Also , after compilation the code /sbin/route or /bin/route doesnot have todays timestamp , which means that the code executed is not the latest.
Cheers! Chitresh
Jesse Marlin wrote:
Chitresh writes:
Hi,
How to modify the kernel code ?
I have changed /usr/src/linux/net/ipv4/route.c slightly and then > compiled the kernel.
Compiled with somthing like 'make bzImage'
The new kernel is not reflecting the changes I have made ?
Did you install the new kernel, change lilo.conf, and reboot? Is it in a module, and did you do a 'make modules; make modules_install'?
Could you please help.
Cheers! Chitresh Markanda
********************************************************* Disclaimer
This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com
-- To unsubscribe, email: suse-programming-e-unsubscribe@suse.com For additional commands, email: suse-programming-e-help@suse.com >
Archives can be found at: http://lists/archive/suse-programming-e
-- To unsubscribe, email: suse-programming-e-unsubscribe@suse.com For additional commands, email: suse-programming-e-help@suse.com Archives can be found at: http://lists/archive/suse-programming-e
********************************************************* Disclaimer
This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com
-- To unsubscribe, email: suse-programming-e-unsubscribe@suse.com For additional commands, email: suse-programming-e-help@suse.com Archives can be found at: http://lists/archive/suse-programming-e
********************************************************* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com
participants (1)
-
Chitresh