All of lore.kernel.org
 help / color / mirror / Atom feed
* xen-in-kvm doesn't work with kvm-81.
@ 2008-12-17  6:16 Yiyi Hu
  2008-12-17 12:07 ` Avi Kivity
  2009-01-01 12:39 ` Avi Kivity
  0 siblings, 2 replies; 11+ messages in thread
From: Yiyi Hu @ 2008-12-17  6:16 UTC (permalink / raw)
  To: kvm

Host info:
hyy@Hs ~ $ uname -a
Linux Hs 2.6.27-gentoo-r6 #1 SMP Mon Dec 15 11:43:12 CST 2008 x86_64
AMD Athlon(tm) X2 Dual Core Processor BE-2350 AuthenticAMD GNU/Linux

KVM is version 81. Installed from portage.

The guest is 64bit debian lenny, Within guest, we install the xen system.
The xen-in-kvm won't boot fine after upgraded to kvm-81.

After testing, I found:
With kvm-81 userspace util and kernel modules bundled with kernel
2.6.27, xen-in-kvm boots fine..
If I try to use the kvm module bundled with kvm-81, The xen-in-kvm
doesn't boot, with guest screen messed up.

For the combination of both kernel modules and userspace utils are from kvm-81.
With either -no-kvm-irqchip or -no-kvm-pit option passed, xen-in-kvm boots fine.
With both -no-kvm-irqchip and -no-kvm-pit options passed, xen-in-kvm
also boots fine.
Though, We can see the screen messed up when the kernel boots. But the
mess up will be cleared by newer kernel messages.

The *problem* script used to start xen-in-kvm.

TAPNAME=tap0
sudo /usr/bin/tunctl -u hyy -t $TAPNAME
sudo /sbin/ifconfig $TAPNAME up
sudo /sbin/brctl addif br0 $TAPNAME
kvm -k en-us -m 2048 \
    -daemonize \
    -vnc localhost:5 \
    -hda lenny-xen.img \
        -net nic,model=rtl8139,macaddr=DE:AD:B3:EF:27:A8 \
    -net tap,script=no,ifname=$TAPNAME \
    -serial mon:telnet::3333,server,nowait \


Thanks.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: xen-in-kvm doesn't work with kvm-81.
  2008-12-17  6:16 xen-in-kvm doesn't work with kvm-81 Yiyi Hu
@ 2008-12-17 12:07 ` Avi Kivity
  2008-12-17 16:35   ` Yiyi Hu
  2008-12-17 16:43   ` Yiyi Hu
  2009-01-01 12:39 ` Avi Kivity
  1 sibling, 2 replies; 11+ messages in thread
From: Avi Kivity @ 2008-12-17 12:07 UTC (permalink / raw)
  To: Yiyi Hu; +Cc: kvm

Yiyi Hu wrote:
> Host info:
> hyy@Hs ~ $ uname -a
> Linux Hs 2.6.27-gentoo-r6 #1 SMP Mon Dec 15 11:43:12 CST 2008 x86_64
> AMD Athlon(tm) X2 Dual Core Processor BE-2350 AuthenticAMD GNU/Linux
>
> KVM is version 81. Installed from portage.
>
> The guest is 64bit debian lenny, Within guest, we install the xen system.
> The xen-in-kvm won't boot fine after upgraded to kvm-81.
>
> After testing, I found:
> With kvm-81 userspace util and kernel modules bundled with kernel
> 2.6.27, xen-in-kvm boots fine..
> If I try to use the kvm module bundled with kvm-81, The xen-in-kvm
> doesn't boot, with guest screen messed up.
>
> For the combination of both kernel modules and userspace utils are from kvm-81.
> With either -no-kvm-irqchip or -no-kvm-pit option passed, xen-in-kvm boots fine.
> With both -no-kvm-irqchip and -no-kvm-pit options passed, xen-in-kvm
> also boots fine.
> Though, We can see the screen messed up when the kernel boots. But the
> mess up will be cleared by newer kernel messages.
>
> The *problem* script used to start xen-in-kvm.
>
> TAPNAME=tap0
> sudo /usr/bin/tunctl -u hyy -t $TAPNAME
> sudo /sbin/ifconfig $TAPNAME up
> sudo /sbin/brctl addif br0 $TAPNAME
> kvm -k en-us -m 2048 \
>     -daemonize \
>     -vnc localhost:5 \
>     -hda lenny-xen.img \
>         -net nic,model=rtl8139,macaddr=DE:AD:B3:EF:27:A8 \
>     -net tap,script=no,ifname=$TAPNAME \
>     -serial mon:telnet::3333,server,nowait \
>   

What does the Xen serial console show?

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: xen-in-kvm doesn't work with kvm-81.
  2008-12-17 12:07 ` Avi Kivity
@ 2008-12-17 16:35   ` Yiyi Hu
  2008-12-17 16:43   ` Yiyi Hu
  1 sibling, 0 replies; 11+ messages in thread
From: Yiyi Hu @ 2008-12-17 16:35 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

The message from xen console through serial.

---------------------------------------------------------------------------------------------------
Connected to localhost.
Escape character is '^]'.
(XEN) Xen version 3.2-1 (Debian 3.2.1-2) (waldi@debian.org) (gcc
version 4.3.1 (Debian 4.3.1-2) ) Sat Jun 28 09:32:18 UTC 2008
(XEN) Command line: console=com1
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN) Disc information:
(XEN)  Found 1 MBR signatures
(XEN)  Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  000000000009fc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e8000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000007fff0000 (usable)
(XEN)  000000007fff0000 - 0000000080000000 (ACPI data)
(XEN)  00000000fffbd000 - 0000000100000000 (reserved)
(XEN) System RAM: 2047MB (2096700kB)
(XEN) Xen heap: 14MB (15008kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 6:2 APIC version 20
(XEN) IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2100.048 MHz processor.
(XEN) CPU0: AMD QEMU Virtual CPU version 0.9.1 stepping 03
(XEN) Total of 1 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) ..MP-BIOS bug: 8254 timer not connected to IO-APIC
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) IO-APIC + timer doesn't work!  Boot with apic=debug and send a
report.  Then try booting with the 'noapic'
option****************************************
(XEN)
(XEN) Reboot in five seconds...
---------------------------------------------------------------------------------------------------

After I see the log, I tried with:
    root (hd0,0)
    kernel /xen-3.2-1-amd64.gz noapic
    modules /vmlinuz-2.6.26-1-xen-amd64 ....
    modules /initrd.img-2.6.26-1-xen-amd64 ...

This configuration as grub config works fine.

When try to pass apic=debug  to "kernel /xen-3.2-1-amd64.gz", There is
no debug message shown.
If you needs other info. Let me know please. :-)

Xinming

On Wed, Dec 17, 2008 at 8:07 PM, Avi Kivity <avi@redhat.com> wrote:
> Yiyi Hu wrote:
>>
>> Host info:
>> hyy@Hs ~ $ uname -a
>> Linux Hs 2.6.27-gentoo-r6 #1 SMP Mon Dec 15 11:43:12 CST 2008 x86_64
>> AMD Athlon(tm) X2 Dual Core Processor BE-2350 AuthenticAMD GNU/Linux
>>
>> KVM is version 81. Installed from portage.
>>
>> The guest is 64bit debian lenny, Within guest, we install the xen system.
>> The xen-in-kvm won't boot fine after upgraded to kvm-81.
>>
>> After testing, I found:
>> With kvm-81 userspace util and kernel modules bundled with kernel
>> 2.6.27, xen-in-kvm boots fine..
>> If I try to use the kvm module bundled with kvm-81, The xen-in-kvm
>> doesn't boot, with guest screen messed up.
>>
>> For the combination of both kernel modules and userspace utils are from
>> kvm-81.
>> With either -no-kvm-irqchip or -no-kvm-pit option passed, xen-in-kvm boots
>> fine.
>> With both -no-kvm-irqchip and -no-kvm-pit options passed, xen-in-kvm
>> also boots fine.
>> Though, We can see the screen messed up when the kernel boots. But the
>> mess up will be cleared by newer kernel messages.
>>
>> The *problem* script used to start xen-in-kvm.
>>
>> TAPNAME=tap0
>> sudo /usr/bin/tunctl -u hyy -t $TAPNAME
>> sudo /sbin/ifconfig $TAPNAME up
>> sudo /sbin/brctl addif br0 $TAPNAME
>> kvm -k en-us -m 2048 \
>>    -daemonize \
>>    -vnc localhost:5 \
>>    -hda lenny-xen.img \
>>        -net nic,model=rtl8139,macaddr=DE:AD:B3:EF:27:A8 \
>>    -net tap,script=no,ifname=$TAPNAME \
>>    -serial mon:telnet::3333,server,nowait \
>>
>
> What does the Xen serial console show?
>
> --
> error compiling committee.c: too many arguments to function
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: xen-in-kvm doesn't work with kvm-81.
  2008-12-17 12:07 ` Avi Kivity
  2008-12-17 16:35   ` Yiyi Hu
@ 2008-12-17 16:43   ` Yiyi Hu
  1 sibling, 0 replies; 11+ messages in thread
