Bochs bug?
Posted: Wed Jul 02, 2008 10:39 am
is anyone sure if this is a bochs bug?
Ok, well, I'm trying to test the double fault stuff, so I divide by zero to get to the div0 exception handler, and then in the exception handler, I divide by zero again.. if I do this, there are many things that can go wrong... I usually get a panic with "prefetch >> running in bogus memory" and sometimes I get something like "Message: prefetch: getHostMemAddr vetoed direct read, pAddr=0xa0000" and such... with the prefetch error, I can't find what the eip is or anythign when this happens, but for the second message, bochs will still dump all of the registers.. and it says eip is 0xA0000, and esp is 0xFFFFFFFF and other weird things...
but, if I remove the divide by zero in the exception handler, it all works just fine.
any ideas on testing the doubel fault handler if this is a bug?
Ok, well, I'm trying to test the double fault stuff, so I divide by zero to get to the div0 exception handler, and then in the exception handler, I divide by zero again.. if I do this, there are many things that can go wrong... I usually get a panic with "prefetch >> running in bogus memory" and sometimes I get something like "Message: prefetch: getHostMemAddr vetoed direct read, pAddr=0xa0000" and such... with the prefetch error, I can't find what the eip is or anythign when this happens, but for the second message, bochs will still dump all of the registers.. and it says eip is 0xA0000, and esp is 0xFFFFFFFF and other weird things...
but, if I remove the divide by zero in the exception handler, it all works just fine.
any ideas on testing the doubel fault handler if this is a bug?