Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115608 - encfs, fuse, gentoo/vanilla kernel sources and nfs4 crash - Kernel BUG at fs/nfs/nfs4xdr.c:841 (2.6.15-rc5 vanilla sources)
Summary: encfs, fuse, gentoo/vanilla kernel sources and nfs4 crash - Kernel BUG at fs/...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High blocker
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 18:02 UTC by Fabien Jakimowicz
Modified: 2006-06-07 01:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien Jakimowicz 2005-12-14 18:02:54 UTC
I use gentoo-sources-2.6.14-r4, with fuse and nfs4 in the kernel (not a module),
/home mounted with nfs4, and .mozilla in an encfs file system not running at root.
When i try to run firefox, encfs and this nfs4 partition crash, i have to reboot.


Reproducible: Always
Steps to Reproduce:
1. use fuse and nfs4 compiled in kernel
2. move .mozilla to an encfs fs on a nfs4 mounted partition
3. launch firefox

Actual Results:  
box crash, have to reboot it. Still usable if not using crashed nfs4 partition

Expected Results:  
run without crash

message log when crash :
Dec 15 02:37:28 bounty Kernel BUG at fs/nfs/nfs4xdr.c:841
Dec 15 02:37:28 bounty invalid operand: 0000 [1] PREEMPT SMP 
Dec 15 02:37:28 bounty CPU 1 
Dec 15 02:37:28 bounty Modules linked in: nvidia vmnet vmmon nfsd exportfs
snd_seq_midi snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq ohci_
hcd snd_mpu401 parport_pc parport 8250_pnp 8250 serial_core snd_via82xx
snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart
snd_rawmidi snd_seq_dev
ice snd soundcore i2c_viapro ehci_hcd usbhid uhci_hcd via82cxxx sata_via libata
scsi_mod usbcore binfmt_misc dm_mod ide_cd cdrom ide_core w83627ehf hwmon
i2c_isa i2c_core
Dec 15 02:37:28 bounty Pid: 22302, comm: encfs Tainted: P      2.6.15-rc5-bounty #1
Dec 15 02:37:28 bounty RIP: 0010:[<ffffffff801e07f0>]
<ffffffff801e07f0>{encode_share_access+160}
Dec 15 02:37:28 bounty RSP: 0018:ffff8100689b7778  EFLAGS: 00010297
Dec 15 02:37:28 bounty RAX: 00000000ffffffff RBX: ffff8100687d60a8 RCX:
ffff8100687d60b0
Dec 15 02:37:28 bounty RDX: ffff8100687d60a8 RSI: 0000000000000008 RDI:
ffff8100689b77e8
Dec 15 02:37:28 bounty RBP: 0000000000000000 R08: ffff8100687d60a8 R09:
ffff8100687d6768
Dec 15 02:37:28 bounty R10: 0000000000000000 R11: ffffffff801e17d0 R12:
ffff8100689b77e8
Dec 15 02:37:28 bounty R13: ffff8100687d6078 R14: ffff8100662b1678 R15:
ffff810002f99a00
Dec 15 02:37:28 bounty FS:  00002aaaabb79600(0000) GS:ffffffff8047e880(0000)
knlGS:00000000556ae6b0
Dec 15 02:37:28 bounty CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Dec 15 02:37:28 bounty CR2: 0000000000694118 CR3: 000000007d3a6000 CR4:
00000000000006e0
Dec 15 02:37:28 bounty Process encfs (pid: 22302, threadinfo ffff8100689b6000,
task ffff81007dbdb0c0)
Dec 15 02:37:28 bounty Stack: 0000000000000010 ffff8100687d60a0 ffff8100689b7ab8
ffffffff801e0876 
Dec 15 02:37:28 bounty ffff8100687d6078 ffff8100795a4360 ffff8100689b77e8
ffff8100689b7ab8 
Dec 15 02:37:28 bounty ffff8100687d6078 ffffffff801e1862 
Dec 15 02:37:28 bounty Call Trace:<ffffffff801e0876>{encode_open+102}
<ffffffff801e1862>{nfs4_xdr_enc_open+146}
Dec 15 02:37:28 bounty <ffffffff8032bd41>{xdr_encode_opaque_fixed+81}
<ffffffff801e17d0>{nfs4_xdr_enc_open+0}
Dec 15 02:37:28 bounty <ffffffff8032026a>{call_transmit+458}
<ffffffff8032537a>{__rpc_execute+154}
Dec 15 02:37:28 bounty <ffffffff8031f670>{rpc_call_sync+128}
<ffffffff801da203>{_nfs4_proc_open+147}
Dec 15 02:37:28 bounty <ffffffff801dd2e7>{nfs4_do_open+631}
<ffffffff801c76e7>{nfs_lookup+359}
Dec 15 02:37:28 bounty <ffffffff802b6c35>{sock_sendmsg+229}
<ffffffff8019b561>{dput+33}
Dec 15 02:37:28 bounty <ffffffff801c73ad>{nfs_lookup_revalidate+669}
<ffffffff80338198>{thread_return+88}
Dec 15 02:37:28 bounty <ffffffff80326087>{rpcauth_lookup_credcache+439}
<ffffffff80326087>{rpcauth_lookup_credcache+439}
Dec 15 02:37:28 bounty <ffffffff801dd784>{nfs4_proc_create+148}
<ffffffff801c95b0>{nfs_access_get_cached+80}
Dec 15 02:37:28 bounty <ffffffff801c97e5>{nfs_permission+389}
<ffffffff80326087>{rpcauth_lookup_credcache+439}
Dec 15 02:37:28 bounty <ffffffff803261a5>{rpcauth_lookupcred+149}
<ffffffff801c86ed>{nfs_create+173}
Dec 15 02:37:28 bounty <ffffffff801c7a7c>{nfs_open_revalidate+348}
<ffffffff801933fc>{vfs_create+140}
Dec 15 02:37:28 bounty <ffffffff80194007>{sys_mknod+343}
<ffffffff80182f54>{vfs_read+308}
Dec 15 02:37:28 bounty <ffffffff80111645>{do_gettimeofday+101}
<ffffffff8010dd36>{system_call+126}
Dec 15 02:37:28 bounty 
Dec 15 02:37:28 bounty 
Dec 15 02:37:28 bounty Code: 0f 0b 68 b4 14 36 80 c2 49 03 c7 03 00 00 00 00 48
8b 5c 24 
Dec 15 02:37:28 bounty RIP <ffffffff801e07f0>{encode_share_access+160} RSP
<ffff8100689b7778>

emerge info :
Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.15-rc5-bounty x86_64)
=================================================================
System uname: 2.6.15-rc5-bounty x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Gentoo Base System version 1.12.0_pre11
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2
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.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops
-fomit-frame-pointer -fweb -frename-registers -funroll-loops -fforce-addr
-ffast-math -mfpmath=sse,387 -O3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=k8 -pipe -funit-at-a-time -fpeel-loops -ftracer
-funswitch-loops -fomit-frame-pointer -fweb -frename-registers -funroll-loops
-fforce-addr -ffast-math -mfpmath=sse,387 -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox severe sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://gentoo.ynet.sk/pub
http://mirror.pudas.net/gentoo http://gentoo.ITDNet.net/gentoo
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://mirror.scarlet-internet.nl/pub/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ds.thn.htu.se/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.heanet.ie/pub/gentoo/ http://gentoo.blueyonder.co.uk
http://mirror.gentoo.no/ http://gentoo.inf.elte.hu/ http://src.gentoo.pl
http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.prz.rzeszow.pl
http://mirror.datapipe.net/gentoo http://gentoo.zie.pg.gda.pl
http://trumpetti.atm.tut.fi/gentoo/ http://ftp.du.se/pub/os/gentoo
ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.po.opole.pl
http://mirror.etf.bg.ac.yu/gentoo http://ftp.heanet.ie/pub/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://darkstar.ist.utl.pt/gentoo/ http://ftp.romnet.org/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://pandemonium.tiscali.de/pub/gentoo/ http://mir.zyrianes.net/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.rhnet.is/pub/gentoo/ http://gentoo.mirror.solnet.ch
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://mirror.switch.ch/ftp/mirror/gentoo/
http://ftp.linux.ee/pub/gentoo/distfiles/"
MAKEOPTS="-j 8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acl acpi aim alsa arts audiofile avi bash-completion
berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl dba dbus dedicated dga
dio directfb divx4linux doc dv dvb dvd dvdread eds emacs emboss emul-linux-x86
encode esd ethereal examples exif expat fam fbcon ffmpeg flac foomaticdb fortran
ftp gdbm gif glut gmp gnome gnutls gpm gstreamer gtk gtk2 i8x0 icq idn
imagemagick imap imlib ipv6 jabber java jpeg junit kerberos krb4 lcms ldap leim
libcaca libwww lirc live lzo lzw lzw-tiff mad maildir matroska mbox memlimit
mhash mikmod mime mmap mng mozilla mp3 mpeg msn mysql nas ncurses netboot
new-login nfs4 nls nptl nptlonly nvidia ogg oggvorbis openal opengl oscar oss
pam pcre pdflib perl php png pnp portaudio posix python qt quicktime readline
real rtc ruby samba sasl scanner sdl sharedext sharedmem shorten slang slp
smartcard sndfile snmp sockets socks5 speex spell sqlite ssl svg sysfs sysvipc
tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts
udev unicode usb userlocales v4l vcd videos vorbis wmf xanim xine xinerama xml
xml2 xmms xosd xpm xprint xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-12-15 06:33:33 UTC
I think this might be an encfs bug
Comment 2 Fabien Jakimowicz 2005-12-16 06:54:33 UTC
I can reproduce bug on x86.

Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r5-coach i686)
=================================================================
System uname: 2.6.14-gentoo-r5-coach i686 AMD Athlon(TM) XP 2800+
Gentoo Base System version 1.12.0_pre11
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
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.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops
-fforce-addr -mmmx -m3dnow -msse -ffast-math -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops
-fforce-addr -mmmx -m3dnow -msse -ffast-math -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox severe sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://gentoo.osuosl.org/
http://adelie.polymtl.ca/ http://www.las.ic.unicamp.br/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://gentoo.itdnet.net/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/
http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://files.gentoo.gr http://gentoo.math.bme.hu http://ftp.rhnet.is/pub/gentoo/
http://mirror.hamakor.org.il/pub/mirrors/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://ftp.easynet.nl/mirror/gentoo/ http://mirror.gentoo.no/
http://darkstar.ist.utl.pt/gentoo/ http://src.gentoo.pl ftp://ftp.lug.ro/gentoo
http://gentoo.ynet.sk/pub http://mirror.aiya.ru/pub/gentoo/
http://ftp.caliu.info/pub/gentoo/ ftp://ftp.du.se/pub/os/gentoo
http://mirror.switch.ch/mirror/gentoo/ http://gentoo.blueyonder.co.uk
http://mirror.etf.bg.ac.yu/gentoo ftp://planetmirror.com/pub/gentoo/
ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/pub/gentoo/
ftp://mirror.isp.net.au/pub/gentoo/
http://www.zentek-international.com/mirrors/gentoo/ http://mirror.gentoo.gr.jp
http://ftp.gentoo.or.kr/ http://gentoo.kems.net
ftp://gentoo.csie.mcu.edu.tw/gentoo/ http://mymirror.asiaosc.org/gentoo/
ftp://ftp.linuxforum.net/gentoo http://mir.zyrianes.net/gentoo/
ftp://mir.zyrianes.net/gentoo/ ftp://mirror.averse.net/pub/gentoo
http://ftp.ankara.edu.tr/gentoo/"
LC_ALL="en_US.utf8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acl acpi aim alsa arts audiofile avi
bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl dba
dbus dedicated dga dio directfb divx4linux doc dv dvb dvd dvdread eds emacs
emboss encode esd ethereal examples exif expat fam fbcon ffmpeg flac foomaticdb
fortran ftp gd gdbm ggi gif glut gmp gnome gnutls gpm gstreamer gtk gtk2 i8x0
icq idn imagemagick imap imlib ipv6 jabber jack java jpeg junit kerberos krb4
lcms ldap leim libcaca libg++ libwww lirc live lzo mad maildir matroska mbox
memlimit mhash mikmod mime mmap mmx mmxext mng motif mozilla mp3 mpeg msn mysql
nas ncurses netboot new-login nfs4 nls nptl nptlonly nvidia ogg oggvorbis openal
opengl oscar oss pam pcre pdflib perl php png pnp portaudio posix python qt
quicktime readline real recode rtc ruby samba sasl scanner sdl shorten slang slp
sndfile snmp sockets socks5 speex spell sse ssl svg svga sysfs sysvipc tcltk
tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev
unicode usb v4l vcd videos vorbis win32codecs wmf xanim xine xinerama xml xml2
xmms xosd xpm xprint xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 3 Daniel Black (RETIRED) gentoo-dev 2006-01-14 19:35:18 UTC
reported to upstream email list

I'm sure the kernel should protect itself against userspace tools.
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2006-04-02 15:50:21 UTC
Is this still a problem with 1.3.1.1? Just bumped it in cvs.
Comment 5 Markus Ullmann (RETIRED) gentoo-dev 2006-06-07 01:20:38 UTC
Due over 2 months now, please reopen if it is still an issue