Kernel panic in Ext4 while running without a filesystem journal on RHEL6

Solution Verified - Updated -

Issue

  • kernel BUG at fs/ext4/mballoc.c:3871! (kernel-2.6.32-696.6.3.el6)
  • kernel BUG at fs/ext4/mballoc.c:3867! (kernel-2.6.32-642.3.1.el6)
  • kernel BUG at fs/ext4/mballoc.c:3842! (kernel-2.6.32-504.8.1.el6)

With a stack trace similar to

kernel BUG at fs/ext4/mballoc.c:3871!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/module/ipv6/initstate
CPU 24 
Modules linked in: ... ext4 ...

Pid: 17012, comm: oracle Not tainted 2.6.32-696.6.3.el6.x86_64 #1 Dell Inc. PowerEdge R820/0YWR73
RIP: 0010:[<ffffffffa0505705>]  [<ffffffffa0505705>] ext4_free_blocks+0x855/0x900 [ext4]
RSP: 0018:ffff8836ce893418  EFLAGS: 00010206
RAX: ffff881763057788 RBX: ffff884066c96400 RCX: ffff88406752a240
RDX: ffff881763057428 RSI: 0000000000000000 RDI: ffff884066c96400
RBP: ffff8836ce893508 R08: 0000000000000000 R09: ffff880982d96000
R10: 000000000000000b R11: 0000000000000000 R12: 0000000000000001
R13: ffff884065a83f40 R14: ffff884068231e80 R15: 00000000003d0d9d
FS:  00007ffff67c6700(0000) GS:ffff8800624c0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000193fef15d0 CR3: 0000003153857000 CR4: 00000000000407e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process oracle (pid: 17012, threadinfo ffff8836ce890000, task ffff883493edf520)
Stack:
 0000000000000001 00000000003d0d9d ffff884067320cd0 ffff881763057788
<d> ffff881763057428 00000000003d0d9e 00000000003d0d9d 0000000000000000
<d> 0000000000000000 0000000000000001 ffff884067320c00 ffff8817630574e8
Call Trace:
 [<ffffffffa04d6acf>] ext4_alloc_branch+0x33f/0x580 [ext4]
 [<ffffffffa04d537e>] ? ext4_get_branch+0xfe/0x130 [ext4]
 [<ffffffffa04d886d>] ext4_ind_get_blocks+0x1dd/0x600 [ext4]
 [<ffffffffa04d8e88>] ext4_get_blocks+0x1f8/0x2b0 [ext4]
 [<ffffffffa04d955d>] ext4_get_block+0xbd/0x120 [ext4]
 [<ffffffff811d9413>] do_direct_IO+0x1d3/0xfa0
 [<ffffffff81278298>] ? elv_insert+0xa8/0x190
 [<ffffffff811da526>] __blockdev_direct_IO_newtrunc+0x346/0x1270
 [<ffffffffa04d94a0>] ? ext4_get_block+0x0/0x120 [ext4]
 [<ffffffff811db4c7>] __blockdev_direct_IO+0x77/0xe0
 [<ffffffffa04d94a0>] ? ext4_get_block+0x0/0x120 [ext4]
 [<ffffffff8139a0c0>] ? scsi_done+0x0/0x60
 [<ffffffffa04d829a>] ext4_ind_direct_IO+0xba/0x250 [ext4]
 [<ffffffffa04d94a0>] ? ext4_get_block+0x0/0x120 [ext4]
 [<ffffffffa04d8486>] ext4_direct_IO+0x56/0x260 [ext4]
 [<ffffffffa04d80df>] ? ext4_dirty_inode+0x4f/0x60 [ext4]
 [<ffffffff8112f272>] generic_file_direct_write+0xc2/0x190
 [<ffffffff81130b91>] __generic_file_aio_write+0x3a1/0x490
 [<ffffffff8127cc82>] ? __generic_unplug_device+0x32/0x40
 [<ffffffff81130d08>] generic_file_aio_write+0x88/0x100
 [<ffffffffa04d1ef8>] ext4_file_write+0x58/0x190 [ext4]
 [<ffffffffa04d1ea0>] ? ext4_file_write+0x0/0x190 [ext4]
 [<ffffffff811e75a4>] aio_rw_vect_retry+0x84/0x200
 [<ffffffff811e8f54>] aio_run_iocb+0x64/0x170
 [<ffffffff811ea333>] do_io_submit+0x293/0x940
 [<ffffffff811ea9f0>] sys_io_submit+0x10/0x20
 [<ffffffff8100b0d2>] system_call_fastpath+0x16/0x1b

Environment

  • Red Hat Enterprise Linux 6
    • kernel-2.6.32-696.6.3.el6
    • kernel-2.6.32-642.3.1.el6
    • kernel-2.6.32-504.8.1.el6
      Other kernels also effected.

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