Re: Correct location for bug report: KVM domain hangs after loading initrd with Xenomai kernel

2012-02-15 Thread Avi Kivity
On 02/15/2012 06:46 PM, Avi Kivity wrote:
> On 02/15/2012 06:40 PM, madengineer10 wrote:
> > I'm not sure if this bug is located in userspace or in the kernel.
> > Could you let me know where to file it?
> >
> > Bug:
> > Attempting to boot a 32 bit Debian guest with a Xenomai kernel inside
> > KVM causes it to hang and spin (using 1 full CPU core) after loading
> > the initrd, as determined by serial console output. The only error
> > message is "KVM internal error. Suberror: 1"/"emulation failure".
> > Booting a regular Debian kernel succeeds, as does running the Xenomai
> > kernel with software emulation (-no-kvm).
> >
> >
>
> Please issue the following commands on the qemu monitor:
>
>   (qemu) info registers
>   (qemu) x/30i $eip
>
> and report.
>

Oh, and wrt your original question, it's likely a kvm bug, please report
in bugzilla.kernel.org.

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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Correct location for bug report: KVM domain hangs after loading initrd with Xenomai kernel

2012-02-15 Thread Avi Kivity
On 02/15/2012 06:40 PM, madengineer10 wrote:
> I'm not sure if this bug is located in userspace or in the kernel.
> Could you let me know where to file it?
>
> Bug:
> Attempting to boot a 32 bit Debian guest with a Xenomai kernel inside
> KVM causes it to hang and spin (using 1 full CPU core) after loading
> the initrd, as determined by serial console output. The only error
> message is "KVM internal error. Suberror: 1"/"emulation failure".
> Booting a regular Debian kernel succeeds, as does running the Xenomai
> kernel with software emulation (-no-kvm).
>
>

Please issue the following commands on the qemu monitor:

  (qemu) info registers
  (qemu) x/30i $eip

and report.

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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Correct location for bug report: KVM domain hangs after loading initrd with Xenomai kernel

2012-02-15 Thread madengineer10
I'm not sure if this bug is located in userspace or in the kernel.
Could you let me know where to file it?

Bug:
Attempting to boot a 32 bit Debian guest with a Xenomai kernel inside
KVM causes it to hang and spin (using 1 full CPU core) after loading
the initrd, as determined by serial console output. The only error
message is "KVM internal error. Suberror: 1"/"emulation failure".
Booting a regular Debian kernel succeeds, as does running the Xenomai
kernel with software emulation (-no-kvm).

Info:
CPU: Intel Core i7-2670QM
Emulator: qemu-kvm 0.14.1
Host kernel: 3.0.0-15 (Ubuntu build), x86_64
Guest OS: Debian Squeeze, kernel.org 2.6.37 kernel with Xenomai 2.6.0
(config attached)
Qemu command: kvm -M pc-0.14 -enable-kvm -m 1024 -drive
file=/var/lib/libvirt/images/eve.img,if=none,id=drive-ide0-0-0,format=raw
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0
-netdev tap,fd=21,id=hostnet0 -device
e1000,netdev=hostnet0,id=net0,mac=52:54:00:b5:f4:00,bus=pci.0,addr=0x3
-chardev stdio,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -usb -device
usb-tablet,id=input0 -vga cirrus
Effects of flags: Adding one or both of --no-kvm-irqchip or
--no-kvm-pit has no apparent effect. Adding --no-kvm appears to
correct the problem.

Trace will be attached to the final bug submission.

Thanks,
    --Doug Brunner
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html