Re: [Bisected][-next-20130204+] [x86/kvm] udevd:[97]: segfault atffffffffff5fd020 ip 00007fff069e277f sp 00007fff068c9ef8 error d

From: Gleb Natapov
Date: Wed Feb 13 2013 - 05:51:39 EST


On Tue, Feb 12, 2013 at 04:39:03PM -0800, H. Peter Anvin wrote:
> On 02/12/2013 04:26 PM, Peter Hurley wrote:
> > With -next-20130204+ in ubuntu 12.10 VM (so the 80x25 VGA
> > device/console):
> >
> > [ 0.666410] udevd[97]: starting version 175
> > [ 0.674043] udevd[97]: udevd:[97]: segfault at ffffffffff5fd020 ip 00007fff069e277f sp 00007fff068c9ef8 error d
> >
> > and boots to an initramfs prompt.
> >
> > git bisect (log attached) blames:
> >
> > commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
> > Merge: 3596f5b 949db15
> > Author: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
> > Date: Fri Jan 25 16:31:21 2013 -0800
> >
> > Merge tag 'v3.8-rc5' into x86/mm
> >
> > The __pa() fixup series that follows touches KVM code that is not
> > present in the existing branch based on v3.7-rc5, so merge in the
> > current upstream from Linus.
> >
> > Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
> >
> >
> > This only happens with the VGA device/console but that is the default
> > configuration for Ubuntu/KVM because it blacklists pretty much every fb
> > driver.
> >
>
> I am guessing this is another bad use of __pa()... need to look into that.
>
He is using 64bit guest and on those __pa() happens to be working. Is it
possible that slow_virt_to_phys() does not work as expected? Peter (the
bug reporter :)) can you run your guest kernel with loglevel=7 and
attach send me console output?

--
Gleb.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/