Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 433593

Summary: sys-kernel/gentoo-sources-3.4.9 - BUG at fs/nfs/idmap.c:668 on NFS mount without rpc.idmapd running.
Product: Gentoo Linux Reporter: Jared B. <nitro>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED NEEDINFO    
Severity: normal CC: ganastasiouGR
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=838730
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kernel 3.5.3-pf configuration
linux-3.4.9-gentoo.config

Description Jared B. 2012-09-01 05:44:54 UTC
I recently upgraded to gentoo-sources-3.4.9, and now whenever I mount an NFS share I get a kernel crash.  If I reboot and choose my previous kernel from grub, gentoo-sources-3.4.5, NFS works perfectly fine.  This is consistent - every time I try to mount the NFS share on my NAS with 3.4.9, my kernel crashes.  Specifically, it seems to be some kind of interaction with idmap.

This seems to be a pretty widespread problem:
https://encrypted.google.com/search?q=kernel+3.4+nfs+crash

But, a lot of the other reports I've seen indicate it's a problem with all versions of 3.4.  In my case, 3.4.5 works perfectly fine, but I didn't encounter it until 3.4.9 (I skipped the revisions in between).  Haven't been able to find a fix yet.

Including the info I think is relevant, but please let me know what else I can provide.

Installed versions:

[I] net-fs/nfs-utils
     Installed versions:  1.2.3-r1^t(05:31:19 PM 07/28/2012)(elibc_glibc ipv6 nfsv4 tcpd -caps -kerberos -nfsv3)

[I] net-libs/libnfsidmap
     Installed versions:  0.24(05:13:18 PM 07/28/2012)(-ldap -static-libs)

[D] sys-kernel/gentoo-sources
     Installed versions:  3.4.5(3.4.5)^bs(05:55:12 PM 07/28/2012)(-build -deblob -symlink) 3.4.9(3.4.9)^bs(01:12:44 PM 08/24/2012)(-build -deblob -symlink)

NFS mount options:
server:/   /mount/point   nfs4   noauto,user,exec,rw,sec=sys,bg,soft,proto=tcp,port=2049,rsize=32768,wsize=32768,timeo=14  0 0


