Hi all, I try to do hypercalls but I always have a kernel panic that I don't understand. I have Scentific Linux 6 installed on kvm and my computer has ubuntu. I try to modify the SL6 kernel to do hypercalls. I have a function in that kernel which check all syscalls in the VM. When I put the hypercall at the beginning of this function, it perfectly works, but when I try to put it in the middle of the function I have a kernel panic with this error: "divide error: 0000 [#1] SMP ... [<ffffffff813f8cdd>] panic+0x78/0x137 [<ffffffff813fcb94>] oops_end+0xe4/0x100 [<ffffffff8101021b>] die+0x5b/0x90 [<ffffffff813fc444>] do_trap+0xc4/0x160 [<ffffffff8100df2f>] do_divide_error+0x8f/0xb0 [<ffffffff811f974c>] ? my_function+0xdc/0xe70 " Could you have any suggestions ? With regards, |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies