This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug kprobes/2071] Probes on ISR with probes on task thread's prehandler crash the system


------- Additional Comments From bibo dot mao at intel dot com  2006-01-13 04:42 -------
(In reply to comment #7)
> Hien, I tried your patch (porting onto IA64) and it did not work for me. Also 
> I see the solution you have mentioned might now work for x86_64 too. 
> Especially on x86_64 even when you disable interrupt, NMI's can still happen 
> and any probes on that path will cause the problem again.
In x86_86 linux 2.6.15-git8, when INT3 trap happens recursively system will 
crash, but in x86_64 Linux v2.6.15, system will not crash. If you change 
arch/x86_64/kernel/traps.c:969 :set_system_gate_ist(3,&int3,DEBUG_STACK) as 
set_system_gate(3,&int3), system will not crash. 
Current in IA32 and X86_64, INT3 vector makes use of GATE_INTERRUPT, when trap 
happens hardware will clear interrupt flag automatically. So I think this bug 
is architecture relative, in IA64 it actually crashed.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2071

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]