WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Fedora 15 Xen Kernel Make w/Mutex Errors

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Fedora 15 Xen Kernel Make w/Mutex Errors
From: "Michael J. Fuhrman" <mfuhrman@xxxxxxxxxxxx>
Date: Sun, 07 Aug 2011 16:25:28 -0400
Delivery-date: Mon, 08 Aug 2011 19:25:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
Dear Community,

Has anyone else run into this make issue. Near the end of the compile, I get the following errors:

kernel/built-in.o: In function `.text.lock.mutex':
mutex.c:(.sched.text+0x1a45): undefined reference to `__mutex_lock_slowpath'
mutex.c:(.sched.text+0x1a4f): undefined reference to `__mutex_unlock_slowpath'

===========================

Following instructions from "http://wiki.xen.org/xenwiki/Xen4.0", I reran the package installs to make sure they were updated.  I also downloaded an installed the Fedora 15 source files, following instructions from "http://fedoraproject.org/wiki/Building_a_custom_kernel".

Suggestions?

Mike,

===========================

[ ... xen-4.1.1]# make kernels KERNELS="linux-2.6-xen0 linux-2.6-xenU"
for i in  linux-2.6-xen0   linux-2.6-xenU  ; do make $i-install || exit 1; done
make[1]: Entering directory `/tmp/xen-4.1.1'
make -f buildconfigs/mk.linux-2.6-xen0 build
make[2]: Entering directory `/tmp/xen-4.1.1'
if grep "^CONFIG_MODULES=" build-linux-2.6.18-xen0_x86_64/.config ; then \
    make -C build-linux-2.6.18-xen0_x86_64 ARCH=$(sh buildconfigs/select-linux-arch linux-2.6.18-xen.hg) modules || exit 1 ; \
    make -C build-linux-2.6.18-xen0_x86_64 ARCH=$(sh buildconfigs/select-linux-arch linux-2.6.18-xen.hg) INSTALL_MOD_PATH=/tmp/xen-4.1.1/dist/install modules_install ; \
fi
CONFIG_MODULES=y
select-linux-arch: x86_64
make[3]: Entering directory `/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
make -C /tmp/xen-4.1.1/linux-2.6.18-xen.hg O=/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64 modules
  Using /tmp/xen-4.1.1/linux-2.6.18-xen.hg as source for kernel
  GEN     /tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  Building modules, stage 2.
  MODPOST
make[3]: Leaving directory `/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
select-linux-arch: x86_64
make[3]: Entering directory `/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
make -C /tmp/xen-4.1.1/linux-2.6.18-xen.hg O=/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64 modules_install
  INSTALL crypto/crc32c.ko
  INSTALL crypto/des.ko
  INSTALL crypto/md5.ko
  INSTALL crypto/sha1.ko
  INSTALL drivers/acpi/ac.ko
  INSTALL drivers/acpi/asus_acpi.ko
  INSTALL drivers/acpi/battery.ko
  INSTALL drivers/acpi/button.ko
  INSTALL drivers/acpi/container.ko
  INSTALL drivers/acpi/dock.ko
  INSTALL drivers/acpi/fan.ko
  INSTALL drivers/acpi/hotkey.ko
  INSTALL drivers/acpi/ibm_acpi.ko
  INSTALL drivers/acpi/processor.ko
  INSTALL drivers/acpi/thermal.ko
  INSTALL drivers/acpi/toshiba_acpi.ko
  INSTALL drivers/acpi/video.ko
  INSTALL drivers/char/agp/agpgart.ko
  INSTALL drivers/char/agp/intel-agp.ko
  INSTALL drivers/char/agp/sis-agp.ko
  INSTALL drivers/char/agp/via-agp.ko
  INSTALL drivers/char/drm/drm.ko
  INSTALL drivers/char/drm/i810.ko
  INSTALL drivers/char/drm/i830.ko
  INSTALL drivers/char/drm/i915.ko
  INSTALL drivers/char/drm/mga.ko
  INSTALL drivers/char/drm/r128.ko
  INSTALL drivers/char/drm/radeon.ko
  INSTALL drivers/char/drm/sis.ko
  INSTALL drivers/char/drm/tdfx.ko
  INSTALL drivers/net/imq.ko
  INSTALL drivers/rtc/rtc-cmos.ko
  INSTALL drivers/rtc/rtc-core.ko
  INSTALL drivers/rtc/rtc-dev.ko
  INSTALL drivers/rtc/rtc-lib.ko
  INSTALL drivers/rtc/rtc-m48t86.ko
  INSTALL drivers/rtc/rtc-proc.ko
  INSTALL drivers/rtc/rtc-sysfs.ko
  INSTALL drivers/rtc/rtc-test.ko
  INSTALL drivers/xen/scsifront/xenscsi.ko
  INSTALL fs/exportfs/exportfs.ko
  INSTALL fs/fat/fat.ko
  INSTALL fs/msdos/msdos.ko
  INSTALL fs/nfsd/nfsd.ko
  INSTALL fs/vfat/vfat.ko
  INSTALL net/ipv4/netfilter/ip_conntrack.ko
  INSTALL net/ipv4/netfilter/ip_conntrack_ftp.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /tmp/xen-4.1.1/dist/install -r 2.6.18.8-xen0; fi
make[3]: Leaving directory `/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
make -C build-linux-2.6.18-xen0_x86_64 ARCH=$(sh buildconfigs/select-linux-arch linux-2.6.18-xen.hg) INSTALL_PATH=/tmp/xen-4.1.1/dist/install vmlinuz
select-linux-arch: x86_64
make[3]: Entering directory `/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
make -C /tmp/xen-4.1.1/linux-2.6.18-xen.hg O=/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64 vmlinuz
  Using /tmp/xen-4.1.1/linux-2.6.18-xen.hg as source for kernel
  GEN     /tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
dnsdomainname: Name or service not known
  GEN     usr/initramfs_data.cpio.gz
  AS      usr/initramfs_data.o
  LD      usr/built-in.o
  GEN     .version
  CHK     include/linux/compile.h
dnsdomainname: Name or service not known
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
kernel/built-in.o: In function `.text.lock.mutex':
mutex.c:(.sched.text+0x1a45): undefined reference to `__mutex_lock_slowpath'
mutex.c:(.sched.text+0x1a4f): undefined reference to `__mutex_unlock_slowpath'
make[5]: *** [.tmp_vmlinux1] Error 1
make[4]: *** [vmlinuz] Error 2
make[3]: *** [vmlinuz] Error 2
make[3]: Leaving directory `/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/tmp/xen-4.1.1'
make[1]: *** [linux-2.6-xen0-install] Error 2
make[1]: Leaving directory `/tmp/xen-4.1.1'
make: *** [install-kernels] Error 1

===================
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Fedora 15 Xen Kernel Make w/Mutex Errors, Michael J. Fuhrman <=