When I trie to genkernel initrd, I got this: COMMAND: make j1 EXTRAS="extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware" USE_KLIBC=true KLCC=/var/tmp/genkernel/28281.18757.16853.28080/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all * CMD_DEBUGLEVEL: 5 * Gentoo Linux Genkernel; Version 3.3.11 * Running with options: --debuglevel=5 initrd * ERROR: Failed to compile the "EXTRAS="extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware" USE_KLIBC=true KLCC=/var/tmp/genkernel/28281.18757.16853.28080/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all" target... Can any one help me? Cezar #emerge --info Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz Gentoo Base System version 1.12.0_pre15 dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 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.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="pt_BR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer imlib java jpeg kde kdexdeltas ldap libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl snmp spell sse sse2 ssl tcpd truetype truetype-fonts type1-fonts usb vorbis xcomposite xml2 xmms xv zeroconf zlib elibc_glibc kernel_linux linguas_pt_BR userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Please post the genkernel.log as an attachment.
Created attachment 79705 [details] genkernel.log
*** Bug 123088 has been marked as a duplicate of this bug. ***
Hello! There had been any news about this trobule? Is there any way to circumvent it?
This appears to be a problem with udev. Pushing udev up to 086 completes the compile, however the changes between 077 and 086 seem to break the initrd. At about 082 they removed the default installing of /sbin/udev, but even editting the gen_compile.sh to add that back in doesn't help. None of the ide devices are created in /dev. It's unclear whether this is a gcc-4.1 problem miscompiling klibc/udev in someway, or whether it's simply a missing rules file or something... Anyway, hope this is of some help sorting the problems out. Genkernel seems like an excellent program and makes full disk encryption almost easy to set up! Keep up the great work! 5:)
Same problem here, 3.3.10 doesn't have this bug.
This is the same error as bug# 121846 I am also getting this error installing from the 2006.0 live CD, with Genkernel 3.3.11. (x86 stable install with vanilla-sources-2.6.12.5) I have also tried genkernel 3.3.10 (reported as working in bug 122629) and it still won't work. Same errors as below. I also tried udev-087. Will try with a newer kernel, but I need 2.6.12.5 for a customer bug repro.
I have the problem when compiling xen : [.....] make: *** [udev_event.o] Erreur 1 * ERROR: Failed to compile the "EXTRAS="extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware" USE_KLIBC=true KLCC=/var/tmp/genkernel/12108.25922.3665.29978/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all" target... * -- Grepping log... -- * udev: >> Compiling... COMMAND: make ARCH=xen j1 EXTRAS="extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware" USE_KLIBC=true KLCC=/var/tmp/genkernel/12108.25922.3665.29978/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all * Gentoo Linux Genkernel; Version 3.3.11 * Running with options: initrd * ERROR: Failed to compile the "EXTRAS="extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware" USE_KLIBC=true KLCC=/var/tmp/genkernel/12108.25922.3665.29978/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all" target... * -- End log... -- emerge info : Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r3, 2.6.12.6-xen i686) ================================================================= System uname: 2.6.12.6-xen i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 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.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" CHOST="i686-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/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://gentoo.blueyonder.co.uk" LC_ALL="fr_FR.utf8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups curl dba dri eds emboss encode esd expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad memlimit mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix pppd python qt quicktime readline sdl session simplexml soap sockets spell spl ssl symlink tcpd tokenizer truetype truetype-fonts type1-fonts udev vorbis xml xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
This should be fixed with genkernel 3.3.11a or higher.
I'm still having difficulties compiling udev/klibc using genkernel-3.3.11a. I have the felling it's a gcc-4.1/glibc-2.4 problem but I'm afraid I really haven't a clue where to start. I'll post my failed genkernel.log here once I've had a chance to investigate. If people think it's a different bug I'll file a new one...
Make sure it is my recently-updated 3.3.11a that pulls in klibc 1.2.1 (or you could just use 3.3.11c, instead)...
Where would I get that from? The one in portage as of this afternoon was still using 1.1.6?
Where would I get that from? The one in portage as of this afternoon was still using 1.1.16?
Sorry, my bad, I found it in my most recent sync. Sure enough (after a bucket load of errors) it does indeed compile. Only problem is the system won't boot from it... I'm looking into that one now and may file a new bug if it turns out it's not me being stupid (always pick the most likely explanation first). 5:)
Right, sadly it appears this bug will have to be reopened for genkernel-3.3.11d, since it's reverted to udev-077. However, rather than trying to tackle the problem from a "get udev-077 to compile" front, I'd recommend going at it from a "get the system to boot as intended without udev, udevstart or udevsend under udev-088" angle. Further details of the problems faced with udev-088 can be found in bug 129887. It looks as thought there's no longer a need for udevsend, since this should be done by the coldplug type interface, and so all that's left is getting udev to populate /dev without using udevstart or udev. That's as far as I've got, but if anyone has any further ideas please let me know, I'd be very happy to try out patches and experiment if it'll help get udev-088 working with genkenrel (and in so doing, LUKS)... 5:)
Created attachment 85113 [details] genkernel.log Same problem here for me, I can't get 'genkernel ... initrd' to work. Tried with gcc4.0.3, once with glibc-2.4-r1 and once with uClibc-0.9.28. From the glibc-system: emerge --info Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-4.0.3, glibc-2.4-r1, 2.6.15-5-me-k8 i686) ================================================================= System uname: 2.6.15-5-me-k8 i686 unknown Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 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.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=c3 -mmmx -Os -pipe -fomit-frame-pointer" CHOST="i586-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/eselect/compiler /etc/gconf /etc/env.d" CXXFLAGS="-march=c3 -mmmx -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at/ http://pandemonium.tiscali.de/pub/gentoo/" LANG="de_DE.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa apache2 apm asf avi bitmap-fonts bzip2 cli cpudetection crypt dga dri eds emboss gif glibc-omitfp glx gstreamer insecure-drivers isdnlog jpeg libg++ mad mikmod minimal mmx motif mp3 mpeg nojoystick nptl nptlonly ogg opengl pcre perl png pppd quicktime reflection rtc savedconfig session spl symlink sysfs tiff udev unicode userlocales via vorbis win32codecs xine xorg xv xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_via video_cards_v4l" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS
*** Bug 132591 has been marked as a duplicate of this bug. ***
This is broken again...
Anything I can try to help? I just tried with UDEV_VER="090" in /etc/genkernel.conf and udev-090.tar.bz2 in /usr/share/genkernel/pkg, but got the same error.
UncleOwen, best I can recommend is jumping over to bug 129887 and trying out the patch there, the more testing we can complete on that, the more chance we have of moving onto the later udevs. Please have a thorough read of the bug first though, since it's not garaunteed to work with older 2.6 kernels. Thanks... 5:)
As far as I can tell, that patch changes only the contents of the initrd, right? Right now, I can't even build an initrd, so I can't help with that.
You're quite right, I forgot to mention the version numbers that should be used with it: UDEV_VER="088" KLIBC_VER="1.2.1" The old KLIBC seems to fail whatever happens (with gcc-4 I think), the new KLIBC fails with the old UDEV, and without that patch in bug 129887, the new KLIBC and new UDEV will compile, but udev won't find any devices. So please try out the above versions with the patch. If the initrd still isn't building, please give the details on bug 129887. Thanks... 5:)
*** This bug has been marked as a duplicate of 129887 ***