[opensuse-kernel] problems building KMPs with current factory kernel
Hi, is this a known issue: the asm symlinks below include2 do point nowhere in a usual system: # readlink /usr/src/linux-obj/x86_64/default/include2/asm ../../../../packages/BUILD/kernel-default-2.6.30/linux-2.6.29/arch/x86/include/asm additionally, when building for the xen flavor (not with the others), you see: make: Entering directory `/usr/src/linux-2.6.30-rc6-git3-4-obj/i386/xen' make -C ../../../linux-2.6.30-rc6-git3-4 O=/usr/src/linux-2.6.30-rc6-git3-4-obj/i386/xen/. modules Updating /usr/src/linux-2.6.30-rc6-git3-4-obj/i386/xen/scripts/Makefile.xen /bin/sh: /usr/src/linux-2.6.30-rc6-git3-4-obj/i386/xen/scripts/Makefile.xen: Permission denied why is it trying to write to the kernel source when building modules with M=/usr/src/packages/..... ? -- with kind regards (mit freundlichem Grinsen), Ruediger Oertel (ro@novell.com,ro@suse.de,bugfinder@t-online.de) ---------------------------------------------------------------------- Linux MacBookRudi 2.6.30-rc6-git3-4-default #1 SMP 2009-05-25 14:11:59 +0200 x86_64 Key fingerprint = 17DC 6553 86A7 384B 53C5 CA5C 3CE4 F2E7 23F2 B417 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Ruediger Oertel <ro@suse.de> 05.06.09 02:06 >>> additionally, when building for the xen flavor (not with the others), you see: make: Entering directory `/usr/src/linux-2.6.30-rc6-git3-4-obj/i386/xen' make -C ../../../linux-2.6.30-rc6-git3-4 O=/usr/src/linux-2.6.30-rc6-git3-4-obj/i386/xen/. modules Updating /usr/src/linux-2.6.30-rc6-git3-4-obj/i386/xen/scripts/Makefile.xen /bin/sh: /usr/src/linux-2.6.30-rc6-git3-4-obj/i386/xen/scripts/Makefile.xen: Permission denied
why is it trying to write to the kernel source when building modules with M=/usr/src/packages/..... ?
Hmm, what it's trying to do is create/update a file in $(objtree). Probably that should just be inhibited for KBUILD_EXTMOD builds, as it's supposedly meaningless there (though it's not impossible to imagine that some external module would have a -xen clone of a native file, too). I'll look into fixing this. Jan -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (2)
-
Jan Beulich
-
Ruediger Oertel