Kernel crash log:
Aug 31 23:21:52 birddog kernel: : [ 3118.709628] ------------[ cut here ]------------
Aug 31 23:21:52 birddog kernel: : [ 3118.709681] kernel BUG at fs/nfs/idmap.c:668!
Aug 31 23:21:52 birddog kernel: : [ 3118.709720] invalid opcode: 0000 [#1] SMP
Aug 31 23:21:52 birddog kernel: : [ 3118.709770] CPU 0
Aug 31 23:21:52 birddog kernel: : [ 3118.709789] Modules linked in: uvcvideo videobuf2_core videodev videobuf2_vmalloc videobuf2_memops joydev aesni_intel cryptd aes_x86_64 sdhci_pci sdhci i2c_i801 iwlwifi mmc_core xts gf128mul uhci_hcd usb_storage sr_mod cdrom sg
Aug 31 23:21:52 birddog kernel: : [ 3118.710051]
Aug 31 23:21:52 birddog kernel: : [ 3118.710072] Pid: 17547, comm: mount.nfs4 Not tainted 3.4.9-gentoo #1 LENOVO 2352CTO/2352CTO
Aug 31 23:21:52 birddog kernel: : [ 3118.710151] RIP: 0010:[<ffffffff811b4943>]  [<ffffffff811b4943>] nfs_idmap_legacy_upcall+0x203/0x210
Aug 31 23:21:52 birddog kernel: : [ 3118.710233] RSP: 0018:ffff88041a2a9608  EFLAGS: 00010286
Aug 31 23:21:52 birddog kernel: : [ 3118.710277] RAX: 0000000000000014 RBX: ffff8804298973c0 RCX: 0000000000000000
Aug 31 23:21:52 birddog kernel: : [ 3118.710334] RDX: 0000000000000014 RSI: ffff8803d993f3b8 RDI: ffff8804298973d6
Aug 31 23:21:52 birddog kernel: : [ 3118.710390] RBP: ffff8803d9a17d40 R08: 000000000000003a R09: ffff88041a2a9580
Aug 31 23:21:52 birddog kernel: : [ 3118.710446] R10: 00000000c523dfc0 R11: 000000007921b3c8 R12: ffff88042a9b6dd0
Aug 31 23:21:52 birddog kernel: : [ 3118.710501] R13: ffff88042aade840 R14: 0000000000000014 R15: 0000000000000000
Aug 31 23:21:52 birddog kernel: : [ 3118.710558] FS:  00007f34077ff700(0000) GS:ffff88043e200000(0000) knlGS:0000000000000000
Aug 31 23:21:52 birddog kernel: : [ 3118.710621] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Aug 31 23:21:52 birddog kernel: : [ 3118.710667] CR2: 0000000000949038 CR3: 000000041fa98000 CR4: 00000000001407f0
Aug 31 23:21:52 birddog kernel: : [ 3118.710724] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 31 23:21:52 birddog kernel: : [ 3118.710785] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 31 23:21:52 birddog kernel: : [ 3118.710842] Process mount.nfs4 (pid: 17547, threadinfo ffff88041a2a8000, task ffff8803d9a0cb00)
Aug 31 23:21:52 birddog kernel: : [ 3118.710908] Stack:
Aug 31 23:21:52 birddog kernel: : [ 3118.710930]  ffff8803d993f3a4 ffff8803d993f3b8 ffff88042a9b6dd0 ffff880429897900
Aug 31 23:21:52 birddog kernel: : [ 3118.711007]  ffff8804298970c0 ffffffff816f0449 0000000000000000 ffffffff811ccf03
Aug 31 23:21:52 birddog kernel: : [ 3118.711083]  0000000000000000 ffff88042a54d600 ffff88042aade840 ffff88042a54d600
Aug 31 23:21:52 birddog kernel: : [ 3118.711159] Call Trace:
Aug 31 23:21:52 birddog kernel: : [ 3118.711190]  [<ffffffff811ccf03>] ? request_key_and_link+0x323/0x450
Aug 31 23:21:52 birddog kernel: : [ 3118.711245]  [<ffffffff811cd085>] ? request_key_with_auxdata+0x15/0x60
Aug 31 23:21:52 birddog kernel: : [ 3118.711299]  [<ffffffff811b4a2d>] ? nfs_idmap_request_key+0xdd/0x1c0
Aug 31 23:21:52 birddog kernel: : [ 3118.711352]  [<ffffffff811b4bc0>] ? nfs_idmap_get_key+0xb0/0xd0
Aug 31 23:21:52 birddog kernel: : [ 3118.711403]  [<ffffffff811b4d7f>] ? nfs_idmap_lookup_id+0x2f/0x80
Aug 31 23:21:52 birddog kernel: : [ 3118.711454]  [<ffffffff811b5709>] ? nfs_map_group_to_gid+0x39/0x90
Aug 31 23:21:52 birddog kernel: : [ 3118.711508]  [<ffffffff811b01c4>] ? decode_getfattr_attrs+0x9a4/0xa20
Aug 31 23:21:52 birddog kernel: : [ 3118.711562]  [<ffffffff811b02d6>] ? decode_getfattr_generic.clone.58+0x96/0xf0
Aug 31 23:21:52 birddog kernel: : [ 3118.711624]  [<ffffffff811b07c9>] ? nfs4_xdr_dec_lookup_root+0x69/0x70
Aug 31 23:21:52 birddog kernel: : [ 3118.711678]  [<ffffffff811b0760>] ? nfs4_xdr_dec_remove+0x90/0x90
Aug 31 23:21:52 birddog kernel: : [ 3118.711731]  [<ffffffff814aba09>] ? rpcauth_unwrap_resp+0x79/0x80
Aug 31 23:21:52 birddog kernel: : [ 3118.711782]  [<ffffffff811b0760>] ? nfs4_xdr_dec_remove+0x90/0x90
Aug 31 23:21:52 birddog kernel: : [ 3118.714038]  [<ffffffff814a3089>] ? call_decode+0x319/0x410
Aug 31 23:21:52 birddog kernel: : [ 3118.716308]  [<ffffffff814aa4d6>] ? __rpc_execute+0x46/0x1e0
Aug 31 23:21:52 birddog kernel: : [ 3118.718562]  [<ffffffff8104e768>] ? wake_up_bit+0x18/0x40
Aug 31 23:21:52 birddog kernel: : [ 3118.720799]  [<ffffffff814a3fa9>] ? rpc_run_task+0x69/0x90
Aug 31 23:21:52 birddog kernel: : [ 3118.723046]  [<ffffffff814a40ca>] ? rpc_call_sync+0x3a/0x60
Aug 31 23:21:52 birddog kernel: : [ 3118.725302]  [<ffffffff811a5c67>] ? _nfs4_lookup_root.clone.31+0xa7/0xd0
Aug 31 23:21:52 birddog kernel: : [ 3118.727563]  [<ffffffff814ab4a1>] ? rpcauth_lookup_credcache+0x111/0x260
Aug 31 23:21:52 birddog kernel: : [ 3118.729829]  [<ffffffff811a7b2f>] ? nfs4_lookup_root.clone.32+0x4f/0x90
Aug 31 23:21:52 birddog kernel: : [ 3118.732095]  [<ffffffff811a7ba0>] ? nfs4_proc_get_root+0x30/0xd0
Aug 31 23:21:52 birddog kernel: : [ 3118.734357]  [<ffffffff81194355>] ? nfs4_get_rootfh+0x45/0xf0
Aug 31 23:21:52 birddog kernel: : [ 3118.736633]  [<ffffffff814a3644>] ? rpc_setup_pipedir+0x44/0xa0
Aug 31 23:21:52 birddog kernel: : [ 3118.738907]  [<ffffffff814a3780>] ? rpc_register_client+0x40/0x70
Aug 31 23:21:52 birddog kernel: : [ 3118.741178]  [<ffffffff810e2428>] ? kmem_cache_alloc+0x38/0xd0
Aug 31 23:21:52 birddog kernel: : [ 3118.743453]  [<ffffffff8118ec03>] ? nfs4_server_common_setup+0x63/0xf0
Aug 31 23:21:52 birddog kernel: : [ 3118.745748]  [<ffffffff8118f781>] ? nfs4_create_server+0x171/0x2f0
Aug 31 23:21:52 birddog kernel: : [ 3118.747954]  [<ffffffff8119a75d>] ? nfs4_remote_mount+0x5d/0x2b0
Aug 31 23:21:52 birddog kernel: : [ 3118.750081]  [<ffffffff810ef85a>] ? mount_fs+0x1a/0xd0
Aug 31 23:21:52 birddog kernel: : [ 3118.752154]  [<ffffffff8110796d>] ? vfs_kern_mount+0x6d/0x100
Aug 31 23:21:52 birddog kernel: : [ 3118.754220]  [<ffffffff81198a50>] ? nfs_do_root_mount+0x90/0xf0
Aug 31 23:21:52 birddog kernel: : [ 3118.756289]  [<ffffffff811998c1>] ? nfs4_mount+0x1f1/0x260
Aug 31 23:21:52 birddog kernel: : [ 3118.758351]  [<ffffffff810ef85a>] ? mount_fs+0x1a/0xd0
Aug 31 23:21:52 birddog kernel: : [ 3118.760415]  [<ffffffff8110796d>] ? vfs_kern_mount+0x6d/0x100
Aug 31 23:21:52 birddog kernel: : [ 3118.762398]  [<ffffffff811081d3>] ? do_kern_mount+0x53/0x120
Aug 31 23:21:52 birddog kernel: : [ 3118.764301]  [<ffffffff81109d9f>] ? do_mount+0x48f/0x7e0
Aug 31 23:21:52 birddog kernel: : [ 3118.766214]  [<ffffffff810e4a7a>] ? __kmalloc_track_caller+0x7a/0x1a0
Aug 31 23:21:52 birddog kernel: : [ 3118.768106]  [<ffffffff8110a21a>] ? sys_mount+0x9a/0xf0
Aug 31 23:21:52 birddog kernel: : [ 3118.769967]  [<ffffffff81524c62>] ? system_call_fastpath+0x16/0x1b
Aug 31 23:21:52 birddog kernel: : [ 3118.771801] Code: ff ff ff 0f 1f 44 00 00 c7 03 00 00 00 00 48 8d 7b 04 b2 88 e9 96 fe ff ff 0f 1f 80 00 00 00 00 41 be f4 ff ff ff e9 ea fe ff ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 58 48 89 5c 24
Aug 31 23:21:52 birddog kernel: : [ 3118.776201] RIP  [<ffffffff811b4943>] nfs_idmap_legacy_upcall+0x203/0x210
Aug 31 23:21:52 birddog kernel: : [ 3118.778299]  RSP <ffff88041a2a9608>
Aug 31 23:21:52 birddog kernel: : [ 3118.780597] ---[ end trace 9f43503fe3c8a495 ]---


emerge --info:
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.3.8-gentoo x86_64)
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.1
Timestamp of tree: Mon, 27 Aug 2012 11:15:01 +0000
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/data/files/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var//portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-7"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/home/data/dev/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion bzip2 cli cracklib crypt cxx dri gmp gpm hardened iconv jpeg lzma mmx modules mudflap multilib ncurses nls nptl openmp pam pcre png posix pppd readline session sse sse2 ssl tcpd tiff unicode vim-syntax 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 sheets 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-4 php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jared B. 2012-09-01 05:48:03 UTC
Please ignore the emerge --info output from the original description.  I accidentally pulled that from a different system.  The correct output is below.  If anyone has the ability to edit comments, could you please either remove the emerge --info output from the description or replace it with the correct info?  I don't want it to confuse anyone that may investigate this.

