Different behaviours in bochs and qemu [solved]
Posted: Tue Oct 25, 2011 5:30 pm
Hi,
my kernel runs perfectly in qemu, but when i run it with bochs after few seconds of task switching it stops with an exception n 13 should be the bad tss exception. 5 o 6 times the task switch occours because each process prints a different message.
Now...if it have to comply about the tss, why after several switches?! sometimes after 50. I do not alloc nothing new the 2 tasks tey just enter in an endless loop and they write a character on the screen. STRANGE
this is the interesting part in the bochs output:
looks like that an hardware interrupt fires?! i have masked all the irqs except the irq0 for the timer and that is mapped at 0x20.
Thanks for the help
Dave
my kernel runs perfectly in qemu, but when i run it with bochs after few seconds of task switching it stops with an exception n 13 should be the bad tss exception. 5 o 6 times the task switch occours because each process prints a different message.
Now...if it have to comply about the tss, why after several switches?! sometimes after 50. I do not alloc nothing new the 2 tasks tey just enter in an endless loop and they write a character on the screen. STRANGE
this is the interesting part in the bochs output:
Code: Select all
00803208341e[CPU0 ] interrupt(): gate descriptor is not valid sys seg (vector=0x27)
Thanks for the help
Dave