
Hi All, Assume I load up a Dell PE 1650 with SuSE 8.0 along with kernel source. Now, what I want to do is modify exactly two lines in /usr/src/linux/include/linux/fs.h to give me a larger open file per process limit (default is 1024). However, when I do this, what do I need to do to ensure proper recompile and a bootable system with the stock /lib/modules? I can get it work if I unpack raw source from kernel.org, so what am I not seeing here? feeling stupid today :) -Bill

On Monday 30 June 2003 9:24 am, Bill Parker wrote:
Hi All,
Assume I load up a Dell PE 1650 with SuSE 8.0 along with kernel source. Now, what I want to do is modify exactly two lines in /usr/src/linux/include/linux/fs.h to give me a larger open file per process limit (default is 1024). However, when I do this, what do I need to do to ensure proper recompile and a bootable system with the stock /lib/modules?
I can get it work if I unpack raw source from kernel.org, so what am I not seeing here?
feeling stupid today :)
-Bill
You could use either the SuSE kernel source or the vanilla kernel.org source... if you use proper recompile procedures..... Stock modules? Any recompile usually involves rebuilding all the modules too. -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 06/30/03 09:44 + +----------------------------------------------------------------------------+ First Law for Freelance Artists: "A high-paying rush job comes in only after you have committed to a low-paying rush job."

The 03.06.30 at 06:24, Bill Parker wrote:
I want to do is modify exactly two lines in /usr/src/linux/include/linux/fs.h to give me a larger open file per process limit (default is 1024). However, when I do this, what do I need to do to ensure proper recompile and a bootable system with the stock /lib/modules?
Install suse kernel (bin and sources) - I assume you already did that. Ensure you are running the suse kernel, cd to /usr/src/linux and edit the Makefile. Put something in "EXTRAVERSION", like your intials. Run "make cloneconfig". This will clone the running kernel configuration to the source tree configs. Then modify whatever you need, and recompile ("make dep bzImage modules", for example). Install kernel image by whatever mode you like and the modules, adapt lilo or grub, run mk_initrd as required - I'm going fast here, I know :-) This way you have a kernel configured exactly as the original suse one, except your modifications, and the modules will be on a separate /lib/modules/yourkernel, so that you will still have the originall intact to goback if needed. -- Cheers, Carlos Robinson
participants (3)
-
Bill Parker
-
Bruce Marshall
-
Carlos E. R.