Help to evaluate the system crash resistance method



Hi,

I just thought a approach to hold system crash caused by those tiny SW
problems, please kindly help to evaluate:

1. Hacking the IDT, replace those exception vector like memory
violation,divided by zero with our handling logic.

2. At our handling logic, if the IRQL is above dispatch, transfer the
control to original OS handler, which will show blue screen at last; but if
not, use KeDelayExecutionThreadexction() to hold the problem thread for a
while, then kernel will re-schedule to other threads.In this case, system
still alive instead of going to blue screen.

I've been dedicated to fixing kernel bugs for several years, feel very pity
to see many times the system dead just because of a tiny driver problem.
Would think to develop a kernel piece that can help this...It NOT targets
for helping all the system crash cases - I'm aware of many crash cases are
so severe that it is no use even if you can hold it for a while, it targets
for those SW problems like DBZ, memory violate etc...each of them has a
seperate item at IDT which can be selectively replaced.

My questions here are:
1. Is there any formal way for us to get the IDT address and selectively
replace some of IDT items?
2. How long can the KeDelayExecutionThreadexction() hold the problem thread
in practice?
3. Will the overall mechnism work when driver code raises a kernel crash?

Thank you!

TR


.



Relevant Pages

  • Help to evaluate the system crash resistance method
    ... I just thought a approach to hold system crash caused by those tiny SW ... Hacking the IDT, replace those exception vector like memory ... I've been dedicated to fixing kernel bugs for several years, ... How long can the KeDelayExecutionThreadexctionhold the problem thread ...
    (microsoft.public.windowsxp.device_driver.dev)
  • Re: Help to evaluate the system crash resistance method
    ... Neither of these is a small task such as tweaking an IDT ... > Windows 2k/XP/2k3 Filesystem and Driver Consulting ... >> I just thought a approach to hold system crash caused by those tiny SW ... >> for a while, then kernel will re-schedule to other threads.In this case, ...
    (microsoft.public.development.device.drivers)
  • Re: Help to evaluate the system crash resistance method
    ... Neither of these is a small task such as tweaking an IDT ... > Windows 2k/XP/2k3 Filesystem and Driver Consulting ... >> I just thought a approach to hold system crash caused by those tiny SW ... >> while, then kernel will re-schedule to other threads.In this case, system ...
    (microsoft.public.windowsxp.device_driver.dev)
  • Re: PROBLEM: total system crash
    ... i use asterisk as pbx with an avm b1-card and capi on a dual p3-500 ... after some problems with the scsi-system, the system hangs total. ... this system crash thre time today with the same error. ... kernel 2.6.16.27 i get a message soft-lookup detected and system hangs. ...
    (Linux-Kernel)
  • Re: Help to evaluate the system crash resistance method
    ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... > them if not all, it is a standard kernel exception handling mechnism, the ... Neither of these is a small task such as tweaking an IDT ... >> Don Burn (MVP, Windows DDK) ...
    (microsoft.public.windowsxp.device_driver.dev)