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
did you change your busybox config? ls and ln are part of busybox and if they are not found things wont work.
No I didn't. I'll try to remerge it and tell you. (I have to recompile the kernel too, right?)
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.
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.
Recompiling busybox made it work for me.
Looks like the cache just needs cleaning out then - closing bug.