Re: Oops at boot - kernel 2.6.22.1

Avi Kivity
2007-07-24T05:12:55Z

Fix wrote:
>>> Host system: Linux
>>> Processor: Athlon64 X2 3600+
>>> Kernel: 2.6.22.1
>>> KVM version: 31
>>>
>>> Guest system: Linux
>>> Kernel: 2.6.22.1
>>>
>>> $ kvm -hda linux.img -boot c -m 256
>>>
>>> Host system freeze immediately after pressing <Enter> in
>>> LILO
>>>
>>> /var/log/messages:
>>>
>>> Jul 23 11:57:10 linux kernel: Unable to handle kernel NULL
>>> pointer dereference
>>> at 0000000000000000 RIP:
>>> Jul 23 11:57:13 linux kernel:
>>> [_end+136405197/2130576028]
>>>
>>> :kvm:x86_emulate_memop+0x16c1/0x3cb0
>>>
>> Oh, if you have CONFIG_SLUB enabled, then you need to use kvm-32.
>>
>
> No, I don't.
> The same situation with kvm-33.
> Here is .tar.bz2 with my bzImage, System.map and .config:
> http://depositfiles.com/en/files/1296145
> The following command causes hangup of my host system:
> $ kvm -hda [any image] -kernel bzImage-2.6.22.1-3 -boot c -m 256
>
> P.S.: with -no-kvm kernel boots fine
>
> P.P.S.: host and guest are 64-bit
>
>

Can you post the guest image (if it is free and has no private data)?

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