After a kernel upgrade the system crashes on reboot due to scheduling during atomic context.
Issue
- After a kernel upgrade the system crashes on reboot due to scheduling during atomic context, and the following backtrace is seen:
BUG: scheduling while atomic: perl/3363/0x10000200
Modules linked in: kcapi_cavs(U) autofs4 cpufreq_ondemand acpi_cpufreq freq_table mperf ipv6 ipmi_devintf ipmi_si ipmi_msghandler microcode iTCO_wdt iTCO_vendor_support cdc_ether usbnet mii i2c_i801 lpc_ich mfd_core igb i2c_algo_bit i2c_core ptp pps_
core shpchp sg ioatdma dca aesni_intel ablk_helper cryptd lrw glue_helper zlib xts wp512 twofish_x86_64 twofish_common tea serpent seqiv seed salsa20_x86_64 rmd320 rmd256 rmd160 rmd128 michael_mic md4 lzo lzo_decompress lzo_compress khazad ghash_gene
ric gf128mul gcm fcrypt ecb drbg dm_crypt des_generic deflate zlib_deflate cts ctr crypto_null crc32c_intel ccm cbc cast6 camellia blowfish arc4 ansi_cprng aes_x86_64 aes_generic ext4 jbd2 mbcache sr_mod cdrom sd_mod crc_t10dif ahci megaraid_sas dm_m
irror dm_region_hash dm_log dm_mod [last unloaded: kcapi_cavs]
Pid: 3363, comm: perl Not tainted 2.6.32-504.27.1.el6.x86_64 #1
Call Trace:
[<ffffffff81060c16>] ? __schedule_bug+0x66/0x70
[<ffffffff8152a0dc>] ? thread_return+0x6ac/0x7d0
[<ffffffff81258064>] ? blkcipher_walk_next+0x194/0x3e0
[<ffffffff8106c8ba>] ? __cond_resched+0x2a/0x40
[<ffffffff8152a4d0>] ? _cond_resched+0x30/0x40
[<ffffffff811748a5>] ? kmem_cache_alloc_trace+0xf5/0x1c0
[<ffffffffa018366d>] ? drbg_generate+0xdd/0x4f0 [drbg]
[<ffffffff81145b01>] ? kzfree+0x31/0x40
[<ffffffffa0183ae7>] ? drbg_generate_long+0x67/0x90 [drbg]
[<ffffffffa0183ba2>] ? drbg_kcapi_random+0x92/0xa0 [drbg]
[<ffffffff8152d036>] ? _spin_lock_bh+0x16/0x40
[<ffffffffa01e1555>] ? seqiv_aead_givencrypt_first+0x75/0x90 [seqiv]
[<ffffffff8129c5b6>] ? sg_init_one+0x36/0x80
[<ffffffffa035d9bf>] ? kccavs_test_aead_givenc+0x1ff/0x370 [kcapi_cavs]
[<ffffffffa035d0a3>] ? kccavs_data_read+0xb3/0x110 [kcapi_cavs]
[<ffffffff8118ea55>] ? vfs_read+0xb5/0x1a0
[<ffffffff8118eb91>] ? sys_read+0x51/0x90
[<ffffffff810e5c4e>] ? __audit_syscall_exit+0x25e/0x290
[<ffffffff8100b0f2>] ? system_call_fastpath+0x16/0x1b
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.