Re: a simple question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmm... another thing you could try is hooking the NMI.  I'm not sure about
how KDB halts the kernel. It's probably by hooking the NMI. I can't tell
unless I examine KDB's source myself. Just a first guess.

-- Derek.


On Tue, 14 May 2002, Greg KH wrote:

> On Tue, May 14, 2002 at 06:37:56PM -0400, Bloch, Jack wrote:
> > I am a relatively new Linux Hacker (< 6 months). I and a colleague have
> > created a Compact PCI embedded system for which we developed some specific
> > HW. In my device driver, it is possible that the HW will trigger an
> > interrupt for a special case. In this case I want to halt the Linux OS. How
> > can I do this from within my ISR?
> 
> Halt?  Like stop everything completly?
> 
> If so, take a look at how kdb works when you use it to interrupt the
> kernel.  That should be what you need to do too.
> 
> Hope this helps,
> 
> greg k-h
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
> 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux