On 05/28/2012 01:41 PM, Stephan Kulow wrote:
Am 25.05.2012 23:18, schrieb Larry Finger:
Coolo,
I can now report that the Gnome Live CD also builds and boots.
Both KDE and Gnome both will boot from a USB stick written with imagewriter; however, both fail when booted using the iso with qemu-kvm. At the point of failure, /var/lob/kiwi.boot shows the following:
===========================================================================
+ echo /dev/ram1 + return + ramOnly=1 + '[' 1 = 1 ']' ++ cat /proc/meminfo ++ cut -f1 -dk ++ grep MemFree ++ cut -f2 -d: + haveKByte=' 405108 ' ++ expr 405108 / 1024
What you don't see in the log: expr is crashing here. The rest are just follow up errors
===========================================================================
At first, I thought the differences might be that the USB boot had used the swap partition on the real disk; however, when I boot using a VirtualBox VM and the iso file, it works whether the attached vdi has a swap partition or not. The problem is not due to too little memory in the qemu-kvm VM. It fails with the "-m 512" option. I think that should be enough.
USB follows another route in the kiwi code, that doesn't use expr. We have to find out why expr is crashing in kvm ;(
A little more info. All four flavors (KDE/Gnome, i686/x86_64) of the Build 0386 images boot correctly in a VirtualBox VM. I have not tested CD boots, or imagewriter boots from a USB sticks, but I expect them to work. The i686 varieties will boot under qemu-kvm. It is only the 64-bit images that get the expr aborts. All tests were run under a 64-bit version of 12.1. I did check, and the kvm shell can handle the divides and multiplies without crashing. Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org