Re: Starting a VM reboots my machine

Cam Macdonell
2007-11-06T21:32:54Z

Dor Laor wrote:
> Cam Macdonell wrote:
>>
>> Hi,
>>
>> I'm running an AMD
>>
>> vendor_id : AuthenticAMD
>> cpu family : 15
>> model : 75
>> model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
>>
>> with 4GB of RAM and Scientific Linux 5.0. I've compiled kvm-48 on it and
>> the compile works and loading the modules works fine, the only dmesg
>> line referring to kvm is SELinux: initialized (dev kvm_anon_inodefs,
>> type kvm_anon_inodefs), not configured for labeling.
>>
>> However, when I boot any KVM, the machine reboots. It works fine with
>> the no-kvm flag. Has anyone else seen this behaviour?
>>
> We have some instabilities with AMD. These issues are under debug these
> days.
> Can you please supply netconsole debug messages from the host. This can
> be very helpful.
> Also what's the guest OS?

Hi Dor,

Sorry for the delay, here's the netConsole dump. This is trying to boot
FC6 on Scientific Linux 5. Let me know if you need more info.
This is with kvm-50 with the flag -no-kvm-irqchip. Also, this time it
didn't reboot, but froze.

Thanks,
Cam

Unable to handle kernel paging request at 0000000000008e5b RIP:
[<ffffffff800b1ecd>] audit_syscall_exit+0x17d/0x2eb
PGD 10908d067 PUD 10908c067 PMD 0
Oops: 0000 [1] SMP
last sysfs file: /class/misc/kvm/dev
CPU 0
Modules linked in: kvm_amd(U) tun kvm(U) netconsole nfs lockd fscache
nfs_acl autofs4 hidp rfcomm l2cap bluetooth sunrpc dm_mirror dm_mod
video sbs i2c_ec button battery asus_acpi acpi_memhotplug ac ipv6 lp
snd_hda_intel snd_hda_codec snd_seq_dummy snd_seq_oss snd_seq_midi_event
snd_seq snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_mpu401
snd_mpu401_uart snd_rawmidi snd_seq_device parport_pc snd sg ide_cd
parport floppy pcspkr cdrom i2c_nforce2 k8_edac snd_page_alloc shpchp
fglrx(U) serio_raw forcedeth soundcore i2c_core edac_mc ns558 gameport
sata_nv libata sd_mod scsi_mod ext3 jbd ehci_hcd ohci_hcd uhci_hcd
Pid: 3346, comm: icewm Tainted: P 2.6.18-8.1.15.el5 #1
RIP: 0010:[<ffffffff800b1ecd>] [<ffffffff800b1ecd>]
audit_syscall_exit+0x17d/0x2eb
RSP: 0018:ffff81010923bf00 EFLAGS: 00010206
RAX: ffffffff8006415f RBX: ffff810108022000 RCX: ffff81010923a000
RDX: 0000000000000080 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000008e53 R08: ffff81010923a000 R09: 000000000000003e
R10: ffff81012fd2c038 R11: ffffffff8002fbb9 R12: 0000000000000000
R13: 0000000000000000 R14: ffff81010849e040 R15: 0000000000000000
FS: 00002aaaaaade830(0000) GS:ffffffff80389000(0000) knlGS:00000000f7fd16c0
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000008e5b CR3: 0000000109257000 CR4: 00000000000006e0
Process icewm (pid: 3346, threadinfo ffff81010923a000, task
ffff81010849e040)
Stack: ffffffff8006415f ffff81010923bf58 0000000000000000 0000000000000020
00007fff5e76cc70 00000000ffffffff 00007fff5e76cb80 ffffffff8006ade0
00007fff5e76cc00 ffffffff8005b3ce 000000000000feff 00007fff5e76cb80
Call Trace:
[<ffffffff8006415f>] do_page_fault+0x0/0x81d
[<ffffffff8006ade0>] syscall_trace_leave+0x2c/0x87
[<ffffffff8005b3ce>] int_very_careful+0x35/0x3f

Code: 81 7d 08 7a 05 00 00 75 1e 48 8b 7d 10 e8 8a af f5 ff 48 8b
RIP [<ffffffff800b1ecd>] audit_syscall_exit+0x17d/0x2eb
RSP <ffff81010923bf00>
CR2: 0000000000008e5b
<0>Kernel panic - not syncing: Fatal exception