Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get genkernel to compile xen-sources-2.6.20-r3
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
jai
n00b
n00b


Joined: 30 Aug 2007
Posts: 17

PostPosted: Thu Sep 20, 2007 8:20 am    Post subject: Can't get genkernel to compile xen-sources-2.6.20-r3 Reply with quote

Hi,
I am wondering if anyone else has had the same problems as me compiling xen-sources-2.6.20-r3?

In particular, compiling it with genkernel as is in http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo#Using_genkernel . I have tried various version of genkernel without success.

Current message
Quote:
* Gentoo Linux Genkernel; Version 3.4.9_pre3
* Running with options: --lvm --xconfig --color --install --no-clean all

* Linux Kernel 2.6.20-xen-r3 for x86_64...
* config: --no-clean is enabled; leaving the .config alone.
* config: >> Invoking menuconfig...


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

* config: >> Invoking xconfig...
* >> Compiling 2.6.20-xen-r3 bzImage...
cp: cannot stat `arch/x86_64/boot/bzImage': No such file or directory
* ERROR: Could not copy the kernel image to /boot!

* -- Grepping log... --

COMMAND: make -j3 CC="gcc" LD="ld" AS="as"
make: Nothing to be done for `bzImage'.
* Gentoo Linux Genkernel; Version 3.4.9_pre3
* Running with options: --lvm --xconfig --color --install --no-clean all

* ERROR: Could not copy the kernel image to /boot!

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*


emerge --info
Quote:
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Thu, 20 Sep 2007 07:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.5.1-r2
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --color y --deep"
FEATURES="buildpkg ccache distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 aoss apache2 apm asf avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cddb cdparanoia cdr cli cpi cpudetection cracklib crciprec crypt cups dbus dri dvb dvd dvdnav dvdr encode exif fam fbcon festival ffmpeg fftw flac fortran gd gdbm gpm gtk hal hvm iconv ieee1394 imagemagick ipv4 isdnlog java javascript joystick jpeg kde kdeenablefinal lame lcd lirc lm_sensors lzo mad midi mjpeg mmx mmxext mp2 mp3 mp4 mpeg mplayer mudflap mysql ncurses new-login nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre perl php pmu png pnm posix pppd pygrub python qt3 qt3support qt4 quicktime rdesktop readline reflection rtc samba sdl server session source spell spl sqlite sqlite3 sse sse2 ssl ssse3 symlink tcpd threads tk transcode truetype truetype-fonts type1-fonts unicode upnp usb vorbis wifi wma x264 xcomposite xen xinerama xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" DVB_CARDS="usb-bluebird" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="hd44780" LIRC_DEVICES="dvico" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa vga"
Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
tekknokrat
Apprentice
Apprentice


Joined: 17 Apr 2005
Posts: 278
Location: Magdeburg

PostPosted: Fri Sep 28, 2007 5:40 pm    Post subject: Reply with quote

I have the same situation.

Compiling xen works fine with make oldconfig && make menuconfig && make.

Same output with genkernel.

Same problem? http://gentoo-wiki.com/Talk:HOWTO_Xen_and_Gentoo#genkernel_xen-x86_patch_--_switch_root_excluded
_________________
Optimism is solely an absence of information. / Optimismus ist nur ein Mangel an Information.
(Arthur Schopenhauer)
Back to top
View user's profile Send private message
mnagl
n00b
n00b


Joined: 05 Jul 2003
Posts: 25

PostPosted: Thu Nov 01, 2007 1:07 pm    Post subject: Reply with quote

Same problem here. I couldn't find a working solution so far. :(
Back to top
View user's profile Send private message
nemster
n00b
n00b


Joined: 11 Jun 2004
Posts: 27

PostPosted: Thu Nov 01, 2007 1:41 pm    Post subject: Reply with quote

my "working" solution is to do the kernel by hand and only do the initrd with genkernel
this works fine for me.

altough it has pretty long to boot because of this:
https://forums.gentoo.org/viewtopic-t-559476.html
Back to top
View user's profile Send private message
mnagl
n00b
n00b


Joined: 05 Jul 2003
Posts: 25

PostPosted: Thu Nov 01, 2007 2:44 pm    Post subject: Reply with quote

Is there already a bugreport for this issue? I didn't find it in bugzilla and would like to report it because I think not using genkernel is just a workaround, no solution... :?
Back to top
View user's profile Send private message
mnagl
n00b
n00b


Joined: 05 Jul 2003
Posts: 25

PostPosted: Fri Nov 02, 2007 1:42 am    Post subject: [Solved] Cant get genkernel to compile xen-sources-2.6.20-r3 Reply with quote

The Problem is solved the same way as this one:
https://forums.gentoo.org/viewtopic-t-570173-start-0-postdays-0-postorder-asc-highlight-.html

Quote:

Well well end of tale.
What you need during menuconfig is to Load your config (if you have any) and then Save it to ".config"

After this .config is not overwritten with default values of .config file!


So after configuring menuconfig select "Save an Alternate Configuration File" and save your configuration as ".config". After this it compiles well.
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