Re: kvm causing memory corruption? now 2.6.26-rc4

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dave Hansen
Date: Monday, June 2, 2008 - 3:30 pm

On Thu, 2008-03-27 at 16:59 +0200, Avi Kivity wrote:

I have a few more data points on this.  Sorry for the massive delay from
the last report -- I'm being a crappy bug reporter.  But, this is on my
one and only laptop which makes it a serious pain to diagnose.  I also
didn't have a hardware serial console on it before, which I do now.
This is all on 2.6.26-rc4-01549-g1beee8d.

Adding the mem= does not help at all.  But, it is all a bit more
diagnosable now than a month or two ago.  I turned on all of the kernel
debugging that I could get my grubby little hands on.  It now oopses
quite consistently when kvm runs instead of after.  Here's a collection
of oopses that I captured after setting up a serial line:

	http://sr71.net/~dave/kvm-oops1.txt

After collecting all those, I turned on CONFIG_DEBUG_HIGHMEM and the
oopses miraculously stopped.  But, the guest hung (for at least 5
minutes or so) during windows bootup, pegging my host CPU.  Most of the
CPU was going to klogd, so I checked dmesg.

I was seeing messages like this

[  428.918108] kvm_handle_exit: unexpected, valid vectoring info and exit reason is 0x9

And quite a few of them, like 100,000/sec.  That's why klogd was pegging
the CPU.  Any idea on a next debugging step?

-- Dave

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kvm causing memory corruption? ~2.6.25-rc6, Dave Hansen, (Tue Mar 25, 2:12 pm)
Re: kvm causing memory corruption? now 2.6.26-rc4, Dave Hansen, (Mon Jun 2, 3:30 pm)
Re: kvm causing memory corruption? now 2.6.26-rc4, Dave Hansen, (Mon Jun 2, 5:59 pm)
Re: kvm causing memory corruption? now 2.6.26-rc4, Avi Kivity, (Wed Jun 4, 6:42 am)
Re: kvm causing memory corruption? now 2.6.26-rc4, Dave Hansen, (Fri Jun 6, 12:41 am)
Re: kvm causing memory corruption? now 2.6.26-rc4, Avi Kivity, (Thu Jun 12, 6:10 am)
Re: kvm causing memory corruption? now 2.6.26-rc4, Dave Hansen, (Mon Jun 16, 11:07 am)
Re: kvm causing memory corruption? now 2.6.26-rc8, Dave Hansen, (Tue Jul 15, 11:57 am)
Re: kvm causing memory corruption? now 2.6.26, Dave Hansen, (Wed Jul 16, 2:44 pm)
KVM overflows the stack, Dave Hansen, (Wed Jul 16, 3:48 pm)
Re: kvm causing memory corruption? now 2.6.26, Avi Kivity, (Wed Jul 16, 10:38 pm)
Re: KVM overflows the stack, Avi Kivity, (Wed Jul 16, 10:52 pm)
Re: KVM overflows the stack, Roland Dreier, (Wed Jul 16, 11:08 pm)
Re: KVM overflows the stack, Dave Hansen, (Wed Jul 16, 11:14 pm)
Re: KVM overflows the stack, Dave Hansen, (Wed Jul 16, 11:27 pm)
Re: KVM overflows the stack, Avi Kivity, (Wed Jul 16, 11:42 pm)
[PATCH] update kvm's anon_inodes.c for r/o bind mounts, Dave Hansen, (Wed Jul 16, 11:45 pm)
Re: KVM overflows the stack, Dave Hansen, (Thu Jul 17, 7:06 am)
Re: KVM overflows the stack, Avi Kivity, (Thu Jul 17, 7:15 am)