Since I upgraded to sys-fs/udev-084 occasionally I see a lot of logs during boot, generally the following two lines repeated: delete_path: rmdir(/dev/.udev/failed) failed: Not a directory delete_path: rmdir(/dev/.udev/queue) failed: Not a directory And then for every new event like an usb device plugged in: udev_db_add_device: unable to create db file '/dev/.udev/db/class@usb_device@usbdev1.2': Not a directory Manually removing the (empty) file /dev/.udev and creating the directory /dev/.udev/db/ solves the problem for the time being; I have RC_DEVICE_TARBALL="no" in /etc/conf.d/rc so the solution isn't persistent. The problem doesn't show up each time and seems pretty random to me: until now it has happened three times, two of which while rebooting from windows. My /etc/udev/udev.conf contains, apart from the comments: udev_root="/dev/" udev_rules="/etc/udev/rules.d/" udev_log="err" My emerge --info: Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r2 i686) ================================================================= System uname: 2.6.15-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.12.0_pre15 dev-lang/python: 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="-march=pentium4 -Os -pipe" 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="-march=pentium4 -Os -pipe" DISTDIR="/var/tmp/distfiles" FEATURES="autoconfig candy distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at/ http://ftp.rhnet.is/pub/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://mirror.pudas.net/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LANG="it_IT@euro" LC_ALL="it_IT@euro" LDFLAGS="-Wl,-z,now" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dfx X aac acpi alsa apm arts avi berkdb bitmap-fonts bzip2 cdr crypt cups dga directfb dvd dvdr dvdread eds emboss encode ffmpeg foomaticdb fortran gdbm gif gpm ieee1394 imlib ipv6 jpeg kde kdeenablefinal kdexdeltas libg++ libwww mad mbox mikmod mime mmx motif mozilla mp3 mpeg ncurses nls nptl nsplugin offensive ogg oggvorbis opengl pam pcmcia pdflib perl pic png pnp python qt quicktime readline sdl spell sse ssl symlink tcpd threads tiff truetype truetype-fonts type1-fonts udev usb vorbis wifi win32codecs xine xml2 xmms xv xvid zlib elibc_glibc kernel_linux linguas_it userland_GNU video_cards_radeon" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, MAKEOPTS
Where exactly during the boot does these messages show up at? before or after the udev messages about starting up? I'm going to need more information here, sorry...
(In reply to comment #1) > Where exactly during the boot does these messages show up at? > > before or after the udev messages about starting up? I *think* after; I'm going to reopen when I have more details, right now I can only report that /dev/.udev is created as: -rw-r--r-- 1 root root 0 7 feb 2006 /dev/.udev > I'm going to need more information here, sorry... I know, it's my fault, but this problem causes a lot of logs being diplayed to the console, since syslog isn't started at that time, and so it isn't really easy to catch any other message in the meantime; my temporary workaround has been to press 'i' as soon as possible and then rm /dev/.udev mkdir /dev/.udev mkdir /dev/.udev/db I'll see if I can catch the exact moment pressing 'i' before, but since this problem doesn't show up everytime I'll probably have to wait for several reboots. Thanks
(In reply to comment #2) > (In reply to comment #1) > > Where exactly during the boot does these messages show up at? > > > > before or after the udev messages about starting up? > I *think* after; I'm going to reopen when I have more details, right now I can > only report that /dev/.udev is created as: > -rw-r--r-- 1 root root 0 7 feb 2006 /dev/.udev > > > I'm going to need more information here, sorry... > I know, it's my fault, but this problem causes a lot of logs being diplayed to > the console, since syslog isn't started at that time, and so it isn't really > easy to catch any other message in the meantime; my temporary workaround has > been to press 'i' as soon as possible and then > rm /dev/.udev > mkdir /dev/.udev > mkdir /dev/.udev/db > I'll see if I can catch the exact moment pressing 'i' before, but since this > problem doesn't show up everytime I'll probably have to wait for several > reboots. > > Thanks > I also am having the same issue, except that I don't let it go on long enough to get logged in. I hard reboot when getting those errors (I know, not good). Anyways, I did notice it starts throwing errors right before it would normally give the "finalizing udev" in the boot process. emerge --info Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r4 i686) ================================================================= System uname: 2.6.15-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Gentoo Base System version 1.12.0_pre15 dev-lang/python: 2.3.5-r2, 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 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://twmlinux.raleigh.ibm.com/gentoo ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://twmlinux.raleigh.ibm.com/gentoo-portage" USE="x86 X a52 aac acpi aim alsa apm avi bash-completion berkdb bitmap-fonts bzip2 crypt cups dga directfb dri dvd dvdread eds emboss encode fbcon ffmpeg foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 icc icq imagemagick imlib ipv6 jabber java javascript jpeg jpeg2k libg++ libwww mad mbox mikmod mime mmx motif mozilla mp3 mpeg msn ncurses nls nptl nsplugin ogg oggvorbis opengl oscar pam pcmcia pcre pdf pdflib perl php png python qt quicktime readline sdl simplexml slang sndfile spell sse2 ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vorbis wifi win32codecs wxwindows xine xinerama xml2 xmms xosd xpm xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_fbdev video_cards_vesa video_cards_vga" /etc/udev/udev.conf udev_root="/dev/" udev_rules="/etc/udev/rules.d/" udev_log="err" /etc/conf.d/rc RC_TTY_NUMBER=11 RC_PARALLEL_STARTUP="no" RC_INTERACTIVE="yes" RC_NET_STRICT_CHECKING="no" RC_AUTO_INTERFACE="no" RC_DOWN_INTERFACE="yes" RC_VOLUME_ORDER="raid evms lvm dm" RC_VERBOSE="no" RC_BOOTLOG="no" RC_USE_FSTAB="no" RC_USE_CONFIG_PROFILE="yes" RC_FORCE_AUTO="no" RC_DEVICES="auto" RC_DEVICE_TARBALL="no" RC_RETRY_KILL="yes" RC_RETRY_TIMEOUT=1 RC_RETRY_COUNT=5 RC_FAIL_ON_ZOMBIE="no" RC_KILL_CHILDREN="no" RC_WAIT_ON_START="0.1" svcdir="/var/lib/init.d" svcmount="no" svcfstype="tmpfs" svcsize=2048
(In reply to comment #3) > Anyways, I did notice it starts throwing errors right before it would normally > give the "finalizing udev" in the boot process. Wow, I'm happy I'm not the only one having this problem :) I think the last readable message I saw was 'populating /dev through uevents' but I'm not completely sure, because the logs are too many and quickly fill my screen. What bothers me is that the times appear completely random; in the last week it booted just fine, and today the same problem again in two consecutive reboots. By the way, I'm reopening; if you need more info just ask. P.S. Is there a way to save those logs? When syslog starts, it only knows the kernel logs (dmesg), and the first part of those messages, being from a userspace program, are lost.
Deleting line 171 in /lib/rcscripts/addons/udev-start.sh (sys-fs/udev-084) helps: laptop addons # pwd /lib/rcscripts/addons laptop addons # diff -up udev-start.sh{~,} --- udev-start.sh~ 2006-02-20 09:43:04.000000000 +0100 +++ udev-start.sh 2006-02-20 09:43:09.000000000 +0100 @@ -166,9 +166,6 @@ main() { /sbin/lvm vgscan -P --mknodes --ignorelockingfailure &>/dev/null [[ -x /sbin/evms_activate ]] && /sbin/evms_activate -q &>/dev/null eend 0 - - # Same thing as /dev/.devfsd - touch /dev/.udev } main laptop addons #
(In reply to comment #5) > Deleting line 171 in /lib/rcscripts/addons/udev-start.sh (sys-fs/udev-084) > helps Ok, commented that out: thank you very much, it was becoming annoying (today it's happened for the fifth boot in a row). Wouldn't it be worth to add a patch for it in portage? Bye
Ok, will be fixed in next release, thanks for your patience. Let me know if it still shows up on the 086 release.