Kernel hardened-sources-2.6.28-r9 (grsec-2.1.13-2.6.28.10-200905241817.patch) Kernel config: CONFIG_PAX_SEGMEXEC=y or Security options -> Grsecurity -> Security Level ---> Hardened Gentoo [server] Reproducible: Always Steps to Reproduce: Expected Results: kernel.log Jan 20 21:32:33 gentoo kernel: [ 3387.497417] ------------[ cut here ]------------ Jan 20 21:32:33 gentoo kernel: [ 3387.498182] Kernel BUG at 00050f65 [verbose debug info unavailable] Jan 20 21:32:33 gentoo kernel: [ 3387.498913] invalid opcode: 0000 [#1] SMP Jan 20 21:32:33 gentoo kernel: [ 3387.499608] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.2/host1/uevent Jan 20 21:32:33 gentoo kernel: [ 3387.500002] Jan 20 21:32:33 gentoo kernel: [ 3387.500002] Pid: 11364, comm: python2.6 Not tainted (2.6.28-hardened-r9-nohard-lite #4) Jan 20 21:32:33 gentoo kernel: [ 3387.500002] EIP: 0060:[<00050f65>] EFLAGS: 00210046 CPU: 0 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] EIP is at __remove_from_page_cache+0x95/0xa0 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] EAX: 00000000 EBX: c287c3c0 ECX: c0c24949 EDX: 00000018 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] ESI: f0c192d0 EDI: f0c192d0 EBP: f0c192d0 ESP: f4cc5d8c Jan 20 21:32:33 gentoo kernel: [ 3387.500002] DS: 0068 ES: 0068 FS: 00d8 GS: 0033 SS: 0068 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] Process python2.6 (pid: 11364, ti=f4cc4000 task=f5affc00 task.ti=f4cc4000) Jan 20 21:32:33 gentoo kernel: [ 3387.500002] Stack: Jan 20 21:32:33 gentoo kernel: [ 3387.500002] f0c192d0 f0c192e0 c287c3c0 00050f8e c287c3c0 00000004 c287c3c0 00057cb5 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] 00000003 00057e14 00001000 00000000 00000000 00000003 f6fc8ea8 00000000 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] 00000000 00000000 ffffffff 00000000 0000000a 00000000 c28483a0 c2871d40 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] Call Trace: Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00050f8e>] remove_from_page_cache+0x1e/0x30 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00057cb5>] truncate_complete_page+0x35/0x70 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00057e14>] truncate_inode_pages_range+0x124/0x340 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00058047>] truncate_inode_pages+0x17/0x20 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<000ca063>] reiserfs_delete_inode+0x43/0x100 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<0009dc77>] inotify_inode_is_dead+0x17/0x80 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<0009dc77>] inotify_inode_is_dead+0x17/0x80 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<000ca020>] reiserfs_delete_inode+0x0/0x100 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00087e30>] generic_delete_inode+0x90/0x160 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<000870b4>] iput+0x44/0x50 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00084982>] d_kill+0x32/0x60 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<0008505e>] dput+0x6e/0x100 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<0007f96d>] sys_renameat+0x1fd/0x2a0 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00062a0c>] unmap_region+0xbc/0x110 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00200246>] do_md_run+0x6/0x920 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00063db6>] __do_munmap+0x296/0x2c0 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<0007fa37>] sys_rename+0x27/0x30 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00004572>] syscall_call+0x7/0xb Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00200246>] do_md_run+0x6/0x920 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] [<00200206>] md_notify_reboot+0xb6/0xf0 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] Code: 0f bd 0d c0 6a c3 c0 0f 44 ca 8d 14 cd 08 00 00 00 b9 ff ff ff ff 89 14 24 ba ff ff ff ff e8 93 60 0c 00 53 9 d 83 c4 04 5b 5e c3 <0f> 0b eb fe 8d b4 26 00 00 00 00 57 56 89 c6 53 8b 78 10 f6 00 Jan 20 21:32:33 gentoo kernel: [ 3387.500002] EIP: [<00050f65>] __remove_from_page_cache+0x95/0xa0 SS:ESP 0068:f4cc5d8c Jan 20 21:32:33 gentoo kernel: [ 3387.500002] ---[ end trace d81cb411896ffb92 ]--- Feb 4 23:36:17 gentoo kernel: [ 4789.330407] ------------[ cut here ]------------ Feb 4 23:36:17 gentoo kernel: [ 4789.331181] kernel BUG at mm/filemap.c:123! Feb 4 23:36:17 gentoo kernel: [ 4789.331912] invalid opcode: 0000 [#1] SMP Feb 4 23:36:17 gentoo kernel: [ 4789.332004] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.2/host1/uevent Feb 4 23:36:17 gentoo kernel: [ 4789.332004] Dumping ftrace buffer: Feb 4 23:36:17 gentoo kernel: [ 4789.332004] (ftrace buffer empty) Feb 4 23:36:17 gentoo kernel: [ 4789.332004] Feb 4 23:36:17 gentoo kernel: [ 4789.332004] Pid: 13011, comm: python2.6 Not tainted (2.6.28-hardened-r9-pax #9) Feb 4 23:36:17 gentoo kernel: [ 4789.332004] EIP: 0060:[<00059f25>] EFLAGS: 00210002 CPU: 0 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] EIP is at __remove_from_page_cache+0x95/0xa0 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] EAX: 00000002 EBX: c2851b20 ECX: c0c25589 EDX: 00000018 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] ESI: f152bc90 EDI: f152bc90 EBP: f152bc90 ESP: f5607da4 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] DS: 0068 ES: 0068 FS: 00d8 GS: 0033 SS: 0068 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] Process python2.6 (pid: 13011, ti=f5606000 task=f6b61680 task.ti=f5606000) Feb 4 23:36:17 gentoo kernel: [ 4789.332004] Stack: Feb 4 23:36:17 gentoo kernel: [ 4789.332004] f152bc90 f152bca0 c2851b20 00059f4e c2851b20 00000004 c2851b20 00060c65 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] 00000003 00060dc4 00001000 00000000 00000000 00000003 f6fd8d58 00000000 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] 00000000 00000000 ffffffff 00000000 0000000a 00000000 c2868d20 c285ee60 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] Call Trace: Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<00059f4e>] remove_from_page_cache+0x1e/0x30 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<00060c65>] truncate_complete_page+0x35/0x70 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<00060dc4>] truncate_inode_pages_range+0x124/0x340 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<000094ec>] arch_get_unmapped_area_topdown+0x7c/0x200 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<00060ff7>] truncate_inode_pages+0x17/0x20 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<000d2f53>] reiserfs_delete_inode+0x43/0x100 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<000a6c47>] inotify_inode_is_dead+0x17/0x80 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<000a6c47>] inotify_inode_is_dead+0x17/0x80 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<000d2f10>] reiserfs_delete_inode+0x0/0x100 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<00090e30>] generic_delete_inode+0x90/0x160 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<000900b4>] iput+0x44/0x50 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<0008d992>] d_kill+0x32/0x60 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<0008e05e>] dput+0x6e/0x100 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<0008898d>] sys_renameat+0x1fd/0x2a0 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<0006ce26>] __do_munmap+0x296/0x2c0 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<0006cba9>] __do_munmap+0x19/0x2c0 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<0006cef1>] sys_munmap+0x41/0x80 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<0000285d>] pax_randomize_kstack+0x1d/0x40 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<0000458a>] restore_all+0x0/0x18 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<00088a57>] sys_rename+0x27/0x30 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<00004572>] syscall_call+0x7/0xb Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<0020007b>] __LOAD_PHYSICAL_ADDR+0x7b/0x2e0 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<00200246>] __LOAD_PHYSICAL_ADDR+0x246/0x2e0 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] [<00200246>] __LOAD_PHYSICAL_ADDR+0x246/0x2e0 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] Code: 0f bd 0d c0 7a c3 c0 0f 44 ca 8d 14 cd 08 00 00 00 b9 ff ff ff ff 89 14 24 ba ff ff ff ff e8 e3 75 0c 00 53 9d 83 c4 04 5b 5e c3 <0f> 0b eb fe 8d b4 26 00 00 00 00 57 56 89 c6 53 8b 78 10 f6 00 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] EIP: [<00059f25>] __remove_from_page_cache+0x95/0xa0 SS:ESP 0068:f5607da4 Feb 4 23:36:17 gentoo kernel: [ 4789.332004] ---[ end trace d2cd7d0afcdb4484 ]---
diable kernel option CONFIG_PAX_SEGMEXEC solve the problem
Created attachment 259850 [details] kern.log System.map config
Created attachment 259852 [details] 0-vmlinuz-2.6.28-hardened-r9
Created attachment 259853 [details] 1-vmlinuz-2.6.28-hardened-r9
Hardened sources 2.6.28-r9 is very old now and it only being kept for legacy reasons. I am planning to remove it from the tree when the next stable set of .32 and .36 (or.37) are released. I strongly recommend that you upgrade.
Created attachment 259855 [details] 1-kern.log System.map config vmlinuz-2.6.28-hardened-r9
Created attachment 259859 [details] 2-kern.log System.map config vmlinuz-2.6.28-hardened-r9
Created attachment 259860 [details] 3-vmlinuz-2.6.28-hardened-r9
Created attachment 259861 [details] 4-kern.log System.map config vmlinuz-2.6.28-hardened-r9
Created attachment 259862 [details] 5-kern.log System.map config vmlinuz-2.6.28-hardened-r9
(In reply to comment #5) > Hardened sources 2.6.28-r9 is very old now and it only being kept for legacy > reasons. I am planning to remove it from the tree when the next stable set of > .32 and .36 (or.37) are released. > > I strongly recommend that you upgrade. > It happened at last year and I solve the problem by disabling kernel option CONFIG_PAX_SEGMEXEC old bugs (not fixed) sometimes reproduce in new versions ;-)
> > old bugs (not fixed) sometimes reproduce in new versions ;-) > Please state which new versions (.32 and later), give your kernel .config file, and the oops. I'm sorry, but I'm not going to look at .28
as blueness said, please reproduce this on something newer (.32+) as many bugs/issues have been fixed since .28.
(In reply to comment #12) > > > > old bugs (not fixed) sometimes reproduce in new versions ;-) > > > > Please state which new versions (.32 and later), give your kernel .config file, > and the oops. I'm sorry, but I'm not going to look at .28 > I didn't request fix it. I solve the problem by disable kernel option CONFIG_PAX_SEGMEXEC. I just report about it. :-) .config CONFIG_PAX_NOEXEC=y CONFIG_PAX_PAGEEXEC=y # CONFIG_PAX_SEGMEXEC is not set
# uname -a Linux gate 2.6.32-hardened-r31-test #4 SMP Mon Jan 17 21:37:18 MSK 2011 i686 Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz GenuineIntel GNU/Linux [ 7235.303478] invalid opcode: 0000 [#1] SMP [ 7235.303575] last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:07:01.0/net/eth2/broadcast [ 7235.303669] [ 7235.303732] Pid: 22660, comm: emerge Not tainted (2.6.32-hardened-r31-test #4) [ 7235.303822] EIP: 0060:[<c01681a6>] EFLAGS: 00210046 CPU: 1 [ 7235.303904] EIP is at __remove_from_page_cache+0xb6/0xc0 [ 7235.303982] EAX: 00000000 EBX: c33cffc0 ECX: fffffffa EDX: 8000006d [ 7235.304063] ESI: f649347c EDI: f649347c EBP: f62a9ce0 ESP: f62a9cd4 [ 7235.304145] DS: 0068 ES: 0068 FS: 00d8 GS: 0033 SS: 0068 [ 7235.304223] Process emerge (pid: 22660, ti=f62a8000 task=f498cc00 task.ti=f62a8000) [ 7235.304310] Stack: [ 7235.304373] 00001000 f649348c c33cffc0 f62a9cf4 c01681d1 c33cffc0 f649347c c33cffc0 [ 7235.304434] <0> f62a9d10 c016edee 00000001 00000000 00000000 0000000d 0000000e f62a9d88 [ 7235.304552] <0> c016ef0c 0000000e 00000000 0000002c 00000000 00000000 f649347c 00000000 [ 7235.304724] Call Trace: [ 7235.304792] [<c01681d1>] ? remove_from_page_cache+0x21/0x30 [ 7235.304873] [<c016edee>] ? truncate_inode_page+0x7e/0xc0 [ 7235.304953] [<c016ef0c>] ? truncate_inode_pages_range+0xdc/0x2c0 [ 7235.305035] [<c01ec850>] ? reiserfs_delete_inode+0x0/0xd0 [ 7235.305114] [<c016f10a>] ? truncate_inode_pages+0x1a/0x20 [ 7235.305193] [<c01ec870>] ? reiserfs_delete_inode+0x20/0xd0 [ 7235.305273] [<c01a6774>] ? d_move_locked+0x1f4/0x230 [ 7235.305350] [<c01ec850>] ? reiserfs_delete_inode+0x0/0xd0 [ 7235.305429] [<c01a8b2d>] ? generic_delete_inode+0x6d/0x110 [ 7235.307539] [<c01a8c27>] ? generic_drop_inode+0x57/0x80 [ 7235.307617] [<c01a7c27>] ? iput+0x47/0x50 [ 7235.307691] [<c01a51e7>] ? dentry_iput+0x67/0xe0 [ 7235.307766] [<c01a5315>] ? d_kill+0x35/0x60 [ 7235.307840] [<c01a59ce>] ? dput+0x6e/0x110 [ 7235.307914] [<c019e8d8>] ? sys_renameat+0x1e8/0x2a0 [ 7235.307992] [<c017fd4f>] ? unmap_region+0xcf/0x130 [ 7235.308069] [<c017fdf1>] ? remove_vma+0x41/0x60 [ 7235.308145] [<c019e9b8>] ? sys_rename+0x28/0x30 [ 7235.308222] [<c01034a5>] ? syscall_call+0x7/0xb [ 7235.308296] Code: bd 0d 40 af 50 c0 0f 44 ca 8d 14 cd 08 00 00 00 b9 ff ff ff ff 89 14 24 ba ff ff ff ff e8 13 36 0e 00 53 9d 83 c4 04 5b 5e c9 c3 <0f> 0b eb fe 8d b6 00 00 00 00 55 89 e5 57 56 89 c6 53 8b 78 10 [ 7235.308715] EIP: [<c01681a6>] __remove_from_page_cache+0xb6/0xc0 SS:ESP 0068:f62a9cd4 [ 7235.308812] ---[ end trace db83bb3d2a43c0b2 ]---
Created attachment 260118 [details] System.map-2.6.32-hardened-r31-test
Created attachment 260119 [details] config-2.6.32-hardened-r31-test
Created attachment 260120 [details] vmlinuz-2.6.32-hardened-r31-test
I also confirm replacing SEGMEXEC with PAGEEXEC solve this issue.
I can confirm this bug happening with sys-kernel/hardened-sources-2.6.36-r6 . I experienced it when I re-emerged sys-devel/gcc-4.3.4. In the other hand, I can't reproduce it with 2.6.38-hardened-r6
(In reply to comment #20) > I can confirm this bug happening with sys-kernel/hardened-sources-2.6.36-r6 . I > experienced it when I re-emerged sys-devel/gcc-4.3.4. > > In the other hand, I can't reproduce it with 2.6.38-hardened-r6 I can reproduce it with linux-2.6.39-hardened-r8 CONFIG_PAX_SEGMEXEC=y
(In reply to comment #21) > I can reproduce it with linux-2.6.39-hardened-r8 CONFIG_PAX_SEGMEXEC=y on 3.0.4 too? also, can you give me a reliable way to reproduce it?
(In reply to comment #22) > (In reply to comment #21) > > I can reproduce it with linux-2.6.39-hardened-r8 CONFIG_PAX_SEGMEXEC=y > > on 3.0.4 too? also, can you give me a reliable way to reproduce it? I can reproduce it in 3.0.4 doing emerge --oneshot sys-devel/gcc:4.3 sys-devel/gcc:4.4 sys-devel/gcc:4.5 inside a chroot. It brings up the bug when emerging gcc:4.5 vmstat doesn't show any unusual behaviour. The system doesn't hangs up, however I need to reboot to keep doing emerge stuff This is my emerge --info, if you need further info just tell me Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.5.2, glibc-2.13-r4, 3.0.4-hardened-r3-0.4 i686) ================================================================= System uname: Linux-3.0.4-hardened-r3-0.4-i686-Intel-R-_Xeon-TM-_CPU_2.80GHz-with-gentoo-2.0.3 Timestamp of tree: Mon, 19 Sep 2011 17:30:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.1.2, 4.3.5, 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo x-portage ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs digest distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS=" http://gentoo.mirrors.tera-byte.com/ http://gentoo.arcticnetwork.ca/source/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ " LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" MAKEOPTS="-j2" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gif gpm iconv ipv6 jpeg jpeg2k jpg modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline session ssl sysfs tcpd tiff unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
this is an ancient bug. can you reopen if this is still an issue on recent kernels.