Kernel panic due to blocked processes in io_schedule()

Solution Unverified - Updated -

Issue

  • Kernel panic with following call traces.
INFO: task java:21454 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
java          D ffffffff80153806     0 21454      1         21456 21453 (NOTLB)
 ffff8101847edbd8 0000000000000086 0000000000000000 ffffffff8858e572
 0000000000000000 0000000000000009 ffff8104dac930c0 ffff81011cbb8080
 00004a44844bf80a 00000000001485cc ffff8104dac932a8 000000018bd2e860
Call Trace:
 [<ffffffff8858e572>] :jbd2:jbd2_journal_stop+0x1c1/0x1cd
 [<ffffffff8006ec4e>] do_gettimeofday+0x40/0x90
 [<ffffffff80028ae9>] sync_page+0x0/0x43
 [<ffffffff800637ca>] io_schedule+0x3f/0x67
 [<ffffffff80028b27>] sync_page+0x3e/0x43
 [<ffffffff8006390e>] __wait_on_bit_lock+0x36/0x66
 [<ffffffff8003fd9f>] __lock_page+0x5e/0x64
 [<ffffffff800a28e2>] wake_bit_function+0x0/0x23
 [<ffffffff8000c3d1>] do_generic_mapping_read+0x1df/0x359
 [<ffffffff8000d1bd>] file_read_actor+0x0/0x159
 [<ffffffff8000c697>] __generic_file_aio_read+0x14c/0x198
 [<ffffffff80016e0c>] generic_file_aio_read+0x34/0x39
 [<ffffffff8000cee6>] do_sync_read+0xc7/0x104
 [<ffffffff800a28b4>] autoremove_wake_function+0x0/0x2e
 [<ffffffff8000b787>] vfs_read+0xcb/0x171
 [<ffffffff80011c5c>] sys_read+0x45/0x6e
 [<ffffffff8005d116>] system_call+0x7e/0x83

Kernel panic - not syncing: hung_task: blocked tasks

Environment

  • Red Hat Enterprise Linux 5
  • kernel-2.6.18-238.el5

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.