hi jeff, sorry, but it still doesn`t work for me. i tried both kernel 2.6.6-rc1 and 2.6.6-rc2 sources to compile a guest kernel. i have attached a log from what i have done - errors are at the end. did anybody have success compiling a 2.6.6-rc1/2 with jeff`s instructions ? regards roland ps: > You must apply uml-patch-2.6.4-1.bz2 (or the attached uml-patch-2.6.6-0) > to the host and guest first before applying any other uml patches. uml-patch-2.6.4-1.bz2 doesn`t apply to 2.6.6-rc1/2 (hunks failed) pps: one minor correction: > bzip2 -d -c patch.2.6.5-uml1.fix | patch -p1 > bzip2 -d -c patch.266rc1-1 | patch -p1 should be: cat patch.2.6.5-uml1.fix | patch -p1 cat patch.266rc1-1 | patch -p1 because they aren`t compressed attachments ----- Original Message ----- From: "Jeff Chua" To: "roland" Cc: "UserModeLinux" Sent: Wednesday, April 21, 2004 8:33 AM Subject: Re: [uml-devel] patch for 2.6.6-rc1 > > > You must apply uml-patch-2.6.4-1.bz2 (or the attached uml-patch-2.6.6-0) > to the host and guest first before applying any other uml patches. > > The patches I sent earlier will apply up to 2.6.6-rc2. I've attached all > these patches here again. > > Start with the "host" ... > cd /usr/src > /usr/bin/tar --use=bzip2 xpf linux-2.6.5.tar.bz2 > ln -nsf linux-2.6.5 linux > cd linux > bzip2 -d -c patch-2.6.6-rc2.bz2 | patch -p1 > bzip2 -d -c uml-patch-2.6.6-0.bz2 | patch -p1 > bzip2 -d -c 00-2.6.6-v0-host-SKAS2.patch.bz2 | patch -p1 > ... ready to compile "host" > > > Now copy the above "host" to "guest" ... > cd /usr/src > mkdir uml > cd /usr/src/linux; find . | cpio -pdum ../uml > cd ../uml > > # undo the SKAS patch ... > bzip2 -d -c 00-2.6.6-v0-host-SKAS2.patch.bz2 | patch -p1 -R > > # apply to get it to compile for 2.6.5 > bzip2 -d -c patch.2.6.5-uml1.fix | patch -p1 > > make mrproper ARCH=um > > # apply to get it to compile for 2.6.6 > bzip2 -d -c patch.266rc1-1 | patch -p1 > > ... ready to compile "guest" ... > > > Thanks, > Jeff > [ jchua@fedex.com ] > > On Wed, 21 Apr 2004, roland wrote: > > > hi! > > > > i tried to compile a 2.6.6-rc1 today - but it didn`t work for me. > > > > do i need additional patches besides the ones posted in jeff`s mail ? (jeffs patches seem really small sized - uml-patch is usually > > >100kb) > > > > applying 00-2.6.6-v0-host-SKAS2.patch.bz2 to a vanilla 2.6.6-rc1 kernel fails. applying the guest patches fails, too. > > > > i assume i missed another patch to apply to 2.6.6-rc1 befory applying jeffs patches > > OR > > jeff did a mistake > > OR > > kernel-2.6.6-r1 changed in the meanwhile (being trojanized on kernel.org?) :) > > > > can somebody help me to get a 2.6.6-r1-skas-host and 2.6.6-r1-uml running ? > > > > regards > > roland > > > > ----- Original Message ----- > > From: "Jeff Chua" > > To: "UserModeLinux" > > Sent: Friday, April 16, 2004 4:04 PM > > Subject: [uml-devel] patch for 2.6.6-rc1 > > > > > > > > > > Here's patch to make uml compiles and run with 2.6.6-rc1. > > > > > > 1) Host 2.6.6-rc1 has 00-2.6.6-v0-host-SKAS2.patch.bz2 applied. > > > > > > 2) Guest has patch.2.6.5-uml1.fix applied, make mrproper ARCH=um, then > > > patch.266rc1-1 applied. > > > > > > I fudged those filed to make it compile and run. Please verify. I know > > > TASK_DEBUGREGS is incorrect, but since I don't use the debug mode, I > > > simply set to 1 to make it run, but it may not be right if you need to > > > debug uml. Hopefully someone can come up with a better patch. > > > > > > > > > Thanks, > > > Jeff > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux Tutorials > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > GenToo technologies. Learn everything from fundamentals to system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > User-mode-linux-devel mailing list > > User-mode-linux-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel > >