Hi, I've compiled aufs into a 4.0.1 Linux Kernel according to the steps provided at http://zackreed.me/articles/89-compile-aufs-with-3-18-6-kernel-hnotify-and-nfs-exportability. Once and in a while the following error shows up on my ubuntu vivid server.
------------------------------------- snip ------------------------------------------- [Mo Mai 25 09:13:16 2015] BUG: unable to handle kernel NULL pointer dereference at (null) [Mo Mai 25 09:13:16 2015] IP: [<ffffffffc0b13e65>] au_cpup_attr_changeable+0x35/0xf0 [aufs] [Mo Mai 25 09:13:16 2015] PGD 0 [Mo Mai 25 09:13:16 2015] Oops: 0000 [#1] SMP [Mo Mai 25 09:13:16 2015] Modules linked in: ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c nls_iso8859_1 aufs(O) binfmt_misc cfg80211 zram lz4_compress tda10023 intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel cryptd snd_hda_codec_hdmi snd_hda_codec_realtek serio_raw snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm budget_av snd_seq_midi saa7146_vv snd_seq_midi_event budget_core snd_rawmidi ttpci_eeprom saa7146 videobuf_dma_sg snd_seq joydev snd_seq_device usblp dvb_core snd_timer snd videobuf_core i915 v4l2_common videodev soundcore media lpc_ich shpchp nuvoton_cir rc_core drm_kms_helper video drm mei_me i2c_algo_bit mac_hid mei intel_smartconnect lp parport autofs4 btrfs raid10 raid456 [Mo Mai 25 09:13:16 2015] async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq hid_cherry uas raid1 usbhid raid0 psmouse hid usb_storage multipath r8169 mii ahci libahci linear [Mo Mai 25 09:13:16 2015] CPU: 1 PID: 7274 Comm: smbd Tainted: G O 4.0.0-aufs #1 [Mo Mai 25 09:13:16 2015] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B75 Pro3, BIOS P1.90 12/20/2013 [Mo Mai 25 09:13:16 2015] task: ffff8803f9afbcc0 ti: ffff8802aff88000 task.ti: ffff8802aff88000 [Mo Mai 25 09:13:16 2015] RIP: 0010:[<ffffffffc0b13e65>] [<ffffffffc0b13e65>] au_cpup_attr_changeable+0x35/0xf0 [aufs] [Mo Mai 25 09:13:16 2015] RSP: 0018:ffff8802aff8bc98 EFLAGS: 00010246 [Mo Mai 25 09:13:16 2015] RAX: 0000000000000000 RBX: ffff8801b28f74a0 RCX: 0000000000000000 [Mo Mai 25 09:13:16 2015] RDX: 0000000000000001 RSI: 0000000000000040 RDI: ffff8801b28f74a0 [Mo Mai 25 09:13:16 2015] RBP: ffff8802aff8bca8 R08: 00000000000188a0 R09: ffff880075af13c0 [Mo Mai 25 09:13:16 2015] R10: ffff880075af13c0 R11: ffffea00101f4500 R12: 0000000000000000 [Mo Mai 25 09:13:16 2015] R13: 0000000000000001 R14: 0000000000000002 R15: ffff8801b28f74a0 [Mo Mai 25 09:13:16 2015] FS: 00007f0c2f695740(0000) GS:ffff88041e300000(0000) knlGS:0000000000000000 [Mo Mai 25 09:13:16 2015] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [Mo Mai 25 09:13:16 2015] CR2: 0000000000000000 CR3: 00000002afc1f000 CR4: 00000000000407e0 [Mo Mai 25 09:13:16 2015] Stack: [Mo Mai 25 09:13:16 2015] ffff8801b28f74a0 0000000000000000 ffff8802aff8bcd8 ffffffffc0b13f9e [Mo Mai 25 09:13:16 2015] 0000000000000000 0000000000000003 0000000000000000 0000000000000002 [Mo Mai 25 09:13:16 2015] ffff8802aff8bda8 ffffffffc0b28948 ffff8802aff8bd88 ffffffff8128494c [Mo Mai 25 09:13:16 2015] Call Trace: [Mo Mai 25 09:13:16 2015] [<ffffffffc0b13f9e>] au_cpup_attr_all+0x3e/0xb0 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffffc0b28948>] au_new_inode+0x6c8/0x990 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffff8128494c>] ? ext4_mkdir+0x15c/0x440 [Mo Mai 25 09:13:16 2015] [<ffffffffc0b2c325>] epilog+0x1c5/0x290 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffffc0b12a5c>] ? vfsub_mkdir+0x9c/0xd0 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffffc0b2e27f>] aufs_mkdir+0x2bf/0x4b0 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffffc0b29be5>] ? aufs_permission+0x285/0x560 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffff811fb2cb>] vfs_mkdir+0xbb/0x170 [Mo Mai 25 09:13:16 2015] [<ffffffff8120245b>] SyS_mkdir+0xab/0xe0 [Mo Mai 25 09:13:16 2015] [<ffffffff817be48d>] system_call_fastpath+0x16/0x1b [Mo Mai 25 09:13:16 2015] Code: 48 89 e5 41 54 53 48 83 7f f0 00 0f 84 8d 00 00 00 8b 57 e0 85 d2 0f 8e b2 00 00 00 0f be 70 48 48 89 fb e8 ee 32 01 00 49 89 c4 <0f> b7 00 48 89 df 66 89 03 41 8b 44 24 04 89 43 04 41 8b 44 24 [Mo Mai 25 09:13:16 2015] RIP [<ffffffffc0b13e65>] au_cpup_attr_changeable+0x35/0xf0 [aufs] [Mo Mai 25 09:13:16 2015] RSP <ffff8802aff8bc98> [Mo Mai 25 09:13:16 2015] CR2: 0000000000000000 [Mo Mai 25 09:13:16 2015] ---[ end trace 7169e6f7116ab0b1 ]--- [Mo Mai 25 09:13:16 2015] ------------[ cut here ]------------ [Mo Mai 25 09:13:16 2015] kernel BUG at /opt/src/aufs/aufs4-standalone.git/fs/aufs/super.h:472! [Mo Mai 25 09:13:16 2015] invalid opcode: 0000 [#2] SMP [Mo Mai 25 09:13:16 2015] Modules linked in: ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c nls_iso8859_1 aufs(O) binfmt_misc cfg80211 zram lz4_compress tda10023 intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel cryptd snd_hda_codec_hdmi snd_hda_codec_realtek serio_raw snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm budget_av snd_seq_midi saa7146_vv snd_seq_midi_event budget_core snd_rawmidi ttpci_eeprom saa7146 videobuf_dma_sg snd_seq joydev snd_seq_device usblp dvb_core snd_timer snd videobuf_core i915 v4l2_common videodev soundcore media lpc_ich shpchp nuvoton_cir rc_core drm_kms_helper video drm mei_me i2c_algo_bit mac_hid mei intel_smartconnect lp parport autofs4 btrfs raid10 raid456 [Mo Mai 25 09:13:16 2015] async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq hid_cherry uas raid1 usbhid raid0 psmouse hid usb_storage multipath r8169 mii ahci libahci linear [Mo Mai 25 09:13:16 2015] CPU: 1 PID: 7274 Comm: smbd Tainted: G D O 4.0.0-aufs #1 [Mo Mai 25 09:13:16 2015] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B75 Pro3, BIOS P1.90 12/20/2013 [Mo Mai 25 09:13:16 2015] task: ffff8803f9afbcc0 ti: ffff8802aff88000 task.ti: ffff8802aff88000 [Mo Mai 25 09:13:16 2015] RIP: 0010:[<ffffffffc0b215c0>] [<ffffffffc0b215c0>] au_do_flush+0x220/0x240 [aufs] [Mo Mai 25 09:13:16 2015] RSP: 0018:ffff8802aff8b888 EFLAGS: 00010286 [Mo Mai 25 09:13:16 2015] RAX: 0000000000001c69 RBX: ffff880403448000 RCX: 00000000ffffffff [Mo Mai 25 09:13:16 2015] RDX: ffff88040344e000 RSI: ffff8800c8b1b680 RDI: ffff880403448020 [Mo Mai 25 09:13:16 2015] RBP: ffff8802aff8b8d8 R08: ffff8802aff8b808 R09: ffffffff8123e62a [Mo Mai 25 09:13:16 2015] R10: ffff88041e319e40 R11: ffffea000d123180 R12: ffff8803209d53a0 [Mo Mai 25 09:13:16 2015] R13: ffff88040a035d00 R14: ffff88040972d000 R15: ffffffffc0b25320 [Mo Mai 25 09:13:16 2015] FS: 00007f0c2f695740(0000) GS:ffff88041e300000(0000) knlGS:0000000000000000 [Mo Mai 25 09:13:16 2015] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [Mo Mai 25 09:13:16 2015] CR2: 00007fe468003088 CR3: 000000002c2e1000 CR4: 00000000000407e0 [Mo Mai 25 09:13:16 2015] Stack: [Mo Mai 25 09:13:16 2015] 7fffffffffffffff 000000000000001f 00000000002afc1f ffff8800c8b1b680 [Mo Mai 25 09:13:16 2015] 0000000000000000 ffff88040a035d00 0000000000000000 ffff8800c8b1b680 [Mo Mai 25 09:13:16 2015] ffff8802d196f400 0000000000000020 ffff8802aff8b8e8 ffffffffc0b24285 [Mo Mai 25 09:13:16 2015] Call Trace: [Mo Mai 25 09:13:16 2015] [<ffffffffc0b24285>] aufs_flush_dir+0x15/0x20 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffff811ecae3>] filp_close+0x33/0x80 [Mo Mai 25 09:13:16 2015] [<ffffffff8120e961>] put_files_struct+0x81/0xf0 [Mo Mai 25 09:13:16 2015] [<ffffffff8120ea7b>] exit_files+0x4b/0x60 [Mo Mai 25 09:13:16 2015] [<ffffffff81076e30>] do_exit+0x360/0xa90 [Mo Mai 25 09:13:16 2015] [<ffffffff81017c88>] oops_end+0xa8/0x120 [Mo Mai 25 09:13:16 2015] [<ffffffff81060e0d>] no_context+0x11d/0x390 [Mo Mai 25 09:13:16 2015] [<ffffffff810610fd>] __bad_area_nosemaphore+0x7d/0x210 [Mo Mai 25 09:13:16 2015] [<ffffffff81061357>] bad_area+0x47/0x60 [Mo Mai 25 09:13:16 2015] [<ffffffff810618be>] __do_page_fault+0x3be/0x480 [Mo Mai 25 09:13:16 2015] [<ffffffff810619b1>] do_page_fault+0x31/0x70 [Mo Mai 25 09:13:16 2015] [<ffffffff817c0648>] page_fault+0x28/0x30 [Mo Mai 25 09:13:16 2015] [<ffffffffc0b13e65>] ? au_cpup_attr_changeable+0x35/0xf0 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffffc0b13e62>] ? au_cpup_attr_changeable+0x32/0xf0 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffffc0b13f9e>] au_cpup_attr_all+0x3e/0xb0 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffffc0b28948>] au_new_inode+0x6c8/0x990 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffff8128494c>] ? ext4_mkdir+0x15c/0x440 [Mo Mai 25 09:13:16 2015] [<ffffffffc0b2c325>] epilog+0x1c5/0x290 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffffc0b12a5c>] ? vfsub_mkdir+0x9c/0xd0 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffffc0b2e27f>] aufs_mkdir+0x2bf/0x4b0 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffffc0b29be5>] ? aufs_permission+0x285/0x560 [aufs] [Mo Mai 25 09:13:16 2015] [<ffffffff811fb2cb>] vfs_mkdir+0xbb/0x170 [Mo Mai 25 09:13:16 2015] [<ffffffff8120245b>] SyS_mkdir+0xab/0xe0 [Mo Mai 25 09:13:16 2015] [<ffffffff817be48d>] system_call_fastpath+0x16/0x1b [Mo Mai 25 09:13:16 2015] Code: ff 66 2e 0f 1f 84 00 00 00 00 00 be 68 00 00 00 48 c7 c7 f8 5b b4 c0 e8 5f 30 55 c0 e9 18 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 <0f> 0b 66 0f 1f 44 00 00 be 68 00 00 00 48 c7 c7 f8 5b b4 c0 e8 [Mo Mai 25 09:13:16 2015] RIP [<ffffffffc0b215c0>] au_do_flush+0x220/0x240 [aufs] [Mo Mai 25 09:13:16 2015] RSP <ffff8802aff8b888> [Mo Mai 25 09:13:16 2015] ---[ end trace 7169e6f7116ab0b2 ]--- [Mo Mai 25 09:13:16 2015] Fixing recursive fault but reboot is needed! ------------------------------------- snip ------------------------------------------- After that the server has to be rebooted via the hardware reset switch. Any idea what the cause could be? Thanks very much in advance Ludwig ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y