Sorry for the confusion.

Correct emerge --info output:

Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.1
Timestamp of tree: Sat, 01 Sep 2012 03:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 PUEL Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.osuosl.org/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-7"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync25.us.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cli cracklib crypt curl cxx dbus dri dvd exif fam flac gdbm gif gmp gpm iconv ipv6 jpeg kde libnotify lzma lzo mad matroska mmap mmx modules mp3 mudflap multilib nls nptl ogg opengl openmp pam pch pcntl pcre png pppd qt4 readline semantic-desktop session smp sndfile spell sse sse2 ssl startup-notification svg taglib tcpd theora threads tiff truetype unicode vim-syntax vorbis x264 xcb xcomposite 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 sheets 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 shad0VV 2012-09-03 14:02:23 UTC
I have exactly the same problem,but with pf-sources 3.5.3.

Last working kernel was 3.4.6.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-04 14:39:58 UTC
Please attach the kernel .config file you use.
Comment 4 shad0VV 2012-09-04 14:45:54 UTC
Created attachment 322916 [details]
kernel 3.5.3-pf configuration
Comment 5 Jared B. 2012-09-05 03:05:22 UTC
Created attachment 322952 [details]
linux-3.4.9-gentoo.config
Comment 6 Jared B. 2012-09-05 03:13:06 UTC
Attached config as requested, but also discovered something else earlier - I didn't have rpc.idmapd set to run at boot.  I must've run it manually when I was initially setting my laptop up, and forgot to add it to the default runlevel.  I used NFS multiple times sense then with 3.4.5 successfully, but just never noticed the user id problem.

So, under 3.4.9, when rpc.idmapd is not running the kernel crashes, as noted previously.  If it is running, everything seems to work perfectly fine.  Don't get any any errors or warnings at all now - seems to be working as intended.

So, this bug reported should be adjusted to something like "kernel crash on NFS mount w/o rpc.idmapd under gentoo-sources-3.4.9."  Granted, I absolutely should have rpc.idmapd enabled and running, but I'd still consider this a bug worth investigating as, from my understanding, rpc.idmapd shouldn't be *required*, and even then, I wouldn't expect the kernel itself to completely crash.  A refusal to mount or something like that would be much more appropriate.

shad0VV - I'm curious - could you be affected the same way?  Can you confirm whether you have rpc.idmapd running before you try mounting a share?
Comment 7 shad0VV 2012-09-05 10:54:34 UTC
Indeed i dont use idmapd.
Comment 8 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-08 01:37:39 UTC
Do you still experience this on current 3.6 kernels? Is running idmapd a feasible solution? If not, a git bisect between 3.4.5 and 3.4.9 might be worth doing.

http://wiki.gentoo.org/wiki/Kernel_git-bisect