Kernel BUG in truncate_inode_pages_range running gluster fuse client on RHEL

Solution Verified - Updated -

Issue

  • Our server crashed and a kernel bug printed to the log.

    kernel BUG at mm/truncate.c:220!
    invalid opcode: 0000 [#1] SMP 
    last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.3/host1/rport-1:0-3/target1:0:1/1:0:1:3/state
    CPU 2 
    Modules linked in: ... fuse ...
    Pid: 6078, comm: CvMountd Not tainted 2.6.32-642.3.1.el6.x86_64 #1 HP ProLiant BL460c Gen8
    RIP: 0010:[<ffffffff811468df>]  [<ffffffff811468df>] truncate_inode_pages_range+0x4ef/0x500
    RSP: 0018:ffff881023d1bd38  EFLAGS: 00010297
    RAX: 0000000000000816 RBX: 0000000000ab304d RCX: 0000000000000000
    RDX: 0000000000adc816 RSI: 0000000000ab304d RDI: ffff88082eca84e0
    ...
    Process CvMountd (pid: 6078, threadinfo ffff881023d18000, task ffff881032b03520)
    ...
    Call Trace:
    [<ffffffffa03ba1aa>] ? wait_answer_interruptible+0xaa/0xc0 [fuse]
    [<ffffffff810a6840>] ? autoremove_wake_function+0x0/0x40
    [<ffffffff811584e2>] ? unmap_mapping_range+0x72/0x140
    [<ffffffff81146954>] truncate_pagecache_range+0x64/0x80
    [<ffffffffa03c1f54>] fuse_file_fallocate+0x1f4/0x240 [fuse]
    [<ffffffffa03bd3c4>] fuse_fallocate+0x74/0x90 [fuse]
    [<ffffffff81197b29>] do_fallocate+0x139/0x160
    [<ffffffff81197b9e>] sys_fallocate+0x4e/0x80
    [<ffffffff8100b0d2>] system_call_fastpath+0x16/0x1b
    

Environment

  • Red Hat Enterprise Linux 6.8

    • kernel-2.6.32-642.3.1.el6.x86_64
    • glusterfs-fuse-3.7.9-10.el6.x86_64
    • MediaAGent/Comvault
  • Red Hat Enterprise Linux 7

    • kernel-3.10.0-514.6.1.el7.x86_64
    • glusterfs-fuse-3.7.9-12.el7rhgs.x86_64
    • MediaAGent/Comvault

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In