|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] GFS into the kernel.
Does this procedure work for you when compiling a native x86 kernel (i.e.
remove the Xenification?).
Cheers,
Mark
On Thursday 15 September 2005 18:11, Andy Davidson wrote:
> Hi, folks --
>
> I'm in a terrible pickle trying to build support for gfs into the xen
> kernel. I thought it would be reasonably straight forward, so I went
> through the following procedure :
>
> - grabbed Linux 2.6.12 from kernel.org.
>
> - patched in the -mm2 set for this version (gfs needs the dlm feature
> in this patchset.)
>
> - patched in the gfs stuff from http://redhat.com/~teigland/gfs2
>
> - used "xen-2.0-testing/linux-2.6-xen-sparse/mkbuildtree" to xenify my
> working copy of this kernel.
>
> - grabbed the /boot/config-2.6.11.10-xen0 file from my Xen host.
> Dropped it into the right place to use as a reference point for my new
> kernel.
>
> - edited arch/xen/Kconfig.drivers and added a source
> "drivers/dlm/Kconfig" line underneath the 'menu' line towards the top
> of the file
>
> - ran ARCH=xen make menuconfig and enabled DLM and GFS support.
> Sanity checked the rest of the config (e.g. ensured that my network hw
> was still listed as supported).
>
> - ran 'make-kpkg --append-to-version=xen0 --revision=ad1 --arch=xen
> kernel_image'
>
>
>
> This failed spectacularly (but blissfully, quickly - doesn't seem to be
> debian tools related, as this also happened when I tried a simple 'make
> all'). The details of the fail are below. Please would someone be
> willing to look at my sources or .config to point me in the direction of
> how this could be happening ?
>
> Ideally, I would prefer to build a .deb package of the kernel with
> make-kpkg.
>
>
>
> working copy :
> http://elvis.nosignal.org/~andy/xen/linux-2.6.12-xen2-mm2-gfs2-configured.t
>ar.gz
>
> .config : http://elvis.nosignal.org/~andy/xen/dotconfig
>
>
>
> Failure:
>
> /usr/bin/make EXTRAVERSION=-mm2xen0 ARCH=xen \
> vmlinuz
> make[1]: Entering directory
> `/usr/local/src/xen-2.0-testing/working-linux.2.6.12'
> CHK include/linux/version.h
> scripts/kconfig/conf -s arch/xen/Kconfig
> net/ipv4/Kconfig:551:warning: type of 'TCP_CONG_BIC' redefined from
> 'tristate' to 'boolean'
>
> net/ipv4/Kconfig:92:warning: defaults for choice values not supported
> #
> # using defaults found in .config
> #
> SPLIT include/linux/autoconf.h -> include/config/*
> SYMLINK include/asm -> include/asm-i386
> SYMLINK include/asm-xen/asm -> include/asm-xen/asm-i386
> CC scripts/mod/empty.o
> HOSTCC scripts/mod/mk_elfconfig
> MKELF scripts/mod/elfconfig.h
> HOSTCC scripts/mod/file2alias.o
> HOSTCC scripts/mod/modpost.o
> HOSTCC scripts/mod/sumversion.o
> scripts/mod/sumversion.c: In function 'parse_file':
> scripts/mod/sumversion.c:260: warning: pointer targets in passing
> argument 1 of 'grab_file' differ in signedness
> scripts/mod/sumversion.c:277: warning: pointer targets in passing
> argument 1 of 'parse_string' differ in signedness
> scripts/mod/sumversion.c:283: warning: pointer targets in passing
> argument 1 of 'parse_comment' differ in signedness
> scripts/mod/sumversion.c: In function 'parse_source_files':
> scripts/mod/sumversion.c:335: warning: pointer targets in initialization
> differ in signedness
> scripts/mod/sumversion.c:344: warning: pointer targets in passing
> argument 1 of 'strlen' differ in signedness
> scripts/mod/sumversion.c:357: warning: pointer targets in passing
> argument 1 of 'parse_file' differ in signedness
> scripts/mod/sumversion.c: In function 'strip_rcs_crap':
> scripts/mod/sumversion.c:465: warning: pointer targets in passing
> argument 1 of 'strlen' differ in signedness
> scripts/mod/sumversion.c:465: warning: pointer targets in passing
> argument 1 of 'strlen' differ in signedness
> scripts/mod/sumversion.c:465: warning: pointer targets in passing
> argument 1 of '__builtin_strcmp' differ in signedness
> scripts/mod/sumversion.c:465: warning: pointer targets in passing
> argument 1 of 'strlen' differ in signedness
> scripts/mod/sumversion.c:465: warning: pointer targets in passing
> argument 1 of '__builtin_strcmp' differ in signedness
> scripts/mod/sumversion.c:465: warning: pointer targets in passing
> argument 1 of '__builtin_strcmp' differ in signedness
> scripts/mod/sumversion.c:465: warning: pointer targets in passing
> argument 1 of '__builtin_strcmp' differ in signedness
> scripts/mod/sumversion.c:465: warning: pointer targets in passing
> argument 1 of 'strncmp' differ in signedness
> scripts/mod/sumversion.c:469: warning: pointer targets in passing
> argument 1 of 'strlen' differ in signedness
> scripts/mod/sumversion.c:469: warning: pointer targets in passing
> argument 1 of 'strlen' differ in signedness
> scripts/mod/sumversion.c:469: warning: pointer targets in passing
> argument 1 of 'strlen' differ in signedness
> scripts/mod/sumversion.c:485: warning: pointer targets in passing
> argument 1 of 'strlen' differ in signedness
> scripts/mod/sumversion.c:486: warning: pointer targets in passing
> argument 1 of 'strlen' differ in signedness
> scripts/mod/sumversion.c: In function 'maybe_frob_rcs_version':
> scripts/mod/sumversion.c:496: warning: pointer targets in passing
> argument 1 of 'strip_rcs_crap' differ in signedness
> HOSTLD scripts/mod/modpost
> HOSTCC scripts/kallsyms
> scripts/kallsyms.c: In function 'read_symbol':
> scripts/kallsyms.c:163: warning: pointer targets in assignment differ in
> signedness
> scripts/kallsyms.c:164: warning: pointer targets in passing argument 1
> of 'strcpy' differ in signedness
> scripts/kallsyms.c: In function 'symbol_valid':
> scripts/kallsyms.c:210: warning: pointer targets in passing argument 1
> of 'strlen' differ in signedness
> scripts/kallsyms.c:210: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:210: warning: pointer targets in passing argument 1
> of 'strlen' differ in signedness
> scripts/kallsyms.c:210: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:210: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:210: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:211: warning: pointer targets in passing argument 1
> of 'strlen' differ in signedness
> scripts/kallsyms.c:211: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:211: warning: pointer targets in passing argument 1
> of 'strlen' differ in signedness
> scripts/kallsyms.c:211: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:211: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:211: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:212: warning: pointer targets in passing argument 1
> of 'strlen' differ in signedness
> scripts/kallsyms.c:212: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:212: warning: pointer targets in passing argument 1
> of 'strlen' differ in signedness
> scripts/kallsyms.c:212: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:212: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:212: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:217: warning: pointer targets in passing argument 1
> of 'strstr' differ in signedness
> scripts/kallsyms.c:221: warning: pointer targets in passing argument 1
> of 'strlen' differ in signedness
> scripts/kallsyms.c:221: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:221: warning: pointer targets in passing argument 1
> of 'strlen' differ in signedness
> scripts/kallsyms.c:221: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:221: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> scripts/kallsyms.c:221: warning: pointer targets in passing argument 1
> of '__builtin_strcmp' differ in signedness
> HOSTCC scripts/conmakehash
> scripts/conmakehash.c: In function 'getunicode':
> scripts/conmakehash.c:36: warning: pointer targets in initialization
> differ in signedness
> scripts/conmakehash.c:44: warning: pointer targets in assignment differ
> in signedness
> scripts/conmakehash.c:45: warning: pointer targets in passing argument 1
> of 'strtol' differ in signedness
> CC arch/i386/kernel/asm-offsets.s
> CHK include/asm-xen/asm_offsets.h
> CHK include/asm-i386/asm_offsets.h
> CC init/main.o
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> CC init/do_mounts.o
> In file included from include/linux/nfs_fs.h:15,
> from init/do_mounts.c:11:
> include/linux/pagemap.h: In function 'page_cache_alloc':
> include/linux/pagemap.h:55: error: '__GFP_NORECLAIM' undeclared (first
> use in this function)
> include/linux/pagemap.h:55: error: (Each undeclared identifier is
> reported only once
> include/linux/pagemap.h:55: error: for each function it appears in.)
> include/linux/pagemap.h: In function 'page_cache_alloc_cold':
> include/linux/pagemap.h:60: error: '__GFP_NORECLAIM' undeclared (first
> use in this function)
> make[2]: *** [init/do_mounts.o] Error 1
> make[1]: *** [init] Error 2
> make[1]: Leaving directory
> `/usr/local/src/xen-2.0-testing/working-linux.2.6.12'
> make: *** [stamp-build] Error 2
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|