Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389217 - sys-kernel/gentoo-sources-3.1.0 kernel bug in fsnotify
Summary: sys-kernel/gentoo-sources-3.1.0 kernel bug in fsnotify
Status: RESOLVED FIXED
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:
Whiteboard:
Keywords:
Depends on:
Blocks: 395535
  Show dependency tree
 
Reported: 2011-11-01 17:30 UTC by blakawk
Modified: 2012-03-06 19:05 UTC (History)
1 user (show)

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


Attachments
The kernel config (config-3.1.0-gentoo,59.31 KB, text/plain)
2011-11-01 17:46 UTC, blakawk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blakawk 2011-11-01 17:30:47 UTC
A kernel bug happened:
[ 4623.124420] kernel BUG at mm/shmem.c:566!
[ 4623.124442] invalid opcode: 0000 [#1] SMP 
[ 4623.124468] CPU 1 
[ 4623.124480] Modules linked in: coretemp snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_hda_codec_hdmi snd_hda_codec_analog asus_atk0110 radeon i2c_i801 snd_hda_intel ttm snd_hda_codec drm_kms_helper drm hwmon i2c_algo_bit i2c_core cfbcopyarea snd_pcm power_supply cfbimgblt snd_timer cfbfillrect snd soundcore snd_page_alloc
[ 4623.124712] 
[ 4623.124722] Pid: 28692, comm: rm Not tainted 3.1.0-gentoo #7 System manufacturer P5Q DELUXE/P5Q DELUXE
[ 4623.124774] RIP: 0010:[<ffffffff810a9e5b>]  [<ffffffff810a9e5b>] shmem_evict_inode+0xbc/0xe0
[ 4623.124820] RSP: 0018:ffff88010ece5e68  EFLAGS: 00010202
[ 4623.124847] RAX: ffff880102e21990 RBX: ffff880102e21850 RCX: ffff88023749efd0
[ 4623.124879] RDX: ffff8801713f5948 RSI: ffff880102e218e8 RDI: 0000000000000000
[ 4623.124912] RBP: ffff880102e21840 R08: 0000000000000000 R09: 0000000000000000
[ 4623.124945] R10: 704f4c4d5448534a R11: 0000000000000246 R12: ffff880102e21840
[ 4623.124977] R13: ffff880102e21840 R14: 0000000000000000 R15: 0000000000000003
[ 4623.125003] FS:  00007fa705d78700(0000) GS:ffff88023fd00000(0000) knlGS:0000000000000000
[ 4623.125003] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4623.125003] CR2: 0000000000d0c0f8 CR3: 000000010d96c000 CR4: 00000000000406e0
[ 4623.125003] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 4623.125003] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 4623.125003] Process rm (pid: 28692, threadinfo ffff88010ece4000, task ffff8801713ba700)
[ 4623.125003] Stack:
[ 4623.125003]  ffff88011848e9c0 ffff880102e21850 ffff880102e21948 ffffffff8142ad30
[ 4623.125003]  0000000000000006 ffffffff810dec73 ffff880102e21850 ffff88011848e9c0
[ 4623.125003]  0000000000000000 ffffffff810d72f0 ffff88022da98200 ffff88010c4ae6c0
[ 4623.125003] Call Trace:
[ 4623.125003]  [<ffffffff810dec73>] ? evict+0x95/0x146
[ 4623.125003]  [<ffffffff810d72f0>] ? do_unlinkat+0xea/0x142
[ 4623.125003]  [<ffffffff810f5e0f>] ? fsnotify_find_inode_mark_locked+0x18/0x4b
[ 4623.125003]  [<ffffffff810f5e65>] ? fsnotify_find_inode_mark+0x23/0x30
[ 4623.125003]  [<ffffffff810cac69>] ? filp_close+0x62/0x6a
[ 4623.125003]  [<ffffffff814009bb>] ? system_call_fastpath+0x16/0x1b
[ 4623.125003] Code: 24 eb 19 49 8b 7c 24 10 e8 93 94 01 00 4c 89 e7 4d 89 ec e8 88 94 01 00 4d 8b 6d 00 49 39 ec 75 e2 48 83 bb 88 00 00 00 00 74 02 <0f> 0b 48 8b 43 28 48 8b b8 b0 02 00 00 e8 1f f7 ff ff 48 83 c4 
[ 4623.125003] RIP  [<ffffffff810a9e5b>] shmem_evict_inode+0xbc/0xe0
[ 4623.125003]  RSP <ffff88010ece5e68>
[ 4623.139399] ---[ end trace 01687ecb0668faaf ]---


Reproducible: Didn't try




emerge --info
Portage 2.1.10.32 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.1.0-gentoo x86_64)
=================================================================
System uname: Linux-3.1.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-gentoo-2.1
Timestamp of tree: Tue, 01 Nov 2011 16:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r4
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo gnome local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -floop-parallelize-all"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -floop-parallelize-all"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps=y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr en_US en"
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="/var/lib/layman/gnome /usr/local/portage"
SYNC="rsync://mirrors.linuxant.fr/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtk3 iconv ipv6 jpeg lcms ldap libnotify lzo mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses network-cron nls nptl nptlonly ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd pulseaudio python qt3support readline sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd threads tiff tracker truetype udev unicode usb vim-syntax vorbis webgl x264 xcb xinerama xml xmp 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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="fr en_US en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 blakawk 2011-11-01 17:46:40 UTC
Created attachment 291459 [details]
The kernel config
Comment 2 Göktürk Yüksek archtester gentoo-dev 2011-11-09 06:12:50 UTC
Is it a specific shell command that triggered this? I think this has more to do with shmem implementation. After evicting the inode it expects block count of the inode to be 0.
Comment 3 blakawk 2011-11-09 07:17:10 UTC
(In reply to comment #2)
> Is it a specific shell command that triggered this? I think this has more to do
> with shmem implementation. After evicting the inode it expects block count of
> the inode to be 0.

I have no idea what triggered this bug. I was looking a movie using mplayer on my digital TV connected through my graphic card in gnome3 environment from gnome overlay with Xorg 1.11 and radeon open-source driver. The movie is stored on a USB disk formatted with NTFS and mounted using FUSE NTFS-3G.
Comment 4 Mike Pagano gentoo-dev 2012-03-04 21:06:50 UTC
Are you still having issues with later kernels?
Comment 5 blakawk 2012-03-05 09:36:27 UTC
(In reply to comment #4)
> Are you still having issues with later kernels?

I am now using gentoo-sources-3.2.5, and i did not see this problem again, but as i'm not sure at all of how to reproduce it, i can't say that it is fixed.
Comment 6 Mike Pagano gentoo-dev 2012-03-06 19:05:42 UTC
Ok, closing for now. Please reopen if your problem reoccurs.