stec-inc/EnhanceIO

EnhanceIO Explodes spectacularly.

Opened this issue · 4 comments

Linux Dell-Workstation 4.2.3-1-ARCH #1 SMP PREEMPT Sat Oct 3 18:52:50 CEST 2015 x86_64 GNU/Linux

From log:

[ 12.748298] enhanceio: Cache metadata loaded from disk with 468972 valid 0 dirty blocks
[ 12.748300] enhanceio: Setting mode to write through
[ 12.748330] enhanceio: Cache metadata loaded from disk with 468972 valid 0 dirty blocks
[ 12.748330] enhanceio: Setting mode to write through
[ 12.750850] enhanceio_lru: Initialized 121627 sets in LRU
[ 12.750872] enhanceio_lru: Initialized 121627 sets in LRU
[ 13.313206] ------------[ cut here ]------------
[ 13.313213] WARNING: CPU: 2 PID: 358 at fs/proc/generic.c:345 proc_register+0xf9/0x130()
[ 13.313214] proc_dir_entry 'enhanceio/root_cache' already registered
[ 13.313215] Modules linked in: enhanceio_rand(O) enhanceio_lru(O) enhanceio_fifo(O) enhanceio(O) cfg80211 rfkill mousedev snd_usb_audio snd_usbmidi_lib joydev input_leds led_class snd_rawmidi snd_seq_device hid_generic hid_microsoft ch341 usbserial amdkfd amd_iommu_v2 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi usbhid hid radeon iTCO_wdt ttm drm_kms_helper drm i2c_algo_bit intel_rapl e1000e iTCO_vendor_support iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel snd_hda_codec snd_hda_core ie31200_edac kvm evdev shpchp ptp mei_me edac_core mac_hid pps_core dcdbas crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel mei aes_x86_64 dell_smm_hwmon lrw snd_hwdep thermal lpc_ich i2c_i801 snd_pcm gf128mul glue_helper ablk_helper snd_timer
[ 13.313242] cryptd snd soundcore psmouse serio_raw battery video pcspkr processor button sch_fq_codel fuse nfs lockd grace sunrpc fscache ip_tables x_tables ext4 crc16 mbcache jbd2 sd_mod atkbd libps2 ahci libahci libata xhci_pci xhci_hcd ehci_pci scsi_mod ehci_hcd usbcore usb_common i8042 serio
[ 13.313256] CPU: 2 PID: 358 Comm: eio_cli Tainted: G O 4.2.3-1-ARCH #1
[ 13.313257] Hardware name: Dell Inc. Precision T1700/073MMW, BIOS A08 04/25/2014
[ 13.313258] 0000000000000000 00000000e4b3bd4a ffff8800de5abb58 ffffffff8156c0ca
[ 13.313259] 0000000000000000 ffff8800de5abbb0 ffff8800de5abb98 ffffffff81074886
[ 13.313261] ffffffff81b14c58 ffff8804098c2100 ffff880037c1ee40 ffff880409aca505
[ 13.313262] Call Trace:
[ 13.313267] [] dump_stack+0x4c/0x6e
[ 13.313270] [] warn_slowpath_common+0x86/0xc0
[ 13.313271] [] warn_slowpath_fmt+0x55/0x70
[ 13.313272] [] ? proc_alloc_inum+0x50/0xe0
[ 13.313273] [] proc_register+0xf9/0x130
[ 13.313274] [] proc_mkdir_data+0x66/0x90
[ 13.313275] [] proc_mkdir+0x15/0x20
[ 13.313279] [] eio_procfs_ctr+0x32/0x220 [enhanceio]
[ 13.313280] [] eio_cache_create+0x12c4/0x1980 [enhanceio]
[ 13.313282] [] ? vmap_page_range_noflush+0x227/0x330
[ 13.313284] [] ? __vmalloc_node_range+0x187/0x2b0
[ 13.313285] [] ? eio_ioctl+0x27b/0x2e0 [enhanceio]
[ 13.313287] [] eio_ioctl+0x2a0/0x2e0 [enhanceio]
[ 13.313289] [] do_vfs_ioctl+0x295/0x480
[ 13.313290] [] SyS_ioctl+0x79/0x90
[ 13.313291] [] entry_SYSCALL_64_fastpath+0x12/0x71
[ 13.313292] ---[ end trace 07f59dbabeca1052 ]---
[ 13.313293] Failed to create /proc/
[ 13.318013] cache_create: A partition of this device is already cached.
[ 22.607380] EXT4-fs error (device sdb1): ext4_mb_generate_buddy:758: group 3761, block bitmap and bg descriptor inconsistent: 10350 vs 11437 free clusters
[ 22.607444] JBD2: Spotted dirty metadata buffer (dev = sdb1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 22.773280] systemd[1]: tincd@laverna.service: Unit entered failed state.
[ 22.789048] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805707: comm redis-server: deleted inode referenced: 30806921
[ 22.899837] systemd[1]: smbd.service: Unit entered failed state.
[ 22.913145] systemd[1]: smbd.service: Failed with result 'exit-code'.
[ 22.929817] systemd[1]: tincd@laverna.service: Service hold-off time over, scheduling restart.
[ 22.996442] systemd[1]: tincd@laverna.service: Control process exited, code=exited status=1
[ 23.009807] systemd[1]: tincd@laverna.service: Unit entered failed state.
[ 23.023124] systemd[1]: tincd@laverna.service: Failed with result 'exit-code'.
[ 43.265296] EXT4-fs error (device sdb1): ext4_mb_generate_buddy:758: group 5633, block bitmap and bg descriptor inconsistent: 28722 vs 28740 free clusters
[ 43.266161] JBD2: Spotted dirty metadata buffer (dev = sdb1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 98.905345] EXT4-fs error (device sdb1): ext4_mb_generate_buddy:758: group 6545, block bitmap and bg descriptor inconsistent: 24188 vs 24174 free clusters
[ 98.905360] JBD2: Spotted dirty metadata buffer (dev = sdb1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 99.031549] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #52036719: comm at-spi-bus-laun: deleted inode referenced: 52037829
[ 99.120314] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #52036719: comm cinnamon-sessio: deleted inode referenced: 52037829
[ 99.192154] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #52036719: comm cinnamon-settin: deleted inode referenced: 52037829
[ 100.477288] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #52036719: comm cinnamon: deleted inode referenced: 52037829
[ 100.527434] EXT4-fs error (device sdb1): __ext4_new_inode:1023: comm xkbcomp: failed to insert inode 30806911: doubly allocated?
[ 100.645658] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #52036719: comm nemo: deleted inode referenced: 52037829
[ 100.666854] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #52036719: comm cinnamon-killer: deleted inode referenced: 52037829
[ 100.674185] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #52036719: comm nm-applet: deleted inode referenced: 52037829
[ 101.954708] JBD2: Spotted dirty metadata buffer (dev = sdb1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 102.548415] cinnamon[789]: segfault at d0 ip 00007f57f9835c42 sp 00007ffd60925d18 error 4 in libgdk-3.so.0.1600.7[7f57f97fc000+c1000]
[ 102.792896] JBD2: Spotted dirty metadata buffer (dev = sdb1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 102.862388] JBD2: Spotted dirty metadata buffer (dev = sdb1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 103.101235] JBD2: Spotted dirty metadata buffer (dev = sdb1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 105.131865] cinnamon[894]: segfault at d0 ip 00007ff48d712c42 sp 00007ffdf024f538 error 4 in libgdk-3.so.0.1600.7[7ff48d6d9000+c1000]
[ 105.957316] EXT4-fs error: 41 callbacks suppressed
[ 105.957318] EXT4-fs error (device sdb1): mb_free_blocks:1454: group 6355, block 208252416:freeing already freed block (bit 11776); block bitmap corrupt.
[ 105.957325] EXT4-fs error (device sdb1): ext4_mb_generate_buddy:758: group 6355, block bitmap and bg descriptor inconsistent: 14037 vs 14038 free clusters
[ 105.957383] JBD2: Spotted dirty metadata buffer (dev = sdb1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 107.102531] EXT4-fs error (device sdb1): mb_free_blocks:1454: group 6293, block 206238725:freeing already freed block (bit 29701); block bitmap corrupt.
[ 107.102540] EXT4-fs error (device sdb1): ext4_mb_generate_buddy:758: group 6293, block bitmap and bg descriptor inconsistent: 4264 vs 4265 free clusters
[ 108.002122] JBD2: Spotted dirty metadata buffer (dev = sdb1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 109.693179] EXT4-fs error (device sdb1): ext4_mb_generate_buddy:758: group 6294, block bitmap and bg descriptor inconsistent: 26118 vs 25934 free clusters
[ 113.004051] cinnamon[1045]: segfault at d0 ip 00007f278c5f0c42 sp 00007ffea8b632b8 error 4 in libgdk-3.so.0.1600.7[7f278c5b7000+c1000]
[ 115.621785] ------------[ cut here ]------------
[ 115.621792] WARNING: CPU: 1 PID: 963 at fs/inode.c:275 drop_nlink+0x46/0x50()
[ 115.621793] Modules linked in: enhanceio_rand(O) enhanceio_lru(O) enhanceio_fifo(O) enhanceio(O) cfg80211 rfkill mousedev snd_usb_audio snd_usbmidi_lib joydev input_leds led_class snd_rawmidi snd_seq_device hid_generic hid_microsoft ch341 usbserial amdkfd amd_iommu_v2 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi usbhid hid radeon iTCO_wdt ttm drm_kms_helper drm i2c_algo_bit intel_rapl e1000e iTCO_vendor_support iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel snd_hda_codec snd_hda_core ie31200_edac kvm evdev shpchp ptp mei_me edac_core mac_hid pps_core dcdbas crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel mei aes_x86_64 dell_smm_hwmon lrw snd_hwdep thermal lpc_ich i2c_i801 snd_pcm gf128mul glue_helper ablk_helper snd_timer
[ 115.621820] cryptd snd soundcore psmouse serio_raw battery video pcspkr processor button sch_fq_codel fuse nfs lockd grace sunrpc fscache ip_tables x_tables ext4 crc16 mbcache jbd2 sd_mod atkbd libps2 ahci libahci libata xhci_pci xhci_hcd ehci_pci scsi_mod ehci_hcd usbcore usb_common i8042 serio
[ 115.621835] CPU: 1 PID: 963 Comm: evolution-calen Tainted: G W O 4.2.3-1-ARCH #1
[ 115.621836] Hardware name: Dell Inc. Precision T1700/073MMW, BIOS A08 04/25/2014
[ 115.621837] 0000000000000000 0000000099f2d4ec ffff8800dcf7fc18 ffffffff8156c0ca
[ 115.621839] 0000000000000000 0000000000000000 ffff8800dcf7fc58 ffffffff81074886
[ 115.621840] ffff880000000000 ffff8800bcc0e8c0 ffff8800dcf7fcd0 0000000000000000
[ 115.621841] Call Trace:
[ 115.621846] [] dump_stack+0x4c/0x6e
[ 115.621849] [] warn_slowpath_common+0x86/0xc0
[ 115.621850] [] warn_slowpath_null+0x1a/0x20
[ 115.621852] [] drop_nlink+0x46/0x50
[ 115.621858] [] ext4_rename+0x4c1/0x8a0 [ext4]
[ 115.621861] [] ext4_rename2+0x1d/0x30 [ext4]
[ 115.621864] [] vfs_rename+0x533/0x7d0
[ 115.621866] [] SyS_renameat2+0x56a/0x5c0
[ 115.621867] [] SyS_rename+0x1e/0x20
[ 115.621869] [] entry_SYSCALL_64_fastpath+0x12/0x71
[ 115.621870] ---[ end trace 07f59dbabeca1053 ]---
[ 115.703480] EXT4-fs error (device sdb1): mb_free_blocks:1454: group 6290, block 206131703:freeing already freed block (bit 20983); block bitmap corrupt.
[ 115.703489] EXT4-fs error (device sdb1): ext4_mb_generate_buddy:758: group 6290, block bitmap and bg descriptor inconsistent: 171 vs 172 free clusters
[ 117.071906] cinnamon[1068]: segfault at d0 ip 00007f2f4ffdfc42 sp 00007ffdf711cf88 error 4 in libgdk-3.so.0.1600.7[7f2f4ffa6000+c1000]
[ 120.268706] cinnamon[1090]: segfault at d0 ip 00007f98b944ac42 sp 00007ffd8abf3108 error 4 in libgdk-3.so.0.1600.7[7f98b9411000+c1000]
[ 146.882341] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 146.884749] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 146.931650] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm package-query: deleted inode referenced: 30808259
[ 147.093071] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm package-query: deleted inode referenced: 30808257
[ 147.570465] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30933545: comm package-query: deleted inode referenced: 30935570
[ 147.594400] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30933546: comm package-query: deleted inode referenced: 30935573
[ 148.106508] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 148.116136] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 148.406811] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 150.294685] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 151.890539] EXT4-fs error: 3 callbacks suppressed
[ 151.890543] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 151.924151] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 151.924441] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 151.924740] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 151.925025] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 151.926391] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 151.926604] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 151.926808] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 151.927032] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 151.927476] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 192.124298] EXT4-fs error: 295 callbacks suppressed
[ 192.124302] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 192.124959] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 192.354288] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 192.364315] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 196.119024] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 196.119874] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 196.854463] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 196.855381] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 197.038371] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 197.052914] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 198.588788] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 198.589799] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 198.593732] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm package-query: deleted inode referenced: 30808259
[ 198.623968] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm package-query: deleted inode referenced: 30808257
[ 198.663720] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30933545: comm package-query: deleted inode referenced: 30935570
[ 198.732481] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30933546: comm package-query: deleted inode referenced: 30935573
[ 198.871987] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808259
[ 198.888755] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30805974: comm pacman: deleted inode referenced: 30808257
[ 198.932429] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30933545: comm pacman: deleted inode referenced: 30935570
[ 198.982450] EXT4-fs error (device sdb1): ext4_lookup:1584: inode #30933546: comm pacman: deleted inode referenced: 30935573

I think this is what happens when you update the kernel. Try #99

louy2 commented

Is this resolved? It is still a jarring warning in Arch Wiki. https://wiki.archlinux.org/index.php/EnhanceIO

As of October 2015 EnhanceIO is completely broken on newer kernels.

F1nny commented

I'm wondering the same? EnhanceIO looks to be dead just based off the git activity? I was forwarded here from the arch wiki and thought it must have been resolved by now haha, so assuming the project is dead in the water? Major bummer was was looking for the best in-place ssd caching method and this seemed to be it.

EIO is abandonware, but there are some alive forks. You could try mine for example https://github.com/lanconnected/EnhanceIO .