mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: zippel@linux-m68k.org, jes@trained-monkey.org
Cc: Adrian Bunk <bunk@stusta.de>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: xconfig segfault
Date: Mon, 20 Nov 2006 10:24:38 -0800	[thread overview]
Message-ID: <20061120102438.94ff4b0a.randy.dunlap@oracle.com> (raw)
In-Reply-To: <4560FB07.2040102@oracle.com>

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"

  reply	other threads:[~2006-11-20 18:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-20  0:12 Randy Dunlap
2006-11-20  0:41 ` Adrian Bunk
2006-11-20  0:47   ` Randy Dunlap
2006-11-20 18:24     ` Randy Dunlap [this message]
2006-11-20 21:57       ` Roman Zippel
2006-11-20 23:19         ` Randy Dunlap
2006-11-20 23:30           ` Roman Zippel
2006-11-20 23:43             ` Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061120102438.94ff4b0a.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=bunk@stusta.de \
    --cc=jes@trained-monkey.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome