Reverting to udev-149 resolved the issue Reproducible: Always Steps to Reproduce: Portage 2.2_rc65 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-home2 i686) ================================================================= System uname: Linux-2.6.32-gentoo-home2-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 06 Mar 2010 06:30:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p2 dev-lang/python: 2.6.4-r1, 3.1.1-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.6.3-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc: 3.3.6-r1, 4.2.4-r1, 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.32 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/hddtemp/" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/mnt/large/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="ru en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="lzma" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/swegener /usr/local/portage/layman/hollow /usr/local/portage/layman/sping /usr/local/portage/layman/qutim-overlay /usr/local/portage/layman/kde-sunset /usr/local/portage/layman/gamerlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/qting-edge /usr/local/portage/layman/kde /home/non7top/overlays/arcon-hg /home/non7top/overlays/arcon/trunk/arcon-testing" SYNC="rsync://s/gentoo-portage" USE="3dfx 3dnow 3dnowext 7zip X a52 aac acpi addbookmarks additions aften aim akode alias alsa amazon amr amrwb ansi apm applet archive artswrappersuid ass atm automount autoreplace avahi bash-completion bashlogger binary-drivers bittorrent branding bzip2 cairo captury cdrkit cgi chm cisco connectionstatus consolekit contactnotes coreavc cracklib crypt css curl custom-optimization cxx dbus deskbar desktopglobe dhcp disk-partition djvu dri dts dvd dvdr eds emboss emovix enca encode epiphany evo exif expat extensions extras faac faad fam fat fbcondecor ffmpeg flac flash fontconfig fortran ftp gd gdbm geoip gif glib glitz gnokii gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gzip hal hddtemp highlight history httpd iconv id3 ieee1394 imagemagick imlib inotify insecure-patches ithreads jabber javascript jfs jpeg kde kde4 lame libass libextractor libnotify lm_sensors logrotate lvm lzma mad maps matroska md mdadm mikmod mktemp mkvlinks mmx mmxext mng modules mouse mozdevelop mozilla mp3 mp4 mpeg mplayer mudflap musicbrainz mysql mysqli nas nautilus ncurses network network-cron nls nowlistening nptl nptlonly nsplugin ntfs ntlm obex ogg opengl openmp openntpd oscar pam passwordsave pcf pch pcre pdf perl php plasma plugins png policykit ppds pppd python qt-copy qt3support qt4 quicktime rdesktop readline reflection samba sasl screen sdl semantic-desktop session sha512 simplexml slang sndfile spell spl sqlite sqlite3 srt srv sse sse2 ssl startup-notification statistics subtitles subversion svg swat sysfs syslog taglib tcpd theora threads threadsafe thumbnail thunar tiff tordns tos tracker translator trayicon truetype unicode upnp urandom usb utempter vim-syntax visualization vnc vorbis wavpack weather web webkit win32codecs winbind wxwindows x264 x86 xcb xcomposite xfs xhtml xine xinetd xml xmlreader xmlrpc xmlwriter xorg xosd xpm xsl xulrunner xv xvid zeroconf zip zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd fglrx vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;hb=HEAD;f=README : - Udev will not work with the CONFIG_SYSFS_DEPRECATED* option.
I've checked #302173 and it suggests to disable CONFIG_SYSFS_DEPRECATED, but without this option my system doesn't detect lvm root on top of md raid (already files bug #307979)
There's no reason to still try to use the deprecated sysfs interface. And all future versions will NOT work with it either ...
Unfortunately my system doesn't boot as soon as I disable this option.
(In reply to comment #4) > Unfortunately my system doesn't boot as soon as I disable this option. > So the real question here is: how exactly does it fail in such case ? I don't use lvm, but are you sure that real_root option from your other bug is still correct (shouldn't it be /dev/mapper/<something>) ?
On initrd stage no volume groups are being detected. The only file related is /dev/mapper/control and no other files in /dev/ present (no /dev/mapper/system* and no /dev/system*). If I enable CONFIG_SYSFS_DEPRECATED it boots as normal. Also the vgscan command if run from initramfs debug shell shows "No volume groups found".
Could you check bug 292833 for ideas, while remembering, that the target is 'CONFIG_SYSFS_DEPRECATED not set' ?
Thanks, after emerging lvm2 with USE=static my system now boots with new udev and without CONFIG_SYSFS_DEPRECATED. Too bad that original genkernel bug is still unfixed.
Hello, I have the same problem with udev version 149 (since 146-r1 which was masked by me for this reason). I tried to remove SYSFS_DEPRECATED module but the result is the same. System can't boot as expected. These are the messages I get: Cannot access the Hardware Clock via any known method. mdadm: No devices listed in conf file were found read_urandom: /dev/urandom: open failed: No such file or directory (3 times) Failed to setup LVM (I don't use LVM partitions but only RAID) Fsck errors ... couldn't find /dev/md1 mount: special device /dev/md* does not exist (for each partition couple in raid) ERROR: consolefont failed to start Couldn't open /dev/tty{2,3,4,5,6,7,8,9,10,11,12} swapon: /dev/sda2: stat failed: No such file or directory swapon: /dev/sdb2: stat failed: No such file or directory *Starting udev ... error getting signalfd udevd[3380] error getting signalfd start-stop-daemon: failed to start `/sbin/udevd' start-stop-daemon: no matching processes found ERROR: udev failed to start ERROR: urandom failed to start read_urandom: /dev/urandom: open failed: No such file or directory (2 times) Failed to setup LVM ERROR: consolefont failed to start PRNG is not seeded ERROR: sshd failed to start {KDGKBLED: Inappropriate ioctl for device Error reading current flags settings. Maybe you are not on the console?} (11 times) What to do???
@comment 9: you failed to provide much of the needed info, but "signalfd" bit may suggest you need to upgrade your kernel/glibc.
(In reply to comment #10) > @comment 9: you failed to provide much of the needed info, > but "signalfd" bit may suggest you need to upgrade your kernel/glibc. > Thank you! That was the problem actually. I compiled the CONFIG_SIGNALFD module and all worked very well.