From: Yiyi Hu @ 2008-12-17 16:43 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

Sorry to post again, As I see the email I posted is "[Empty message]"
in mailling list.

The message from xen console through serial.

---------------------------------------------------------------------------------------------------
Connected to localhost.
Escape character is '^]'.
(XEN) Xen version 3.2-1 (Debian 3.2.1-2) (waldi@debian.org) (gcc
version 4.3.1 (Debian 4.3.1-2) ) Sat Jun 28 09:32:18 UTC 2008
(XEN) Command line: console=com1
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN) Disc information:
(XEN)  Found 1 MBR signatures
(XEN)  Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  000000000009fc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e8000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000007fff0000 (usable)
(XEN)  000000007fff0000 - 0000000080000000 (ACPI data)
(XEN)  00000000fffbd000 - 0000000100000000 (reserved)
(XEN) System RAM: 2047MB (2096700kB)
(XEN) Xen heap: 14MB (15008kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 6:2 APIC version 20
(XEN) IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2100.048 MHz processor.
(XEN) CPU0: AMD QEMU Virtual CPU version 0.9.1 stepping 03
(XEN) Total of 1 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) ..MP-BIOS bug: 8254 timer not connected to IO-APIC
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) IO-APIC + timer doesn't work!  Boot with apic=debug and send a
report.  Then try booting with the 'noapic'
option****************************************
(XEN)
(XEN) Reboot in five seconds...
---------------------------------------------------------------------------------------------------

After I see the log, I tried with:
   root (hd0,0)
   kernel /xen-3.2-1-amd64.gz noapic
   modules /vmlinuz-2.6.26-1-xen-amd64 ....
   modules /initrd.img-2.6.26-1-xen-amd64 ...

This configuration as grub config works fine.

When try to pass apic=debug  to "kernel /xen-3.2-1-amd64.gz", There is
no debug message shown.
If you needs other info. Let me know please. :-)

Xinming

