Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301685 - 2.6.30-gentoo-r4 nfsd crash 'unable to handle kernel NULL pointer...' when transferring medium amounts of data (~>1GB)
Summary: 2.6.30-gentoo-r4 nfsd crash 'unable to handle kernel NULL pointer...' when tr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-21 07:19 UTC by Camden Lindsay
Modified: 2010-02-01 04:41 UTC (History)
0 users

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


Attachments
Call Trace (nfsd_stack_trace.txt,4.61 KB, text/plain)
2010-01-21 07:21 UTC, Camden Lindsay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Camden Lindsay 2010-01-21 07:19:31 UTC
Server:
Linux BigBox 2.6.30-gentoo-r4 #1 SMP Mon Sep 14 03:46:14 PDT 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux

Client:
Linux ambuntu 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux

When transferring medium amounts of data, one file or many, nfsd seems to crash.  The smallest amount of data i have seen this happen on is 1GB.  I have never managed to copy > 7GB without having the problem.



Reproducible: Always

Steps to Reproduce:
1. Mount NFS
2. Copy Large amount of files (sizewize)
3. Wait...

Actual Results:  
client program hangs.  Bug/Oops and call trace end up in server log.

Expected Results:  
File(s) copied successfully

BigBox dvdswap # emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.1.2, glibc-2.10.1-r1, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-1.12.13
Timestamp of tree: Thu, 21 Jan 2010 06:30:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.4
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.fslutd.org/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 apache2 berkdb bri bzip2 cli cracklib crypt cups curl cxx diskio dri encode fortran gd gdbm genericjb gnutls gpm h323 iconv ipv6 jpeg lm_sensors maildir mjpeg mmx modules mpeg mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl php png pppd python readline reflection samba sasl sendmail session snmp sockets speex spl sse sse2 ssl sysfs tcpd unicode ups x264 xml xorg zaptel 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



init-+-6*[agetty]
     |-apache2---10*[apache2]
     |-asterisk---38*[{asterisk}]
     |-cron
     |-fancontrol---sleep
     |-master-+-pickup
     |        |-qmgr
     |        `-tlsmgr
     |-mdadm
     |-mysqld---22*[{mysqld}]
     |-nmbd---nmbd
     |-ntpd
     |-portmap
     |-proftpd
     |-rpc.mountd
     |-rpc.statd
     |-screen-+-2*[bash]
     |        |-bash---less
     |        `-bash---pstree
     |-smartd
     |-smbd---2*[smbd]
     |-snmpd
     |-sshd-+-sshd---bash---screen
     |      `-sshd---bash
     |-syslog-ng---syslog-ng
     `-udevd---2*[udevd]
Comment 1 Camden Lindsay 2010-01-21 07:21:45 UTC
Created attachment 217046 [details]
Call Trace
Comment 2 Mike Pagano gentoo-dev 2010-01-30 20:39:23 UTC
Can you test with gentoo-sources-2.6.32-r3.  I see some work around this area but I could not pinpoint if a fix was found.
Comment 3 Camden Lindsay 2010-02-01 02:23:19 UTC
Hello,
I would be happy to test, but am not very familiar with how to install packages which haven't been pushed to the stable world yet, so to speak..

That is, when i do an emerge --sync and emerge --search gentoo-sources, the newest result is 2.6.31-r6:

BigBox dylan # emerge --search gentoo-sources
Searching...    
[ Results for search key : gentoo-sources ]
[ Applications found : 1 ]

*  sys-kernel/gentoo-sources
      Latest version available: 2.6.31-r6
      Latest version installed: 2.6.31-r6
      Size of files: 60,213 kB
      Homepage:      http://dev.gentoo.org/~dsd/genpatches
      Description:   Full sources including the Gentoo patchset for the 2.6 kernel tree
      License:       GPL-2


Can you point to any documentation or instruction on how to get the 2.6.32-r3 you request that I use for testing?

Sorry for the newbish gentoo skills..
Comment 4 George Kadianakis (RETIRED) gentoo-dev 2010-02-01 02:47:50 UTC
Greetings,

first of all you might want to read this:
http://linuxreviews.org/gentoo/masked_packages/ it explains quite well how to handle masked packages.
Also, read this: http://en.gentoo-wiki.com/wiki/Eix because "emerge --search" is not the most efficient way of searching the portage tree.

Now, if you wnat a short version of how to emerge gentoo-sources-2.6.32-r3 do the following as root:
# emerge --sync
# ACCEPT_KEYWORDS="~x86" emerge =sys-kernel/gentoo-sources-2.6.32-r3
Comment 5 Camden Lindsay 2010-02-01 03:25:14 UTC
Thank you for the links, have read through about eix and installed it.

I had a base understanding of the masks, but didn't know how you could identify what versions are available under each mask.  I see now that eix also indicates that these versions are available using a keyword by ~ in front of the package name.


I will download the requested kernel and build it in the next day or so.

Thanks for your patience...
Comment 6 Camden Lindsay 2010-02-01 04:30:09 UTC
Hello-

Actually got the testing done pretty quick.  The same files and groups of files that were causing me problems with 2.6.30-gentoo-r4 did not cause me problems with 2.6.32-r3

On another note, i figured i would test with the most recent 'stable' build, and it appears that 2.6.31-r6 is also unaffected.

I'm not sure of procedure here-- should i close this bug, or is that up to someone else?

Thanks!
Comment 7 George Kadianakis (RETIRED) gentoo-dev 2010-02-01 04:41:59 UTC
(In reply to comment #6)
> Hello-
> 
> Actually got the testing done pretty quick.  The same files and groups of files
> that were causing me problems with 2.6.30-gentoo-r4 did not cause me problems
> with 2.6.32-r3
> 
> On another note, i figured i would test with the most recent 'stable' build,
> and it appears that 2.6.31-r6 is also unaffected.
> 
> I'm not sure of procedure here-- should i close this bug, or is that up to
> someone else?
> 
> Thanks!
> 

Nah, since a stable kernel functions correctly, this bug report can be marked as FIXED.

Thanks for your testing!