Skip to contentSkip to conversation

Problems with the SKAS patch and 2.6

uml-devel gboutwel 3 participants 3 messages Apr 18, 2004 – Apr 19, 2004 User-mode Linux (UML)

lore
Share & tools
lore

gboutwel

author
#0 lore raw
Quoted 1 line

There is a separate version which can be applied like the old

one, i.e. onto

Quoted 5 lines

the kernel + UML patch, in the main UML page.

I applied your slight change to this 2nd version and attached

the result -

Quoted 1 line

test at least if it applies correctly (this one goes onto the

UML patch).

BlaisorBlade,

I tried this patch. I'm able to compile the host fine, but I've

attached what happens when I try to compile the uml guest.

The steps.

tar jxf linux-2.6.5.tar.bz2

mv linux-2.6.5 linux-2.6.6-rc1

cd linux-2.6.6-rc1

bzcat ~/2.6.4/uml-patch-2.6.4-1.tar.bz2 | patch -p1

cat ~/2.6.6/host+Uml-skas3-2.6.6-rc1-v1.patch | patch -p1

cp ~/2.6.5/config-2.6.5-uml .config

make oldconfig ARCH=um

// I had to modify /arch/um/Makefile-i386 to add the word basic

// after scripts/ like before on 2.6.5

make linux ARCH=um

During the mk_kernel_constants.o, it erros complaining about

a bunch of undefines.

Maybe I'm missing a step or something?

The 2.6.6-rc1 host is doing good though.

George

------------------------------------------

Praize? The all-in-one Christian Community

http://www.praize.com/

  HOSTCC  arch/um/sys-i386/util/mk_sc
  CHK     arch/um/include/sysdep-i386/sc.h
  UPD     arch/um/include/sysdep-i386/sc.h
  CHK     arch/um/include/uml-config.h
  UPD     arch/um/include/uml-config.h
  HOSTCC  arch/um/util/mk_constants_kern.o

arch/um/util/mk_constants_kern.c: In function `main':
arch/um/util/mk_constants_kern.c:16: error: `KERN_EMERG' undeclared (first use in this function) arch/um/util/mk_constants_kern.c:16: error: (Each undeclared identifier is reported only once arch/um/util/mk_constants_kern.c:16: error: for each function it appears in.) arch/um/util/mk_constants_kern.c:17: error: KERN_ALERT' undeclared (first use in this function) arch/um/util/mk_constants_kern.c:18: error: KERN_CRIT' undeclared (first use in this function) arch/um/util/mk_constants_kern.c:19: error: KERN_ERR' undeclared (first use in this function) arch/um/util/mk_constants_kern.c:20: error: KERN_WARNING' undeclared (first use in this function) arch/um/util/mk_constants_kern.c:21: error: KERN_NOTICE' undeclared (first use in this function) arch/um/util/mk_constants_kern.c:22: error: KERN_INFO' undeclared (first use in this function) arch/um/util/mk_constants_kern.c:23: error: KERN_DEBUG' undeclared (first use in this function) arch/um/util/mk_constants_kern.c:25: error: NSEC_PER_SEC' undeclared (first use in this function) make[1]: *** [arch/um/util/mk_constants_kern.o] Error 1
make: *** [arch/um/util] Error 2

#1 lore raw
Quoted 1 line · gboutwel

cat ~/2.6.6/host+Uml-skas3-2.6.6-rc1-v1.patch | patch -p1

you don't need SKAS on the guest system ...

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw
In reply to gboutwel

Alle 20:55, domenica 18 aprile 2004, gboutwel ha scritto:

Quoted 3 lines

I tried this patch. I'm able to compile the host fine, but I've

attached what happens when I try to compile the uml guest.

Well, what you did is correct (you had to apply both the UML patch and that version of the SKAS patch); the problem is that for 2.6.6-rc1 you need one more fix for the UML patch (it was posted here by Jeff Chua and it's 2 thread before this one).

You must undo your changes to the Makefile since that patch already contains it.

Quoted 1 line

The steps.

Thanks, it is always important to post them, so that the help can be more detailed.

Quoted 3 lines

// I had to modify /arch/um/Makefile-i386 to add the word basic

// after scripts/ like before on 2.6.5

The patch from Jeff Chua did this work and also fixed the problems you have.

Quoted 1 line

The 2.6.6-rc1 host is doing good though.

Thanks for this test: the SKAS patch is very well tested, but I absolutely did not have the time to test that little change (2 lines, so don't worry).

Signature · 14 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel