Xen 2.0 / XenLinux 2.6.9 oops in handle_mm_fault
Using XenLinux 2.6.9 trying to do very minimal work in domain0 (building a module to get networking up) I'm seeing an oops in handle_mm_fault... the full oops is visible at (photo, serial console isn't working) http://stupidest.org/xen2-crash2.png
The oops is basically:
Unable to handle kernel paging request at virtual address 000112a5.
*pde = ma 00000000 55555000, with ca call chain of:
handle_mm_fault
do_mm_pgoff
handle_IRQ_event
do_IRQ
evtch_do_upcall
hypervisor_callback
anyone got any ideas?
--cw
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
Quoted 4 lines · Chris Wedgwood
Using XenLinux 2.6.9 trying to do very minimal work in domain0 (building a module to get networking up) I'm seeing an oops in
handle_mm_fault... the full oops is visible at (photo, serial console isn't working) http://stupidest.org/xen2-crash2.png
It's actually an oops in do_timer, which fails because the regs parameter points somewhere odd (eax=11273).
Not sure how this can happen -- could you please confirm that xen and linux are built from the same sources using a known-good compiler. If you can reproduce this, then increasing the amount of stack being printed would definitely help.
christian
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
Quoted 9 lines · Chris Wedgwood
Unable to handle kernel paging request at virtual address 000112a5.*pde = ma 00000000 55555000, with ca call chain of:
handle_mm_fault
do_mm_pgoff
handle_IRQ_event
do_IRQ
evtch_do_upcall
hypervisor_callback
As suggested I tried increasing the stack-size (to 16K) for both Xen and the dom0 kernel without any luck...
Next I tried (I should have tried this earlier probably) was to check CONFIG_REGPARM and sure enough having that set causes the problem. Without that things seem to be working more or less as expected...
Thanks,
--cw
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
Quoted 10 lines · Chris Wedgwood
Using XenLinux 2.6.9 trying to do very minimal work in domain0 (building a module to get networking up) I'm seeing an oops in
handle_mm_fault... the full oops is visible at (photo, serial console isn't working) http://stupidest.org/xen2-crash2.pngThe oops is basically:
Unable to handle kernel paging request at virtual address 000112a5.*pde = ma 00000000 55555000, with ca call chain of:
Quoted 8 lines
handle_mm_fault
do_mm_pgoff
handle_IRQ_event
do_IRQ
evtch_do_upcall
hypervisor_callbackanyone got any ideas?
Wild guess: you recompiled with CONFIG_PREEMPT enabled. Try disabling PREEMPT and report back.
Regards,
Nuno Silva
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
Quoted 1 line · Nuno Silva
Wild guess: you recompiled with
CONFIG_PREEMPTenabled.
I did. It turns out it was CONFIG_REGPARM=y that is the problem (I reported this to the list but since it has subscribe only b0rkedness it's not appeared yet).
Right now I'm running with CONFIG_PREEMPT=y and don't see any problems. Is this purely luck right now.
--cw
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
Quoted 9 lines · Chris Wedgwood
Quoted 1 line · Nuno Silva
Wild guess: you recompiled with
CONFIG_PREEMPTenabled.I did. It turns out it was
CONFIG_REGPARM=ythat is the problem (I reported this to the list but since it has subscribe only b0rkedness it's not appeared yet).
Great! Nice to know, thanks :-)
Quoted 2 lines
Right now I'm running with
CONFIG_PREEMPT=yand don't see any problems. Is this purely luck right now.
I don't know if PREEMPT causes some setups to oops, it was just a guess because many bugs are inflated by that option.
Regards,
Nuno Silva
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
Quoted 18 lines · Nuno Silva
Quoted 17 lines · Chris Wedgwood
Using XenLinux 2.6.9 trying to do very minimal work in domain0 (building a module to get networking up) I'm seeing an oops in
handle_mm_fault... the full oops is visible at (photo, serial console isn't working) http://stupidest.org/xen2-crash2.pngThe oops is basically:
Unable to handle kernel paging request at virtual address 000112a5.*pde = ma 00000000 55555000, with ca call chain of:
handle_mm_fault
do_mm_pgoff
handle_IRQ_event
do_IRQ
evtch_do_upcall
hypervisor_callback
Quoted 4 lines
Quoted 1 line
anyone got any ideas?
Wild guess: you recompiled with
CONFIG_PREEMPTenabled. Try disabling PREEMPT and report back.
no -- we always build with CONFIG_PREEMPT and the non-CONFIG_PREEMPT code paths are hardly tested at all.
christian
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8