Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307977 - udev-151-r1 doesn't create any /dev/sd* /dev/md* and thus breaks the system
Summary: udev-151-r1 doesn't create any /dev/sd* /dev/md* and thus breaks the system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-06 08:24 UTC by Vladimir Berezhnoy
Modified: 2010-03-14 20:37 UTC (History)
1 user (show)

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 Vladimir Berezhnoy 2010-03-06 08:24:15 UTC
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
Comment 1 hajit 2010-03-06 08:36:11 UTC
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.
Comment 2 Vladimir Berezhnoy 2010-03-06 08:39:02 UTC
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)
Comment 3 Patrick Lauer gentoo-dev 2010-03-06 12:14:54 UTC
There's no reason to still try to use the deprecated sysfs interface. And all future versions will NOT work with it either ...
Comment 4 Vladimir Berezhnoy 2010-03-06 14:49:05 UTC
Unfortunately my system doesn't boot as soon as I disable this option.
Comment 5 Rafał Mużyło 2010-03-06 23:46:26 UTC
(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>) ? 
Comment 6 Vladimir Berezhnoy 2010-03-07 09:09:39 UTC
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".
Comment 7 Rafał Mużyło 2010-03-07 17:33:07 UTC
Could you check bug 292833 for ideas,
while remembering, that the target is 'CONFIG_SYSFS_DEPRECATED not set' ?
Comment 8 Vladimir Berezhnoy 2010-03-07 20:00:10 UTC
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.
Comment 9 Flavio 2010-03-10 09:06:11 UTC
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 10 Rafał Mużyło 2010-03-14 17:24:17 UTC
@comment 9: you failed to provide much of the needed info,
but "signalfd" bit may suggest you need to upgrade your kernel/glibc.
Comment 11 Flavio 2010-03-14 20:37:33 UTC
(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.