Re: kvm-59 doesn't work II

Andi Kleen
2008-01-13T18:37:52Z

... and eventually it oopsed:

Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
[<ffffffff8822c833>] :kvm:x86_emulate_memop+0x2c62/0x4527
PGD 11c8ae067 PUD 0
Oops: 0002 [1] SMP
CPU 0
Modules linked in: xfrm_user xfrm4_tunnel af_key xfs kvm_intel kvm usblp deflate
zlib_deflate zlib_inflate twofish_x86_64 twofish_common des_generic md5 sha1_ge
neric tunnel4 ipcomp esp4 ah4 cifs sha256_generic serpent pppoe pppox ppp_generi
c slhc autofs4 snd_pcm_oss snd_mixer_oss snd_seq ipt_MASQUERADE iptable_nat nf_n
at_sip nf_conntrack_sip nf_nat_ftp nf_nat_irc nf_nat ip6t_LOG ip6t_REJECT ip6tab
le_filter ip6_tables xt_tcpudp nf_conntrack_ipv4 xt_state nf_conntrack_ftp nf_co
nntrack_irc cbc nf_conntrack blkcipher cpufreq_conservative ipt_LOG ipt_REJECT i
ptable_filter ip_tables dm_crypt x_tables binfmt_misc aes_x86_64 eeprom lm85 hwm
on_vid snd_usb_audio pl2303 snd_usb_lib usbserial snd_rawmidi appledisplay snd_h
da_intel snd_seq_device snd_hwdep snd_pcm snd_timer snd snd_page_alloc i2c_i801
i2c_core
Pid: 10723, comm: qemu-system-x86 Not tainted 2.6.24-rc5-git5-BASIL #1
RIP: 0010:[<ffffffff8822c833>] [<ffffffff8822c833>] :kvm:x86_emulate_memop+0x2c
62/0x4527
RSP: 0018:ffff81011d575738 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000044
RDX: 0000000000000000 RSI: ffff81011d5757d8 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000011b4b000 R09: 0000000000000001
R10: 00007fff581ec280 R11: ffffffff8823c388 R12: 0000000000000031
R13: 0000000000000000 R14: ffff81011d575908 R15: 0000000000000000
FS: 00002ac9553fd6e0(0000) GS:ffffffff80761000(0000) knlGS:0000000000000000
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000010ef6e000 CR4: 00000000000026e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
Process qemu-system-x86 (pid: 10723, threadinfo ffff81011d574000, task ffff81009
e5d6000)
Stack: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ffffffff88237d20 0300000000000040 0000000000000000 030000000000004e
0000000000000000 0000000000000000 0000000000000000 0000000000000000
Call Trace:
[<ffffffff88224a7b>] :kvm:emulate_instruction+0xf6/0x21a
[<ffffffff8823c809>] :kvm_intel:handle_exception+0x19f/0x210
[<ffffffff882250d4>] :kvm:kvm_vcpu_ioctl_run+0x29c/0x3ad
[<ffffffff882252f2>] :kvm:kvm_vcpu_ioctl+0x10d/0xd7c
[<ffffffff80291a09>] do_ioctl+0x21/0x6b
[<ffffffff80291c96>] vfs_ioctl+0x243/0x25c
[<ffffffff80291ceb>] sys_ioctl+0x3c/0x5d
[<ffffffff8020be5e>] system_call+0x7e/0x83
[<00002ac9538b8b57>]

Code: 66 89 10 eb 7b 8b 94 24 28 01 00 00 48 8b 84 24 38 01 00 00
RIP [<ffffffff8822c833>] :kvm:x86_emulate_memop+0x2c62/0x4527
RSP <ffff81011d575738>
CR2: 0000000000000000

-Andi