On Wed, Dec 17, 2008 at 8:07 PM, Avi Kivity <avi@redhat.com> wrote:
> Yiyi Hu wrote:
>>
>> Host info:
>> hyy@Hs ~ $ uname -a
>> Linux Hs 2.6.27-gentoo-r6 #1 SMP Mon Dec 15 11:43:12 CST 2008 x86_64
>> AMD Athlon(tm) X2 Dual Core Processor BE-2350 AuthenticAMD GNU/Linux
>>
>> KVM is version 81. Installed from portage.
>>
>> The guest is 64bit debian lenny, Within guest, we install the xen system.
>> The xen-in-kvm won't boot fine after upgraded to kvm-81.
>>
>> After testing, I found:
>> With kvm-81 userspace util and kernel modules bundled with kernel
>> 2.6.27, xen-in-kvm boots fine..
>> If I try to use the kvm module bundled with kvm-81, The xen-in-kvm
>> doesn't boot, with guest screen messed up.
>>
>> For the combination of both kernel modules and userspace utils are from
>> kvm-81.
>> With either -no-kvm-irqchip or -no-kvm-pit option passed, xen-in-kvm boots
>> fine.
>> With both -no-kvm-irqchip and -no-kvm-pit options passed, xen-in-kvm
>> also boots fine.
>> Though, We can see the screen messed up when the kernel boots. But the
>> mess up will be cleared by newer kernel messages.
>>
>> The *problem* script used to start xen-in-kvm.
>>
>> TAPNAME=tap0
>> sudo /usr/bin/tunctl -u hyy -t $TAPNAME
>> sudo /sbin/ifconfig $TAPNAME up
>> sudo /sbin/brctl addif br0 $TAPNAME
>> kvm -k en-us -m 2048 \
>>    -daemonize \
>>    -vnc localhost:5 \
>>    -hda lenny-xen.img \
>>        -net nic,model=rtl8139,macaddr=DE:AD:B3:EF:27:A8 \
>>    -net tap,script=no,ifname=$TAPNAME \
>>    -serial mon:telnet::3333,server,nowait \
>>
>
> What does the Xen serial console show?
>
> --
> error compiling committee.c: too many arguments to function
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: xen-in-kvm doesn't work with kvm-81.
  2008-12-17  6:16 xen-in-kvm doesn't work with kvm-81 Yiyi Hu
  2008-12-17 12:07 ` Avi Kivity
@ 2009-01-01 12:39 ` Avi Kivity
  2009-01-04 13:18   ` Avi Kivity
  1 sibling, 1 reply; 11+ messages in thread
From: Avi Kivity @ 2009-01-01 12:39 UTC (permalink / raw)
  To: Yiyi Hu; +Cc: kvm

Yiyi Hu wrote:
> Host info:
> hyy@Hs ~ $ uname -a
> Linux Hs 2.6.27-gentoo-r6 #1 SMP Mon Dec 15 11:43:12 CST 2008 x86_64
> AMD Athlon(tm) X2 Dual Core Processor BE-2350 AuthenticAMD GNU/Linux
>
> KVM is version 81. Installed from portage.
>
> The guest is 64bit debian lenny, Within guest, we install the xen system.
> The xen-in-kvm won't boot fine after upgraded to kvm-81.
>   

Can you find the last version of kvm that worked? that will speed up 
isolating the problem.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: xen-in-kvm doesn't work with kvm-81.
  2009-01-01 12:39 ` Avi Kivity
@ 2009-01-04 13:18   ` Avi Kivity
  2010-03-05 19:46     ` pille
  0 siblings, 1 reply; 11+ messages in thread
From: Avi Kivity @ 2009-01-04 13:18 UTC (permalink / raw)
  To: Yiyi Hu; +Cc: kvm

Avi Kivity wrote:
> Yiyi Hu wrote:
>> Host info:
>> hyy@Hs ~ $ uname -a
>> Linux Hs 2.6.27-gentoo-r6 #1 SMP Mon Dec 15 11:43:12 CST 2008 x86_64
>> AMD Athlon(tm) X2 Dual Core Processor BE-2350 AuthenticAMD GNU/Linux
>>
>> KVM is version 81. Installed from portage.
>>
>> The guest is 64bit debian lenny, Within guest, we install the xen 
>> system.
>> The xen-in-kvm won't boot fine after upgraded to kvm-81.
>>   
>
> Can you find the last version of kvm that worked? that will speed up 
> isolating the problem.
>

It seems to work with -no-kvm-pit-reinjection.


