kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Problems with hypercalls
@ 2011-06-07  8:39 emilie lefebvre
  2011-06-08  9:55 ` Mulyadi Santosa
  0 siblings, 1 reply; 8+ messages in thread
From: emilie lefebvre @ 2011-06-07  8:39 UTC (permalink / raw)
  To: kernelnewbies





 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,
Emilie

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110607/01e508ed/attachment.html 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-06-09 16:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07  8:39 Problems with hypercalls emilie lefebvre
2011-06-08  9:55 ` Mulyadi Santosa
2011-06-08 10:22   ` Rajat Sharma
2011-06-08 14:54     ` emilie lefebvre
2011-06-08 16:46       ` Mulyadi Santosa
2011-06-09  1:46       ` Peter Teoh
2011-06-09  8:35         ` emilie lefebvre
2011-06-09 16:46           ` Peter Teoh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).