Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544502 - sys-kernel/genkernel-3.4.51.2 - /usr/share/genkernel/gen_bootloader.sh: line 75: UUID=338d4fd0: value too great for base (error token is "338d4fd0")
Summary: sys-kernel/genkernel-3.4.51.2 - /usr/share/genkernel/gen_bootloader.sh: line ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-25 19:32 UTC by Thomas Deutschmann (RETIRED)
Modified: 2017-09-07 20:17 UTC (History)
1 user (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 Thomas Deutschmann (RETIRED) gentoo-dev 2015-03-25 19:32:21 UTC
Executing `genkernel --menuconfig all` shows

[...]
* kernel: >> Cleaning...
* kernel: >> Invoking menuconfig...
configuration written to .config

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

*         >> Compiling 3.19.2-gentoo bzImage...
*         >> Installing firmware ('make firmware_install') due to CONFIG_FIRMWARE_IN_KERNEL != y...
*         >> Compiling 3.19.2-gentoo modules...
*         >> Generating module dependency data...
* Copying config for successful build to /etc/kernels/kernel-config-x86_64-3.19.2-gentoo
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Copying keymaps
*         >> Appending busybox cpio data...
*         >> Appending e2fsprogs cpio data...
*         >> Appending lvm cpio data...
*           LVM: Adding support (compiling binaries)...
* lvm: >> Using cache
*         >> Appending modules cpio data...
*         >> Appending blkid cpio data...
*         >> Appending modprobed cpio data...
*         >> Appending linker cpio data...
*         >> Finalizing cpio...
*         >> Compressing cpio data (.xz)...
* Adding kernel to /boot/grub/grub.conf...
awk: fatal: cannot open file `/var/tmp/genkernel/28166.32602.6149.11577/grub.map' for reading (No such file or directory)
/usr/share/genkernel/gen_bootloader.sh: line 75: UUID=338d4fd0: value too great for base (error token is "338d4fd0")
[...]



Reproducible: Always




# emerge --info
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r2, 3.19.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.19.2-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_C2758_@_2.40GHz-with-gentoo-2.2
KiB Mem:    16406780 total,  15039264 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Wed, 25 Mar 2015 17:45:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=silvermont -mtune=silvermont -mprfchw -mrdrnd"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-O2 -pipe -march=silvermont -mtune=silvermont -mprfchw -mrdrnd"
DEFAULT_ABI="amd64"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GRUB_PLATFORMS="efi-64 pc"
KERNEL="linux"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"

=================================================================
                        Package Settings
=================================================================

sys-kernel/genkernel-3.4.51.2::gentoo was built with the following:
USE="crypt cryptsetup (-ibm) (-selinux)" ABI_X86="64"


sys-boot/grub-2.02_beta2-r7::gentoo was built with the following:
USE="fonts multislot nls themes -debug -device-mapper -doc -efiemu -libzfs -mount -sdl -static -test -truetype" ABI_X86="64" GRUB_PLATFORMS="efi-64 pc -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -xen"
CFLAGS=""
LDFLAGS=""
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2015-03-25 19:45:12 UTC
Well, the problem was caused by

# grep -i bootl /etc/genkernel.conf
BOOTLOADER="grub"

setting 'BOOTLOADER="grub2"' fixes the problem.

Feel free to close as invalid, but I suggest changing the default value from "grub" to "grub2" because grub2 is now stable (default) on Gentoo.
Comment 2 Ben Kohler gentoo-dev 2017-09-07 20:17:14 UTC
I have attached a patch to bug 577484 to change the default, I'm going to go ahead and close this one out since that change plus the impending removal of grub legacy should make this moot