kvm-55 release
The cr3 reload optimization in kvm-54 killed Solaris, so here is a fix.
Changes from kvm-54:
- remove old hypercall driver (Anthony Liguori)
- disable dirty page logging for main memory (Izik Eidus)
- fix incorrect page count calculation for dirty logging (Izik Eidus)
- improve testsuite 'make clean' (Neo Jia)
- compile fix (Sheng Yang)
- reorganize x86 emulator main switch
- don't bypass mmu on pae cr3 reload if pdptrs changed
- fixes Solaris x86
- use common defines for EFER (Carlo Marcelo Arenas Belon)
- portability (Xiantao Zhang)
- fix kvm_init() error path (Xiantao Zhang)
- ia64 iosapic support (Xiantao Zhang)
Notes:
If you use the modules bundled with kvm-55, you can use any version
of Linux from 2.6.9 upwards.
If you use the modules bundled with Linux 2.6.20, you need to use
kvm-12.
If you use the modules bundled with Linux 2.6.21, you need to use
kvm-17.
Modules from Linux 2.6.22 and up will work with any kvm version from
kvm-22. Some features may only be available in newer releases.
For best performance, use Linux 2.6.23-rc2 or later as the host.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
A message that is not in the archive (sent off-list or not yet received): 47555ADD.1000304-atKUWr5tajBWk0Htik3J/[email protected]
Hi Avi,
I'm having a problem with "unifdef" target in the
kvm-userspace/kernel/Makefile:
cam@madhatter:~/src/KVM/kvm-userspace$ make -C kernel sync
LINUX=~/src/KVM/kvm
make: Entering directory `/home/cam/src/KVM/kvm-userspace/kernel'
rsync --exclude='*.mod.c' "/home/cam/src/KVM/kvm"/drivers/kvm/*.[ch] .
rsync "/home/cam/src/KVM/kvm"/include/linux/kvm.h \
"/home/cam/src/KVM/kvm"/include/linux/kvm_para.h \
include/linux
rsync "/home/cam/src/KVM/kvm"/include/asm-x86/kvm_para.h include/asm
rsync "/home/cam/src/KVM/kvm"/include/asm-x86/kvm.h include/asm
mv include/linux/kvm.h include/linux/kvm.h.orig && unifdef
-DCONFIG_X86 include/linux/kvm.h.orig > include/linux/kvm.h; (( $? <=
1 )) && rm include/linux/kvm.h.orig
/bin/sh: unifdef: not found
/bin/sh: cannot open =: No such file
/bin/sh: 127: not found
make: *** [sync] Error 127
make: Leaving directory `/home/cam/src/KVM/kvm-userspace/kernel'Thanks,
Cam
Quoted 30 lines · Avi Kivity
The cr3 reload optimization in kvm-54 killed Solaris, so here is a fix.
Changes from kvm-54:
- remove old hypercall driver (Anthony Liguori)
- disable dirty page logging for main memory (Izik Eidus)
- fix incorrect page count calculation for dirty logging (Izik Eidus)
- improve testsuite 'make clean' (Neo Jia)
- compile fix (Sheng Yang)
- reorganize x86 emulator main switch
- don't bypass mmu on pae cr3 reload if pdptrs changed
- fixes Solaris x86
- use common defines for EFER (Carlo Marcelo Arenas Belon)
- portability (Xiantao Zhang)
- fixkvm_init()error path (Xiantao Zhang)
- ia64 iosapic support (Xiantao Zhang)Notes:
If you use the modules bundled with kvm-55, you can use any version
of Linux from 2.6.9 upwards.
If you use the modules bundled with Linux 2.6.20, you need to use
kvm-12.
If you use the modules bundled with Linux 2.6.21, you need to use
kvm-17.
Modules from Linux 2.6.22 and up will work with any kvm version from
kvm-22. Some features may only be available in newer releases.
For best performance, use Linux 2.6.23-rc2 or later as the host.
Quoted 9 lines
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 15 lines · Cam Macdonell
Hi Avi,
I'm having a problem with "unifdef" target in the
kvm-userspace/kernel/Makefile:cam@madhatter:~/src/KVM/kvm-userspace$ make -C kernel sync LINUX=~/src/KVM/kvm make: Entering directory `/home/cam/src/KVM/kvm-userspace/kernel' rsync --exclude='*.mod.c' "/home/cam/src/KVM/kvm"/drivers/kvm/*.[ch] . rsync "/home/cam/src/KVM/kvm"/include/linux/kvm.h \ "/home/cam/src/KVM/kvm"/include/linux/kvm_para.h \ include/linux rsync "/home/cam/src/KVM/kvm"/include/asm-x86/kvm_para.h include/asm rsync "/home/cam/src/KVM/kvm"/include/asm-x86/kvm.h include/asm
Quoted 8 lines
mv include/linux/kvm.h include/linux/kvm.h.orig && unifdef -DCONFIG_X86 include/linux/kvm.h.orig > include/linux/kvm.h; (( $? <= 1 )) && rm include/linux/kvm.h.orig /bin/sh: unifdef: not found /bin/sh: cannot open =: No such file /bin/sh: 127: not found make: *** [sync] Error 127 make: Leaving directory `/home/cam/src/KVM/kvm-userspace/kernel'
I needed to install the unifdef binary (apt-get install unifdef) and then apply the attached patch to get make LINUX= sync working again.
Signature · 5 lines
Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh-r/[email protected]
kernel/Makefile +1 -1
@@ -18,7 +18,7 @@ hack = mv $1 $1.orig && \ | sed 's/\blapic\b/l_apic/g' > $1 && rm $1.orig unifdef = mv $1 $1.orig && \ - unifdef -DCONFIG_X86 $1.orig > $1; (( $$? <= 1 )) && rm $1.orig + unifdef -DCONFIG_X86 $1.orig > $1; [ $$? -le 1 ] && rm $1.orig all:: $(MAKE) -C $(KERNELDIR) M=`pwd` "$$@"
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
A message that is not in the archive (sent off-list or not yet received): 20071204205124.GJ10803-r/[email protected]
Quoted 24 lines · Ryan Harper
Quoted 14 lines · Cam Macdonell
Hi Avi,
I'm having a problem with "unifdef" target in the
kvm-userspace/kernel/Makefile:cam@madhatter:~/src/KVM/kvm-userspace$ make -C kernel sync LINUX=~/src/KVM/kvm make: Entering directory `/home/cam/src/KVM/kvm-userspace/kernel' rsync --exclude='*.mod.c' "/home/cam/src/KVM/kvm"/drivers/kvm/*.[ch] . rsync "/home/cam/src/KVM/kvm"/include/linux/kvm.h \ "/home/cam/src/KVM/kvm"/include/linux/kvm_para.h \ include/linux rsync "/home/cam/src/KVM/kvm"/include/asm-x86/kvm_para.h include/asm rsync "/home/cam/src/KVM/kvm"/include/asm-x86/kvm.h include/asmQuoted 8 lines
mv include/linux/kvm.h include/linux/kvm.h.orig && unifdef -DCONFIG_X86 include/linux/kvm.h.orig > include/linux/kvm.h; (( $? <= 1 )) && rm include/linux/kvm.h.orig /bin/sh: unifdef: not found /bin/sh: cannot open =: No such file /bin/sh: 127: not found make: *** [sync] Error 127 make: Leaving directory `/home/cam/src/KVM/kvm-userspace/kernel'
Quoted 3 lines
I needed to install the unifdef binary (apt-get install unifdef) and then apply the attached patch to get make LINUX= sync working again.
Ah, I didn't realize that it's a program.
Thanks,
Cam
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
Quoted 26 lines · Ryan Harper
Quoted 14 lines · Cam Macdonell
Hi Avi,
I'm having a problem with "unifdef" target in the
kvm-userspace/kernel/Makefile:cam@madhatter:~/src/KVM/kvm-userspace$ make -C kernel sync LINUX=~/src/KVM/kvm make: Entering directory `/home/cam/src/KVM/kvm-userspace/kernel' rsync --exclude='*.mod.c' "/home/cam/src/KVM/kvm"/drivers/kvm/*.[ch] . rsync "/home/cam/src/KVM/kvm"/include/linux/kvm.h \ "/home/cam/src/KVM/kvm"/include/linux/kvm_para.h \ include/linux rsync "/home/cam/src/KVM/kvm"/include/asm-x86/kvm_para.h include/asm rsync "/home/cam/src/KVM/kvm"/include/asm-x86/kvm.h include/asmQuoted 9 lines
mv include/linux/kvm.h include/linux/kvm.h.orig && unifdef -DCONFIG_X86 include/linux/kvm.h.orig > include/linux/kvm.h; (( $? <= 1 )) && rm include/linux/kvm.h.orig /bin/sh: unifdef: not found /bin/sh: cannot open =: No such file /bin/sh: 127: not found make: *** [sync] Error 127 make: Leaving directory `/home/cam/src/KVM/kvm-userspace/kernel'
Quoted 4 lines
I needed to install the unifdef binary (apt-get install unifdef) and then apply the attached patch to get make LINUX= sync working again.
Oh, someone already posted this but I forgot. Anyway I applied this patch.
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
Hi Avi,
I'm having issues with kvm-55. Was running a winxp sp2 guest all day yesterday with no problems. Shut down the guest at the end of the day. Boot up guest this morning and was not able to get any network on the guest. Networking on host was working fine. Shut down the guest. Started it back up but guest hung on startup. The latest stable version in my experience has been release 51. I have had issues with later releases. Releases 54 and 55 have both had issues with networking for me. Thanks.
Host details
Linux localhost.localdomain 2.6.23.1-21.fc7 #1 SMP Thu Nov 1 20:28:15 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
output of /proc/cpuinfo
processor : 1vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
stepping : 10
cpu MHz : 800.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fpu : yesfpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm ida
bogomips : 4387.72
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Some output from guest hanging.
Message from syslogd@ at Wed Dec 5 06:41:08 2007 ... localhost kernel: Bad page state in process 'qemu-system-x86' Message from syslogd@ at Wed Dec 5 06:41:08 2007 ... localhost kernel: page:ffff8100022132a8 flags:0x0050080000000004
mapping:0000000000000000 mapcount:1 count:0 (Tainted: P )
Message from syslogd@ at Wed Dec 5 06:41:09 2007 ... localhost kernel: Trying to fix it up, but a reboot is needed Message from syslogd@ at Wed Dec 5 06:41:09 2007 ... localhost kernel: Backtrace:
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ... localhost kernel: Eeek! page_mapcount(page) went negative! (-1) Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
localhost kernel: page pfn = 529c3
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
localhost kernel: page->flags = 50080000080014
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
localhost kernel: page->count = 1
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
localhost kernel: page->mapping = 0000000000000000
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
localhost kernel: vma->vm_ops = 0x0
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ... localhost kernel: ------------[ cut here ]------------ Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
Haydn
Quoted 30 lines · Avi Kivity
The cr3 reload optimization in kvm-54 killed Solaris, so here is a fix.
Changes from kvm-54:
- remove old hypercall driver (Anthony Liguori)
- disable dirty page logging for main memory (Izik Eidus)
- fix incorrect page count calculation for dirty logging (Izik Eidus)
- improve testsuite 'make clean' (Neo Jia)
- compile fix (Sheng Yang)
- reorganize x86 emulator main switch
- don't bypass mmu on pae cr3 reload if pdptrs changed
- fixes Solaris x86
- use common defines for EFER (Carlo Marcelo Arenas Belon)
- portability (Xiantao Zhang)
- fixkvm_init()error path (Xiantao Zhang)
- ia64 iosapic support (Xiantao Zhang)Notes:
If you use the modules bundled with kvm-55, you can use any version
of Linux from 2.6.9 upwards.
If you use the modules bundled with Linux 2.6.20, you need to use
kvm-12.
If you use the modules bundled with Linux 2.6.21, you need to use
kvm-17.
Modules from Linux 2.6.22 and up will work with any kvm version from
kvm-22. Some features may only be available in newer releases.
For best performance, use Linux 2.6.23-rc2 or later as the host.
Quoted 10 lines
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
A message that is not in the archive (sent off-list or not yet received): b75785ba0712050358i71ad3e35vbc9365a100c6d472-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 22 lines · Haydn Solomon
Some output from guest hanging.
Message from syslogd@ at Wed Dec 5 06:41:08 2007 ... localhost kernel: Bad page state in process 'qemu-system-x86' Message from syslogd@ at Wed Dec 5 06:41:08 2007 ... localhost kernel: page:ffff8100022132a8 flags:0x0050080000000004
mapping:0000000000000000 mapcount:1 count:0 (Tainted: P )Message from syslogd@ at Wed Dec 5 06:41:09 2007 ... localhost kernel: Trying to fix it up, but a reboot is needed Message from syslogd@ at Wed Dec 5 06:41:09 2007 ... localhost kernel: Backtrace:
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ... localhost kernel: Eeek!page_mapcount(page)went negative! (-1) Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
localhost kernel: page pfn = 529c3
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
localhost kernel:page->flags= 50080000080014
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
Quoted 10 lines
localhost kernel:
page->count= 1
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
localhost kernel:page->mapping= 0000000000000000
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
localhost kernel:vma->vm_ops=0x0
Message from syslogd@ at Wed Dec 5 06:42:27 2007 ... localhost kernel: ------------[ cut here ]------------ Message from syslogd@ at Wed Dec 5 06:42:27 2007 ...
this is weird, i dont understand how you get page_mapcount to be negative (i would understand if _count would go to negative (not that i will like it :))
do you remember from witch version of kvm it started? (kvm-47 ???)
one more thing is that beside you i dont know anyone who get this kind of error,
is it ever happen to you when you dont use kvm?
is your guest image is something special?, can i some how do anything that will give me the same result on my host?
at lkml Dave Jones say that many of thease can be hardware problem (i would count more that it is kvm bug, but maybe it is worth trying memtest)
http://lkml.org/lkml/2007/10/16/295
but one big hint for me will be if you will be able to tell if the problem start right after kvm-47 and never before it.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4