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

2013-02-27 Thread Marcelo Tosatti
On Sun, Feb 24, 2013 at 04:23:44PM -0500, Peter Hurley wrote:
> On Tue, 2013-02-19 at 10:26 +0200, Gleb Natapov wrote:
> > On Mon, Feb 18, 2013 at 08:12:21PM -0500, Peter Hurley wrote:
> > > On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote:
> > > > On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
> > > > > On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
> > > > > > 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 
> > > > > > > > ff5fd020 ip 7fff069e277f sp 7fff068c9ef8 error d
> > > > > > > > 
> > > > > > > > and boots to an initramfs prompt.
> > > > > > > > 
> > > > > > > > git bisect (log attached) blames:
> > > > > > > > 
> > > > > > > > commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
> > > > > > > > Merge: 3596f5b 949db15
> > > > > > > > Author: H. Peter Anvin 
> > > > > > > > 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 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 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.
> > > > 
> > > > Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
> > > > there?
> > > 
> > > This is in the linux-next repo (any git tag after 'next-20130204' will
> > > reproduce this). It's a pretty large merge commit.
> > > 
> > > This doesn't happen on 3.8-rc7.
> > > 
> > > I'll try to repro this on kvm.git sometime this week. Otherwise, we can
> > > wait for it to show up in 3.9.
> > > 
> > Can you also drop 5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d from linux-next 
> > and reproduce?
> 
> Ok, found and fixed. This will need to go to stable for 3.8 as well.

ACK, please send an email with the patch to k...@vger.kernel.org.

