Re: 2.6.19-rc6-mm2

Avi Kivity
2006-11-29T05:18:25Z

Andrew Morton wrote:
> On Tue, 28 Nov 2006 19:24:45 -0500
> Thomas Tuttle <thinkinginbinary@gmail.com> wrote:
>
>
>> I've found a couple of bugs so far...
>>
>> 1. I did `modprobe kvm' and then tried running a version of the KVM Qemu
>> compiled for a different kernel. My mistake. But I got an oops:
>>
>> BUG: unable to handle kernel NULL pointer dereference at virtual address 00000008
>> Code: 14 0f 87 77 02 00 00 8b 0c b5 00 15 20 f9 85 c9 0f 84 68 02 00 00 89 ea 89 f8 ff d1 85 c0 0f 84 4c 02 00 00 89 f8 e8 31 e9 ff ff <65> a1 08 00 00 00 8b 40 04 8b 40 08 a8 04 0f 85 ae 02 00 00 e8
>> EIP: [<f91f9c3f>] kvm_vmx_return+0xef/0x4d0 [kvm] SS:ESP 0068:e5a4fd54
>>
>>

65 a1 08 00 00 00 mov %gs:0x8,%eax

kvm isn't restoring gs properly.

I'll look into it.

>> Oh, and I get a ton of these messages with kvm:
>>
>> rtc: lost some interrupts at 1024Hz.
>>
>
>

I'll look into these too, though I'm not sure where.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.