Virtual Machines making use of the secfs2 module are stopping abruptly

(Doc ID 2315474.1)

Last updated on OCTOBER 16, 2017

Applies to:

Private Cloud Appliance - Version 1.0.1 and later
Linux x86-64

Symptoms

On Oracle Private Cloud Appliance, when running Virtual machines, some virtual machines stop.

On examining the core file of the VM, one can see the VM stopped at :

BUG: soft lockup - CPU#7 stuck for 60s! [oracle:24769]

RIP: 0010:[<ffffffff8006218f>] [<ffffffff8006218f>] __write_lock_failed+0x7/0x20

 Looking at the full backtrace, there are plenty of calls to the secfs2 module :

Call Trace:
[<ffffffff80064a7d>] _write_lock+0xe/0xf
[<ffffffff800d5946>] __get_vm_area_node+0xb7/0x17f
[<ffffffff800d5ee7>] vmap+0x25/0x54
[<ffffffff88318b7d>] :secfs2:secfs_dio_sync_write_uvec+0xf50/0x14c7
[<ffffffff80077c3e>] smp_call_function+0x4e/0x5e
[<ffffffff8015b026>] string+0x39/0x98
[<ffffffff8001ad0e>] vsnprintf+0x9eb/0xb54
[<ffffffff800d5d7d>] __remove_vm_area+0x2b/0x42
[<ffffffff88317bff>] :secfs2:secfs_dio_sync_read_uvec+0x913/0x941
[<ffffffff800478ce>] sprintf+0x51/0x59
[<ffffffff8001ad0e>] vsnprintf+0x9eb/0xb54
[<ffffffff8001ee2d>] do_task_stat+0x79a/0x7e1
[<ffffffff80063af9>] mutex_lock+0xd/0x1d
[<ffffffff88351423>] :secfs2:sys_atomic_read+0x1b/0x23
[<ffffffff8830c95b>] :secfs2:sf_acc_cache_check+0x24/0x73
[<ffffffff8830ca3d>] :secfs2:sffile_access+0x93/0xfb
[<ffffffff8831bfa9>] :secfs2:secfs_dio+0x6aa/0x804
[<ffffffff800ca95c>] generic_file_direct_IO+0x108/0x122
[<ffffffff8001f48d>] generic_file_direct_write+0x60/0xf2
[<ffffffff800166b7>] __generic_file_aio_write_nolock+0x2b8/0x3b6
[<ffffffff88351423>] :secfs2:sys_atomic_read+0x1b/0x23
[<ffffffff80021d79>] generic_file_aio_write+0x67/0xc3
[<ffffffff8830d644>] :secfs2:op_file_aio_write+0x119/0x387
[<ffffffff800f506d>] aio_pwrite+0x2c/0x75
[<ffffffff800f5c45>] aio_run_iocb+0xb2/0x156
[<ffffffff800f60fd>] io_submit_one+0x396/0x486
[<ffffffff800f6c81>] sys_io_submit+0xcf/0x1b7
[<ffffffff8005d116>] system_call+0x7e/0x83

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms