Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365677 - gentoo-sources-2.6.38-r3 can not launch processes when xfs partition in high load
Summary: gentoo-sources-2.6.38-r3 can not launch processes when xfs partition in high ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugzilla.kernel.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 07:58 UTC by Alex
Modified: 2012-01-09 21:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My .config file (.config,58.97 KB, text/plain)
2011-05-10 18:32 UTC, Alex
Details
config file for kernel sys-kernel/gentoo-sources-2.6.39 (.config,59.87 KB, application/octet-stream)
2011-05-22 11:29 UTC, Alex
Details
/var/log/messages for 22 may (log,216.65 KB, application/octet-stream)
2011-05-22 11:30 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2011-05-02 07:58:30 UTC
My portage tree and portage PORTAGE_TMPDIR are on xfs partition. After several hours of compiling the worl I just could not launch any process, not under user in X11 and not in other console (C-M-F1). Login just can not launch the shell process. So I even could not determine what is the reason of this error. Now my partition is under Ext4 and this problem do not exists, I belive it was the XFS's in high load fault.

Reproducible: Always

Steps to Reproduce:
1.Give some load for processor (and posible for memory) and XFS file system mounted (in my case it was the world updating)
2.Wait several hours
3.Now you can not execute any process but processes launched before it works fine.



>>uname -a
Linux localhost 2.6.38-gentoo-r3work #2 Sun May 1 15:15:36 YEKST 2011 x86_64 AMD Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/Linux
>>emerge --info
can not get it right now because of portage brake.
Comment 1 Alex 2011-05-03 15:56:50 UTC
here is emerge --info 
>>emerge --info
Portage 2.2.2 (default/linux/amd64/2008.0/desktop, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r3work x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r3work-x86_64-AMD_Athlon-tm-_64_Processor_2800+-with-gentoo-2.1.8
Portage Tree: /home/portage-tree/portage
Portage HEAD: 9dffd94e80ace176c14b0213052f40a02a701479 /home/portage-tree/portage/.git/refs/heads/funtoo.org
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p10
dev-java/java-config: 2.1.11-r3::funtoo
dev-lang/python:     2.6.6-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.1.8-r2::funtoo
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13::funtoo, 2.68::funtoo
sys-devel/automake:  1.9.6-r3::funtoo, 1.10.3::funtoo, 1.11.1-r1
sys-devel/binutils:  2.20.1::funtoo
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1::funtoo
sys-devel/libtool:   2.4-r1::funtoo
sys-devel/make:      3.81-r2::funtoo
sys-kernel/linux-headers: 2.6.32::funtoo
sys-libs/glibc:      2.11.2-r2::funtoo
virtual/os-headers:  0
Repositories: gentoo mineover zugaina gamerlay-stable sunrise proaudio rion dberkholz spring ibormuth d-overlay digital-trauma ruby science emacs eatnumber1 lisp
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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="-O2 -pipe"
DISTDIR="/mnt/remote/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --keep-going"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages mini-manifest news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.bloodhost.ru/ http://gentoo.kiev.ua/ftp/ http://mirror2.corbina.ru/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo/ ftp://gentoo.bloodhost.ru/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://xeon.gentoo.ru/mirrors/Gentoo/ http://mirror.ynet.sk/pub/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.gentoo.bg/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ ftp://mirror2.corbina.ru/gentoo-distfiles/ http://gentoo.lagis.at/ ftp://trumpetti.atm.tut.fi/gentoo/ http://mirrors.telepoint.bg/gentoo/ http://gentoo.inode.at/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="ru"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/home/portage-tree/portage"
PORTDIR_OVERLAY="/usr/local/portage/mineover/overlay /usr/local/portage/layman/zugaina /usr/local/portage/layman/gamerlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/pro-audio /usr/local/portage/layman/rion /usr/local/portage/layman/dberkholz /usr/local/portage/layman/Spring /usr/local/portage/layman/ibormuth /usr/local/portage/layman/d /usr/local/portage/layman/trauma /usr/local/portage/layman/ruby /usr/local/portage/layman/science /usr/local/portage/layman/emacs /usr/local/portage/layman/eatnumber1 /usr/local/portage/layman/lisp"
SYNC="git://github.com/funtoo/portage-mini-2010.git"
SYNC_USER="root"
USE="3dnow 3dnowext X a52 aac acl acpi alac alsa amd64 berkdb blas branding bzip2 cairo cdparanoia cdr cjk cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr dvdread emacs emboss encode epoll esd exif fam ffmpeg firefox flac fontconfig fortran gdbm gdu gif glade gmp gnutls gpm gstreamer gtk iconv icu jack jpeg lame lapack lcms ldap libnotify mad mdnsresponder-compat mmx mng modules mp3 mp4 mpeg mpi mudflap multilib ncurses nls nptl nptlonly ogg openexr opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3 qt3support qt4 raw readline sdl session spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vim-syntax vorbis wavpack x264 xcb xml xorg xulrunner xv 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-06 15:54:19 UTC
How about dmesg output? Anything in the syslog? Could you post your kernel .config?
Comment 3 Alex 2011-05-10 18:32:19 UTC
Created attachment 272755 [details]
My .config file
Comment 4 Alex 2011-05-10 18:37:33 UTC
.config attached above is for 2.6.38-r4 kernel and ext4 filesystem is compiled as module. But all other is the same.
Here is a part of syslog where computer hanged up (i was slept)
May  1 00:00:00 localhost fcron[14702]: pam_unix(fcron:session): session opened for user root by (uid=0)
May  1 00:00:00 localhost fcron[14702]: Job /usr/local/sbin/ntptime started for user root (pid 14703)
May  1 00:00:10 localhost fcron[14702]: Job /usr/local/sbin/ntptime completed (mailing output)
May  1 00:00:10 localhost fcron[14702]: pam_unix(fcron:session): session closed for user root
May  1 00:00:10 localhost sSMTP[14702]: Unable to locate mail
May  1 00:00:10 localhost sSMTP[14702]: Cannot open mail:25
May  1 00:32:03 localhost -- MARK --
May  1 01:32:03 localhost -- MARK --
May  1 02:32:03 localhost -- MARK --
May  1 10:00:51 localhost syslog-ng[2244]: syslog-ng starting up; version='3.2.2'
May  1 10:00:51 localhost kernel: [    0.000000] Linux version 2.6.38-gentoo-r3work (root@localhost) (gcc version 4.4.5 (Gentoo 4.4.5 p1.0, pie-0.4.5) ) #1 Sun Apr 24 20:42:20 YEKST 2011
May  1 10:00:51 localhost kernel: [    0.000000] Command line: softlevel=xdm root=/dev/sda7
May  1 10:00:51 localhost kernel: [    0.000000] BIOS-provided physical RAM map:
May  1 10:00:51 localhost kernel: [    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
May  1 10:00:51 localhost kernel: [    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
May  1 10:00:51 localhost kernel: [    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
May  1 10:00:51 localhost kernel: [    0.000000]  BIOS-e820: 0000000000100000 - 000000005fee0000 (usable)
May  1 10:00:51 localhost kernel: [    0.000000]  BIOS-e820: 000000005fee0000 - 000000005fee3000 (ACPI NVS)
May  1 10:00:51 localhost kernel: [    0.000000]  BIOS-e820: 000000005fee3000 - 000000005fef0000 (ACPI data)


obviously there is no records after 2:32 (yes i am a captain !)
Comment 5 Alex 2011-05-22 11:29:14 UTC
Created attachment 274265 [details]
config file for kernel sys-kernel/gentoo-sources-2.6.39

kernel config for 39 kernel
Comment 6 Alex 2011-05-22 11:30:03 UTC
Created attachment 274267 [details]
/var/log/messages for 22 may
Comment 7 Alex 2011-05-22 11:36:02 UTC
Today (22 May) my system was hanged up again !
Obviously it was not a bug of the XFS filesystem but bug of the kernel. Now my /home under ext4 but today after 17pm my computer hanged up and I could not execute any program. Above i has attached my syslog messages for all 22 May and config file for 2.6.39 kernel (actual kernel i do work on).
What can i do to get some information for developers to define the reason of this ?
PS. memtest already passed several times, so it is not a memory and not a CPU.
Comment 8 pepo yossi 2011-07-28 01:14:05 UTC
Hi, 
I have the same problem, 
since my OS is on a XFS partition I could not make sense of it, 
can you please share what is your xfsprogs version ?
I am using kernel 2.6.32-r6 and xfsprogs 3.0.1
Comment 9 Alex 2011-07-28 04:35:18 UTC
(In reply to comment #8)
> Hi, 
> I have the same problem, 
> since my OS is on a XFS partition I could not make sense of it, 
> can you please share what is your xfsprogs version ?
> I am using kernel 2.6.32-r6 and xfsprogs 3.0.1

HI. check this out
https://bugzilla.kernel.org/show_bug.cgi?id=37782
my problem was not in xfs partition, this was reiserfs problem, this problem is not just me, but some people too.
Try SysRq Alt-PrScr-w to show the info about hanged processes when your partition is not responsible. Then check dmesg out and lock at stack trace, if you will find "reiserfs" word in it then you probably have the same problem. In that case post your dmesg and all info about your hardware to kernel.org to the branch mentioned above and/or post it here.
Comment 10 Mike Pagano gentoo-dev 2011-12-11 18:49:44 UTC
Was anything resolved in that upstream bug tracker before it went down? Anything new to report?