INFO: task journal:337 blocked for more than 120 seconds
Subsystems (2)
Hello all,
Anybody found this problem before? I kept hitting this issue for 2.6.31 guest kernel even with a simple network test.
INFO: task kjournal:337 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_sec" disables this message.
kjournald D 00000041 0 337 2 0x00000000
My test is totally being blocked.
Thanks
Shirley
Quoted 11 lines · Shirley Ma
Hello all,
Anybody found this problem before? I kept hitting this issue for 2.6.31 guest kernel even with a simple network test.
INFO: task kjournal:337 blocked for more than 120 seconds."echo 0 >
/proc/sys/kernel/hung_task_timeout_sec" disables this message.kjournald D 00000041 0 337 2
0x00000000My test is totally being blocked.
I've hit this in the past with ext3, mounting with data=writeback made it disappear.
Quoted 11 lines · Shirley Ma
Hello all,
Anybody found this problem before? I kept hitting this issue for 2.6.31 guest kernel even with a simple network test.
INFO: task kjournal:337 blocked for more than 120 seconds."echo 0 >
/proc/sys/kernel/hung_task_timeout_sec" disables this message.kjournald D 00000041 0 337 2
0x00000000My test is totally being blocked.
I've hit this in the past with ext3, mounting with data=writeback made it disappear.
Quoted 3 lines · Marcelo Tosatti
I've hit this in the past with ext3, mounting with data=writeback made it
disappear.
Thanks. I will make a try. Someone should fix this.
Shirley
Quoted 3 lines · Marcelo Tosatti
I've hit this in the past with ext3, mounting with data=writeback made it
disappear.
Thanks. I will make a try. Someone should fix this.
Shirley
Re: INFO: task kjournal:337 blocked for more than 120 seconds
In reply to Shirley MaI talked to Mingming, she suggested to use different IO scheduler. The default scheduler is cfg, after I switch to noop, the problem is gone.
So there seems a bug in cfg scheduler. It's easily reproduced it when running the guest kernel, so far I haven't hit this problem on the host side.
If I need to file a bug for some one to look at, please let me know.
Thanks
Shirley
Re: INFO: task kjournal:337 blocked for more than 120 seconds
In reply to Shirley MaI talked to Mingming, she suggested to use different IO scheduler. The default scheduler is cfg, after I switch to noop, the problem is gone.
So there seems a bug in cfg scheduler. It's easily reproduced it when running the guest kernel, so far I haven't hit this problem on the host side.
If I need to file a bug for some one to look at, please let me know.
Thanks
Shirley
Re: INFO: task kjournal:337 blocked for more than 120 seconds
Quoted 2 lines · Shirley Ma
I talked to Mingming, she suggested to use different IO scheduler. The default scheduler is cfg, after I switch to noop, the problem is gone.
deadline is the most recommended one for virtualization hosts. some distros set it as default if you select Xen or KVM at installation time. (and noop for the guests)
Signature · 1 line
Javier
Re: INFO: task kjournal:337 blocked for more than 120 seconds
In reply to Shirley MaQuoted 2 lines · Shirley Ma
I talked to Mingming, she suggested to use different IO scheduler. The default scheduler is cfg, after I switch to noop, the problem is gone.
deadline is the most recommended one for virtualization hosts. some distros set it as default if you select Xen or KVM at installation time. (and noop for the guests)
Signature · 1 line
Javier
Re: INFO: task kjournal:337 blocked for more than 120 seconds
In reply to Javier GuerraQuoted 3 lines · Javier Guerra
deadline is the most recommended one for virtualization hosts. some distros set it as default if you select Xen or KVM at installation time. (and noop for the guests)
I spoke too earlier, after a while noop scheduler hit the same issue. I am switching to deadline to test it again.
Thanks
Shirley
Re: INFO: task kjournal:337 blocked for more than 120 seconds
In reply to Javier GuerraQuoted 3 lines · Javier Guerra
deadline is the most recommended one for virtualization hosts. some distros set it as default if you select Xen or KVM at installation time. (and noop for the guests)
I spoke too earlier, after a while noop scheduler hit the same issue. I am switching to deadline to test it again.
Thanks
Shirley
Re: INFO: task kjournal:337 blocked for more than 120 seconds
In reply to Shirley MaSwitching to different scheduler doesn't make the problem gone away.
Shirley
Re: INFO: task kjournal:337 blocked for more than 120 seconds
In reply to Shirley MaSwitching to different scheduler doesn't make the problem gone away.
Shirley
Quoted 9 lines · Shirley Ma
Anybody found this problem before? I kept hitting this issue for 2.6.31 guest kernel even with a simple network test.
INFO: task kjournal:337 blocked for more than 120 seconds."echo 0 >
/proc/sys/kernel/hung_task_timeout_sec" disables this message.kjournald D 00000041 0 337 2
0x00000000My test is totally being blocked.
I'm assuming from the lists you've posted to that this is under KVM? What disk drivers are you using (virtio or emulated)?
Can you get a full stack backtrace of kjournald?
Kevin Bowling submitted a RH bug against Xen with apparently the same symptoms (https://bugzilla.redhat.com/show_bug.cgi?id=526627). I'm wondering if there's a core kernel bug here, which is perhaps more easily triggered by the changed timing in a virtual machine.
Thanks,
J
Quoted 9 lines · Shirley Ma
Anybody found this problem before? I kept hitting this issue for 2.6.31 guest kernel even with a simple network test.
INFO: task kjournal:337 blocked for more than 120 seconds."echo 0 >
/proc/sys/kernel/hung_task_timeout_sec" disables this message.kjournald D 00000041 0 337 2
0x00000000My test is totally being blocked.
I'm assuming from the lists you've posted to that this is under KVM? What disk drivers are you using (virtio or emulated)?
Can you get a full stack backtrace of kjournald?
Kevin Bowling submitted a RH bug against Xen with apparently the same symptoms (https://bugzilla.redhat.com/show_bug.cgi?id=526627). I'm wondering if there's a core kernel bug here, which is perhaps more easily triggered by the changed timing in a virtual machine.
Thanks,
J
Quoted 4 lines · Jeremy Fitzhardinge
I'm assuming from the lists you've posted to that this is under KVM? What disk drivers are you using (virtio or emulated)?
Can you get a full stack backtrace of kjournald?
Yes, it's under KVM, disk driver is virtio. Since the io has issue, the stack can't be saved on the disk. I have the image file attached here.
Thanks
Shirley
Quoted 4 lines · Jeremy Fitzhardinge
I'm assuming from the lists you've posted to that this is under KVM? What disk drivers are you using (virtio or emulated)?
Can you get a full stack backtrace of kjournald?
Yes, it's under KVM, disk driver is virtio. Since the io has issue, the stack can't be saved on the disk. I have the image file attached here.
Thanks
Shirley
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/virtualization
Quoted 10 lines · Shirley Ma
Quoted 5 lines · Jeremy Fitzhardinge
I'm assuming from the lists you've posted to that this is under KVM? What disk drivers are you using (virtio or emulated)?
Can you get a full stack backtrace of kjournald?
Yes, it's under KVM, disk driver is virtio. Since the io has issue, the stack can't be saved on the disk. I have the image file attached here.
Ah, thank you. The backtrace does indeed look very similar.
(BTW, you could get a serial console with "qemu-kvm -nographic -append console=ttyS0 ...")
J
Quoted 10 lines · Shirley Ma
Quoted 5 lines · Jeremy Fitzhardinge
I'm assuming from the lists you've posted to that this is under KVM? What disk drivers are you using (virtio or emulated)?
Can you get a full stack backtrace of kjournald?
Yes, it's under KVM, disk driver is virtio. Since the io has issue, the stack can't be saved on the disk. I have the image file attached here.
Ah, thank you. The backtrace does indeed look very similar.
(BTW, you could get a serial console with "qemu-kvm -nographic -append console=ttyS0 ...")
J
Quoted 17 lines · Jeremy Fitzhardinge
Quoted 10 lines · Shirley Ma
Anybody found this problem before? I kept hitting this issue for 2.6.31 guest kernel even with a simple network test.
INFO: task kjournal:337 blocked for more than 120 seconds."echo 0>
/proc/sys/kernel/hung_task_timeout_sec" disables this message.kjournald D 00000041 0 337 2
0x00000000My test is totally being blocked.
I'm assuming from the lists you've posted to that this is under KVM? What disk drivers are you using (virtio or emulated)?
Can you get a full stack backtrace of kjournald?
Quoted 8 lines
Kevin Bowling submitted a RH bug against Xen with apparently the same symptoms (https://bugzilla.redhat.com/show_bug.cgi?id=526627). I'm wondering if there's a core kernel bug here, which is perhaps more easily triggered by the changed timing in a virtual machine.
Thanks,
J
I've had a stable system thus far by appending "clocksource=jiffies" to the kernel boot line. The default clocksource is otherwise "xen".
The dmesg boot warnings in my bugzilla report still occur.
Regards,
Kevin Bowling
http://www.analograils.com/
Quoted 17 lines · Jeremy Fitzhardinge
Quoted 10 lines · Shirley Ma
Anybody found this problem before? I kept hitting this issue for 2.6.31 guest kernel even with a simple network test.
INFO: task kjournal:337 blocked for more than 120 seconds."echo 0>
/proc/sys/kernel/hung_task_timeout_sec" disables this message.kjournald D 00000041 0 337 2
0x00000000My test is totally being blocked.
I'm assuming from the lists you've posted to that this is under KVM? What disk drivers are you using (virtio or emulated)?
Can you get a full stack backtrace of kjournald?
Quoted 8 lines
Kevin Bowling submitted a RH bug against Xen with apparently the same symptoms (https://bugzilla.redhat.com/show_bug.cgi?id=526627). I'm wondering if there's a core kernel bug here, which is perhaps more easily triggered by the changed timing in a virtual machine.
Thanks,
J
I've had a stable system thus far by appending "clocksource=jiffies" to the kernel boot line. The default clocksource is otherwise "xen".
The dmesg boot warnings in my bugzilla report still occur.
Regards,
Kevin Bowling
http://www.analograils.com/