Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147291 - genkernel-3.4.0 fails to create initrd
Summary: genkernel-3.4.0 fails to create initrd
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-12 03:53 UTC by Xake
Modified: 2006-09-12 14:05 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 Xake 2006-09-12 03:53:22 UTC
$ sudo genkernel initrd --install --debuglevel=5
* CMD_DEBUGLEVEL: 5
* Gentoo Linux Genkernel; Version 3.4.0
* Running with options: initrd --install --debuglevel=5

* Linux Kernel 2.6.17-gentoo-r8 for x86...
* modutils: >> Configuring...
* ERROR: Configuring modutils failed!

* -- Grepping log... --

/usr/share/genkernel/gen_compile.sh: ./configure: /bin/sh: bad interpreter: Permission denied
* CMD_DEBUGLEVEL: 5
* Gentoo Linux Genkernel; Version 3.4.0
* Running with options: initrd --install --debuglevel=5

* ERROR: Configuring modutils failed!

* -- End log... --


###genkernel.log###
* CMD_DEBUGLEVEL: 5
* Gentoo Linux Genkernel; Version 3.4.0[0m
* Running with options: initrd --install --debuglevel=5

* Linux Kernel 2.6.17-gentoo-r8[0m for x86[0m...
* modutils: >> Configuring...
/usr/share/genkernel/gen_compile.sh: ./configure: /bin/sh: bad interpreter: Permission denied
* CMD_DEBUGLEVEL: 5
* Gentoo Linux Genkernel; Version 3.4.0[0m
* Running with options: initrd --install --debuglevel=5

* ERROR: Configuring modutils failed!
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
* 
* Please do *not* report compilation failures as genkernel bugs!
* 

###emerge --info###
Gentoo Base System version 1.12.4
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1/vanilla, glibc-2.4.90.20060805-r1, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Last Sync: Tue, 12 Sep 2006 07:50:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17.50.0.3
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -O3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -pipe -O3 -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks parallel-fetch sandbox sfperms splitdebug strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.csbnet.se/pub/linux/distributions/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.pudas.net/gentoo"
LANG="sv"
LC_ALL="sv_SE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="sv_SE"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/liferea_overlay /usr/portage/local/layman/nxsty /usr/portage/local/layman/musicbrainz"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa asf audioscrobbler avi bash bash-completion beagle berkdb bitmap-fonts boost branding browserplugin bzip2 cairo canvas cdr cli crypt cups curl dbus dlloader dmx dpms dri dvd dvdr eds elibc_glibc emboss encode evolution fam fat firefox flac fortran freetype gd gdbm gif glibc-omitfp glitz gmp gnome gnome-firefox gnutls gpm gstreamer gtk gtk2 gtkhtml gxl hal howl-compat icu idn inotify input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 irmc isdnlog ithreads java jikes joystick jpeg kernel_linux lcms ldap libclamav libg++ libnotify libsexy linguas_sv_SE lm_sensors logrotate lx700 mad matroska mikmod mmx mng mono moznocompose moznoirc moznomail mp3 mpeg musepack musicbrainz nautilus ncurses network nls nptl nptlonly ntfs ntp numeric nvtv offensive ogg opengl pam pcre pdf pdflib perl pic png ppds pppd print pulseaudio python quicktime readline real reflection reiser4 reiserfs rtc samba sdl session smp sox spell spf spl sse sse2 ssh ssl startup-notification svg symlink syslog tagwriting tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 video_cards_none video_cards_nvidia vorbis win32codecs wma wmf wv wxwindows xcomposite xinerama xinetd xml xml2 xorg xosd xprint xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-12 06:27:46 UTC
What is the output of "mount"?
Comment 2 Xake 2006-09-12 10:19:39 UTC
$ mount && df -h

/dev/sda4 on / type ext3 (rw,noatime,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/sda3 on /home/xake/Desktop/WinXP type fuse (rw,nosuid,nodev,noatime,default_permissions,allow_other)
/dev/sdb2 on /home/shared type ext3 (rw,noatime,user_xattr)
/home/xake/mp3.img on /home/xake/Desktop/mp3 type vfat (rw,noexec,nosuid,nodev,loop=/dev/loop0,uid=1000,gid=100)
/home/xake/Desktop/Download on /home/shared/Down type none (rw,bind)
/tmp on /tmp type tmpfs (rw,nodev,noatime,nr_inodes=64K,size=1024M)
portagelog on /var/log/portage type tmpfs (rw,noexec,nodev,noatime,nr_inodes=64K,size=512M)
lock on /var/lock type tmpfs (rw,noexec,nodev,noatime,mode=777,nr_inodes=128,size=512K)
dbus on /var/run/dbus type tmpfs (rw,noexec,nodev,noatime,mode=755,nr_inodes=3,size=1024K)
nscd on /var/run/nscd type tmpfs (rw,noexec,nosuid,nodev,noatime,mode=755,nr_inodes=6,size=1024K)
genkernel on /var/tmp/genkernel type tmpfs (rw,noexec,nodev,noatime,mode=700,nr_inodes=64K,size=100M)
portage on /var/tmp/portage type tmpfs (rw,nodev,noatime,mode=755,nr_inodes=2M,size=8G)
sudo on /var/run/sudo type tmpfs (rw,noexec,nodev,noatime,mode=700,nr_inodes=4,size=4K)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sda1 on /boot type ext2 (rw,noatime,user_xattr)

Filsystem          Storlek Anvnt Tillg Anv% Monterat p
Comment 3 Xake 2006-09-12 10:19:39 UTC
$ mount && df -h

/dev/sda4 on / type ext3 (rw,noatime,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/sda3 on /home/xake/Desktop/WinXP type fuse (rw,nosuid,nodev,noatime,default_permissions,allow_other)
/dev/sdb2 on /home/shared type ext3 (rw,noatime,user_xattr)
/home/xake/mp3.img on /home/xake/Desktop/mp3 type vfat (rw,noexec,nosuid,nodev,loop=/dev/loop0,uid=1000,gid=100)
/home/xake/Desktop/Download on /home/shared/Down type none (rw,bind)
/tmp on /tmp type tmpfs (rw,nodev,noatime,nr_inodes=64K,size=1024M)
portagelog on /var/log/portage type tmpfs (rw,noexec,nodev,noatime,nr_inodes=64K,size=512M)
lock on /var/lock type tmpfs (rw,noexec,nodev,noatime,mode=777,nr_inodes=128,size=512K)
dbus on /var/run/dbus type tmpfs (rw,noexec,nodev,noatime,mode=755,nr_inodes=3,size=1024K)
nscd on /var/run/nscd type tmpfs (rw,noexec,nosuid,nodev,noatime,mode=755,nr_inodes=6,size=1024K)
genkernel on /var/tmp/genkernel type tmpfs (rw,noexec,nodev,noatime,mode=700,nr_inodes=64K,size=100M)
portage on /var/tmp/portage type tmpfs (rw,nodev,noatime,mode=755,nr_inodes=2M,size=8G)
sudo on /var/run/sudo type tmpfs (rw,noexec,nodev,noatime,mode=700,nr_inodes=4,size=4K)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sda1 on /boot type ext2 (rw,noatime,user_xattr)

Filsystem          Storlek Anvnt Tillg Anv% Monterat pƄ
/dev/sda4             180G  163G  7,9G  96% /
udev                  760M  224K  760M   1% /dev
/dev/sda3              49G   31G   19G  63% /home/xake/Desktop/WinXP
/dev/sdb2             228G  211G  7,5G  97% /home/shared
/home/xake/mp3.img    993M  935M   58M  95% /home/xake/Desktop/mp3
/tmp                  1,0G   12K  1,0G   1% /tmp
portagelog            512M  3,7M  509M   1% /var/log/portage
lock                  512K  4,0K  508K   1% /var/lock
dbus                  1,0M     0  1,0M   0% /var/run/dbus
nscd                  1,0M  664K  360K  65% /var/run/nscd
genkernel             100M     0  100M   0% /var/tmp/genkernel
portage               8,0G   83M  8,0G   2% /var/tmp/portage
sudo                  4,0K     0  4,0K   0% /var/run/sudo
none                  760M     0  760M   0% /dev/shm
/dev/sda1             107M   12M   90M  12% /boot
Comment 4 Xake 2006-09-12 10:22:24 UTC
strange... 
umount /var/tmp/genkernel (and that way make it use the / fs) made it work.
And that strange since it has worked before.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-12 14:05:09 UTC
genkernel on /var/tmp/genkernel type tmpfs
(rw,noexec,nodev,noatime,mode=700,nr_inodes=64K,size=100M)

Specifically, the noexec... that's the problem...

Glad to see that you figured it out.