You are not logged in.

#1 2009-02-01 16:16:09

Demind
Member
Registered: 2007-07-10
Posts: 111

kernel 2.6.28 - make xconfig problem

Hi, as always I recompile my kernel using a custom .config file in order to have some optimizations and particular options on my PC. Until 2.6.27.10 I haven't had any problem...today I'm trying to compile the 2.6.28.2 kernel, using the same PKGBUILD as always but xconfig doesn't start...the weird thing is that my output is:

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  CHECK   qt
  HOSTCC  scripts/kconfig/conf.o
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
  SHIPPED scripts/kconfig/zconf.tab.c
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
/opt/qt/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
  HOSTCC  scripts/kconfig/kconfig_load.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTCXX scripts/kconfig/qconf.o
  HOSTLD  scripts/kconfig/qconf
scripts/kconfig/qconf arch/x86/Kconfig
make[1]: *** [xconfig] Segmentation fault
make: *** [xconfig] Error 2

And then make silentoldconfig starts...

If i try to use the stock Arch PKGBUILD to compile using make xconfig:

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
*
* Restart config...
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
Local version - append to kernel release (LOCALVERSION) [-MARCO] -MARCO
Automatically append version information to the version string (LOCALVERSION_AUTO) [Y/n/?] y
Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y
System V IPC (SYSVIPC) [Y/n/?] y
POSIX Message Queues (POSIX_MQUEUE) [N/y/?] n
BSD Process Accounting (BSD_PROCESS_ACCT) [N/y/?] n
Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] n
Auditing support (AUDIT) [N/y/?] n
Kernel .config support (IKCONFIG) [N/m/y/?] n
Kernel log buffer size (16 => 64KB, 17 => 128KB) (LOG_BUF_SHIFT) [15] 15
Control Group support (CGROUPS) [Y/n/?] y
  Example debug cgroup subsystem (CGROUP_DEBUG) [N/y/?] n
  Namespace cgroup subsystem (CGROUP_NS) [Y/n/?] y
  control group freezer subsystem (CGROUP_FREEZER) [N/y/?] (NEW)

So no make xconfig even with this...again make silentoldconfig...what's going on with the Qt3 on Arch?

Thanks for any help!

Offline

#2 2009-02-04 10:41:57

Demind
Member
Registered: 2007-07-10
Posts: 111

Re: kernel 2.6.28 - make xconfig problem

So noone uses xconfig or have any hint? yikes
Sorry for this double post but I'm really really stuck sad

Offline

#3 2009-02-04 11:12:00

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: kernel 2.6.28 - make xconfig problem

I gues that 'make menuconfig' is much more popular smile


Mortuus in anima, curam gero cutis

Offline

#4 2009-02-04 11:26:26

Demind
Member
Registered: 2007-07-10
Posts: 111

Re: kernel 2.6.28 - make xconfig problem

patroclo7 wrote:

I gues that 'make menuconfig' is much more popular smile

Yeah I know but it's much more "poor"...if you have some time to spare with xconfig you can learn a lot of things and customize your kernel in a really fast way!It also has the very useful FIND option that works like a charm and makes you even faster!
I'm quite doped with xconfig indeed lol

Offline

#5 2009-02-04 12:27:11

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: kernel 2.6.28 - make xconfig problem

@Demind, make xconfig works with my setup and the new kernel. Perhaps you need to check your qt3 installation.


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#6 2009-02-04 13:16:18

Demind
Member
Registered: 2007-07-10
Posts: 111

Re: kernel 2.6.28 - make xconfig problem

kishd wrote:

@Demind, make xconfig works with my setup and the new kernel. Perhaps you need to check your qt3 installation.

The problem is that segmentation fault...it's not like it can't find the qt3 installation it's more difficult to solve...I mean I don't have any output message about the error...which qt3 version are you using?


[edit]: I can confirm everything, I reinstalled qt3 with pacman, I used the stock Arch PKGBUILD and config file from ABS and I got the same error...

Last edited by Demind (2009-02-04 13:28:30)

Offline

#7 2009-02-05 05:20:19

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: kernel 2.6.28 - make xconfig problem

I am using qt3 version 3.3.8-9 and testing repo enabled.


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#8 2009-02-05 08:39:45

Peterix
Member
Registered: 2008-05-05
Posts: 30

Re: kernel 2.6.28 - make xconfig problem

Hi, I've been hit by the same problem only when I run make xconfig from a PKGBUILD. I rewrote the section which does kernel configuration like this:

 _kernver="$(make kernelrelease)"
  ####################
  # stop here, this is useful to configure the kernel
  msg "Stopping build, configure kernel and press key to continue"
  read stuff
  ####################
  make bzImage modules || return 1

'read stuff' will let you switch to another terminal and run 'make xconfig' inside ./src/linux-* (expand to whatever version you compile)
After you are done with the config, hit return in the first terminal to start the build process.
It's weird but it works this way.

Last edited by Peterix (2009-02-05 08:43:04)

Offline

#9 2009-02-05 13:06:04

Demind
Member
Registered: 2007-07-10
Posts: 111

Re: kernel 2.6.28 - make xconfig problem

It works!Thanks a lot big_smile

Offline

#10 2009-02-05 18:28:24

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: kernel 2.6.28 - make xconfig problem

i can't help but wonder if the 'make xconfig' breakage is related to my 'make menuconfig'.  i suspect it has something to do with the makepkg fakeroot environment, since in both cases, the 'make *config' work fine outside of the makepkg environment.

EDIT: i've added this issue to the bug-tracker at http://bugs.archlinux.org/task/13214.

Last edited by kludge (2009-02-11 20:19:33)


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#11 2010-02-10 09:42:23

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

Re: kernel 2.6.28 - make xconfig problem

Cheers I was wondering what was happening when my kernel 2.6.33-rc7 build was not asking me for anything and just compiling yikes

Offline

Board footer

Powered by FluxBB