On Fri, Dec 05, 2003 at 10:08:16PM -0800, James Noble wrote: > Hello, > > Im trying to compile a 2.4.23-vs1.20 with the quota patch, > and keep running into errors, I admint that i do not know alot > about building kernels, anyone have a step by step for this, > or have a kernel similar to the ones at soulcorp that i can download? > --------- > here is the history that i tried > > 308 wget http://www.13thfloor.at/vserver/s_release/v1.20/patch-2.4.23-vs1.20.diff > 309 wget > http://www.13thfloor.at/vserver/s_release/v1.20/split-2.4.23-vs1.20.tar.bz2 > 310 wget > http://www.13thfloor.at/vserver/s_addons/quota/patch-2.4.23-vs1.20-q0.12.diff > 311 wget > http://www.13thfloor.at/vserver/s_addons/quota/split-2.4.23-vs1.20-q0.12.tar.bz2 > > 313 wget http://www.13thfloor.at/vserver/s_addons/quota/cq-tools-0.06.tar.bz2 > 314 wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.23.tar.gz > > 316 tar -xvzf linux-2.4.23.tar.gz > 317 rm linux-2.4.23.tar.gz > > 319 cd linux-2.4.23 > 320 cat ../patch-2.4.23-vs1.20.diff | patch -p1 > 321 cat ../patch-2.4.23-vs1.20-q0.12.diff | patch -p1 > 322 make menuconfig > (selected quota on in filesystems, thats it)
to use the patch, you also have to select the persistent context id for files (first option on filesystems) sounds good so far, but you should also select the hardware your system actually provides/has .. if you don't want to do that, you can always use the config file from solucorp and do the folowing # wget ftp://ftp.solucorp.qc.ca/pub/vserver/config-2.4.22 # cd linux-2.4.23 # cp ../config-2.4.22 .config # make oldconfig after you have done make menuconfig (or make oldconfig) you have to do make dep (as stated in the friendly message if you leave the previous make which looks like *** Next, you must run 'make dep'. ;) # make dep >../Dep.log > 323 make bzImage modules modules_install > (error about ext3) I would first do a # make bzImage modules >../Build.log just to see if everything compiles ... if that was okay (except for some warnings), you can do the install (modules_install) by the way, I exactly did what you described (except for adding the mandatory make dep) and it worked without any issues, if you have troubles doing this, please send me the error messages, and I'll have a look at it ... HTH, Herbert > 324 ls > 325 make clean dep bzImage modules install modules_install > (error in the modules install, about kernel_something) > > ------------------- > James > > *********** REPLY SEPARATOR *********** > > > > _______________________________________________ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
