Re: Live Migration of 32-bit Linux guest broken since 2.6.35-rc2

Peter Lieven
2010-06-08T12:49:23Z

Avi Kivity wrote:
> On 06/08/2010 02:31 PM, Avi Kivity wrote:
>> On 06/08/2010 02:29 PM, Avi Kivity wrote:
>>> On 06/08/2010 12:13 PM, Peter Lieven wrote:
>>>> sorry, the subject should read 2.6.35-rc2
>>>>
>>>> Peter Lieven wrote:
>>>>> Hi,
>>>>>
>>>>> I freshly installed kernel 2.6.35-rc2 using userspace qemu-kvm
>>>>> 0.12.4.
>>>>>
>>>>> When I live migrate a 32-bit opensuse-11.2 VM, the incoming VM shows
>>>>> the following error after the mem transfer has finished:
>>>>>
>>>>> kvm: unhandled exit 80000022
>>>>> kvm: kvm_run returned -22
>>>>>
>>>>> cmdline:
>>>>> /usr/bin/qemu-kvm-0.12.4 -net none -drive
>>>>> format=host_device,file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-e1861b105-4cb000e7e8c4bf3b-opensuse-11-2-i586,if=ide,boot=on,cache=none,aio=native
>>>>> -m 1024 -monitor tcp:0:4003,server,nowait -vnc :3 -name
>>>>> 'opensuse-11.2-i586' -boot order=dc,menu=on -k de -incoming
>>>>> tcp:172.21.55.20:5003 -pidfile /var/run/qemu/vm-154.pid
>>>>> -mem-path /hugepages -mem-prealloc -rtc base=utc -usb -usbdevice
>>>>> tablet -cpu qemu64,model_id='Intel(R) Xeon(R) CPU E5430
>>>>> @ 2.66GHz'
>>>>>
>>>>> Migrating the same VM worked with 2.6.34 kvm module.
>>>
>>>
>>> Please provide you host /proc/cpuinfo.
>>>
>>
>> Also, after migration fails, the output of 'info registers' in the
>> monitor.
>>
>
> And finally, perhaps you have NX disabled in the bios of one of the
> machines?
>
> What does 'dmesg | grep NX' show on both hosts?
>
nx was disabled on one of the nodes. i will retry the case later today
and send info register output.
what is the recommended value for nx (and why)?
and why was it working with 2.6.34 and is not with 2.6.35-rc2?

--
Mit freundlichen Grüßen/Kind Regards

Peter Lieven

..........................................................................................................

KAMP Netzwerkdienste GmbH
Vestische Str. 89-91 | 46117 Oberhausen
Tel: +49 (0) 208.89 402-50 | Fax: +49 (0) 208.89 402-40
mailto:pl@kamp.de | http://www.kamp.de

Geschäftsführer: Heiner Lante | Michael Lante
Amtsgericht Duisburg | HRB Nr. 12154
USt-Id-Nr.: DE 120607556

.........................................................................................................