lkml.org 
[lkml]   [2006]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: xconfig segfault
On Sun, 19 Nov 2006 16:47:03 -0800 Randy Dunlap wrote:

> Adrian Bunk wrote:
> > On Sun, Nov 19, 2006 at 04:12:31PM -0800, Randy Dunlap wrote:
> >> make xconfig is segfaulting on me in 2.6.19-rc6 and later
> >> when I do ^F (find/search).
> >> Works fine in 2.6.19-rc5 and earlier.
> >>
> >> The only message log I get is:
> >>
> >> qconf[5839]: segfault at 0000000000000008 rip 00000000004289bc rsp 00007fffa08ccf10 error 4
> >>
> >> I don't see any changes in scripts/kconfig/* in 2.6.19-rc6.
> >> Any ideas/suggestions?
> >
> > Works fine for me in -rc6.
> >
> > Did you upgrade Qt, or could there be any other local change that broke
> > it for you?
>
> Didn't upgrade Qt. I started out suspecting that it was a local change
> that broke it, like a library, but I rebuilt/re-tested 2.6.19-rc[123456]
> and rc1..rc5 all work for me, while rc6 segfaults.
> And rc6 works for me on an i386/i686 machine, but fails on x86_64.

I found the problem patch, but not the root cause.

The xconfig segfault begins in 2.6.19-rc5-git3 (-git2 is OK).
A relatively simple Kconfig change causes it (but why?).

(Note: The running kernel doesn't matter, just which kernel tree
is being viewed/config-ed.)

If I back out the patches below, -git3 (xconfig ^F find/search)
works for me.

---
~Randy


diff -Naurp -X linux-2.6.19-rc5-git2/Documentation/dontdiff linux-2.6.19-rc5-git2/drivers/char/Kconfig linux-2.6.19-rc5-git3/drivers/char/Kconfig
--- linux-2.6.19-rc5-git2/drivers/char/Kconfig 2006-11-20 08:47:26.000000000 -0800
+++ linux-2.6.19-rc5-git3/drivers/char/Kconfig 2006-11-20 08:48:34.000000000 -0800
@@ -409,14 +409,6 @@ config SGI_MBCS
If you have an SGI Altix with an attached SABrick
say Y or M here, otherwise say N.

-config MSPEC
- tristate "Memory special operations driver"
- depends on IA64
- help
- If you have an ia64 and you want to enable memory special
- operations support (formerly known as fetchop), say Y here,
- otherwise say N.
-
source "drivers/serial/Kconfig"

config UNIX98_PTYS
diff -Naurp -X linux-2.6.19-rc5-git2/Documentation/dontdiff linux-2.6.19-rc5-git2/arch/ia64/Kconfig linux-2.6.19-rc5-git3/arch/ia64/Kconfig
--- linux-2.6.19-rc5-git2/arch/ia64/Kconfig 2006-11-20 08:47:41.000000000 -0800
+++ linux-2.6.19-rc5-git3/arch/ia64/Kconfig 2006-11-20 08:48:34.000000000 -0800
@@ -484,6 +484,15 @@ source "net/Kconfig"

source "drivers/Kconfig"

+config MSPEC
+ tristate "Memory special operations driver"
+ depends on IA64
+ select IA64_UNCACHED_ALLOCATOR
+ help
+ If you have an ia64 and you want to enable memory special
+ operations support (formerly known as fetchop), say Y here,
+ otherwise say N.
+
source "fs/Kconfig"

source "lib/Kconfig"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-11-20 19:31    [W:0.041 / U:8.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site