Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97238 - genkernel-3.2.0_pre12 builds invalid image
Summary: genkernel-3.2.0_pre12 builds invalid image
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-27 12:05 UTC by Karol Krizka
Modified: 2005-07-03 13:41 UTC (History)
0 users

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 Karol Krizka 2005-06-27 12:05:06 UTC
I tried to compile gentoo-sources-2.6.13-r1 with genkernel and can't boot it. It
just throws errors about invalid commands like when loading modules and starting
udev and so on:
/init: 1: ls no such command 
Is there any way I can capture them?
It finaly failed with a message that invalid device was specified. And when I
put /dev/hda2 I get the same error. I boot with the following:
title=Gentoo Linux (2.6.12-gentoo-r1)
   root (hd0,0)
   kernel /kernel-genkernel-x86_64-2.6.12-gentoo-r1 root=/dev/ram0 init=/linuxrc
ramdisk=8192 real_root=/dev/hda2 vga=0x317 splash=silent,fadein,theme:gentoo
quiet CONSOLE=/dev/tty1
   initrd /initramfs-genkernel-x86_64-2.6.12-gentoo-r1

Reproducible: Always
Steps to Reproduce:
1.boot linux
2.see gensplash
3.see errors

Actual Results:  
A bunch of error messages like:
/init: 1: ln not found
Finaly fails with invalid root device message.

Expected Results:  
Linux should have booted

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo x86_64)
=================================================================
System uname: 2.6.12-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
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/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/breakmygentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3ds X Xaw3d a52 aac aalib accessibility acl acpi adns aim allegro
alsa amuled ao apache2 athena audiofile avi backward-compatible bash-completion
bcmath berkdb berkkdb bidi bitmap-fonts bl bmp bonobo buttons bzip2 bzlib cairo
calendar canna caps cdb cdda cddb cdio cdparanoia cdparanois cdr cegui cg chasen
cjk clanJavaScript clanVoice cpdflibcrypt cpudetection crypt cscope css ctype
cups curl curlwrappers custom-cflags db2 dba dbase dbm dbx dedicated devil dga
dio directfb directfbdivx4linux djbfft djvu dnd doc double-precision dpms dts dv
dvb dvd dvdr dvdread dxr3 dynagraph editor edl eds emacs emacs-w3 emul-linux-x86
encode epiphany esd evo examples exif expat f77 fam fame fat fbcon ffmpeg fftw
flac flash flatfile font-server foomaticdb fortan fortran fping fpx freetds
freetype freewnn ftp gaim gb gcj gd gd-external gdbm geoip gg ggi gif giff gii
gimpprint ginac glitz glut gmail gmailtimestamps gnome gnomedb gnustep gnutls
gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal hfs howl httpd iconv
icq ieee1394 imagemagick imap imlib inifile innodb ipv6 irc ithreads jabber java
javascript jbig jfs jikes jp2 jpeg lcms ldap leim libcaca libclamav libedit
libg++ libgda libsamplerate libvisual libwww live lj lzo lzw lzw-tiff mad
maildir mailwrapper mapeditor matroska matrox mbox mcal mcve md5sum mdb migemo
mikmod mime ming mjpeg mng motif mozdevelop mozilla mozillampg3 mozsvg mp3 mpeg
mpi mplayer msn mssql mule mysql mysqli mythtv nas ncurses neXt network nfs nls
nntp nowin nptl ntfs nvidia oav oci8 odbc offensive ofx ogg oggvorbis openal
openexr opengl openntpd oracle oss pam parse-clocks pcmcia pcre pda pdflib perl
php physfs plotutils png pnp portaudio posix postgres ppds python qmail
quicktime rar readlibe readline real reiserfs remote rss rtc ruby samba sasl
sblive scanner sdk sdl server silc slang sndfile sockets sox speex spell spl
sqlite srp ssl stats stream subp subtitles svg symlink synlinkszip sysfs tcltk
tcpd tga theora threads tidy tiff tokenizer tools truetype truetype-fonts
type1-fonts unicode usb userlocales v4l v4l2 vcd videos vidix vlm vorbis wifi
wmf wxgtk1 wxwindows x11vnc xanim xbase xchatdccserver xchattext xface xfs xine
xml xml2 xmlrpc xmms xosd xpm xprint xrandr xsl xv xvid xvmc yahoo yaz yv12 zeo
zlib zvbi userland_GNU kernel_linux elibc_glibc"Unset:  ASFLAGS, CTARGET, LANG,
LC_ALL, LINGUAS, MAKEOPTS
Comment 1 Eric Edgar (RETIRED) gentoo-dev 2005-06-27 13:41:39 UTC
did you change your busybox config? ls and ln are part of busybox and if they 
are not found things wont work.
Comment 2 Karol Krizka 2005-06-27 13:44:44 UTC
No I didn't. I'll try to remerge it and tell you. (I have to recompile the
kernel too, right?)
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-06-27 14:39:27 UTC
No, you don't need to recompile the kernel - just use genkernel initrd instead
of genkernel all. Also clear your binkpkg cache by doing rm -rf
/usr/share/genkernel/pkg/x86_64/ before trying.
Comment 4 John M. Drescher 2005-07-02 23:04:59 UTC
I have the same problem building 2.6.12-gentoo-r2 with 3.2.0_pre17 on a dual
althon mpx rig. When I boot it drops into a shell because udev is not setup
because it can not find the commands to set it up and thus there is no root. In
the shell there is no ls so its very difficult to get any info on what if
anything is in /dev. 
Comment 5 Karol Krizka 2005-07-02 23:05:58 UTC
Recompiling busybox made it work for me.
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2005-07-03 13:41:56 UTC
Looks like the cache just needs cleaning out then - closing bug.