On Tue, Feb 24, 2015 at 01:16:05PM +0100, Christoffer Dall wrote: > Hi Rich, > > On Tue, Feb 24, 2015 at 11:59:35AM +0000, Richard W.M. Jones wrote: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1194366 > > > > Has anyone seen this KVM error? Or have suggestions how to debug it > > further? > > > > kvm [2028]: load/store instruction decoding not implemented > > This typically means either (a) you're running an ancient 32-bit guest It's definitely not (a). > or (b) your icache/dcache is poluted and you're executing the wrong > instructions. I don't know how to tell if it's this. I debugged this further and it appears to happen in (guest) __copy_to_user. See: https://bugzilla.redhat.com/show_bug.cgi?id=1194366#c8 https://bugzilla.redhat.com/show_bug.cgi?id=1194366#c9 > > > > Qemu prints this before crashing: > > > > error: kvm run failed Function not implemented > > (followed by a register dump) > > > > It happens precisely when the guest loads the crc32-arm64.ko module. > > > > Both the guest and host kernel are 4.0.0-0.rc1.git0.1.fc23.aarch64 > > > Which hardware is this? Which distro/rootfs? APM Mustang A3, Fedora Rawhide. > Doing anything fancy like device passthrough etc.? Can you share your > QEMU cmdline? Sure it's: /usr/bin/qemu-system-aarch64 \ -global virtio-blk-device.scsi=off \ -nodefconfig \ -enable-fips \ -nodefaults \ -display none \ -M virt \ -S \ -s \ -cpu host \ -machine accel=kvm:tcg \ -m 768 \ -no-reboot \ -rtc driftfix=slew \ -global kvm-pit.lost_tick_policy=discard \ -drive if=pflash,format=raw,file=/usr/share/AAVMF/AAVMF_CODE.fd,readonly \ -drive if=pflash,format=raw,file=/tmp/libguestfsoDsxTU/AAVMF_VARS.fd.2 \ -kernel /var/tmp/.guestfs-1000/appliance.d/kernel \ -initrd /var/tmp/.guestfs-1000/appliance.d/initrd \ -device virtio-scsi-device,id=scsi \ -drive file=/tmp/libguestfsoDsxTU/scratch.1,cache=unsafe,format=raw,id=hd0,if=none \ -device scsi-hd,drive=hd0 \ -drive file=/var/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none \ -device scsi-hd,drive=appliance \ -device virtio-serial-device \ -serial stdio \ -chardev socket,path=/tmp/libguestfsoDsxTU/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -append 'panic=1 console=ttyAMA0 earlyprintk=pl011,0x9000000 ignore_loglevel efi-rtc=noprobe udevtimeout=6000 udev.event-timeout=6000 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color' Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm