J. R. Okajima:
Guan Xin:
> With your new patch the dmesg looks much more tidy. Relevant messages:
>
> [ Â 158.069589] X[1287]:dentry_iput:339: SYSV00000000 f500f000 i32768
> 0100777 f46570ac
I think I cound find the root cause now.
It is SysV IPC and shmget(2) changes the inode number illegally.
Hmm, I need to find a new work-around...
Here is my kernel log after applying debug patch. This is first message
regarding the inodes error.
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055201]
pcmanfm[1783]:dentry_iput:308: SYSV00000000 ffff88007f40c400 i32768 0100777
ffff88006c080cd8
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055209]
pcmanfm[1783]:shmem_evict_inode:658: ffff88007f40c400, i32768, 0100777
ffff88006c080cd8
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055213] ------------[ cut here
]------------
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055235] WARNING: CPU: 0 PID:
1783 at mm/shmem.c:660 shmem_evict_inode+0x1fa/0x200()
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055239] Modules linked in:
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055244] CPU: 0 PID: 1783 Comm:
pcmanfm Not tainted 3.14.6-aufs #18
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055248] Hardware name: innotek
GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055252]Â 0000000000000000
0000000000000009 ffffffff8153e6b7 0000000000000000
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055261]Â ffffffff8104ba81
0000000000008000 ffff88006c080cc0 ffff88006c080cd8
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055265]Â ffff88006c080cc0
ffff88007f4090c0 ffffffff810e13ea ffff880000008000
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055269] Call Trace:
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055280]Â [<ffffffff8153e6b7>]
? dump_stack+0x41/0x51
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055292]Â [<ffffffff8104ba81>]
? warn_slowpath_common+0x81/0xb0
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055304]Â [<ffffffff810e13ea>]
? shmem_evict_inode+0x1fa/0x200
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055312]Â [<ffffffff811273d2>]
? evict+0xa2/0x190
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055319]Â [<ffffffff811241d0>]
? dentry_kill+0x220/0x300
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055327]Â [<ffffffff8112465e>]
? dput+0x4e/0xf0
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055335]Â [<ffffffff8110fbc9>]
? __fput+0x129/0x230
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055348]Â [<ffffffff81064f6c>]
? task_work_run+0xac/0xd0
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055356]Â [<ffffffff81544daa>]
? int_signal+0x12/0x17
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055361] ---[ end trace
185b0cc6614fa73a ]---
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.055365]
pcmanfm[1783]:idr_remove_warning:532: idr_remove called for id=32768 which
is not allocated.
Jun 16 05:21:45 diskless-vm dhcpcd[1696]: forked to background, child pid
1841
Jun 16 05:21:45 diskless-vm /etc/init.d/lm_sensors[1848]: ERROR: lm_sensors
failed to start
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.405230]
lxpanel[1782]:idr_remove_warning:532: idr_remove called for id=65536 which
is not allocated.
Jun 16 05:21:45 diskless-vm kernel: [Â Â 17.407698]
lxpanel[1782]:idr_remove_warning:532: idr_remove called for id=98304 which
is not allocated.
Gentoo uses ebuild system. The ebuild script for installing aufs-sources is
here
[1]http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-kernel/aufs-s
ources/aufs-sources-3.14.6.ebuild?view=markup
Here is the list of files which are being downloaded whenever I install
aufs-sources 3.14.6:
[2]http://gentoo.mirrors.pair.com/distfiles/linux-3.14.tar.xz
[3]http://gentoo.mirrors.pair.com/distfiles/aufs-sources-3.14_p20140602.tar.
xz
[4]http://gentoo.mirrors.pair.com/distfiles/genpatches-3.14-10.base.tar.xz
[5]http://gentoo.mirrors.pair.com/distfiles/genpatches-3.14-10.extras.tar.xz
And this is list of patches being applied to sources:
 * Applying 1000_linux-3.14.1.patch (-p1)
...                                   Â
                       [ ok ]
 * Applying 1001_linux-3.14.2.patch (-p1)
...                                   Â
                       [ ok ]
 * Applying 1002_linux-3.14.3.patch (-p1)
...                                   Â
                       [ ok ]
 * Applying 1003_linux-3.14.4.patch (-p1)
...                                   Â
                       [ ok ]
 * Applying 1004_linux-3.14.5.patch (-p1)
...                                   Â
                       [ ok ]
 * Applying 1005_linux-3.14.6.patch (-p1)
...                                   Â
                       [ ok ]
 * Applying 1500_XATTR_USER_PREFIX.patch (-p1)
...                                   Â
     [ ok ]
 * Applying 1700_enable-thinkpad-micled.patch (-p1)
...                                   Â
      [ ok ]
 * Applying 2400_kcopy-patch-for-infiniband-driver.patch (-p1)
...                              [ ok ]
 * Applying 2700_ThinkPad-30-brightness-control-fix.patch (-p1)
...                          [ ok ]
 * Applying 2900_dev-root-proc-mount-fix.patch (-p1)
...                                   Â
      [ ok ]
 * Applying 2900_s2disk-resume-image-fix.patch (-p1)
...                                   Â
    [ ok ]
 * Applying 4200_fbcondecor-0.9.6.patch (-p1)
...                                   Â
                [ ok ]
 * Applying 4500_support-for-pogoplug-e02.patch (-p1)
...                                   Â
    [ ok ]
 * Applying 4567_distro-Gentoo-Kconfig.patch (-p1)
...                                   Â
         [ ok ]
 * Applying aufs3-kbuild.patch (-p1)
...                                   Â
                               [ ok ]
 * Applying aufs3-base.patch (-p1)
...                                   Â
                               [ ok ]
 * Applying aufs3-mmap.patch (-p1)
...                                   Â
                               [ ok ]
 * Applying user patches from /etc/portage/patches/sys-kernel/aufs-sources
...
 *  10-tmpfs-idr.patch
...                                   Â
                                     Â
        [ ok ]
 *  20-vfs-ino.patch
...                                   Â
                                     Â
                [ ok ]
 * Done with patching
--
Use GNU/Linux
References
1.
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-kernel/aufs-sources/aufs-sources-3.14.6.ebuild?view=markup
2. http://gentoo.mirrors.pair.com/distfiles/linux-3.14.tar.xz
3.
http://gentoo.mirrors.pair.com/distfiles/aufs-sources-3.14_p20140602.tar.xz
4. http://gentoo.mirrors.pair.com/distfiles/genpatches-3.14-10.base.tar.xz
5. http://gentoo.mirrors.pair.com/distfiles/genpatches-3.14-10.extras.tar.xz
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems