Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel fails for gentoo-sources 3.13.3
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message

Joined: 20 Dec 2013
Posts: 8

PostPosted: Sat Feb 15, 2014 5:54 pm    Post subject: genkernel fails for gentoo-sources 3.13.3 Reply with quote


I have been trying to compile gentoo-sources-3.13.3 with genkernel, but it fails with message (in /var/log/genkernel.log):
  CC      drivers/video/console/bitblit.o
drivers/video/console/fbcon.c: In function ‘fbcon_clear_margins’:
drivers/video/console/fbcon.c:1319:20: warning: unused variable ‘ops’ [-Wunused-variable]
  LD      drivers/video/omap2/displays-new/built-in.o
  LD      drivers/video/omap2/built-in.o
  CC      drivers/watchdog/watchdog_core.o
  CC      drivers/watchdog/watchdog_dev.o
  LD      drivers/watchdog/watchdog.o
  LD      drivers/watchdog/built-in.o
  CC      drivers/video/console/softcursor.o
  CC      drivers/video/cfbfillrect.o
  LD      drivers/video/console/built-in.o
  CC      drivers/video/cfbcopyarea.o
  CC      drivers/video/cfbimgblt.o
  CC      drivers/video/output.o
  LD      drivers/video/fb.o
  LD      drivers/video/built-in.o
  LD      drivers/built-in.o
* Gentoo Linux Genkernel; Version^[[0m
* Running with options: --kernel-config=/usr/src/linux/.config all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific from /usr/share/genkernel/arch/x86_64/ ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* ERROR: Failed to compile the "bzImage" target...
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

How can I check what really went wrong (and hopefully correct it)?

in /var/log/messages I see only some openswan- and thermald-related stuff and dmesg apart from some wifi stuff gives me:
[48570.153360] EXT4-fs (dm-0): re-mounted. Opts: commit=0
[52192.951176] hrtimer: interrupt took 2005468 ns
Back to top
View user's profile Send private message

Joined: 30 Aug 2004
Posts: 1014
Location: Sankt-Petersburg, Russia

PostPosted: Mon Feb 17, 2014 12:54 pm    Post subject: Reply with quote

This will not answer your question, just because I do not know why it fails.
May be incompatible options or compiler flags.

But you can try following:


env-update && source /etc/profile
emerge -auvNDt --with-bdeps=y --keep-going world
rm /var/cache/revdep-rebuild/*.rr

before compiling new kernel.

I am personally do not use genkernel, because I don't understand it's purpose.

In my case the script


#make localmodconfig
#make distclean
#make clean

cd linux
make menuconfig
make install
make INSTALL_MOD_STRIP=1 modules_install
cd ..

located in /usr/src does all work.

you just need copy you .config from previous version
and run that script. otherwise uncomment 3 lines in the beginning.

Well, I am also not using initrd, because of no need. But you can just add one more line to update initrd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum