Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271439 - Problem with booting Gentoo use any kernel image
Summary: Problem with booting Gentoo use any kernel image
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 18:33 UTC by Szymluk
Modified: 2009-07-02 01:26 UTC (History)
1 user (show)

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


Attachments
Config nonbootable kernel (config_nonbootable_kernel,54.14 KB, text/plain)
2009-05-29 08:30 UTC, Szymluk
Details
config bootable kernel (config_bootable_kernel,55.11 KB, text/plain)
2009-05-29 08:30 UTC, Szymluk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szymluk 2009-05-27 18:33:28 UTC
I try boot my Gentoo, use kernel [git-source/gentoo-source] and nothing happens.




Reproducible: Always




Grub's screen;
Booting "Gentoo 2008.0"

root (hd0,1)
Filesystem type is jfs, partition type is 0x83
Kernel /boot/vmlinuz-2.6.29-gentoo-r4 root=/dev/hda2 ro vga=792

[Linux-bzImage, setup = 0x2c00, size = 0x2381b0]

No errors, no "kernel panic" ...
System don't boot.
Kernel compiles normally, without any errors.

My old image of kernel work perfect - system boots normal.


emerge --info
http://wklej.org/id/93117/

zcat /proc/config.gz - conf of kernel who boots perfect
http://wklej.org/id/93120/

cat /boot/config-2.6.29-gentoo-r4 - conf of "nonbootable" kernel
http://wklej.org/id/93127/

Output fdisk -l
http://wklej.org/id/93129/

cat /boot/grub/menu.lst
http://wklej.org/id/93130/

Thanks for any help and sorry for my bad english :)
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-29 06:50:29 UTC
I can't read (much) polish, please attach your pastebin-like items to this bug.
I suspect you might have selected some of the new kernel compression options or found a bug in them.

Also consider doing make oldconfig with the working config, and selecting N for all new options.
Comment 2 Szymluk 2009-05-29 08:28:38 UTC
@R. Johnson
I'll check these new kernel compression options.
I tried use old config, but this don't solve problem.

emerge --info
maszynka ska # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-git7 i686)
=================================================================
System uname: Linux-2.6.29-git7-i686-AMD_Athlon-tm-with-gentoo-2.0.0
Timestamp of tree: Wed, 20 May 2009 09:00:01 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -s -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COLORFGBG="15;0"
COLORTERM="rxvt"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-Os -march=athlon-xp -s -pipe"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose --alphabetical"
EMERGE_WARNING_DELAY="10"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.po.opole.pl http://gentoo.supp.name/"
HISTFILE="/root/.zsh_history"
HISTSIZE="1000"
HOME="/root"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.19.1/info:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/info:/usr/share/info/emacs-22"
INPUT_DEVICES="mouse keyboard evdev"
KERNEL="linux"
LANGUAGE="48"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-s -z combreloc"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="pl"
LOGNAME="root"
MAKEOPTS="-j2 -s"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.19.1/man:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/home/ska"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa amd64-fbsd sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="19"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/ska"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.3.3"
RPMDIR="/usr/portage/rpm"
SANE_BACKENDS="gt68xx"
SANE_CONFIG_DIR="/etc/sane.d"
SAVEHIST="1000"
SHELL="/bin/zsh"
SHLVL="4"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="rxvt"
USB_DEVFS_PATH="/dev/bus/usb"
USE="X acl alsa berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvdr encode ffmpeg fortran gdbm gif gpm gtk hal iconv ipv6 isdnlog jpeg midi mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre perl png pppd python readline reflection session spell spl sse ssl svg sysfs tcpd truetype unicode vorbis x86 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nv nvidia"
WINDOWID="31457286"
WINDOWPATH="7"
WMAKER_BIN_NAME="wmaker"
WRASTER_COLOR_RESOLUTION0="4"
XAUTHORITY="/root/.xauthyHJ1WP"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_SESSION_COOKIE="5376dcf44a54862bc88ed1614898ad46-1242821057.229478-936019163"
XSESSION="WindowMaker"
_="/usr/bin/emerge"

Output fdisk -l

maszynka ska # fdisk -l

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00086508

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1          65      522081   82  Linux swap / Solaris
/dev/hda2              66        1038     7815622+  83  Linux
/dev/hda3            1039       19457   147950617+  83  Linux

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x90909090

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1        9729    78148161   83  Linux
maszynka ska # 

cat /boot/grub/menu.lst

maszynka ska # cat /boot/grub/menu.lst
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 0
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title Gentoo 2008.0
root (hd0,1)
kernel /boot/vmlinuz-2.6.29-git7 root=/dev/hda2 ro vga=792

title Gentoo 2008.0
root (hd0,1)
kernel /boot/vmlinuz-2.6.29-gentoo-r4 root=/dev/hda2 ro vga=792
maszynka ska # 


Comment 3 Szymluk 2009-05-29 08:30:06 UTC
Created attachment 192822 [details]
Config nonbootable kernel
Comment 4 Szymluk 2009-05-29 08:30:45 UTC
Created attachment 192823 [details]
config bootable kernel
Comment 5 Szymluk 2009-05-30 21:35:36 UTC
Ok, I build older kernel (2.6.27-gentoo-r10) and effect is same - unbootable kernel.
 
@Robin Johnson
About what new kernel compression options do You think?
I search thes options, but can't find...
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2009-06-28 10:13:58 UTC
what happens if you remove the vga=792 from your bootloader config? Does anything appear on-screen then?
Comment 7 Szymluk 2009-06-28 10:39:02 UTC
(In reply to comment #6)
> what happens if you remove the vga=792 from your bootloader config? Does
> anything appear on-screen then?
> 

Hi,
I removed the vga from my bootloader config and this didn't solve problem.
Finnaly, I use Gentoo with ACCEPT_KEYWORDS=x86 and safe gcc's flags.
All work perfect.
Comment 8 Mike Pagano gentoo-dev 2009-07-02 01:26:40 UTC
Appears fixed with safe cflags and stable keyword