> Regards,
> Peter Hurley
> 
> --- >% ---
> From: Peter Hurley 
> Date: Sun, 24 Feb 2013 10:55:09 -0500
> Subject: [PATCH] x86/kvm: Fix pvclock vsyscall fixmap
> 
> The physical memory fixmapped for the pvclock clock_gettime vsyscall
> was allocated, and thus is not a kernel symbol. __pa() is the proper
> method to use in this case.
> 
> Fixes the crash below when booting a next-20130204+ smp guest on a
> 3.8-rc5+ KVM host.
> 
> [0.666410] udevd[97]: starting version 175
> [0.674043] udevd[97]: udevd:[97]: segfault at ff5fd020
>  ip 7fff069e277f sp 7fff068c9ef8 error d
> 
> Signed-off-by: Peter Hurley 
> ---
>  arch/x86/kernel/pvclock.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kernel/pvclock.c b/arch/x86/kernel/pvclock.c
> index 85c3959..2cb9470 100644
> --- a/arch/x86/kernel/pvclock.c
> +++ b/arch/x86/kernel/pvclock.c
> @@ -185,7 +185,7 @@ int __init pvclock_init_vsyscall(struct 
> pvclock_vsyscall_time_info *i,
>  
>   for (idx = 0; idx <= (PVCLOCK_FIXMAP_END-PVCLOCK_FIXMAP_BEGIN); idx++) {
>   __set_fixmap(PVCLOCK_FIXMAP_BEGIN + idx,
> -  __pa_symbol(i) + (idx*PAGE_SIZE),
> +  __pa(i) + (idx*PAGE_SIZE),
>PAGE_KERNEL_VVAR);
>   }
>  
> -- 
> 1.8.1.2
> 
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2013-02-27 Thread Marcelo Tosatti
On Sun, Feb 24, 2013 at 04:23:44PM -0500, Peter Hurley wrote:
 On Tue, 2013-02-19 at 10:26 +0200, Gleb Natapov wrote:
  On Mon, Feb 18, 2013 at 08:12:21PM -0500, Peter Hurley wrote:
   On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote:
On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
 On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
  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 
ff5fd020 ip 7fff069e277f sp 7fff068c9ef8 error d

and boots to an initramfs prompt.

git bisect (log attached) blames:

commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
Merge: 3596f5b 949db15
Author: H. Peter Anvin h...@linux.intel.com
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 h...@linux.intel.com


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.

Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
there?
   
   This is in the linux-next repo (any git tag after 'next-20130204' will
   reproduce this). It's a pretty large merge commit.
   
   This doesn't happen on 3.8-rc7.
   
   I'll try to repro this on kvm.git sometime this week. Otherwise, we can
   wait for it to show up in 3.9.
   
  Can you also drop 5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d from linux-next 
  and reproduce?
 
 Ok, found and fixed. This will need to go to stable for 3.8 as well.

ACK, please send an email with the patch to k...@vger.kernel.org.

 Regards,
 Peter Hurley
 
 --- % ---
 From: Peter Hurley pe...@hurleysoftware.com
 Date: Sun, 24 Feb 2013 10:55:09 -0500
 Subject: [PATCH] x86/kvm: Fix pvclock vsyscall fixmap
 
 The physical memory fixmapped for the pvclock clock_gettime vsyscall
 was allocated, and thus is not a kernel symbol. __pa() is the proper
 method to use in this case.
 
 Fixes the crash below when booting a next-20130204+ smp guest on a
 3.8-rc5+ KVM host.
 
 [0.666410] udevd[97]: starting version 175
 [0.674043] udevd[97]: udevd:[97]: segfault at ff5fd020
  ip 7fff069e277f sp 7fff068c9ef8 error d
 
 Signed-off-by: Peter Hurley pe...@hurleysoftware.com
 ---
  arch/x86/kernel/pvclock.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/arch/x86/kernel/pvclock.c b/arch/x86/kernel/pvclock.c
 index 85c3959..2cb9470 100644
 --- a/arch/x86/kernel/pvclock.c
 +++ b/arch/x86/kernel/pvclock.c
 @@ -185,7 +185,7 @@ int __init pvclock_init_vsyscall(struct 
 pvclock_vsyscall_time_info *i,
  
   for (idx = 0; idx = (PVCLOCK_FIXMAP_END-PVCLOCK_FIXMAP_BEGIN); idx++) {
   __set_fixmap(PVCLOCK_FIXMAP_BEGIN + idx,
 -  __pa_symbol(i) + (idx*PAGE_SIZE),
 +  __pa(i) + (idx*PAGE_SIZE),
PAGE_KERNEL_VVAR);
   }
  
 -- 
 1.8.1.2
 
 
 
 --
 To unsubscribe from this list: send the line unsubscribe kvm in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2013-02-24 Thread Peter Hurley
On Tue, 2013-02-19 at 10:26 +0200, Gleb Natapov wrote:
> On Mon, Feb 18, 2013 at 08:12:21PM -0500, Peter Hurley wrote:
> > On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote:
> > > On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
> > > > On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
> > > > > 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 
> > > > > > > ff5fd020 ip 7fff069e277f sp 7fff068c9ef8 error d
> > > > > > > 
> > > > > > > and boots to an initramfs prompt.
> > > > > > > 
> > > > > > > git bisect (log attached) blames:
> > > > > > > 
> > > > > > > commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
> > > > > > > Merge: 3596f5b 949db15
> > > > > > > Author: H. Peter Anvin 
> > > > > > > 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 
> > > > > > > 
> > > > > > > 
> > > > > > > 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.
> > > 
> > > Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
> > > there?
> > 
> > This is in the linux-next repo (any git tag after 'next-20130204' will
> > reproduce this). It's a pretty large merge commit.
> > 
> > This doesn't happen on 3.8-rc7.
> > 
> > I'll try to repro this on kvm.git sometime this week. Otherwise, we can
> > wait for it to show up in 3.9.
> > 
> Can you also drop 5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d from linux-next 
> and reproduce?

Ok, found and fixed. This will need to go to stable for 3.8 as well.

Regards,
Peter Hurley

--- >% ---
From: Peter Hurley 
Date: Sun, 24 Feb 2013 10:55:09 -0500
Subject: [PATCH] x86/kvm: Fix pvclock vsyscall fixmap

The physical memory fixmapped for the pvclock clock_gettime vsyscall
was allocated, and thus is not a kernel symbol. __pa() is the proper
method to use in this case.

Fixes the crash below when booting a next-20130204+ smp guest on a
3.8-rc5+ KVM host.

[0.666410] udevd[97]: starting version 175
[0.674043] udevd[97]: udevd:[97]: segfault at ff5fd020
 ip 7fff069e277f sp 7fff068c9ef8 error d

Signed-off-by: Peter Hurley 
---
 arch/x86/kernel/pvclock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/pvclock.c b/arch/x86/kernel/pvclock.c
index 85c3959..2cb9470 100644
--- a/arch/x86/kernel/pvclock.c
+++ b/arch/x86/kernel/pvclock.c
@@ -185,7 +185,7 @@ int __init pvclock_init_vsyscall(struct 
pvclock_vsyscall_time_info *i,
 
for (idx = 0; idx <= (PVCLOCK_FIXMAP_END-PVCLOCK_FIXMAP_BEGIN); idx++) {
__set_fixmap(PVCLOCK_FIXMAP_BEGIN + idx,
-__pa_symbol(i) + (idx*PAGE_SIZE),
+__pa(i) + (idx*PAGE_SIZE),
 PAGE_KERNEL_VVAR);
}
 
-- 
1.8.1.2



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


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

2013-02-24 Thread Peter Hurley
On Tue, 2013-02-19 at 10:26 +0200, Gleb Natapov wrote:
 On Mon, Feb 18, 2013 at 08:12:21PM -0500, Peter Hurley wrote:
  On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote:
   On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
 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 
   ff5fd020 ip 7fff069e277f sp 7fff068c9ef8 error d
   
   and boots to an initramfs prompt.
   
   git bisect (log attached) blames:
   
   commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
   Merge: 3596f5b 949db15
   Author: H. Peter Anvin h...@linux.intel.com
   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 h...@linux.intel.com
   
   
   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.
   
   Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
   there?
  
  This is in the linux-next repo (any git tag after 'next-20130204' will
  reproduce this). It's a pretty large merge commit.
  
  This doesn't happen on 3.8-rc7.
  
  I'll try to repro this on kvm.git sometime this week. Otherwise, we can
  wait for it to show up in 3.9.
  
 Can you also drop 5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d from linux-next 
 and reproduce?

Ok, found and fixed. This will need to go to stable for 3.8 as well.

Regards,
Peter Hurley

--- % ---
From: Peter Hurley pe...@hurleysoftware.com
Date: Sun, 24 Feb 2013 10:55:09 -0500
Subject: [PATCH] x86/kvm: Fix pvclock vsyscall fixmap

The physical memory fixmapped for the pvclock clock_gettime vsyscall
was allocated, and thus is not a kernel symbol. __pa() is the proper
method to use in this case.

Fixes the crash below when booting a next-20130204+ smp guest on a
3.8-rc5+ KVM host.

[0.666410] udevd[97]: starting version 175
[0.674043] udevd[97]: udevd:[97]: segfault at ff5fd020
 ip 7fff069e277f sp 7fff068c9ef8 error d

Signed-off-by: Peter Hurley pe...@hurleysoftware.com
---
 arch/x86/kernel/pvclock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/pvclock.c b/arch/x86/kernel/pvclock.c
index 85c3959..2cb9470 100644
--- a/arch/x86/kernel/pvclock.c
+++ b/arch/x86/kernel/pvclock.c
@@ -185,7 +185,7 @@ int __init pvclock_init_vsyscall(struct 
pvclock_vsyscall_time_info *i,
 
for (idx = 0; idx = (PVCLOCK_FIXMAP_END-PVCLOCK_FIXMAP_BEGIN); idx++) {
__set_fixmap(PVCLOCK_FIXMAP_BEGIN + idx,
-__pa_symbol(i) + (idx*PAGE_SIZE),
+__pa(i) + (idx*PAGE_SIZE),
 PAGE_KERNEL_VVAR);
}
 
-- 
1.8.1.2



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


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

2013-02-20 Thread Peter Hurley
On Tue, 2013-02-19 at 10:26 +0200, Gleb Natapov wrote:
> On Mon, Feb 18, 2013 at 08:12:21PM -0500, Peter Hurley wrote:
> > On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote:
> > > On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
> > > > On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
> > > > > 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 
> > > > > > > ff5fd020 ip 7fff069e277f sp 7fff068c9ef8 error d
> > > > > > > 
> > > > > > > and boots to an initramfs prompt.
> > > > > > > 
> > > > > > > git bisect (log attached) blames:
> > > > > > > 
> > > > > > > commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
> > > > > > > Merge: 3596f5b 949db15
> > > > > > > Author: H. Peter Anvin 
> > > > > > > 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 
> > > > > > > 
> > > > > > > 
> > > > > > > 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.
> > > 
> > > Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
> > > there?
> > 
> > This is in the linux-next repo (any git tag after 'next-20130204' will
> > reproduce this). It's a pretty large merge commit.
> > 
> > This doesn't happen on 3.8-rc7.
> > 
> > I'll try to repro this on kvm.git sometime this week. Otherwise, we can
> > wait for it to show up in 3.9.
> > 
> Can you also drop 5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d from linux-next 
> and reproduce?

Still reproduced on next-20130204 after reverting 5dfd486c.
Haven't tested kvm.git and newest next.


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


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

2013-02-20 Thread Peter Hurley
On Tue, 2013-02-19 at 10:26 +0200, Gleb Natapov wrote:
 On Mon, Feb 18, 2013 at 08:12:21PM -0500, Peter Hurley wrote:
  On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote:
   On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
 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 
   ff5fd020 ip 7fff069e277f sp 7fff068c9ef8 error d
   
   and boots to an initramfs prompt.
   
   git bisect (log attached) blames:
   
   commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
   Merge: 3596f5b 949db15
   Author: H. Peter Anvin h...@linux.intel.com
   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 h...@linux.intel.com
   
   
   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.
   
   Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
   there?
  
  This is in the linux-next repo (any git tag after 'next-20130204' will
  reproduce this). It's a pretty large merge commit.
  
  This doesn't happen on 3.8-rc7.
  
  I'll try to repro this on kvm.git sometime this week. Otherwise, we can
  wait for it to show up in 3.9.
  
 Can you also drop 5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d from linux-next 
 and reproduce?

Still reproduced on next-20130204 after reverting 5dfd486c.
Haven't tested kvm.git and newest next.


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


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

2013-02-19 Thread Gleb Natapov
On Mon, Feb 18, 2013 at 08:12:21PM -0500, Peter Hurley wrote:
> On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote:
> > On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
> > > On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
> > > > 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 ff5fd020 
> > > > > > ip 7fff069e277f sp 7fff068c9ef8 error d
> > > > > > 
> > > > > > and boots to an initramfs prompt.
> > > > > > 
> > > > > > git bisect (log attached) blames:
> > > > > > 
> > > > > > commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
> > > > > > Merge: 3596f5b 949db15
> > > > > > Author: H. Peter Anvin 
> > > > > > 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 
> > > > > > 
> > > > > > 
> > > > > > 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.
> > 
> > Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
> > there?
> 
> This is in the linux-next repo (any git tag after 'next-20130204' will
> reproduce this). It's a pretty large merge commit.
> 
> This doesn't happen on 3.8-rc7.
> 
> I'll try to repro this on kvm.git sometime this week. Otherwise, we can
> wait for it to show up in 3.9.
> 
Can you also drop 5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d from linux-next and 
reproduce?

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


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

2013-02-19 Thread Gleb Natapov
On Mon, Feb 18, 2013 at 08:12:21PM -0500, Peter Hurley wrote:
 On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote:
  On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
   On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
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 ff5fd020 
  ip 7fff069e277f sp 7fff068c9ef8 error d
  
  and boots to an initramfs prompt.
  
  git bisect (log attached) blames:
  
  commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
  Merge: 3596f5b 949db15
  Author: H. Peter Anvin h...@linux.intel.com
  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 h...@linux.intel.com
  
  
  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.
  
  Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
  there?
 
 This is in the linux-next repo (any git tag after 'next-20130204' will
 reproduce this). It's a pretty large merge commit.
 
 This doesn't happen on 3.8-rc7.
 
 I'll try to repro this on kvm.git sometime this week. Otherwise, we can
 wait for it to show up in 3.9.
 
Can you also drop 5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d from linux-next and 
reproduce?

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


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

2013-02-18 Thread Peter Hurley
On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote:
> On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
> > On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
> > > 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 ff5fd020 ip 
> > > > > 7fff069e277f sp 7fff068c9ef8 error d
> > > > > 
> > > > > and boots to an initramfs prompt.
> > > > > 
> > > > > git bisect (log attached) blames:
> > > > > 
> > > > > commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
> > > > > Merge: 3596f5b 949db15
> > > > > Author: H. Peter Anvin 
> > > > > 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 
> > > > > 
> > > > > 
> > > > > 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.
> 
> Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
> there?

This is in the linux-next repo (any git tag after 'next-20130204' will
reproduce this). It's a pretty large merge commit.

This doesn't happen on 3.8-rc7.

I'll try to repro this on kvm.git sometime this week. Otherwise, we can
wait for it to show up in 3.9.

Regards,
Peter Hurley

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


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

2013-02-18 Thread Marcelo Tosatti
On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
> On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
> > 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 ff5fd020 ip 
> > > > 7fff069e277f sp 7fff068c9ef8 error d
> > > > 
> > > > and boots to an initramfs prompt.
> > > > 
> > > > git bisect (log attached) blames:
> > > > 
> > > > commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
> > > > Merge: 3596f5b 949db15
> > > > Author: H. Peter Anvin 
> > > > 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 
> > > > 
> > > > 
> > > > 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.

Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
there?

> > 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?
> 
> Attached.
> 
> BTW, this message happens on 'good' boots too:
> 
> [0.00] [ cut here ]
> [0.00] WARNING: at 
> /home/peter/src/kernels/next/arch/x86/kernel/pvclock.c:182 
> pvclock_init_vsyscall+0x22/0x60()
> [0.00] Hardware name: Bochs
> [0.00] Modules linked in:
> [0.00] Pid: 0, comm: swapper Not tainted 3.8.0-next-20130204-xeon 
> #20130204
> [0.00] Call Trace:
> [0.00]  [] warn_slowpath_common+0x7f/0xc0
> [0.00]  [] warn_slowpath_null+0x1a/0x20
> [0.00]  [] pvclock_init_vsyscall+0x22/0x60
> [0.00]  [] kvm_setup_vsyscall_timeinfo+0x74/0xd8
> [0.00]  [] kvm_guest_init+0xd0/0xe9
> [0.00]  [] setup_arch+0xbee/0xcaf
> [0.00]  [] ? printk+0x61/0x63
> [0.00]  [] start_kernel+0xd3/0x3f0
> [0.00]  [] x86_64_start_reservations+0x2a/0x2c
> [0.00]  [] x86_64_start_kernel+0xf1/0x100
> [0.00] ---[ end trace b47bb564b2d6ec76 ]---
> 
> Regards,
> Peter Hurley

Sending a patch for this, thanks for the report.

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


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

2013-02-18 Thread Marcelo Tosatti
On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
 On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
  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 ff5fd020 ip 
7fff069e277f sp 7fff068c9ef8 error d

and boots to an initramfs prompt.

git bisect (log attached) blames:

commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
Merge: 3596f5b 949db15
Author: H. Peter Anvin h...@linux.intel.com
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 h...@linux.intel.com


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.

Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
there?

  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?
 
 Attached.
 
 BTW, this message happens on 'good' boots too:
 
 [0.00] [ cut here ]
 [0.00] WARNING: at 
 /home/peter/src/kernels/next/arch/x86/kernel/pvclock.c:182 
 pvclock_init_vsyscall+0x22/0x60()
 [0.00] Hardware name: Bochs
 [0.00] Modules linked in:
 [0.00] Pid: 0, comm: swapper Not tainted 3.8.0-next-20130204-xeon 
 #20130204
 [0.00] Call Trace:
 [0.00]  [8105812f] warn_slowpath_common+0x7f/0xc0
 [0.00]  [8105818a] warn_slowpath_null+0x1a/0x20
 [0.00]  [81d20521] pvclock_init_vsyscall+0x22/0x60
 [0.00]  [81d20480] kvm_setup_vsyscall_timeinfo+0x74/0xd8
 [0.00]  [81d201d1] kvm_guest_init+0xd0/0xe9
 [0.00]  [81d13f7c] setup_arch+0xbee/0xcaf
 [0.00]  [816cbceb] ? printk+0x61/0x63
 [0.00]  [81d0cbc3] start_kernel+0xd3/0x3f0
 [0.00]  [81d0c5e4] x86_64_start_reservations+0x2a/0x2c
 [0.00]  [81d0c6d7] x86_64_start_kernel+0xf1/0x100
 [0.00] ---[ end trace b47bb564b2d6ec76 ]---
 
 Regards,
 Peter Hurley

Sending a patch for this, thanks for the report.

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


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

2013-02-18 Thread Peter Hurley
On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote:
 On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote:
  On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
   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 ff5fd020 ip 
 7fff069e277f sp 7fff068c9ef8 error d
 
 and boots to an initramfs prompt.
 
 git bisect (log attached) blames:
 
 commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
 Merge: 3596f5b 949db15
 Author: H. Peter Anvin h...@linux.intel.com
 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 h...@linux.intel.com
 
 
 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.
 
 Can't find this commit on kvm.git or linux-2.6.git. Is it reproducible
 there?

This is in the linux-next repo (any git tag after 'next-20130204' will
reproduce this). It's a pretty large merge commit.

This doesn't happen on 3.8-rc7.

I'll try to repro this on kvm.git sometime this week. Otherwise, we can
wait for it to show up in 3.9.

Regards,
Peter Hurley

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


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

2013-02-13 Thread Peter Hurley
On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
> 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 ff5fd020 ip 
> > > 7fff069e277f sp 7fff068c9ef8 error d
> > > 
> > > and boots to an initramfs prompt.
> > > 
> > > git bisect (log attached) blames:
> > > 
> > > commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
> > > Merge: 3596f5b 949db15
> > > Author: H. Peter Anvin 
> > > 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 
> > > 
> > > 
> > > 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?

Attached.

BTW, this message happens on 'good' boots too:

[0.00] [ cut here ]
[0.00] WARNING: at 
/home/peter/src/kernels/next/arch/x86/kernel/pvclock.c:182 
pvclock_init_vsyscall+0x22/0x60()
[0.00] Hardware name: Bochs
[0.00] Modules linked in:
[0.00] Pid: 0, comm: swapper Not tainted 3.8.0-next-20130204-xeon 
#20130204
[0.00] Call Trace:
[0.00]  [] warn_slowpath_common+0x7f/0xc0
[0.00]  [] warn_slowpath_null+0x1a/0x20
[0.00]  [] pvclock_init_vsyscall+0x22/0x60
[0.00]  [] kvm_setup_vsyscall_timeinfo+0x74/0xd8
[0.00]  [] kvm_guest_init+0xd0/0xe9
[0.00]  [] setup_arch+0xbee/0xcaf
[0.00]  [] ? printk+0x61/0x63
[0.00]  [] start_kernel+0xd3/0x3f0
[0.00]  [] x86_64_start_reservations+0x2a/0x2c
[0.00]  [] x86_64_start_kernel+0xf1/0x100
[0.00] ---[ end trace b47bb564b2d6ec76 ]---

Regards,
Peter Hurley
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 3.8.0-next-20130204-xeon (root@thor) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #20130204 SMP PREEMPT Mon Feb 11 06:49:31 EST 2013
[0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-3.8.0-next-20130204-xeon root=UUID=cc4fa0a9-18f9-4d5a-b4ec-0243574558a2 ro text loglevel=7
[0.00] KERNEL supported cpus:
[0.00]   Intel GenuineIntel
[0.00] e820: BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x0009dbff] usable
[0.00] BIOS-e820: [mem 0x0009dc00-0x0009] reserved
[0.00] BIOS-e820: [mem 0x000f-0x000f] reserved
[0.00] BIOS-e820: [mem 0x0010-0x7fffdfff] usable
[0.00] BIOS-e820: [mem 0x7fffe000-0x7fff] reserved
[0.00] BIOS-e820: [mem 0xfeffc000-0xfeff] reserved
[0.00] BIOS-e820: [mem 0xfffc-0x] reserved
[0.00] NX (Execute Disable) protection: active
[0.00] SMBIOS 2.4 present.
[0.00] DMI: Bochs Bochs, BIOS Bochs 01/01/2007
[0.00] Hypervisor detected: KVM
[0.00] e820: update [mem 0x-0x] usable ==> reserved
[0.00] e820: remove [mem 0x000a-0x000f] usable
[0.00] e820: last_pfn = 0x7fffe max_arch_pfn = 0x4
[0.00] MTRR default type: write-back
[0.00] MTRR fixed ranges enabled:
[0.00]   0-9 write-back
[0.00]   A-B uncachable
[0.00]   C-F write-protect
[0.00] MTRR variable ranges enabled:
[0.00]   0 base 00E000 mask FFE000 uncachable
[0.00]   1 disabled
[0.00]   2 disabled
[0.00]   3 disabled
[0.00]   4 disabled
[0.00]   5 disabled
[0.00]   6 disabled
[0.00]   7 disabled
[0.00] PAT not supported by CPU.
[0.00] found SMP MP-table at [mem 0x000fdaa0-0x000fdaaf] mapped at [880fdaa0]
[0.00] Base memory trampoline at [88097000] 97000 size 24576
[0.00] init_memory_mapping: [mem 0x-0x000f]
[0.00]  [mem 0x-0x000f] page 4k
[0.00] BRK [0x01f69000, 0x01f69fff] PGTABLE
[0.00] BRK [0x01f6a000, 0x01f6afff] PGTABLE
[0.00] BRK [0x01f6b000, 0x01f6bfff] PGTABLE
[0.00] 

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

2013-02-13 Thread Gleb Natapov
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 ff5fd020 ip 
> > 7fff069e277f sp 7fff068c9ef8 error d
> > 
> > and boots to an initramfs prompt.
> > 
> > git bisect (log attached) blames:
> > 
> > commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
> > Merge: 3596f5b 949db15
> > Author: H. Peter Anvin 
> > 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 
> > 
> > 
> > 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2013-02-13 Thread Gleb Natapov
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 ff5fd020 ip 
  7fff069e277f sp 7fff068c9ef8 error d
  
  and boots to an initramfs prompt.
  
  git bisect (log attached) blames:
  
  commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
  Merge: 3596f5b 949db15
  Author: H. Peter Anvin h...@linux.intel.com
  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 h...@linux.intel.com
  
  
  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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2013-02-13 Thread Peter Hurley
On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote:
 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 ff5fd020 ip 
   7fff069e277f sp 7fff068c9ef8 error d
   
   and boots to an initramfs prompt.
   
   git bisect (log attached) blames:
   
   commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
   Merge: 3596f5b 949db15
   Author: H. Peter Anvin h...@linux.intel.com
   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 h...@linux.intel.com
   
   
   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?

Attached.

BTW, this message happens on 'good' boots too:

[0.00] [ cut here ]
[0.00] WARNING: at 
/home/peter/src/kernels/next/arch/x86/kernel/pvclock.c:182 
pvclock_init_vsyscall+0x22/0x60()
[0.00] Hardware name: Bochs
[0.00] Modules linked in:
[0.00] Pid: 0, comm: swapper Not tainted 3.8.0-next-20130204-xeon 
#20130204
[0.00] Call Trace:
[0.00]  [8105812f] warn_slowpath_common+0x7f/0xc0
[0.00]  [8105818a] warn_slowpath_null+0x1a/0x20
[0.00]  [81d20521] pvclock_init_vsyscall+0x22/0x60
[0.00]  [81d20480] kvm_setup_vsyscall_timeinfo+0x74/0xd8
[0.00]  [81d201d1] kvm_guest_init+0xd0/0xe9
[0.00]  [81d13f7c] setup_arch+0xbee/0xcaf
[0.00]  [816cbceb] ? printk+0x61/0x63
[0.00]  [81d0cbc3] start_kernel+0xd3/0x3f0
[0.00]  [81d0c5e4] x86_64_start_reservations+0x2a/0x2c
[0.00]  [81d0c6d7] x86_64_start_kernel+0xf1/0x100
[0.00] ---[ end trace b47bb564b2d6ec76 ]---

Regards,
Peter Hurley
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 3.8.0-next-20130204-xeon (root@thor) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #20130204 SMP PREEMPT Mon Feb 11 06:49:31 EST 2013
[0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-3.8.0-next-20130204-xeon root=UUID=cc4fa0a9-18f9-4d5a-b4ec-0243574558a2 ro text loglevel=7
[0.00] KERNEL supported cpus:
[0.00]   Intel GenuineIntel
[0.00] e820: BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x0009dbff] usable
[0.00] BIOS-e820: [mem 0x0009dc00-0x0009] reserved
[0.00] BIOS-e820: [mem 0x000f-0x000f] reserved
[0.00] BIOS-e820: [mem 0x0010-0x7fffdfff] usable
[0.00] BIOS-e820: [mem 0x7fffe000-0x7fff] reserved
[0.00] BIOS-e820: [mem 0xfeffc000-0xfeff] reserved
[0.00] BIOS-e820: [mem 0xfffc-0x] reserved
[0.00] NX (Execute Disable) protection: active
[0.00] SMBIOS 2.4 present.
[0.00] DMI: Bochs Bochs, BIOS Bochs 01/01/2007
[0.00] Hypervisor detected: KVM
[0.00] e820: update [mem 0x-0x] usable == reserved
[0.00] e820: remove [mem 0x000a-0x000f] usable
[0.00] e820: last_pfn = 0x7fffe max_arch_pfn = 0x4
[0.00] MTRR default type: write-back
[0.00] MTRR fixed ranges enabled:
[0.00]   0-9 write-back
[0.00]   A-B uncachable
[0.00]   C-F write-protect
[0.00] MTRR variable ranges enabled:
[0.00]   0 base 00E000 mask FFE000 uncachable
[0.00]   1 disabled
[0.00]   2 disabled
[0.00]   3 disabled
[0.00]   4 disabled
[0.00]   5 disabled
[0.00]   6 disabled
[0.00]   7 disabled
[0.00] PAT not supported by CPU.
[0.00] found SMP MP-table at [mem 0x000fdaa0-0x000fdaaf] mapped at [880fdaa0]
[0.00] Base memory trampoline at [88097000] 97000 size 24576
[0.00] init_memory_mapping: [mem 0x-0x000f]
[0.00]  [mem 0x-0x000f] page 4k
[0.00] BRK [0x01f69000, 0x01f69fff] PGTABLE
[0.00] BRK 

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

2013-02-12 Thread H. Peter Anvin
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 ff5fd020 ip 
> 7fff069e277f sp 7fff068c9ef8 error d
> 
> and boots to an initramfs prompt.
> 
> git bisect (log attached) blames:
> 
> commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
> Merge: 3596f5b 949db15
> Author: H. Peter Anvin 
> 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 
> 
> 
> 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.

-hpa


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


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

2013-02-12 Thread Peter Hurley
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 ff5fd020 ip 
7fff069e277f sp 7fff068c9ef8 error d

and boots to an initramfs prompt.

git bisect (log attached) blames:

commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
Merge: 3596f5b 949db15
Author: H. Peter Anvin 
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 


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 can confirm this _does not_ happen with same config on mainline
3.8-rc7.
Just confirmed that the same fault occurs with next-20130211.

Regards,
Peter Hurley
git bisect start
# good: [6bacaa9ddacb71c691d32c678d37bc59ffc71fac] Merge tag 'sound-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
git bisect good 6bacaa9ddacb71c691d32c678d37bc59ffc71fac
# bad: [164708bec016c6ceb76a2bb2e29b086bf0ad4e37] Add linux-next specific files for 20130204
git bisect bad 164708bec016c6ceb76a2bb2e29b086bf0ad4e37
# good: [0231bb5336758426b44ccd798ccd3c5419c95d58] perf: Fix event group context move
git bisect good 0231bb5336758426b44ccd798ccd3c5419c95d58
# good: [0ba3b2ccc72b3df5c305d61f59d93ab0f0e87991] USB: ftdi_sio: add Zolix FTDI PID
git bisect good 0ba3b2ccc72b3df5c305d61f59d93ab0f0e87991
# good: [8b31849a113a8868eb2de692be5c9ecadae93ac9] Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
git bisect good 8b31849a113a8868eb2de692be5c9ecadae93ac9
# good: [972f7c832229781f09f03284cde484ccdb44d3ee] x86, doc: Boot protocol 2.12 is in 3.8
git bisect good 972f7c832229781f09f03284cde484ccdb44d3ee
# good: [da57b936ea7b328d1009b37a0a0ad1f14148e104] xtensa: Provide dummy dma_mmap_coherent() and dma_get_sgtable()
git bisect good da57b936ea7b328d1009b37a0a0ad1f14148e104
# good: [1927661b1748480692f1fa2c390fe031c86d862a] ASoC: fsl: fix snd-soc-imx-pcm module build
git bisect good 1927661b1748480692f1fa2c390fe031c86d862a
# good: [cff3c124a7e82ca0ea1d6864b27ef18c403c0773] sched/debug: Fix format string for 32-bit platforms
git bisect good cff3c124a7e82ca0ea1d6864b27ef18c403c0773
# good: [ce4a3d52888a95473914bd54bcf6c566014fc03e] [media] radio: set vfl_dir correctly to fix modulator regression
git bisect good ce4a3d52888a95473914bd54bcf6c566014fc03e
# good: [d36b7b9643faca8aab8cee8d824f75c800b337ac] Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/urgent
git bisect good d36b7b9643faca8aab8cee8d824f75c800b337ac
# good: [0ce82b7f7b7373b16ecf7b5725e21e2975204500] mtd: nand: onfi don't WARN if we are in 16 bits mode
git bisect good 0ce82b7f7b7373b16ecf7b5725e21e2975204500
# good: [58c49df378cde4ff64172483d593a1a5689c13a8] mtip32xx: fix for crash when the device surprise removed during rebuild
git bisect good 58c49df378cde4ff64172483d593a1a5689c13a8
# good: [11f6d5d6564613befc240ebf9620c80fabe74c1a] Merge remote-tracking branch 'spi-mb/spi-next'
git bisect good 11f6d5d6564613befc240ebf9620c80fabe74c1a
# bad: [df3de4831a52f71e3f5ce3ca67de885f9bcf6fed] Merge remote-tracking branch 'driver-core/driver-core-next'
git bisect bad df3de4831a52f71e3f5ce3ca67de885f9bcf6fed
# good: [ce68648792ba859fe11075f507909970ae5e1ba4] kvm tools: remove unused field from virtio-blk
git bisect good ce68648792ba859fe11075f507909970ae5e1ba4
# bad: [81f3c277544d5359e4bf3fdfd2c4495a288d67ff] Merge remote-tracking branch 'fw-nohz/nohz/next'
git bisect bad 81f3c277544d5359e4bf3fdfd2c4495a288d67ff
# good: [0e04f53a4310c2376a40a3eaf4cd74822534b7c2] Merge branch 'x86/microcode'
git bisect good 0e04f53a4310c2376a40a3eaf4cd74822534b7c2
# bad: [e761e0bbb991c0a0eaf59b5d61feebf3185f58bd] Merge remote-tracking branch 'rcu/rcu/next'
git bisect bad e761e0bbb991c0a0eaf59b5d61feebf3185f58bd
# good: [38dbe0b137bfe6ea92be495017885c0785179a02] tracing: Remove second iterator initializer
git bisect good 38dbe0b137bfe6ea92be495017885c0785179a02
# bad: [152aa0e8ad77111b82ebe655c559b58f5dec0981] Merge remote-tracking branch 'tip/auto-latest'
git bisect bad 152aa0e8ad77111b82ebe655c559b58f5dec0981
# bad: [5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d] x86, kvm: Fix kvm's use of __pa() on percpu areas
git bisect bad 5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d
# good: [6a3956bd242926f8956992f6ed7805b0811be003] x86/lguest: Use __pa_symbol instead of __pa on C visible symbols
git bisect good 6a3956bd242926f8956992f6ed7805b0811be003
# bad: [7b5c4a65cc27f017c170b025f8d6d75dabb11c6f] Merge tag 'v3.8-rc5' into x86/mm
git bisect bad 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
# good: [5e4bf1a55da976a5ed60901bb8801f1024ef9774] x86/mm: Don't flush the TLB on #WP pmd fixups
git bisect 

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

2013-02-12 Thread Peter Hurley
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 ff5fd020 ip 
7fff069e277f sp 7fff068c9ef8 error d

and boots to an initramfs prompt.

git bisect (log attached) blames:

commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
Merge: 3596f5b 949db15
Author: H. Peter Anvin h...@linux.intel.com
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 h...@linux.intel.com


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 can confirm this _does not_ happen with same config on mainline
3.8-rc7.
Just confirmed that the same fault occurs with next-20130211.

Regards,
Peter Hurley
git bisect start
# good: [6bacaa9ddacb71c691d32c678d37bc59ffc71fac] Merge tag 'sound-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
git bisect good 6bacaa9ddacb71c691d32c678d37bc59ffc71fac
# bad: [164708bec016c6ceb76a2bb2e29b086bf0ad4e37] Add linux-next specific files for 20130204
git bisect bad 164708bec016c6ceb76a2bb2e29b086bf0ad4e37
# good: [0231bb5336758426b44ccd798ccd3c5419c95d58] perf: Fix event group context move
git bisect good 0231bb5336758426b44ccd798ccd3c5419c95d58
# good: [0ba3b2ccc72b3df5c305d61f59d93ab0f0e87991] USB: ftdi_sio: add Zolix FTDI PID
git bisect good 0ba3b2ccc72b3df5c305d61f59d93ab0f0e87991
# good: [8b31849a113a8868eb2de692be5c9ecadae93ac9] Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
git bisect good 8b31849a113a8868eb2de692be5c9ecadae93ac9
# good: [972f7c832229781f09f03284cde484ccdb44d3ee] x86, doc: Boot protocol 2.12 is in 3.8
git bisect good 972f7c832229781f09f03284cde484ccdb44d3ee
# good: [da57b936ea7b328d1009b37a0a0ad1f14148e104] xtensa: Provide dummy dma_mmap_coherent() and dma_get_sgtable()
git bisect good da57b936ea7b328d1009b37a0a0ad1f14148e104
# good: [1927661b1748480692f1fa2c390fe031c86d862a] ASoC: fsl: fix snd-soc-imx-pcm module build
git bisect good 1927661b1748480692f1fa2c390fe031c86d862a
# good: [cff3c124a7e82ca0ea1d6864b27ef18c403c0773] sched/debug: Fix format string for 32-bit platforms
git bisect good cff3c124a7e82ca0ea1d6864b27ef18c403c0773
# good: [ce4a3d52888a95473914bd54bcf6c566014fc03e] [media] radio: set vfl_dir correctly to fix modulator regression
git bisect good ce4a3d52888a95473914bd54bcf6c566014fc03e
# good: [d36b7b9643faca8aab8cee8d824f75c800b337ac] Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/urgent
git bisect good d36b7b9643faca8aab8cee8d824f75c800b337ac
# good: [0ce82b7f7b7373b16ecf7b5725e21e2975204500] mtd: nand: onfi don't WARN if we are in 16 bits mode
git bisect good 0ce82b7f7b7373b16ecf7b5725e21e2975204500
# good: [58c49df378cde4ff64172483d593a1a5689c13a8] mtip32xx: fix for crash when the device surprise removed during rebuild
git bisect good 58c49df378cde4ff64172483d593a1a5689c13a8
# good: [11f6d5d6564613befc240ebf9620c80fabe74c1a] Merge remote-tracking branch 'spi-mb/spi-next'
git bisect good 11f6d5d6564613befc240ebf9620c80fabe74c1a
# bad: [df3de4831a52f71e3f5ce3ca67de885f9bcf6fed] Merge remote-tracking branch 'driver-core/driver-core-next'
git bisect bad df3de4831a52f71e3f5ce3ca67de885f9bcf6fed
# good: [ce68648792ba859fe11075f507909970ae5e1ba4] kvm tools: remove unused field from virtio-blk
git bisect good ce68648792ba859fe11075f507909970ae5e1ba4
# bad: [81f3c277544d5359e4bf3fdfd2c4495a288d67ff] Merge remote-tracking branch 'fw-nohz/nohz/next'
git bisect bad 81f3c277544d5359e4bf3fdfd2c4495a288d67ff
# good: [0e04f53a4310c2376a40a3eaf4cd74822534b7c2] Merge branch 'x86/microcode'
git bisect good 0e04f53a4310c2376a40a3eaf4cd74822534b7c2
# bad: [e761e0bbb991c0a0eaf59b5d61feebf3185f58bd] Merge remote-tracking branch 'rcu/rcu/next'
git bisect bad e761e0bbb991c0a0eaf59b5d61feebf3185f58bd
# good: [38dbe0b137bfe6ea92be495017885c0785179a02] tracing: Remove second iterator initializer
git bisect good 38dbe0b137bfe6ea92be495017885c0785179a02
# bad: [152aa0e8ad77111b82ebe655c559b58f5dec0981] Merge remote-tracking branch 'tip/auto-latest'
git bisect bad 152aa0e8ad77111b82ebe655c559b58f5dec0981
# bad: [5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d] x86, kvm: Fix kvm's use of __pa() on percpu areas
git bisect bad 5dfd486c4750c9278c63fa96e6e85bdd2fb58e9d
# good: [6a3956bd242926f8956992f6ed7805b0811be003] x86/lguest: Use __pa_symbol instead of __pa on C visible symbols
git bisect good 6a3956bd242926f8956992f6ed7805b0811be003
# bad: [7b5c4a65cc27f017c170b025f8d6d75dabb11c6f] Merge tag 'v3.8-rc5' into x86/mm
git bisect bad 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
# good: [5e4bf1a55da976a5ed60901bb8801f1024ef9774] x86/mm: Don't flush 

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

2013-02-12 Thread H. Peter Anvin
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 ff5fd020 ip 
 7fff069e277f sp 7fff068c9ef8 error d
 
 and boots to an initramfs prompt.
 
 git bisect (log attached) blames:
 
 commit 7b5c4a65cc27f017c170b025f8d6d75dabb11c6f
 Merge: 3596f5b 949db15
 Author: H. Peter Anvin h...@linux.intel.com
 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 h...@linux.intel.com
 
 
 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.

-hpa


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