Re: OpenVZ on PPC? [message #12990 is a reply to message #12962] |
Thu, 17 May 2007 04:16   |
mbaranczak
Messages: 6 Registered: May 2007
|
Junior Member |
|
|
Update: I tried it again, this time with a vanilla 2.6.20 kernel, and the patch downloaded directly from openvz.org. Here are the exact steps that I followed:
- Download and unpack the 2.6.20 kernel sources from kernel.org.
- patch -p0 -i patch-ovz005.1-combined
- cp kernel-2.6.20-ppc64.config.ovz linux-2.6.20/.config
- make xconfig, and uncheck the PPC64 option - leave everything else the same.
- make-kpkg --rootcmd=sudo --initrd binary-arch
Here's the last thing I see from make-kpg: (the warnings about sched.h are repeated several hundred times - I have no idea if it's actually something I should be worried about.)
CC [M] fs/gfs2/glock.o
In file included from fs/gfs2/glock.c:10:
include/linux/sched.h: In function ‘cycles_to_clocks’:
include/linux/sched.h:1390: warning: comparison of distinct pointer types lacks a cast
include/linux/sched.h:1390: warning: right shift count >= width of type
include/linux/sched.h:1390: warning: passing argument 1 of ‘__div64_32’ from incompatible pointer type
include/linux/sched.h: In function ‘cycles_to_jiffies’:
include/linux/sched.h:1397: warning: comparison of distinct pointer types lacks a cast
include/linux/sched.h:1397: warning: right shift count >= width of type
include/linux/sched.h:1397: warning: passing argument 1 of ‘__div64_32’ from incompatible pointer type
fs/gfs2/glock.c:2003:35: error: macro "invalidate_inodes" passed 2 arguments, but takes just 1
fs/gfs2/glock.c: In function ‘gfs2_gl_hash_clear’:
fs/gfs2/glock.c:2003: error: ‘invalidate_inodes’ undeclared (first use in this function)
fs/gfs2/glock.c:2003: error: (Each undeclared identifier is reported only once
fs/gfs2/glock.c:2003: error: for each function it appears in.)
make[3]: *** [fs/gfs2/glock.o] Error 1
make[2]: *** [fs/gfs2] Error 2
make[1]: *** [fs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20'
make: *** [debian/stamp-build-kernel] Error 2
Does anybody have any suggestions?
|
|
|