Openafs 1.4.11 with the newly stablized gentoo-sources kernel 2.6.32-r7 gives kernel panics similar to those mentioned in bug #282196, although this problem is not supposed to exist with 1.4.11, as I understand it. In case this is some other sort of panic, I will paste in the messages I get in my particular situation. I experienced no problems with 1.4.11 and the previous stable 2.6.31-r10. Reproducible: Always Steps to Reproduce: 1. Build 2.6.32-r7 2. Rebuild openafs-kernel 1.4.11 with new kernel 3. See panics in, for example, /var/log/messages # from /var/log/messages: Apr 10 21:17:30 rimmy kernel: [ 47.665549] libafs: module license 'http://www.openafs.org/dl/license10.html' taints kernel. Apr 10 21:17:30 rimmy kernel: [ 47.665559] Disabling lock debugging due to kernel taint [...] Apr 10 21:17:34 rimmy kernel: [ 47.776700] Starting AFS cache scan...found 17438 non-empty cache files (34%). [...] Apr 10 21:19:41 rimmy kernel: [ 178.300923] Modules linked in: libafs(P) snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc radeonfb i2c_i801 fb_ddc Apr 10 21:19:41 rimmy kernel: [ 178.300965] Pid: 3506, comm: emacs Tainted: P 2.6.32-gentoo-r7 #2 Apr 10 21:19:41 rimmy kernel: [ 178.300971] Call Trace: Apr 10 21:19:41 rimmy kernel: [ 178.300983] [<c10224eb>] warn_slowpath_common+0x60/0x90 Apr 10 21:19:41 rimmy kernel: [ 178.300992] [<c1022528>] warn_slowpath_null+0xd/0x10 Apr 10 21:19:41 rimmy kernel: [ 178.301000] [<c10ac0e3>] __mark_inode_dirty+0xaf/0xf1 Apr 10 21:19:41 rimmy kernel: [ 178.301048] [<c10a4e2c>] touch_atime+0xca/0xe4 Apr 10 21:19:41 rimmy kernel: [ 178.301056] [<c10a16b7>] vfs_readdir+0x76/0x8f Apr 10 21:19:41 rimmy kernel: [ 178.301064] [<c10a1400>] ? filldir64+0x0/0xcd Apr 10 21:19:41 rimmy kernel: [ 178.301072] [<c10a1733>] sys_getdents64+0x63/0xa0 Apr 10 21:19:41 rimmy kernel: [ 178.301081] [<c1002944>] sysenter_do_call+0x12/0x22 Apr 10 21:19:41 rimmy kernel: [ 178.301087] ---[ end trace e5ead0e7a6542736 ]--- Apr 10 21:19:41 rimmy kernel: [ 178.301092] bdi-<NULL> not registered Apr 10 21:19:43 rimmy kernel: [ 180.409467] ------------[ cut here ]------------ Apr 10 21:19:43 rimmy kernel: [ 180.409488] WARNING: at fs/fs-writeback.c:1112 __mark_inode_dirty+0xaf/0xf1() Apr 10 21:19:43 rimmy kernel: [ 180.409494] Hardware name: OptiPlex GX400 Apr 10 21:19:43 rimmy kernel: [ 180.409499] Modules linked in: libafs(P) snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc radeonfb i2c_i801 fb_ddc Apr 10 21:19:43 rimmy kernel: [ 180.409541] Pid: 3506, comm: emacs Tainted: P W 2.6.32-gentoo-r7 #2 Apr 10 21:19:43 rimmy kernel: [ 180.409546] Call Trace: Apr 10 21:19:43 rimmy kernel: [ 180.409560] [<c10224eb>] warn_slowpath_common+0x60/0x90 Apr 10 21:19:43 rimmy kernel: [ 180.409569] [<c1022528>] warn_slowpath_null+0xd/0x10 Apr 10 21:19:43 rimmy kernel: [ 180.409578] [<c10ac0e3>] __mark_inode_dirty+0xaf/0xf1 Apr 10 21:19:43 rimmy kernel: [ 180.409589] [<c10a4e2c>] touch_atime+0xca/0xe4 Apr 10 21:19:43 rimmy kernel: [ 180.409597] [<c10a16b7>] vfs_readdir+0x76/0x8f Apr 10 21:19:43 rimmy kernel: [ 180.409605] [<c10a1400>] ? filldir64+0x0/0xcd Apr 10 21:19:43 rimmy kernel: [ 180.409613] [<c10a1733>] sys_getdents64+0x63/0xa0 Apr 10 21:19:43 rimmy kernel: [ 180.409622] [<c1002944>] sysenter_do_call+0x12/0x22 Apr 10 21:19:43 rimmy kernel: [ 180.409629] ---[ end trace e5ead0e7a6542737 ]--- Apr 10 21:19:43 rimmy kernel: [ 180.409634] bdi-<NULL> not registered Apr 10 21:19:45 rimmy kernel: [ 181.850042] ------------[ cut here ]------------ # Note: the errors are not always related to emacs # emerge --info net-fs/openafs-kernel Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.32-gentoo-r7 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_1500MHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 10 Apr 2010 23:15:01 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.2-r1 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" 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" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distcc distlocks fixpackages getbinpkg news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.ds.karen.hj.se/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.ing.umu.se/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en en_GB sv sv_SE" MAKEOPTS="-j10" PKGDIR="/var/pkg" 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="/usr/local/portage" SYNC="rsync://giddy.michael.hammill.name/gentoo-portage" USE="X a52 aac acl acpi afs alsa apache2 aspell autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cgi cli consolekit cracklib crypt cups curl cvs cxx dbus dia djvu docbook dot dri dts dvd dvdr dvi dvi2tty dvipdfm emacs emboss encode esd exif fam firefox flac fontconfig fortran gdbm gif gimp gnutls gpm graphics graphviz gs gtk hal helpers hyphenation iconv imagemagick imlib ipv6 jai java java6 jpeg kerberos kpathsea latex latex3 lcms ldap libcaca libnotify libssh2 lm_sensors m17n-lib mad mailwrapper mikmod mmx mng modules mp3 mp4 mpeg mpm-worker mudflap nagios-ntp nagios-ssh nano-syntax ncurses network-cron nls no-old-linux nptl nptlonly nsplugin nss ogg opengl openmp openssl pam pango pcre pdf perl plotutils png postscript ppds pppd python qt3support raw rcs readline reflection rtf ruby sasl schroedinger screenshot sdl sensord session sound spell spl sse sse2 ssl startup-notification subversion svg sysfs t1lib tcl tcpd tex4ht threads tiff tk truetype unicode usb vhosts vorbis webdav wmf x264 x86 xattr xcb xft xinerana xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0" 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="access actions alias asis auth auth_anon auth_dbm auth_digest authz_default authz_host autoindex cache case_filter_in case_filter cern_meta cgi cgid charset_lite dav dav_fs dav_lock deflate dir disk_cache echo env expires ext_filter file_cache filter headers imap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_connect proxy_ftp proxy_http rewrite setenvif so speling status unique_id unique_id userdir usertrack vhost_alias authn_file authz_groupfile authz_user" APACHE2_MPMS=" worker" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB sv sv_SE" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel radeon r128 vesa fbdev i810 nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= net-fs/openafs-kernel-1.4.11 was built with the following: USE=""
You need at least openafs 1.4.12 for linux-2.6.32
Indeed. Resolving CANTFIX
(In reply to comment #2) > Indeed. Resolving CANTFIX > You of course should handle this as you see fit, but I think it's more appropriate to make this as a duplicate of bug http://bugs.gentoo.org/show_bug.cgi?id=310627, since indeed Gentoo make a kernel stable without a stable openafs even being in the tree. Alternately, you could make bug #310627 ICANTFIX and to indicate you have given up on supporting OpenAFS in Gentoo at all.
It might be worth considering adding a kernel version check to openafs-kernel-1.4.11, so that unsuspecting users won't run into this problem.
*** Bug 316197 has been marked as a duplicate of this bug. ***
openafs-kernel-1.4.12.1 should fix things