Re: [gentoo-user] Re: VPS has issues emerging everything
On Fri, Jan 7, 2011 at 8:42 AM, Simon turne...@gmail.com wrote: I re-emerged perl and it hung a few lines above my previous issue I copied in prev email. But I was able to ctrl-z+%% to unfreeze it. I'm not sure what to do now since the problem is still there... I'm not sure what critical package deal most with the ability to check for dependencies (revdep-rebuild was freezing, this one froze while finding dependencies)... if anyone has a guess, I'll try rebuilding that pkg and the winner gets a genuine 100$ of monopoly money. Simon emerge -e @system needs to be able to determine dependencies. I think it doesn't get much more basic than that. What version of portage are you using? Portage itself gets emerged pretty late in the emerge -e @system process on my machine. You might try: 1) emerge portage 2) rm /usrportage/distfiles/* 3) eix-sync (or emerge --sync I guess) 4) emerge -fe @system 5) emerge -e @system Also, smartctl -a /dev/sda your drive and see if there are errors getting reported. - Mark c2stable ~ # emerge -pe @system These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-libs/zlib-1.2.3-r1 [ebuild R ] virtual/libintl-0 [ebuild R ] dev-libs/expat-2.0.1-r3 [ebuild R ] sys-devel/gnuconfig-20100924 [ebuild R ] virtual/libiconv-0 [ebuild R ] app-arch/bzip2-1.0.6 [ebuild R ] app-misc/pax-utils-0.2.1 [ebuild R ] dev-libs/gmp-4.3.2 [ebuild R ] sys-devel/gcc-config-1.4.1 [ebuild R ] app-misc/mime-types-8 [ebuild R ] app-arch/cpio-2.11 [ebuild R ] sys-devel/autoconf-wrapper-10-r1 [ebuild R ] sys-libs/timezone-data-2010l [ebuild R ] sys-apps/tcp-wrappers-7.6-r8 [ebuild R ] sys-fs/sysfsutils-2.1.0 [ebuild R ] sys-devel/automake-wrapper-4 [ebuild R ] dev-libs/libffi-3.0.9 [ebuild R ] sys-devel/patch-2.5.9 [ebuild R ] sys-apps/which-2.20 [ebuild R ] app-arch/xz-utils-4.999.9_beta [ebuild R ] dev-util/gperf-3.0.4 [ebuild R ] app-portage/portage-utils-0.3.1 [ebuild R ] sys-kernel/linux-headers-2.6.30-r1 [ebuild R ] sys-devel/m4-1.4.15 [ebuild R ] sys-apps/sandbox-2.4 [ebuild R ] virtual/libffi-0 [ebuild R ] dev-libs/mpfr-2.4.2_p3 [ebuild R ] sys-apps/pciutils-3.1.4 [ebuild R ] app-arch/unzip-6.0-r1 [ebuild R ] sys-apps/sysvinit-2.88-r1 [ebuild R ] virtual/init-0 [ebuild R ] sys-apps/debianutils-3.2.3 [ebuild R ] sys-devel/libperl-5.10.1 [ebuild R ] sys-auth/pambase-20101024 [ebuild R ] virtual/acl-0 [ebuild R ] app-admin/python-updater-0.8 [ebuild R ] virtual/libusb-0 [ebuild R ] virtual/perl-digest-base-1.16 [ebuild R ] sys-devel/binutils-config-1.9-r4 [ebuild R ] sys-apps/man-pages-posix-2003a [ebuild R ] virtual/perl-Scalar-List-Utils-1.23 [ebuild R ] virtual/perl-libnet-1.22 [ebuild R ] virtual/perl-Digest-MD5-2.39 [ebuild R ] app-text/docbook-xsl-stylesheets-1.75.2 [ebuild R ] app-text/build-docbook-catalog-1.4 [ebuild R ] virtual/perl-ExtUtils-CBuilder-0.27.03 [ebuild R ] virtual/perl-Module-Build-0.36.07 [ebuild R ] virtual/perl-Test-Harness-3.17 [ebuild R ] virtual/perl-Archive-Tar-1.54 [ebuild R ] virtual/perl-ExtUtils-ParseXS-2.22.05 [ebuild R ] sys-devel/autoconf-2.65-r1 [ebuild R ] sys-devel/automake-1.11.1 [ebuild R ] sys-devel/libtool-2.2.10 [ebuild R ] dev-libs/libusb-0.1.12-r5 [ebuild R ] app-text/sgml-common-0.6.3-r5 [ebuild R ] sys-devel/gettext-0.18.1.1-r1 [ebuild R ] sys-apps/sed-4.2.1 [ebuild R ] sys-apps/findutils-4.4.2 [ebuild R ] sys-devel/flex-2.5.35 [ebuild R ] dev-libs/popt-1.16 [ebuild R ] sys-devel/bison-2.4.2 [ebuild R ] sys-apps/diffutils-2.8.7-r2 [ebuild R ] sys-apps/attr-2.4.44 [ebuild R ] app-arch/gzip-1.4 [ebuild R ] sys-apps/kbd-1.15 [ebuild R ] sys-apps/net-tools-1.60_p20090728014017-r1 [ebuild R ] sys-apps/gawk-3.1.6 [ebuild R ] app-arch/tar-1.23-r2 [ebuild R ] sys-devel/make-3.81-r2 [ebuild R ] dev-libs/libgpg-error-1.7 [ebuild R ] sys-devel/binutils-2.20.1-r1 [ebuild R ] sys-apps/acl-2.2.49 [ebuild R ] net-misc/rsync-3.0.7 [ebuild R ] dev-util/pkgconfig-0.25-r2 [ebuild R ] dev-libs/libgcrypt-1.4.6 [ebuild R ] x11-proto/xproto-7.0.19 [ebuild R ] sys-apps/coreutils-8.7 [ebuild R ] x11-proto/xextproto-7.1.2 [ebuild R ] sys-libs/db-4.8.30 [ebuild R ] x11-libs/xtrans-1.2.6 [ebuild R ] x11-proto/kbproto-1.0.5 [ebuild R ] sys-apps/usbutils-0.90 [ebuild R ] x11-proto/xf86bigfontproto-1.2.0 [ebuild R ] x11-proto/inputproto-2.0.1 [ebuild R ] dev-libs/libpthread-stubs-0.1 [ebuild R ] dev-libs/libpcre-8.02 [ebuild R ] sys-libs/db-4.7.25_p4 [ebuild R ] sys-libs/gdbm-1.8.3-r4 [ebuild R ] x11-libs/libICE-1.0.7 [ebuild R ] x11-libs/libXau-1.0.6 [ebuild R ] x11-libs/libXdmcp-1.1.0 [ebuild R ] sys-apps/grep-2.5.4-r1 [ebuild R ]
Re: [gentoo-user] Re: VPS has issues emerging everything
This issue happend after a 'emerge -uDN world' after I had not done any updates for a bit over 60 days. (I was just too busy) I already have: sys-apps/portage-2.1.9.25 and I don't have smartctl, what pkg is it in? I'm not sure it will give valid info though as this is a VPS and everything is XENified. My root device is /dev/xvda to give you an idea... But I did run an fsck, a pretty thorough one like fsck.ext3 -c -c -f or something like that... I also added another option that made it super verbose, so I don't know if anything was found, just that *filesystem was modified* by it... I just did the following emerge, these packages had not been recompiled by the emerge -e system that crashed. They all compiled top shape, but the problem doesn't happen on every package, so it's hard to tell... emerge app-shells/bash sys-apps/util-linux sys-fs/e2fsprogs dev-lang/python sys-apps/portage sys-apps/baselayout sys-fs/udev sys-apps/busybox I will redo a simple fsck.ext3 -c -c -f /dev/xvda and see what it says exactly (if it says anything). And then i will --sync and -e @system again... I'll reply to the list with my results... Thanks, Simon On Fri, Jan 7, 2011 at 12:36 PM, Mark Knecht markkne...@gmail.com wrote: On Fri, Jan 7, 2011 at 8:42 AM, Simon turne...@gmail.com wrote: I re-emerged perl and it hung a few lines above my previous issue I copied in prev email. But I was able to ctrl-z+%% to unfreeze it. I'm not sure what to do now since the problem is still there... I'm not sure what critical package deal most with the ability to check for dependencies (revdep-rebuild was freezing, this one froze while finding dependencies)... if anyone has a guess, I'll try rebuilding that pkg and the winner gets a genuine 100$ of monopoly money. Simon emerge -e @system needs to be able to determine dependencies. I think it doesn't get much more basic than that. What version of portage are you using? Portage itself gets emerged pretty late in the emerge -e @system process on my machine. You might try: 1) emerge portage 2) rm /usrportage/distfiles/* 3) eix-sync (or emerge --sync I guess) 4) emerge -fe @system 5) emerge -e @system Also, smartctl -a /dev/sda your drive and see if there are errors getting reported. - Mark c2stable ~ # emerge -pe @system These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-libs/zlib-1.2.3-r1 [ebuild R ] virtual/libintl-0 [ebuild R ] dev-libs/expat-2.0.1-r3 [ebuild R ] sys-devel/gnuconfig-20100924 [ebuild R ] virtual/libiconv-0 [ebuild R ] app-arch/bzip2-1.0.6 [ebuild R ] app-misc/pax-utils-0.2.1 [ebuild R ] dev-libs/gmp-4.3.2 [ebuild R ] sys-devel/gcc-config-1.4.1 [ebuild R ] app-misc/mime-types-8 [ebuild R ] app-arch/cpio-2.11 [ebuild R ] sys-devel/autoconf-wrapper-10-r1 [ebuild R ] sys-libs/timezone-data-2010l [ebuild R ] sys-apps/tcp-wrappers-7.6-r8 [ebuild R ] sys-fs/sysfsutils-2.1.0 [ebuild R ] sys-devel/automake-wrapper-4 [ebuild R ] dev-libs/libffi-3.0.9 [ebuild R ] sys-devel/patch-2.5.9 [ebuild R ] sys-apps/which-2.20 [ebuild R ] app-arch/xz-utils-4.999.9_beta [ebuild R ] dev-util/gperf-3.0.4 [ebuild R ] app-portage/portage-utils-0.3.1 [ebuild R ] sys-kernel/linux-headers-2.6.30-r1 [ebuild R ] sys-devel/m4-1.4.15 [ebuild R ] sys-apps/sandbox-2.4 [ebuild R ] virtual/libffi-0 [ebuild R ] dev-libs/mpfr-2.4.2_p3 [ebuild R ] sys-apps/pciutils-3.1.4 [ebuild R ] app-arch/unzip-6.0-r1 [ebuild R ] sys-apps/sysvinit-2.88-r1 [ebuild R ] virtual/init-0 [ebuild R ] sys-apps/debianutils-3.2.3 [ebuild R ] sys-devel/libperl-5.10.1 [ebuild R ] sys-auth/pambase-20101024 [ebuild R ] virtual/acl-0 [ebuild R ] app-admin/python-updater-0.8 [ebuild R ] virtual/libusb-0 [ebuild R ] virtual/perl-digest-base-1.16 [ebuild R ] sys-devel/binutils-config-1.9-r4 [ebuild R ] sys-apps/man-pages-posix-2003a [ebuild R ] virtual/perl-Scalar-List-Utils-1.23 [ebuild R ] virtual/perl-libnet-1.22 [ebuild R ] virtual/perl-Digest-MD5-2.39 [ebuild R ] app-text/docbook-xsl-stylesheets-1.75.2 [ebuild R ] app-text/build-docbook-catalog-1.4 [ebuild R ] virtual/perl-ExtUtils-CBuilder-0.27.03 [ebuild R ] virtual/perl-Module-Build-0.36.07 [ebuild R ] virtual/perl-Test-Harness-3.17 [ebuild R ] virtual/perl-Archive-Tar-1.54 [ebuild R ] virtual/perl-ExtUtils-ParseXS-2.22.05 [ebuild R ] sys-devel/autoconf-2.65-r1 [ebuild R ] sys-devel/automake-1.11.1 [ebuild R ] sys-devel/libtool-2.2.10 [ebuild R ] dev-libs/libusb-0.1.12-r5 [ebuild R ] app-text/sgml-common-0.6.3-r5 [ebuild R ] sys-devel/gettext-0.18.1.1-r1 [ebuild R ] sys-apps/sed-4.2.1 [ebuild R ] sys-apps/findutils-4.4.2 [ebuild R ] sys-devel/flex-2.5.35 [ebuild R ] dev-libs/popt-1.16
Re: [gentoo-user] Re: VPS has issues emerging everything
On Fri, Jan 7, 2011 at 10:41 AM, Simon turne...@gmail.com wrote: This issue happend after a 'emerge -uDN world' after I had not done any updates for a bit over 60 days. (I was just too busy) I already have: sys-apps/portage-2.1.9.25 and I don't have smartctl, what pkg is it in? I'm not sure it will give valid info though as this is a VPS and everything is XENified. My root device is /dev/xvda to give you an idea... But I did run an fsck, a pretty thorough one like fsck.ext3 -c -c -f or something like that... I also added another option that made it super verbose, so I don't know if anything was found, just that *filesystem was modified* by it... I just did the following emerge, these packages had not been recompiled by the emerge -e system that crashed. They all compiled top shape, but the problem doesn't happen on every package, so it's hard to tell... emerge app-shells/bash sys-apps/util-linux sys-fs/e2fsprogs dev-lang/python sys-apps/portage sys-apps/baselayout sys-fs/udev sys-apps/busybox I will redo a simple fsck.ext3 -c -c -f /dev/xvda and see what it says exactly (if it says anything). And then i will --sync and -e @system again... I'll reply to the list with my results... Thanks, Simon smartctl is in smartmontools. Possibly consider the ~ version of portage. I'm currently at 2.2.0_alpha13. It works well for me. __Definitely__ check out Dale's suggestion that possibly python-3 got selected. Good luck, Mark
Re: [gentoo-user] Re: VPS has issues emerging everything
On Fri, Jan 7, 2011 at 18:10, Mark Knecht markkne...@gmail.com wrote: On Fri, Jan 7, 2011 at 10:41 AM, Simon turne...@gmail.com wrote: This issue happend after a 'emerge -uDN world' after I had not done any updates for a bit over 60 days. (I was just too busy) I already have: sys-apps/portage-2.1.9.25 and I don't have smartctl, what pkg is it in? I'm not sure it will give valid info though as this is a VPS and everything is XENified. My root device is /dev/xvda to give you an idea... But I did run an fsck, a pretty thorough one like fsck.ext3 -c -c -f or something like that... I also added another option that made it super verbose, so I don't know if anything was found, just that *filesystem was modified* by it... I just did the following emerge, these packages had not been recompiled by the emerge -e system that crashed. They all compiled top shape, but the problem doesn't happen on every package, so it's hard to tell... emerge app-shells/bash sys-apps/util-linux sys-fs/e2fsprogs dev-lang/python sys-apps/portage sys-apps/baselayout sys-fs/udev sys-apps/busybox I will redo a simple fsck.ext3 -c -c -f /dev/xvda and see what it says exactly (if it says anything). And then i will --sync and -e @system again... I'll reply to the list with my results... Thanks, Simon smartctl is in smartmontools. Possibly consider the ~ version of portage. I'm currently at 2.2.0_alpha13. It works well for me. __Definitely__ check out Dale's suggestion that possibly python-3 got selected. I don't think the error is portage related, the steps that the OP mention where things freeze are config/compile. If it wasn't a virtual machine, I would suspect cpu throttling, overheating or even memory corruption. Those could apply to VMs, but the host running Xen would have general problems. Maybe trying a manual compile, just to exclude portage as a player... You could monitor IO and CPU and see exactly what process is resource hungry. -- Daniel da Veiga