KVM oops in svm_vcpu_run with 2.6.24-rc7

Andi Kleen
2008-01-22T19:08:56Z

While starting a kernel

Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP:
[<ffffffff885698fd>] :kvm_amd:svm_vcpu_run+0x35/0x30d
PGD 471e1067 PUD 54ca9067 PMD 0
Oops: 0000 [1] SMP
last sysfs
file: /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT1/cha
rge_full_design
CPU 0
Modules linked in: kvm_amd kvm nls_iso8859_1 nls_cp437 vfat fat usb_storage
af_p
acket rfkill_input sha256_generic cbc dm_crypt aes_x86_64 snd_pcm_oss
snd_mixer_
oss snd_seq snd_seq_device cpufreq_conservative cpufreq_userspace
cpufreq_powers
ave powernow_k8 loop dm_mod arc4 ecb blkcipher b43 rfkill mac80211 cfg80211
led_
class input_polldev ssb pcmcia firmware_class hci_usb yenta_socket shpchp
serio_
raw pci_hotplug tifm_7xx1 tifm_core bluetooth rtc_cmos ac snd_hda_intel
rsrc_non
static snd_pcm snd_timer button snd_page_alloc irda crc_ccitt snd_hwdep
pcmcia_c
ore ohci1394 rtc_core rtc_lib k8temp ieee1394 tg3 hwmon container i2c_piix4
dock
i2c_core snd battery power_supply joydev parport_pc parport soundcore sg
ehci_h
cd ohci_hcd usbcore sd_mod edd ext3 mbcache jbd fan pata_atiixp sata_sil
libata
scsi_mod thermal processor
Pid: 19761, comm: qemu-kvm Tainted: G N
2.6.24-rc7-20080110105413-default
#1
RIP: 0010:[<ffffffff885698fd>]
[<ffffffff885698fd>] :kvm_amd:svm_vcpu_run+0x35/
0x30d
RSP: 0018:ffff81002a0b39c0 EFLAGS: 00010046
RAX: ffff810056e2e000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffffffff80734780 RSI: ffff810056e21040 RDI: 0000000000000000
RBP: ffff810056e21040 R08: ffff810056e2e000 R09: 0000000000000000
R10: 00000000000007f9 R11: 0000000000000001 R12: ffff810056e22000
R13: ffff810056e210a0 R14: ffff810056e21700 R15: ffff810056e21500
FS: 00007fd584db16f0(0000) GS:ffffffff80592000(0000) knlGS:00000000b74e1b10
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000008 CR3: 0000000034db1000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process qemu-kvm (pid: 19761, threadinfo ffff81002a0b2000, task
ffff810054852080
)
Stack: ffffffff8854edb8 00000000001280d2 ffff81002c9945c0 ffff8100000106a8
0000000000000000 ffff810054852080 ffffffff80276e3d ffffffff80733f98
0000000000000000 0000000000000000 00000010001280d2 ffff810000000008