[opensuse-arm] Building with kvm broken?
I tried building with osc --vm-type=kvm \ --alternative-project=openSUSE:Factory:ARM standard armv7l glibc.spec and this failed with: mount -o rw,acl,user_xattr -t ext4 /dev/sda /root replacing /etc/mtab with symlink to /proc/self/mounts mount: binfmt_misc, /proc/sys/fs/binfmt_misc: No such device /proc/sys/fs/binfmt_misc/register: write: fails test [ 4.352745] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 4.352747] [ 4.354297] Rebooting in 1 seconds..No buildstatus set, either the packager broke the base system (glibc/bash/perl) or the build host has a kernel or hardware problem, OBS server will retry... The buildroot was: /abuild/osc/buildroot_standard-armv7l/.mount I'm using the packages from openSUSE:Tools:Unstable. Any ideas what's wrong? Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 17.04.2012 19:39, schrieb Andreas Jaeger:
I tried building with osc --vm-type=kvm \ --alternative-project=openSUSE:Factory:ARM standard armv7l glibc.spec
and this failed with:
mount -o rw,acl,user_xattr -t ext4 /dev/sda /root replacing /etc/mtab with symlink to /proc/self/mounts mount: binfmt_misc, /proc/sys/fs/binfmt_misc: No such device /proc/sys/fs/binfmt_misc/register: write: fails test [ 4.352745] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 4.352747] [ 4.354297] Rebooting in 1 seconds..No buildstatus set, either the packager broke the base system (glibc/bash/perl) or the build host has a kernel or hardware problem, OBS server will retry...
The buildroot was: /abuild/osc/buildroot_standard-armv7l/.mount
I'm using the packages from openSUSE:Tools:Unstable. Any ideas what's wrong?
I assume that you're not on a virtualization-capable ARM system with patched KVM, so virtualizing an ARM system on x64 cannot possibly work. I tried --vm-type=qemu some time ago but it tried to boot the host kernel, which cannot work either. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 04/17/2012 09:37 PM, Andreas Färber wrote:
Am 17.04.2012 19:39, schrieb Andreas Jaeger:
I tried building with osc --vm-type=kvm \ --alternative-project=openSUSE:Factory:ARM standard armv7l glibc.spec
and this failed with:
mount -o rw,acl,user_xattr -t ext4 /dev/sda /root replacing /etc/mtab with symlink to /proc/self/mounts mount: binfmt_misc, /proc/sys/fs/binfmt_misc: No such device /proc/sys/fs/binfmt_misc/register: write: fails test [ 4.352745] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 4.352747] [ 4.354297] Rebooting in 1 seconds..No buildstatus set, either the packager broke the base system (glibc/bash/perl) or the build host has a kernel or hardware problem, OBS server will retry...
The buildroot was: /abuild/osc/buildroot_standard-armv7l/.mount
I'm using the packages from openSUSE:Tools:Unstable. Any ideas what's wrong?
I assume that you're not on a virtualization-capable ARM system with patched KVM, so virtualizing an ARM system on x64 cannot possibly work.
My hardware is x86-64. I assumed this was supposed to work but seems I misunderstood something.
I tried --vm-type=qemu some time ago but it tried to boot the host kernel, which cannot work either.
Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 17.04.2012, at 21:46, Andreas Jaeger wrote:
On 04/17/2012 09:37 PM, Andreas Färber wrote:
Am 17.04.2012 19:39, schrieb Andreas Jaeger:
I tried building with osc --vm-type=kvm \ --alternative-project=openSUSE:Factory:ARM standard armv7l glibc.spec
and this failed with:
mount -o rw,acl,user_xattr -t ext4 /dev/sda /root replacing /etc/mtab with symlink to /proc/self/mounts mount: binfmt_misc, /proc/sys/fs/binfmt_misc: No such device /proc/sys/fs/binfmt_misc/register: write: fails test [ 4.352745] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 4.352747] [ 4.354297] Rebooting in 1 seconds..No buildstatus set, either the packager broke the base system (glibc/bash/perl) or the build host has a kernel or hardware problem, OBS server will retry...
The buildroot was: /abuild/osc/buildroot_standard-armv7l/.mount
I'm using the packages from openSUSE:Tools:Unstable. Any ideas what's wrong?
I assume that you're not on a virtualization-capable ARM system with patched KVM, so virtualizing an ARM system on x64 cannot possibly work.
My hardware is x86-64. I assumed this was supposed to work but seems I misunderstood something.
It is supposed to work, but you seem to be missing the binfmt-misc modules in the initrd that the build script uses to spawn its VM:
mount: binfmt_misc, /proc/sys/fs/binfmt_misc: No such device
Try to add the binfmt_misc module to your kernel module list in /etc/sysconfig/kernel and run mkinitrd. Hopefully it works then :). Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Wednesday, April 18, 2012 00:53:31 Alexander Graf wrote:
On 17.04.2012, at 21:46, Andreas Jaeger wrote:
On 04/17/2012 09:37 PM, Andreas Färber wrote:
Am 17.04.2012 19:39, schrieb Andreas Jaeger:
I tried building with osc --vm-type=kvm \ --alternative-project=openSUSE:Factory:ARM standard armv7l glibc.spec
and this failed with:
mount -o rw,acl,user_xattr -t ext4 /dev/sda /root replacing /etc/mtab with symlink to /proc/self/mounts mount: binfmt_misc, /proc/sys/fs/binfmt_misc: No such device /proc/sys/fs/binfmt_misc/register: write: fails test [ 4.352745] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 4.352747] [ 4.354297] Rebooting in 1 seconds..No buildstatus set, either the packager broke the base system (glibc/bash/perl) or the build host has a kernel or hardware problem, OBS server will retry...
The buildroot was: /abuild/osc/buildroot_standard-armv7l/.mount
I'm using the packages from openSUSE:Tools:Unstable. Any ideas what's wrong?
I assume that you're not on a virtualization-capable ARM system with patched KVM, so virtualizing an ARM system on x64 cannot possibly work.
My hardware is x86-64. I assumed this was supposed to work but seems I misunderstood something.
It is supposed to work, but you seem to be missing the binfmt-misc modules in the initrd that the build script uses to spawn its VM:
mount: binfmt_misc, /proc/sys/fs/binfmt_misc: No such device
Try to add the binfmt_misc module to your kernel module list in /etc/sysconfig/kernel and run mkinitrd. Hopefully it works then :).
binfmt_misc is loaded and in use. It seems to work now, this is IMO a bug, it shouldn't need binfmt_misc in my own system, Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am Mittwoch, 18. April 2012, 10:17:02 schrieb Andreas Jaeger:
On Wednesday, April 18, 2012 00:53:31 Alexander Graf wrote:
On 17.04.2012, at 21:46, Andreas Jaeger wrote:
On 04/17/2012 09:37 PM, Andreas Färber wrote:
Am 17.04.2012 19:39, schrieb Andreas Jaeger:
I tried building with osc --vm-type=kvm \ --alternative-project=openSUSE:Factory:ARM standard armv7l glibc.spec
and this failed with:
mount -o rw,acl,user_xattr -t ext4 /dev/sda /root replacing /etc/mtab with symlink to /proc/self/mounts mount: binfmt_misc, /proc/sys/fs/binfmt_misc: No such device /proc/sys/fs/binfmt_misc/register: write: fails test [ 4.352745] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 4.352747] [ 4.354297] Rebooting in 1 seconds..No buildstatus set, either the packager broke the base system (glibc/bash/perl) or the build host has a kernel or hardware problem, OBS server will retry...
The buildroot was: /abuild/osc/buildroot_standard-armv7l/.mount
I'm using the packages from openSUSE:Tools:Unstable. Any ideas what's wrong?
I assume that you're not on a virtualization-capable ARM system with patched KVM, so virtualizing an ARM system on x64 cannot possibly work.
My hardware is x86-64. I assumed this was supposed to work but seems I misunderstood something.
It is supposed to work, but you seem to be missing the binfmt-misc modules in the initrd that the build script uses to spawn its VM:
mount: binfmt_misc, /proc/sys/fs/binfmt_misc: No such device
Try to add the binfmt_misc module to your kernel module list in /etc/sysconfig/kernel and run mkinitrd. Hopefully it works then :).
binfmt_misc is loaded and in use.
It seems to work now, this is IMO a bug, it shouldn't need binfmt_misc in my own system,
you need it at least in the initrd for the guest system, which is by default the same as in host system. (otherwise you won't be able to run arm binaries via qemu). -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
Alexander Graf
-
Andreas Färber
-
Andreas Jaeger