-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: xen-in-kvm doesn't work with kvm-81.
  2009-01-04 13:18   ` Avi Kivity
@ 2010-03-05 19:46     ` pille
  2010-03-05 19:54       ` Alexander Graf
  0 siblings, 1 reply; 11+ messages in thread
From: pille @ 2010-03-05 19:46 UTC (permalink / raw)
  To: kvm

> It seems to work with -no-kvm-pit-reinjection.

here -no-kvm-pit helped to solve the problem above.
however - when it boots the dom0 (debian lenny standard), it reboots at a
certain point. any ideas?

cheers
  pille

the serial console output follows:

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.26-2-xen-686 (Debian 2.6.26-21lenny3)
 (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25))
 #1 SMP Wed Feb 10 11:28:19 UTC 2010
[    0.000000] Reserving virtual address space above 0xf5800000
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 00000000f5af0000 (usable)
[    0.000000] 3202MB HIGHMEM available.
[    0.000000] 728MB LOWMEM available.
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   186368
[    0.000000]   HighMem    186368 ->  1006320
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->  1006320
[    0.000000] found SMP MP-table at [f5651c90] 000fbc90
[    0.000000] DMI 2.4 present.
[    0.000000] ACPI: RSDP 000FBDE0, 0014 (r0 QEMU  )
[    0.000000] ACPI: RSDT DFFF0000, 0034 (r1 QEMU   QEMURSDT        1 
QEMU        1)
[    0.000000] ACPI: FACP DFFF01B4, 0074 (r1 QEMU   QEMUFACP        1 
QEMU        1)
[    0.000000] ACPI: DSDT DFFF0280, 1DD4 (r1   BXPC   BXDSDT        1 INTL 
20061109)
[    0.000000] ACPI: FACS DFFF0240, 0040
[    0.000000] ACPI: SSDT DFFF2054, 09E3 (r1   BXPC   BXSSDT        1 INTL 
20061109)
[    0.000000] ACPI: APIC DFFF2A38, 00EA (r1 QEMU   QEMUAPIC        1 
QEMU        1)
[    0.000000] ACPI: HPET DFFF2B90, 0038 (r1 QEMU   QEMUHPET        1 
QEMU        1)
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x04] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x05] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x06] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x07] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x08] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x09] lapic_id[0x09] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x0a] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x0b] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x0c] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x0d] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x0e] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0f] lapic_id[0x0f] disabled)
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] Allocating PCI resources starting at e2000000 (gap:
 e0000000:1ffbc000)
[    0.000000] PERCPU: Allocating 28552 bytes of per cpu data
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total
 pages: 998458
[    0.000000] Kernel command line: root=/dev/vda1 ro console=ttyS0,115200
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[    0.000000] Xen reported: 2666.772 MHz processor.
[    0.004000] Console: colour VGA+ 80x25
[    0.004000] console [ttyS0] enabled
[    0.004000] console [hvc-1] enabled
[    0.004000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.004000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.004000] Software IO TLB enabled: 
[    0.004000]  Aperture:     64 megabytes
[    0.004000]  Kernel range: c3ae2000 - c7ae2000
[    0.004000]  Address size: 27 bits
[    0.004000] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.004000] Memory: 3893076k/4025280k available (1845k kernel code, 123188k
 reserved, 740k data, 196k init, 3279808k highmem)
[    0.004000] virtual kernel memory layout:
[    0.004000]     fixmap  : 0xf5555000 - 0xf57ff000   (2728 kB)
[    0.004000]     pkmap   : 0xf5000000 - 0xf5200000   (2048 kB)
[    0.004000]     vmalloc : 0xee000000 - 0xf4ffe000   ( 111 MB)
[    0.004000]     lowmem  : 0xc0000000 - 0xed800000   ( 728 MB)
[    0.004000]       .init : 0xc038f000 - 0xc03c0000   ( 196 kB)
[    0.004000]       .data : 0xc02cd663 - 0xc03868a0   ( 740 kB)
[    0.004000]       .text : 0xc0100000 - 0xc02cd663   (1845 kB)
[    0.004000] Checking if this processor honours the WP bit even in supervisor
 mode...Ok.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: xen-in-kvm doesn't work with kvm-81.
  2010-03-05 19:46     ` pille
