Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295145 - udev 147-r1 inotify won't initialize
Summary: udev 147-r1 inotify won't initialize
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 03:21 UTC by Mark
Modified: 2009-12-08 11:54 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 Mark 2009-11-30 03:21:43 UTC
Successfully using udev 146-r2.  Emerge of udev 147-r1 produces:

000012  * Determining the location of the kernel source code
000013  * Found kernel source directory:
000014  *     /usr/src/linux
000015  * Found kernel object directory:
000016  *     /lib/modules/2.6.30-gentoo/build
000017  * Found sources for kernel version:
000018  *     2.6.30-gentoo
000019  * Checking for suitable kernel configuration options...
000020   [ ok ]
000021  * 
000022  * udev-147 does not support Linux kernel before version 2.6.25!
000023  * For a reliable udev, use at least kernel 2.6.27
000024 
000025  * Your kernel version (2.6.30-gentoo) is new enough to run udev-147 reliably.

And ends with:

000455 >>> Installing (1 of 1) sys-fs/udev-147-r1
000456  * 
000457  * Updating persistent-net rules file
000458  * 
000459  * restarting udevd now.
000460 error initializing inotify
000461  * FATAL: udev died, please check your kernel is
000462  * new enough and configured correctly for udev-147.
000463  * 
000464  * Please have a look at this before rebooting.
000465  * If in doubt, please downgrade udev back to your old version

Along the way, I see these warnings which seem related (but may not be):

000248   CCLD   udev/udevd
000249 udev/udev-watch.o: In function `udev_watch_init':
000250 udev-watch.c:(.text+0x61e): warning: warning: inotify_init1 is not implemented and will always fail
000251   CC     udev/udevadm.o
000252   CC     udev/udevadm-info.o
000253   CC     udev/udevadm-control.o
000254   CC     udev/udevadm-test.o
000255   CC     udev/udevadm-monitor.o
000256   CC     udev/udevadm-settle.o
000257   CC     udev/udevadm-trigger.o
000258   CCLD   udev/udevadm
000259 udev/udev-watch.o: In function `udev_watch_init':
000260 udev-watch.c:(.text+0x61e): warning: warning: inotify_init1 is not implemented and will always fail
000261 Making all in libudev/docs
000262 make[2]: Nothing to be done for `all'.
000263 Making all in extras/gudev/docs
000264 make[2]: Nothing to be done for `all'.
000265 >>> Source compiled.
000266 >>> Test phase [not enabled]: sys-fs/udev-147-r1

From /proc/config.gz:

CONFIG_DNOTIFY=y
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y

Lastly:

emerge --info
Portage 14554-svn (default/linux/x86/10.0/desktop, gcc-4.2.3, glibc-2.10.1-r0, 2.6.30-gentoo i686)
=================================================================
System uname: Linux-2.6.30-gentoo-i686-Dual-Core_AMD_Opteron-tm-_Processor_1216-with-gentoo-2.0.1
Timestamp of tree: Sun, 29 Nov 2009 02:00:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.5.4-r2, 2.6.4, 3.1.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
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/portage/local/layman/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac gdbm gif gnome gpm gstreamer gtk hal iconv jpeg libnotify mad mikmod modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Do not know what else could cause this.  I re-compiled my kernel without good effect.

 

Reproducible: Always

Steps to Reproduce:
1.Emerge udev-147-r1:  udev will not restart with warning
2.Downgrade to udev-146-r2: udev works again
3.Repeat above as desired

Actual Results:  
udev-147-r1 does not start.  (Also not pleasant trying a re-boot this way.)

Expected Results:  
udev works
Comment 1 nE0sIghT 2009-11-30 18:32:09 UTC
Same issue here on my amd64 system

emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.1
Timestamp of tree: Sun, 29 Nov 2009 19:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.san.ru/unix/linux/gentoo/gentoo-distfiles http://mirrors.sgu.ru/gentoo/distfiles http://oss.mexmat.sgu.ru/soft/unix/gentoo/distfiles"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/qutim-overlay /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/pro-audio /usr/local/portage/layman/sunrise /usr/local/portage/layman/pcsx2-overlay /usr/local/portage/layman/arcon /usr/local/portage/layman/rion /usr/local/portage/layman/oss-overlay /usr/local/portage/layman/mozilla /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi alisp alsa amd64 apm applet archive ares artworkextra audiofile automount berkdb bittorrent bittorrent-external branding bzip2 cairo caps cdr cdrtools chardet chdir cjk cli consolekit cover cracklib crypt css cue cups cupsddk curl custom-optimization dbus dga disk-partition divx djvu dri dv dvd dvdr emerald enca encode exif extras ffmpeg firefox flac fontconfig fortran gd gdbm gif glib glitz gnome gnome-keyring gpm grub gstreamer gtk gzip hal hddtemp iconv icq id3tag idn inifile jabber java java6 javascript joystick jpeg jpeg2k ladspa lame lcms libnotify libsamplerate lirc lm_sensors loop-aes lyrics lzma lzo mad mmx mmxext mng modules mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mpu401 mtp mudflap multilib musepack mysql mysqli nautilus ncurses netplay network nls nptl nptlonly nsplugin nss ntfs nvidia offensive ogg ogm oodict openal opengl openmp openssl opensslcrypt pam parse-clocks pcf pcre pdo perl php png ppds pppd projectm psf python qt3support qt4 rar readline realmedia reflection screenshot sdl session slang slp sndfile sound sounds spell spl sqlite sqlite3 sse sse2 sse3 ssl subtitles svg symlink sysfs t1lib taglib tcpd theora threads thunderbird tiff timidity tls toolbar trayicon truetype tta twolame unicode unzip v4l v4l2 vamp vdpau vorbis vorbis-psy wav wavpack wma wmp x264 xanim xattr xcb xcomposite xhtml xinetd xml xmlreader xmlrpc xmlwriter xorg xpm xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Matthias Schwarzott gentoo-dev 2009-12-05 16:39:54 UTC
You could try to rebuild your glibc against new enough linux-headers.
Comment 3 nE0sIghT 2009-12-05 19:19:40 UTC
Thanks for your advice.
Reemerging glibc against latest kernel headers helped.
Comment 4 Mark 2009-12-08 11:54:00 UTC
I re-built/upgraded glibc and udev works now.  A brilliant find and I have no idea how you knew this was the problem.  I think this bug can be closed.