LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 05-27-2009, 03:29 PM   #1
zman2245
LQ Newbie
 
Registered: Mar 2009
Location: San Francisco, CA
Posts: 26

Rep: Reputation: 15
NMI error handling


Hello experts:

I am working on documenting and, if required, implementing error handling code for a project. We have an Intel Tylersburg IO Hub on the board. According to the datasheet, the IOH will generate an NMI for any error it encounters, and then software can read some IOH registers to discern what the condition is. It is also possible to program the IOH to generate SMI instead but I don't think I want BIOS doing any of the error handling. Sounds fair enough.

What I am confused about is: it seems a little strange that I have to go into the Linux NMI handler and add a bunch of stuff for a specific device. The existing NMI handler I looked at (do_nmi() in arch/x86_64/kernel/nmi.c) was pretty simple and straightforward and didn't seem to handle any of the errors reported by my IOH. Also, how do I access the IOH registers within the NMI? Would IOH registers be at a well-known memory address? I've asked Intel if a software device driver is needed for the IOH, but they said "no, everything should be configured by BIOS." But they have indicated that some code for error handling may be needed.

Thanks for any advice!!

-Z
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why to trigger a NMI error after just receiving 35 pakcets? KoRiR Linux - Networking 0 04-10-2008 11:10 PM
PHP error handling paddyjoy Programming 6 02-12-2006 07:29 AM
System resets itself! NMI error?! xianzai Fedora 1 04-06-2005 01:53 PM
xinetd error handling iftiuk Linux - Networking 0 04-21-2004 03:32 PM
Kernel NMI error msrinath Linux - General 0 09-17-2003 03:34 AM


All times are GMT -5. The time now is 01:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration