[opensuse-buildservice] qemu-kvm for armv6 workers

Hi, we are trying to use qemu-kvm for ARMv6 workers in a private instance, but we get erros. See: ******************************************************************************** [ 0s] Using BUILD_ROOT=/var/cache/obs/worker//root_1/.mount [ 0s] Using BUILD_ARCH=armv6l [ 0s] Doing kvm build in /var/cache/obs/worker//root_1/root [ 0s] [ 0s] [ 0s] swkj11.site started "build mythweb-0_26.spec" at Fri Jan 17 14:36:04 UTC 2014. [ 0s] [ 0s] Building mythweb-0_26 for project 'Multimedia' repository 'openSUSE_Factory_ARM' arch 'armv6l' srcmd5 'c3eaffbb6465680265cc70192ea13458' [ 0s] [ 0s] processing specfile /var/cache/obs/worker//root_1/.build-srcdir/mythweb-0_26.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/obs/worker//root_1/.build-srcdir/mythweb-0_26.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/1/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /var/cache/obs/worker//root_1/.build.rpmlist /var/cache/obs/worker//root_1/.build-srcdir/mythweb-0_26.spec build rpmlint-Factory ... [ 0s] registering binfmt handlers for VM [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 41: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 44: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 45: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 48: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 51: echo: write error: Invalid argument [ 0s] Please check cpu value and header information for m68k! [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 55: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 59: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 60: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 61: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 62: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 63: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 64: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 67: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 68: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 71: echo: write error: Invalid argument [ 1s] [1/30] preinstalling filesystem... [ 1s] [2/30] preinstalling glibc... [ 1s] [3/30] preinstalling fillup... [ 1s] [4/30] preinstalling libattr1... [ 1s] [5/30] preinstalling libbz2-1... [ 1s] [6/30] preinstalling libelf1... [ 1s] [7/30] preinstalling libgcc_s1... [ 1s] [8/30] preinstalling liblua5_1... [ 1s] [9/30] preinstalling liblzma5... [ 1s] [10/30] preinstalling libpcre1... [ 1s] [11/30] preinstalling libpopt0... [ 1s] [12/30] preinstalling libz1... [ 1s] [13/30] preinstalling attr... [ 1s] [14/30] preinstalling libacl1... [ 1s] [15/30] preinstalling libcap2... [ 1s] [16/30] preinstalling libncurses5... [ 1s] [17/30] preinstalling libselinux1... [ 1s] [18/30] preinstalling libreadline6... [ 1s] [19/30] preinstalling bash... [ 1s] [20/30] preinstalling qemu-linux-user... [ 2s] [21/30] preinstalling diffutils... [ 2s] [22/30] preinstalling m4... [ 2s] [23/30] preinstalling sed... [ 2s] [24/30] preinstalling tar... [ 2s] [25/30] preinstalling grep... [ 2s] [26/30] preinstalling coreutils... [ 2s] [27/30] preinstalling permissions... [ 2s] [28/30] preinstalling aaa_base... [ 2s] [29/30] preinstalling rpm... [ 2s] [30/30] preinstalling pam... [ 3s] [ 3s] [1/9] preinstalling kernel-obs-build... [ 4s] [2/9] preinstalling libdb-4_8... [ 4s] [3/9] preinstalling libsepol1... [ 4s] [4/9] preinstalling libuuid1... [ 4s] [5/9] preinstalling net-tools... [ 4s] [6/9] preinstalling perl-base... [ 4s] [7/9] preinstalling libblkid1... [ 4s] [8/9] preinstalling libmount1... [ 4s] [9/9] preinstalling util-linux... [ 4s] copying packages... [ 5s] reordering...cycle: libcrack2 -> cracklib [ 5s] breaking dependency libcrack2 -> cracklib [ 5s] done [ 5s] Warning: cross compile not possible due to missing static binaries. please install build-initvm package for that purpose. [ 5s] check that the right architecture is available for your build host, you need initvm.x86_64 for this one. [ 10s] booting kvm ... [ 10s] /usr/bin/qemu-kvm -no-reboot -nographic -vga none -net none -cpu host -mem-path /hugetlbfs -kernel /boot/vmlinuz -initrd /boot/initrd-3.7.10-1.24-desktop-obs_worker -append root=/dev/vda panic=1 quiet no-kvmclock nmi_watchdog=0 rw elevator=noop console=ttyS0 init=/.build/build -m 1897 -drive file=/var/cache/obs/worker//root_1/root,if=virtio,cache=none -drive file=/var/cache/obs/worker//root_1/root,if=ide,index=0,cache=none -drive file=/var/cache/obs/worker//root_1.swap,if=virtio,cache=none -smp 1 [ 10s] file_ram_alloc: can't mmap RAM pages: Cannot allocate memory [ 13s] doing fast boot [ 13s] FATAL: Module kqemu not found. [ 13s] FATAL: Module ext2 not found. [ 13s] FATAL: Module ext3 not found. [ 13s] Creating device nodes with udev [ 13s] Volume group "system" not found [ 13s] Volume group "system" not found [ 13s] Trying manual resume from /dev/system/swap [ 13s] resume device /dev/system/swap not found (ignoring) [ 13s] Trying manual resume from /dev/system/swap [ 13s] resume device /dev/system/swap not found (ignoring) [ 13s] Waiting for device /dev/vda to appear: ok [ 14s] fsck from util-linux 2.21.2 [ 14s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 14s] /dev/vda: clean, 3066/1024000 files, 118411/4096000 blocks [ 14s] fsck succeeded. Mounting root device read-write. [ 14s] Mounting root /dev/vda [ 14s] mount -o rw,acl,user_xattr -t ext4 /dev/vda /root [ 14s] replacing /etc/mtab with symlink to /proc/self/mounts [ 14s] init /.build/build is not systemd, terminate plymouth [ 14s] run-init: /.build/build: Exec format error [ 24s] [ 11.503712] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 24s] [ 11.503712] [ 24s] [ 11.504143] Pid: 1, comm: run-init Not tainted 3.7.10-1.24-desktop #1 [ 24s] [ 11.504143] Call Trace: [ 24s] [ 11.504143] [<ffffffff81004818>] dump_trace+0x88/0x300 [ 24s] [ 11.504143] [<ffffffff8158b443>] dump_stack+0x69/0x6f [ 24s] [ 11.504143] [<ffffffff8158cccf>] panic+0xc5/0x1d1 [ 24s] [ 11.504143] [<ffffffff8104b18b>] do_exit+0x87b/0x960 [ 24s] [ 11.504143] [<ffffffff8104b598>] do_group_exit+0x38/0xa0 [ 24s] [ 11.504143] [<ffffffff8104b612>] sys_exit_group+0x12/0x20 [ 24s] [ 11.504143] [<ffffffff8159efad>] system_call_fastpath+0x1a/0x1f [ 24s] [ 11.504143] [<00007f34d1df2569>] 0x7f34d1df2568 [ 25s] [ 11.504143] Rebooting in 1 seconds..No buildstatus set, either the base system is broken (glibc/bash/perl) [ 25s] or the build host has a kernel or hardware problem... ******************************************************************************** Could you tell us what are the requirements for qemu-kvm builds, please? Regards, Guillaume -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Ping. Nobody has a little idea? I can reproduce this error with a local build using 'osc build --vm-type=kvm ...' Guillaume Le 17/01/2014 15:41, Guillaume Gardet a écrit :
Hi,
we are trying to use qemu-kvm for ARMv6 workers in a private instance, but we get erros. See: ******************************************************************************** [ 0s] Using BUILD_ROOT=/var/cache/obs/worker//root_1/.mount [ 0s] Using BUILD_ARCH=armv6l [ 0s] Doing kvm build in /var/cache/obs/worker//root_1/root [ 0s] [ 0s] [ 0s] swkj11.site started "build mythweb-0_26.spec" at Fri Jan 17 14:36:04 UTC 2014. [ 0s] [ 0s] Building mythweb-0_26 for project 'Multimedia' repository 'openSUSE_Factory_ARM' arch 'armv6l' srcmd5 'c3eaffbb6465680265cc70192ea13458' [ 0s] [ 0s] processing specfile /var/cache/obs/worker//root_1/.build-srcdir/mythweb-0_26.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/obs/worker//root_1/.build-srcdir/mythweb-0_26.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/1/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /var/cache/obs/worker//root_1/.build.rpmlist /var/cache/obs/worker//root_1/.build-srcdir/mythweb-0_26.spec build rpmlint-Factory ... [ 0s] registering binfmt handlers for VM [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 41: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 44: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 45: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 48: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 51: echo: write error: Invalid argument [ 0s] Please check cpu value and header information for m68k! [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 55: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 59: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 60: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 61: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 62: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 63: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 64: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 67: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 68: echo: write error: Invalid argument [ 0s] /usr/sbin/qemu-binfmt-conf.sh: line 71: echo: write error: Invalid argument [ 1s] [1/30] preinstalling filesystem... [ 1s] [2/30] preinstalling glibc... [ 1s] [3/30] preinstalling fillup... [ 1s] [4/30] preinstalling libattr1... [ 1s] [5/30] preinstalling libbz2-1... [ 1s] [6/30] preinstalling libelf1... [ 1s] [7/30] preinstalling libgcc_s1... [ 1s] [8/30] preinstalling liblua5_1... [ 1s] [9/30] preinstalling liblzma5... [ 1s] [10/30] preinstalling libpcre1... [ 1s] [11/30] preinstalling libpopt0... [ 1s] [12/30] preinstalling libz1... [ 1s] [13/30] preinstalling attr... [ 1s] [14/30] preinstalling libacl1... [ 1s] [15/30] preinstalling libcap2... [ 1s] [16/30] preinstalling libncurses5... [ 1s] [17/30] preinstalling libselinux1... [ 1s] [18/30] preinstalling libreadline6... [ 1s] [19/30] preinstalling bash... [ 1s] [20/30] preinstalling qemu-linux-user... [ 2s] [21/30] preinstalling diffutils... [ 2s] [22/30] preinstalling m4... [ 2s] [23/30] preinstalling sed... [ 2s] [24/30] preinstalling tar... [ 2s] [25/30] preinstalling grep... [ 2s] [26/30] preinstalling coreutils... [ 2s] [27/30] preinstalling permissions... [ 2s] [28/30] preinstalling aaa_base... [ 2s] [29/30] preinstalling rpm... [ 2s] [30/30] preinstalling pam... [ 3s] [ 3s] [1/9] preinstalling kernel-obs-build... [ 4s] [2/9] preinstalling libdb-4_8... [ 4s] [3/9] preinstalling libsepol1... [ 4s] [4/9] preinstalling libuuid1... [ 4s] [5/9] preinstalling net-tools... [ 4s] [6/9] preinstalling perl-base... [ 4s] [7/9] preinstalling libblkid1... [ 4s] [8/9] preinstalling libmount1... [ 4s] [9/9] preinstalling util-linux... [ 4s] copying packages... [ 5s] reordering...cycle: libcrack2 -> cracklib [ 5s] breaking dependency libcrack2 -> cracklib [ 5s] done [ 5s] Warning: cross compile not possible due to missing static binaries. please install build-initvm package for that purpose. [ 5s] check that the right architecture is available for your build host, you need initvm.x86_64 for this one. [ 10s] booting kvm ... [ 10s] /usr/bin/qemu-kvm -no-reboot -nographic -vga none -net none -cpu host -mem-path /hugetlbfs -kernel /boot/vmlinuz -initrd /boot/initrd-3.7.10-1.24-desktop-obs_worker -append root=/dev/vda panic=1 quiet no-kvmclock nmi_watchdog=0 rw elevator=noop console=ttyS0 init=/.build/build -m 1897 -drive file=/var/cache/obs/worker//root_1/root,if=virtio,cache=none -drive file=/var/cache/obs/worker//root_1/root,if=ide,index=0,cache=none -drive file=/var/cache/obs/worker//root_1.swap,if=virtio,cache=none -smp 1 [ 10s] file_ram_alloc: can't mmap RAM pages: Cannot allocate memory [ 13s] doing fast boot [ 13s] FATAL: Module kqemu not found. [ 13s] FATAL: Module ext2 not found. [ 13s] FATAL: Module ext3 not found. [ 13s] Creating device nodes with udev [ 13s] Volume group "system" not found
[ 13s] Volume group "system" not found
[ 13s] Trying manual resume from /dev/system/swap
[ 13s] resume device /dev/system/swap not found (ignoring)
[ 13s] Trying manual resume from /dev/system/swap
[ 13s] resume device /dev/system/swap not found (ignoring)
[ 13s] Waiting for device /dev/vda to appear: ok
[ 14s] fsck from util-linux 2.21.2
[ 14s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda
[ 14s] /dev/vda: clean, 3066/1024000 files, 118411/4096000 blocks
[ 14s] fsck succeeded. Mounting root device read-write.
[ 14s] Mounting root /dev/vda
[ 14s] mount -o rw,acl,user_xattr -t ext4 /dev/vda /root
[ 14s] replacing /etc/mtab with symlink to /proc/self/mounts
[ 14s] init /.build/build is not systemd, terminate plymouth
[ 14s] run-init: /.build/build: Exec format error [ 24s] [ 11.503712] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 24s] [ 11.503712] [ 24s] [ 11.504143] Pid: 1, comm: run-init Not tainted 3.7.10-1.24-desktop #1 [ 24s] [ 11.504143] Call Trace: [ 24s] [ 11.504143] [<ffffffff81004818>] dump_trace+0x88/0x300 [ 24s] [ 11.504143] [<ffffffff8158b443>] dump_stack+0x69/0x6f [ 24s] [ 11.504143] [<ffffffff8158cccf>] panic+0xc5/0x1d1 [ 24s] [ 11.504143] [<ffffffff8104b18b>] do_exit+0x87b/0x960 [ 24s] [ 11.504143] [<ffffffff8104b598>] do_group_exit+0x38/0xa0 [ 24s] [ 11.504143] [<ffffffff8104b612>] sys_exit_group+0x12/0x20 [ 24s] [ 11.504143] [<ffffffff8159efad>] system_call_fastpath+0x1a/0x1f [ 24s] [ 11.504143] [<00007f34d1df2569>] 0x7f34d1df2568 [ 25s] [ 11.504143] Rebooting in 1 seconds..No buildstatus set, either the base system is broken (glibc/bash/perl) [ 25s] or the build host has a kernel or hardware problem... ********************************************************************************
Could you tell us what are the requirements for qemu-kvm builds, please?
Regards,
Guillaume
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (1)
-
Guillaume Gardet