Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82121 - genkernel (3.1.0h) --gensplash makes "System too big"
Summary: genkernel (3.1.0h) --gensplash makes "System too big"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard: [ Fixed: 3.2.0 ]
Keywords:
: 85713 (view as bug list)
Depends on: 73158
Blocks:
  Show dependency tree
 
Reported: 2005-02-15 08:24 UTC by Arpad Borsos
Modified: 2005-07-09 18:06 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arpad Borsos 2005-02-15 08:24:28 UTC
compiling a stock kernel with "genkernel all" works fine.
while trying to include gensplash using "genkernel --gensplash all" gives the following error:
* ERROR: Failed to compile the "bzImage" target...

* -- Grepping log... --

  SCSI generic support (CHR_DEV_SG) [Y/n/m/?] y
  *
  * Some SCSI devices (e.g. CD jukebox) support multiple LUNs
  *
  Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [Y/n/?] y
  Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
--
System is too big. Try using modules.
make[1]: *** [arch/x86_64/boot/bzImage] Fehler 1
make: *** [bzImage] Fehler 2
* Gentoo Linux Genkernel; Version 3.1.0h

* ERROR: Failed to compile the "bzImage" target...


Reproducible: Always
Steps to Reproduce:
1. genkernel --gensplash all
Actual Results:  
System is too big. Try using modules.

Expected Results:  
a successful compile

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 14:00:39)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon64 -mtune=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -mtune=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 berkdb bitmap-fonts cdr crypt curl dba directfb
dvdr esd f77 fam fbcon font-server fortran gd gif gnome gpm gtk gtk2 hal howl
imlib innodb ipv6 jp2 jpeg lzw lzw-tiff mp3 multilib mysql mysqli ncurses nls
nptl oggvorbis opengl oss pam perl png python qt readline sdl session simplexml
ssl symlink tcpd tiff tokenizer truetype truetype-fonts type1-fonts unicode usb
userlocales xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET
Comment 1 Jose Gonzalez Gomez 2005-02-22 11:53:47 UTC
Same here using the following:

sys-kernel/gentoo-dev-sources-2.6.9-r14  -build +doc -symlink (-ultra1)
sys-kernel/genkernel-3.1.0j  -bootsplash


Portage 2.0.51-r2 (default-linux/amd64/2004.3, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.6-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 acpi alsa berkdb bitmap-fonts crypt divx4linux doc dvd dvdr dvdread f77 font-server fortran gif gpm jp2 jpeg kerberos lzw lzw-tiff multilib ncurses nls nptl nptlonly opengl pam perl png python readline ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xv xvid zlib linguas_es linguas_ca linguas_en"
Comment 2 Arpad Borsos 2005-02-23 03:41:25 UTC
a small thing to note:
my previous kernel was compiled successfully using genkernel 3.1.0c even with the --genkernel flag. 
looks like the bug got introduced in a later version.
Comment 3 Steve Garcia 2005-03-26 07:28:28 UTC
Still a problem with genkernel 3.1.1b
Comment 4 Andrew Nelson 2005-03-28 02:25:49 UTC
Try not putting all the gensplash themes in one initramfs image or unless you are using the genkernel initrd for something specific, try not using genkernel and have splash_geninitramfs make seperate initramfs images for the different themes and have seperate entries for the different themes in your grub.conf file.
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-04-01 11:01:54 UTC
*** Bug 85713 has been marked as a duplicate of this bug. ***
Comment 6 Jose Gonzalez Gomez 2005-04-25 08:30:26 UTC
The problem is still there using genkernel-3.1.6...
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2005-06-15 12:00:32 UTC
Please try genkernel-3.2.0_pre5 which will generate an initramfs and the splash
will be external of the kernel image.
Comment 8 Karol Krizka 2005-06-15 19:39:21 UTC
It builds now. Thank you
Comment 9 Matteo Settenvini 2005-06-21 03:21:40 UTC
Btw, you can also use a little hack to make genkernel build a smaller image:
call it with something like 
  --gensplash="default -r 1024x768"
this will force it to build just that specific resolution, thus resulting in a
smaller system. I learned that after noticing at my expenses that a 15Mb /boot
partition becomes too small to hold more than three kernels... ;-)
Comment 10 John M. Drescher 2005-06-21 07:16:30 UTC
(In reply to comment #9)
> Btw, you can also use a little hack to make genkernel build a smaller image:
> call it with something like 
>   --gensplash="default -r 1024x768"
> this will force it to build just that specific resolution, thus resulting in a
> smaller system. I learned that after noticing at my expenses that a 15Mb /boot
> partition becomes too small to hold more than three kernels... ;-)

I know this works as I did this several months ago. To me it makes no sense to
include all splash resolutions into a kernel when you never change your boot up
resolution.
Comment 11 Eric Edgar (RETIRED) gentoo-dev 2005-06-21 21:20:53 UTC
this should be taken care of in genkernel-3.2.0 as plasmaroo stated.  gensplash 
is external to the kernel in this version.  As we are mainly supporting 2.6 
kernels from now on they may or may not work in the future.  We will accept 
patches to fix this issue in 2.4 kernels but dont plan on working on it 
primarily.
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2005-07-05 09:13:41 UTC
ehh... gensplash doesn't work on 2.4, at all...
Comment 13 Tim Yamin (RETIRED) gentoo-dev 2005-07-09 18:06:08 UTC
3.2.1 is in the tree and stable, closing bug as fixed. Reopen if there are any
issues. Thanks!