@ 2010-03-05 19:54       ` Alexander Graf
  2010-03-05 20:06         ` pille
  0 siblings, 1 reply; 11+ messages in thread
From: Alexander Graf @ 2010-03-05 19:54 UTC (permalink / raw)
  To: pille; +Cc: kvm


On 05.03.2010, at 20:46, pille wrote:

>> It seems to work with -no-kvm-pit-reinjection.
> 
> here -no-kvm-pit helped to solve the problem above.
> however - when it boots the dom0 (debian lenny standard), it reboots at a
> certain point. any ideas?

I guess you're not using nested paging and an old version of xen that incorrectly modifies its own page tables while actively using them.


Alex

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: xen-in-kvm doesn't work with kvm-81.
  2010-03-05 19:54       ` Alexander Graf
@ 2010-03-05 20:06         ` pille
  2010-03-05 20:08           ` Alexander Graf
  2010-03-07  8:42           ` Avi Kivity
  0 siblings, 2 replies; 11+ messages in thread
From: pille @ 2010-03-05 20:06 UTC (permalink / raw)
  To: Alexander Graf; +Cc: kvm

> I guess you're not using nested paging and an old version of xen that incorrectly modifies its own page tables while actively using them.

is nested paging needed? i guess my cpu (intel xeon) doesn't provide 
that feature.

i'm using xen-3.2.1. can you define 'old'?
i can retry xen-3.4 tomorrow.

thanks for your hint
   pille

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: xen-in-kvm doesn't work with kvm-81.
  2010-03-05 20:06         ` pille
@ 2010-03-05 20:08           ` Alexander Graf
  2010-03-07  8:42           ` Avi Kivity
  1 sibling, 0 replies; 11+ messages in thread
From: Alexander Graf @ 2010-03-05 20:08 UTC (permalink / raw)
  To: pille; +Cc: kvm


On 05.03.2010, at 21:06, pille wrote:

>> I guess you're not using nested paging and an old version of xen that incorrectly modifies its own page tables while actively using them.
> 
> is nested paging needed? i guess my cpu (intel xeon) doesn't provide that feature.

It would be called "ept" there. You should be able to see the feature in /proc/cpuinfo - at least on recent kernels (read: 2.6.33).

> i'm using xen-3.2.1. can you define 'old'?

I remember having had a similar issue. I told our Xen team about it and they fixed it upstream and in a maintenance update for SLES11 Xen, so I'm sure that one works. No idea which upstream version has it.


Alex

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: xen-in-kvm doesn't work with kvm-81.
  2010-03-05 20:06         ` pille
  2010-03-05 20:08           ` Alexander Graf
@ 2010-03-07  8:42           ` Avi Kivity
  1 sibling, 0 replies; 11+ messages in thread
From: Avi Kivity @ 2010-03-07  8:42 UTC (permalink / raw)
  To: pille; +Cc: Alexander Graf, kvm

On 03/05/2010 10:06 PM, pille wrote:
>> I guess you're not using nested paging and an old version of xen that 
>> incorrectly modifies its own page tables while actively using them.
>
> is nested paging needed? i guess my cpu (intel xeon) doesn't provide 
> that feature.
>

It is not needed, but if you have nested paging then the bug will not 
hit you.

IOW, either nested paging or a new Xen will make the problem go away.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-03-07  8:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-17  6:16 xen-in-kvm doesn't work with kvm-81 Yiyi Hu
2008-12-17 12:07 ` Avi Kivity
2008-12-17 16:35   ` Yiyi Hu
2008-12-17 16:43   ` Yiyi Hu
2009-01-01 12:39 ` Avi Kivity
2009-01-04 13:18   ` Avi Kivity
2010-03-05 19:46     ` pille
2010-03-05 19:54       ` Alexander Graf
2010-03-05 20:06         ` pille
2010-03-05 20:08           ` Alexander Graf
2010-03-07  8:42           ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.