LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-12-2008, 12:37 AM   #1
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15
Kernel 2.6.27 compile problem


Hello all,

When I try to compile 2.6.27 from my config from 2.6.26.5 and after running "make oldconfig" the compile fails with no reason and goes back to bash.

I tried a "make mrproper" and recopied over the 2.6.27 config I configured but it stops in the same place:

Code:
  LOGO    drivers/video/logo/logo_mac_clut224.c
  LOGO    drivers/video/logo/logo_parisc_clut224.c
  LOGO    drivers/video/logo/logo_sgi_clut224.c
  LD      drivers/usb/core/usbcore.o
  LOGO    drivers/video/logo/logo_spe_clut224.c
  LD      drivers/usb/core/built-in.o
  LOGO    drivers/video/logo/logo_sun_clut224.c
  LOGO    drivers/video/logo/logo_superh_clut224.c
  LD      drivers/usb/built-in.o
  CC      drivers/video/logo/logo_linux_clut224.o
  CC      drivers/video/cfbfillrect.o
  LD      drivers/video/logo/built-in.o
  CC      drivers/video/cfbcopyarea.o
  CC      drivers/video/cfbimgblt.o
  CC      drivers/video/console/bitblit.o
  CC      drivers/video/vesafb.o
  LD      drivers/video/fb.o
  CC      drivers/video/console/fonts.o
  CC      drivers/video/console/font_8x8.o
  CC      drivers/video/console/font_8x16.o
  CC      drivers/video/console/softcursor.o
  LD      drivers/video/console/font.o
  LD      drivers/video/console/built-in.o
  LD      drivers/video/built-in.o
  LD      drivers/built-in.o
root@toxicslurpy:/usr/src/linux#
bzImage is not created and there is no error at least on the screen.

Any ideas? This is on Slackware 12.1, with make version 3.81.

Nothing in /var/log/syslog or messages.

I'm stumped.
 
Old 10-12-2008, 12:44 AM   #2
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Original Poster
Rep: Reputation: 15
Apparently this kernel does not like "make -j3".

Got a little further:

Code:

  LD      sound/pci/mixart/built-in.o
  LD      sound/pci/nm256/built-in.o
  LD      sound/pci/oxygen/built-in.o
  LD      sound/pci/pcxhr/built-in.o
  LD      sound/pci/riptide/built-in.o
  LD      sound/pci/rme9652/built-in.o
  LD      sound/pci/trident/built-in.o
  LD      sound/pci/vx222/built-in.o
  LD      sound/pci/ymfpci/built-in.o
  LD      sound/pci/built-in.o
  LD      sound/pcmcia/pdaudiocf/built-in.o
  LD      sound/pcmcia/vx/built-in.o
  LD      sound/pcmcia/built-in.o
  LD      sound/ppc/built-in.o
  LD      sound/sh/built-in.o
  LD      sound/soc/built-in.o
  LD      sound/sparc/built-in.o
  LD      sound/spi/built-in.o
  LD      sound/synth/emux/built-in.o
  LD      sound/synth/built-in.o
  LD      sound/usb/caiaq/built-in.o
  LD      sound/usb/usx2y/built-in.o
  LD      sound/usb/built-in.o
  CC      sound/ac97_bus.o
  CC      sound/last.o
  LD      sound/built-in.o
  MK_FW   firmware/n.gen.S
make[1]: *** No rule to make target `n/n', needed by `firmware/n.gen.o'.  Stop.
make: *** [firmware] Error 2
root@toxicslurpy:/usr/src/linux#

Last edited by IRIGHTI; 10-12-2008 at 12:45 AM.
 
Old 10-12-2008, 12:57 AM   #3
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Code:
MK_FW   firmware/n.gen.S
make[1]: *** No rule to make target `n/n', needed by `firmware/n.gen.o'.  Stop.
make: *** [firmware] Error 2
This happened to me too, in make oldconfig be alert after the 1st question about firmware, there is a step when there is no option, (no Y/n/?) so just hit enter and continue with the rest.
Code:
Userspace firmware loading support (FW_LOADER) [Y/?] y
  Include in-kernel firmware blobs in kernel binary (FIRMWARE_IN_KERNEL) [Y/n/?] (NEW)
I selected no.
Code:
External firmware blobs to build into the kernel binary (EXTRA_FIRMWARE) [] (NEW)
Just hit enter after this one. Continue normally on all other questions.
I know this is vague, but it worked for me and I hope it does for you too

Last edited by MannyNix; 10-12-2008 at 09:30 AM.
 
Old 10-12-2008, 01:10 AM   #4
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
My experience told me that do not "make oldconfig" after huge updates. It will always cause problems when building the kernel...
 
Old 10-12-2008, 04:22 AM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I guess when you did make oldconfig, you answered no to a question where you should just had to press enter to accept the default, so as you typed 'n', the config script took 'n' as default value (which is wrong value for this config parameter)
 
Old 10-12-2008, 07:05 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I always run 'make oldconfig' first and just press ENTER for all questions. I then run 'make menuconfig' to check/correct the options.
 
Old 10-12-2008, 03:48 PM   #7
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Original Poster
Rep: Reputation: 15
Thanks all that was it.
 
Old 05-18-2010, 07:00 AM   #8
rew
Member
 
Registered: May 2010
Posts: 36

Rep: Reputation: 3
Very old thread... still valid today with 2.6.34! I encountered this problem today and with the help of this thread managed to figure things out.

What happens if you do "make oldconfig" is that the question:

"what other firmware objects should be linked into the kernel?"

gets answered with "n" for "no".

Then with some makefile-magic it will try to build the blob called "n", which doesn't exist. The default for that question needs to be "" (blank), and not "n". (or a Null blob should be added to the kernel that's called "n").

So, after you've been hit by this problem, go into menuconfig, and find the binary blob list and empty it.

Good luck!
 
Old 05-18-2010, 07:04 AM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Welcome to LQ rew!

Thanks for the heads-up!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compile kernel problem ufmale Linux - Newbie 4 10-20-2007 12:47 PM
kernel compile problem ^kossu Debian 1 03-01-2005 08:57 AM
Problem with Kernel 2.6.2 Compile sirphoenix Linux - Newbie 2 02-17-2004 01:51 PM
Compile Kernel Problem duddy11 Linux - Newbie 1 07-31-2003 11:03 AM
Kernel compile problem bschmidt Linux - General 1 01-31-2003 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration