not at every shutdown I see the repeated message: "mount-ro: waiting for killprocs" the system tries it several times than shuts down with an error. mount-ro and killprocs do not work correct. here are the scripts: cat /etc/init.d/killprocs #!/sbin/runscript # Copyright 2007-2008 Roy Marples <roy@marples.name> # All rights reserved. Released under the 2-clause BSD license. description="Kill all processes so we can unmount disks cleanly." depend() { keyword noprefix } start() { ebegin "Terminating remaining processes" killall5 -15 sleep 1 eend 0 ebegin "Killing remaining processes" killall5 -9 sleep 1 eend 0 } cat /etc/init.d/mount-ro #!/sbin/runscript # Copyright 2007-2008 Roy Marples <roy@marples.name> # All rights reserved. Released under the 2-clause BSD license. description="Re-mount filesytems read-only for a clean reboot." depend() { need killprocs savecache keyword noprefix noopenvz novserver } start() { # Flush all pending disk writes now sync; sync ebegin "Remounting remaining filesystems read-only" # We need the do_unmount function . "${RC_LIBDIR}"/sh/rc-mount.sh eindent local m="/dev|/dev/.*|/proc|/proc.*|/sys|/sys/.*|${RC_SVCDIR}" x= fs= # RC_NO_UMOUNTS is an env var that can be set by plugins local OIFS=$IFS SIFS=${IFS-y} IFS=$IFS IFS=$IFS: for x in ${no_umounts} ${RC_NO_UMOUNTS}; do m="${m}|${x}" done if [ "${SIFS}" = y ]; then IFS=$OIFS else unset IFS fi m="^(${m})$" fs= for x in ${net_fs_list}; do fs="${fs}${fs:+|}${x}" done [ -n "${fs}" ] && fs="^(${fs})$" do_unmount "umount -r" \ --skip-point-regex "${m}" \ ${fs:+--skip-fstype-regex} ${fs} --nonetdev eoutdent eend $? } Reproducible: Sometimes Expected Results: shutdown correctly (always)
downgraded to openrc 0.4.1-r1 the bug is not reproduced with 0.4.1-r1
Please attach emerge --info output. What are the messages before the "waiting for killprocs" message?
emerge --info Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.26-gentoo-r4-x86_64-Intel-R-_Pentium-R-_D_CPU_3.00GHz-with-glibc2.2.5 Timestamp of tree: Fri, 23 Jan 2009 19:10:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.1-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 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.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -Os -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipod ipv6 isdnlog jpeg kde kdehiddenvisibility ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xulrunner xv 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ---------- before "wairing for killprocs" the system unmounted all drives correctly.
Same for me. It occured one time only, and I have to shutdown the laptop with the power button because the message did not stop after some tries. I never succeeded to reproduce the problem. I tried to be in a mounted directory or in /boot when shutting down to reproduce it, unsuccessfully. Anyway, because I am in x86 and not in amd, here is my emerge --info It is a brand new installation (yesterday evening) with only system, some system utilities and kdebase-meta. I also did a full GCC upgrade with recompiling all system and world after GCC upgrade during the installation. localhost ~ # emerge --info Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-glibc2.0 Timestamp of tree: Sat, 07 Feb 2009 18:45:02 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r13, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.2 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=core2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -march=core2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif google-gadgets gpm gstreamer gtk hal htmlhandbook iconv inotify isdnlog jpeg kde laptop ldap libnotify logrotate mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xcomposite xml xorg xscreensaver 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="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel vesa radeon radeonhd fglrx vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Etienne, please do not cc arch teams for no reason, this is not an x86 issue.
reproduced with 0.4.1-r1 too
I have noticed the following: if we get the sequence if logs: 1.Terminating remaining processes 2.Killing remaining processes 3.Saving dependency cache then the system shuts down correctly but when the bug is reproduced, the sequence of messages looks like: 1.Terminating remaining processes 2.Saving dependency cache 3.Killing remaining processes so I decided to remove parallelism, and add the following code to /etc/init.d/savecache: depend() { need killprocs } I will comment this bug if it is reproduced with my modifications.
in reply to Comment #7 just rebooted and the issue reproduced. does anyone have an idea what can be the reason of the bug?
reproduced on 0.4.3 too
# man killall5 .. killall5 is the SystemV killall command. .. Maybe a linux kernel bug. When I replaced calls of killall5 with killall in killprocs-script shutdown-command is worked. what replaced old: killall5 -15 new: killall -r ".*" -s TERM old: killall5 -9 new: killall -r ".*" -s KILL
(In reply to comment #10) cat /etc/init.d/killprocs #!/sbin/runscript # Copyright 2007-2008 Roy Marples <roy@marples.name> # All rights reserved. Released under the 2-clause BSD license. description="Kill all processes so we can unmount disks cleanly." depend() { keyword noprefix } start() { ebegin "Terminating remaining processes" killall -r ".*" -s TERM sleep 1 eend 0 ebegin "Killing remaining processes" killall -r ".*" -s KILL sleep 1 eend 0 }
Email from Roy Marples (author of openrc): > waiting for killprocs.* The issue is with the kernel not handling file locks on tmpfs sometimes. Or at least I think it is. Maybe once a month I hit the same issue on one of my boxes, it's just very hard for me to replicate and as such fix. Thanks Roy
Alexey, thanks for your help. According to Roy Marples email, I decided to upgrade my kernel from 2.6.26 to 2.6.28. I did not reproduce the bug with kernel 2.6.28. If I could reproduce the issue, I will track it in the bzilla and try your solution. Thanks again.
reproduced with kernel 2.6.28 trying Chugaynov Alexey's solution..
I tried solution with killall -r ".*" It kills all processes, also 'mount-ro' in my estimation it is not a correct solution, because every shutting down is a bit broken. That is why I decided to comment line 'killall5 -9'
(In reply to comment #15) > I tried solution with killall -r ".*" > It kills all processes, also 'mount-ro' > > in my estimation it is not a correct solution, because every shutting down is a > bit broken. That is why I decided to comment line 'killall5 -9' > Maybe "wait"-key helps. Try use this: killall --wait -r ".*" -s ....
(In reply to comment #16) > (In reply to comment #15) > > I tried solution with killall -r ".*" > > It kills all processes, also 'mount-ro' > > > > in my estimation it is not a correct solution, because every shutting down is a > > bit broken. That is why I decided to comment line 'killall5 -9' > > > > Maybe "wait"-key helps. Try use this: > > killall --wait -r ".*" -s .... > the system shuts down with errors too. I am migrating back to baselayout 1 =(
Just another confirmation - emerge --info as below; any ideas, are we sure it's a kernel bug as it didn't seem to coincide with a kernel update....? (actually, it looked to coincide with a dbus update, but that seems unlikely to me....) Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_920_Processor-with-gentoo-2.0.0 Timestamp of tree: Thu, 23 Apr 2009 05:00:04 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en_GB" MAKEOPTS="-j7" 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/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 amr berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cuda dbus dga divx dri dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox flac fortran gdbm gif glibc-omitfp gmedia gnome gpm gstreamer gtk hal iconv imagemagick ipv6 isdnlog jpeg jpeg2k kde ldap libcaca libnotify mad midi mikmod mmap mmx mmxext mng mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection reiserfs schroedinger sdl session spell spl sse sse2 ssl ssse3 startup-notification svgsysfs tcpd theora tiff truetype unicode usb vcd vorbis webkit wmp x264 xml xorgxulrunner xv xvid xvmc 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 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_cachemime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I've made some changes in my SVN that might address this issue. Anyone care to test?
(In reply to comment #19) > I've made some changes in my SVN that might address this issue. > Anyone care to test? > I'm experiencing this problem on 2.6.28 also. Here is my emerge --info: Portage 2.1.6.13 (hardened/x86, gcc-3.4.6, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 i686) ================================================================= System uname: Linux-2.6.28-hardened-r9-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 26 Aug 2009 22:30:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-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=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://gentoo.virginmedia.com/sites/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en_GB" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acpi apache2 berkdb bzip2 cdr cracklib crypt dbus dvd faac faad ffmpeg flac gnome gtk hal hardened howl id3tag ipv6 jpeg libmms lm_sensors mmx mono mp3 mysql nls no-epiphany no-seamonkey nptl nptlonly nsplugin ogg opengl pam pdf pic pmu png python readline samba sse ssl stream svg sysfs tcpd truetype type1 unicode urandom vhosts vorbis wma x86 xft xmlreader xmlwriter xorg 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_GB" USERLAND="GNU" VIDEO_CARDS="i915" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ...and I'd be willing to test the version where a fixed has been attempted. (Given the near 5 month gaps, I assume its been fixed/forgotten about by now :) ).
Could reproduce with latest vanilla sources (x86_64-2.6.31) and openrc-0.4.3-r3 vmGentoo ~ # emerge --info Portage 2.1.6.13 (unavailable, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31 x86_64) ================================================================= System uname: Linux-2.6.31-x86_64-Intel-R-_Xeon-R-_CPU_E5520_@_2.27GHz-with-gentoo-2.0.1 Timestamp of tree: Unknown ccache version 2.4 [enabled] dev-lang/python: 2.6.2-r1, 3.1.1 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="~amd64" CFLAGS="-O2 -pipe -march=native -floop-strip-mine -floop-block -floop-interchange" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=native -floop-strip-mine -floop-block -floop-interchange" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X bash-completion consolekit dbus graphite hal lzw mysql mysqli nls nptl pcsc-lite pic pie policykit sse ssl subversion unicode usb userlocales zlib" Unset: EMERGE_DEFAULT_OPTS
same for me ... it happens every now and then... openrc 0.4.3-r3 emerge --info Portage 2.2_rc42 (default/linux/amd64/10.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31.1 x86_64) ================================================================= System uname: Linux-2.6.31.1-x86_64-AMD_Athlon-tm-64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1 Timestamp of tree: Thu, 01 Oct 2009 13:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 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.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages parallel-fetch preserve-libs 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" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--sort-common" LINGUAS="en de" 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="/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/portage/local/portage.overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 64bit X a52 aac accessibility acpi additions aften akonadi alsa amd64 amrnb amrwb apm archive aspell ass audio avi bash-completion browserplugin bzip2 cairo caps cdparanoia chm clucene commercial cracklib crypt css cups curl custom-cflags custom-optimization cvs cxx daemon dbus devil dga divx divx4linux djvu dri dts dvd dvdnav dvdr dvdread ebook encode enda exif faac faad fam ffmpeg firefox flac fortran ftp gcrypt gd gecko geoip gif gimp gimpprint glib glitz gpm gs gtk gtk2 hal iconv icu id3 imagemagick imlib irda jabber java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix kdrive kqemu lame lcms libsamplerate libvisual lm_sensors lzma lzo mad matroska midi mmx mmxext mng moznomail mp2 mp3 mpeg mplayer mudflap multilib musepack nas ncurses nemesi network nfs nls normalize nptl nptlonly nsplugin nvidia nxclient ogg openexr opengl openmp otr pam pcap pch pcre pdf perl plasma player png ppds privacy ps python qt3support qt4 quicktime raptor rar readline realmedia redland replaygain rtc sasl schroedinger semantic-desktop server sesame2 slit smi smp socks5 speex spell sqlite srt sse sse2 ssl startup-notification stats subversion svg tcpd texteffect theora threads threadsafe thumbnail tiff tk toolbar tordns transcode trayicon tremor truetype unicode usb userlocales utempter v4l v4l2 vcd vcdimager video vorbis wavpack webdav-neon webkit wma wmf wmp x264 xanim xcb xcomposite xft xine xinerama xml xmms xorg xprint xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" SANE_BACKENDS="hp5400" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I'm getting this one _every time_ I reboot. It's very irritating. Especially since it doesn't unmount root, and the only way to end the wait is to shut the machine off. Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.32-rc2-00196-g0efe5e3 x86_64) ================================================================= System uname: Linux-2.6.32-rc2-00196-g0efe5e3-x86_64-Intel-R-_Core-TM-2_CPU_T7600_@_2.33GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 02 Oct 2009 16:00:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p28 dev-lang/python: 2.6.2-r1 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 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.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -mtune=core2 -fno-strict-aliasing -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" 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=core2 -mtune=core2 -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="candy distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en en_GB en_US" MAKEOPTS="-j2" 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/x11" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 a52 acl acpi alsa amd64 avahi berkdb bzip2 cairo cleartype cli cracklib crypt cups curl cvs dbus device-mapper disk-partition dri dvd esd faac faad fam ffmpeg flac fortran gdbm glitz gnome gnome-keyring gpm gsm gstreamer gtk hal iconv ieee1394 ipv6 isdnlog jpeg laptop ldap libnotify mad mdnsresponder-compat mmx modules mp3 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly ntp ogg opengl openmp pam pcre pdf perl png policykit pppd python readline reflection samba sasl sdl session smp speex spl sse sse2 ssl subversion svg sysfs syslog tcpd threads tiff truetype unicode usb vorbis webkit x264 xorg xvid 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 mouse keyboard wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Dunno what to say guys - I've seen this myself only once in like over 6 months using 4 different systems. All using OpenRC-0.5.x though ....
updating to openrc 0.5.x would be nice ... and adding an ebuild to the tree
Created attachment 206335 [details] openrc 0.5.0 ebuilds + files targzipped uploaded for approval :)
(In reply to comment #24) > Dunno what to say guys - I've seen this myself only once in like over 6 months > using 4 different systems. All using OpenRC-0.5.x though .... > This about sums it up. Current release is 0.6.0 in the tree. Re-open if necessary.
Happens often (but not always) on my laptop with openrc 0.6.0-rc1. Doesn't happen on my two desktops with the same version of openrc.
I'm seeing this a lot lately, both on shutdown and on reboot. kernel: gentoo-sources-2.6.32-r5 openrc: openrc-0.6.0-r1 Please reopen.
the same problem with sys-apps/openrc-0.6.0-r1 (sys-kernel/gentoo-sources-2.6.31-r6) please Re-Open this bug emerge --info Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.0.1 Timestamp of tree: Fri, 19 Feb 2010 15:30:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 ETQW RTCW-ETEULA DOOM3" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" 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="-march=amdfam10 -O2 -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="ftp://mirror.yandex.ru/gentoo-distfiles" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en ru" MAKEOPTS="-j5" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode evo exif fam firefox flac fortran gdbm gif gimp gnome gpm gstreamer gtk hal iconv imagemagick jpeg kde ldap libnotify lm_sensors lzma mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp oscar pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session smbclient spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg 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="en ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This is being re-opened. Roy, do you have any ideas?
No
after I re-emerge again baselayout(-2.0.1), sysvinit(-2.87-r3) and openrc(-0.6.0-r1) installed early in my system, the reboot and shutdown began work properly and it work perfect about one week.
I have the same issue, I havent experience this on my old machine 6 months ago, the only things which have changed are that: I have RAID now and I use lvm I have put directories like /usr /var /tmp on separate partitions I used a newer stage3 First I thought it was caused by some app not closing properly, but I noticed that this can also happen when I try to shutdown directly after boot(I dont even start X) It seems to be random Hope this helps, this bug is really annoying
Happened to me today in an up-to-date ~amd64 system, I took a photo of the screen when it was happening. Unfortunately I missed the last message before it went blank and rebooted, but I think it was something about being unable to killprocs and can't mount readonly. I think rootfs had to be fscked upon reboot. Last messages on screen were (paraphrasing): Bringing down interface eth0 Bringing down interface lo Stopping DHCP Client Daemon Unmounting loopback devices Unmounting filesystems Unmounting /mnt/storage Unmounting /home Unmounting /boot Shutting down RAID devices (mdadm) Stopping udevd Setting hardware clock using the system clock [UTC] Saving dependency cache Killing remaining processes mount-ro: waiting for killprocs (50 seconds) mount-ro: waiting for killprocs (41 seconds) mount-ro: waiting for killprocs (32 seconds) mount-ro: waiting for killprocs (23 seconds) (and so on) My emerge --info: Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33.3 x86_64) ================================================================= System uname: Linux-2.6.33.3-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 26 Apr 2010 21:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.2-r2 dev-python/pycrypto: 2.1.0 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O3 -floop-interchange -floop-strip-mine -floop-block -ggdb -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O3 -floop-interchange -floop-strip-mine -floop-block -ggdb -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--nospinner" FEATURES="assume-digests buildsyspkg distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US" LC_ALL="en_US" LDFLAGS="-Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j12" 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="/dev/shm" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/nx /usr/local/portage/layman/qting-edge /usr/local/portage/layman/kde /usr/local/portage/layman/vmware /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib acl acpi aim alsa amd64 audiofile avahi avi berkdb bluetooth branding bzip2 cairo captury cdparanoia cdr cleartype cli codecs consolekit cracklib crypt cups curl curlwrappers cxx dbus device-mapper directfb dri dts dvb dvd dvdr dvdread emboss encode ethereal evo exif fam fbcon flac flash fortran ftp gd gdbm gif glitz gnokii gphoto2 gpm gtk gtk2 h264 hal iconv ieee1394 imagemagick imap imlib innodb jabber jack java joystick jpeg jpeg2k kde kde4 kdehiddenvisibility kpathsea lcms ldap libcaca libnotify lm_sensors lzma mad mikmod mime mmx mng modules mono mp3 mp4 mpeg msn mudflap multilib mysql ncurses network nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openexr opengl openmp oscar pam pango pcre pdf perl png policykit ppds pppd python qt qt3 qt3support qt4 raw readline reflection samba scanner sdl session slang sndfile spell spl sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs tcpd tidy tiff truetype type1 unicode usb v4l videos vorbis webkit wifi wmf x264 xcb xcomposite xml xorg xpm xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zip zlib" ALSA_CARDS="hda-intel alsa_cards_usb-audio alsa_cards_usb-us122l alsa_cards_usb-usx2y" 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="auth_digest" CAMERAS="canon ptp2" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" NETBEANS_MODULES="apisupport harness ide java nb cnd groovy gsf identity j2ee mobility php profiler soa visualweb webcommon websvccommon xml" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau vesa" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Using openrc-0.6.1-r1 on ~amd64: Problem 1: Sometimes "/home" cannot be unmounted. The order in which the filesystems are mounted: "/usr", "/home". They are unmounted in the reverse order. Unmounting "/usr" seems to always succeed, unmounting "/home" sometimes fails. Problem 2: "mount-ro: waiting for killprocs (50 seconds)" and so on. Problem 3: "killprocs: send: Bad file descriptor" or something like this. I don't know if these are separate problems or if they are connected to each other.
Should I file a separate bug report for Problem 3?
One way to workaround this so mount-ro still runs even if killprocs times out is to change the killprocs dependency in mount-ro from need to use. I tested this a few times on my system with rc_parallel set to NO and even when killprocs timed out mount-ro successfully ran. It doesn't fix the main problem, but it helps prevent other important services depending on it from failing as well.
Hello, same problem here. Sometimes it happens to me too. openrc-0.6.1-r1. Flavio
Just thought about another possibility for whats causing the bug... Is anyone using jfs? or does this happen on other fs?
(In reply to comment #40) > Just thought about another possibility for whats causing the bug... > Is anyone using jfs? or does this happen on other fs? > I use ext2 fot the boot partition, ext3 for /, ext4 for partition data, and reiserfs for a small partition for portage.
(In reply to comment #41) > (In reply to comment #40) > > Just thought about another possibility for whats causing the bug... > > Is anyone using jfs? or does this happen on other fs? > > > I use ext2 fot the boot partition, ext3 for /, ext4 for partition data, and > reiserfs for a small partition for portage. > I suffer the same problem. I have openrc-0.6.3 and baselayout-2.0.1 Kernel Gentoo-sources-2.6.34-r6
(In reply to comment #41) > (In reply to comment #40) > > Just thought about another possibility for whats causing the bug... > > Is anyone using jfs? or does this happen on other fs? > > > I use ext2 fot the boot partition, ext3 for /, ext4 for partition data, and > reiserfs for a small partition for portage. I hit this bug too on occasion. Been happening for months now, ~amd64, update world usually daily. So hard to pin down to a specific version of any package. /, /usr/, /home, /var, /opt on reiser3 /boot ext2 /portage ext3 Everything except / and /boot on lvm, one single vg.
All, the current openrc is 0.7.0. I see that several months have gone by and the latest release mentioned in this bug is 0.6.3. Please upgrade and report back if the issue still exists.
(In reply to comment #44) > All, > > the current openrc is 0.7.0. I see that several months have gone by and the > latest release mentioned in this bug is 0.6.3. > > Please upgrade and report back if the issue still exists. > Since I upgraded to 0.6.8 this error has magically disappeared. Thanks, Gerard.
(In reply to comment #45) > Since I upgraded to 0.6.8 this error has magically disappeared. > Thanks, > Gerard. > Me too. As matter of fact, I didn't encounter this problem anymore with that openrc version. Note also that this didn't happen every time but sometime! Thanks, Flavio
I can also confirm that as of openrc-0.6.8, I haven't experienced this issue.