Summary: | genkernel wont compile 2.6.22 kernels | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Billy DeVincentis <billydv1> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED NEEDINFO | ||
Severity: | major | CC: | rbachl |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
.config file saved from menuconfig
Attached is genkernel.log as suggested in the error message |
Description
Billy DeVincentis
2007-07-14 19:10:43 UTC
Please, post/attach the errors here; don't describe them. (In reply to comment #0) > wrong config physical start , needs to be multiple of 2mb, not > something changeable by menuconfig, always gives genkernel default > > Reproducible: Always > > Steps to Reproduce: > 1.run genkernel > 2.attempt to build kernel > 3. > No, There isnt a problem with genkernel, its simply that with the 2.6.22 kernels you MUST select configure standard kernel feature under general setup, Then just under build relocatable kernel will show up the physical start address and you need to replace the 1 with a 2 > Actual Results: > failed on wrong config_physical_start > > Expected Results: > compiled kernel > (In reply to comment #1) > Please, post/attach the errors here; don't describe them. > The described solution does not resolve the problem. There is a related forum dicussion where one user suggested as a solution to manually edit .config, seehttp://forums.gentoo.org/viewtopic-t-570173-highlight-configphysicalstart.html In menuconfig, I have done the following to circumvent the problem without success: 1) Enabled >General setup > Configure standard kernel features (for small systems) 2) Enabled > Processor type and features > Build a relocatable kernel(EXPERIMENTAL) 3) Changed > Processor type and features > (0x100000) Physical address where the kernel is loaded to > Processor type and features > (0x200000) Physical address where the kernel is loaded Unfortunately the problem persists!!! Even if the above approach would work, it is probably a bad idea to build relocatable kernels even if this is not required. The genkernel command is as follows: #genkernel --menuconfig --lvm2 --dmraid --luks all Created attachment 127907 [details] .config file saved from menuconfig # emerge --info Portage 2.1.2.11 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 x86_64) ================================================================= System uname: 2.6.21-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 12 Aug 2007 15:00:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" 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/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.twaren.net/Linux/Gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi aim alsa amd64 apache apache2 apm arts audiofile bash-completion bcmath berkdb bidi bitmap-fonts blas bluetooth bzip2 cdparanoia cdr cli cracklib crypt cups curl curlwrappers dga directfb doc dri dts dvb dvd dvdr dvdread eds emacs emboss encode esd evo examples exif fastcgi fbcon ffmpeg fftw flac foomaticdb fortran ftp ggi gif ginac glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal iconv icq idn ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java javascript jikes jpeg jpeg2k kde kdeenablefinal lapack lcms ldap leim libedit libwww lirc lm_sensors lzw lzw-tiff mad madwifi matroska midi mikmod mime mng mnogosearch mono mp3 mpeg mpi msn mudflap mule mysql mysqli nas ncurses nls nptl nptlonly nsplugin nvidia ogg ole openal opengl openmp osc oscar oss pam pcre pdf perl php plotutils png pppd python qt3 qt3support qt4 quicktime radius readline reflection samba scanner sdl seamonkey server session sockets socks5 spell spl ssl symlink szip tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vhosts vorbis wifi wxwindows xcomposite xface xine xml xmlrpc xorg xosd xpm xv xvid yahoo 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="imon" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 127909 [details]
Attached is genkernel.log as suggested in the error message
Error message from command
genkernel --menuconfig --lvm2 --dmraid --luks all
--
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/module.h:9,
from include/linux/crypto.h:21,
from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/page.h:89:2: error: #error "CONFIG_PHYSICAL_START must be a multiple of 2MB"
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
* Gentoo Linux Genkernel; Version 3.4.8
* Running with options: --menuconfig --lvm2 --dmraid --luks all
* ERROR: Failed to compile the "prepare" target...
|