LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 02: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 10:10 PM
PHP error handling paddyjoy Programming 6 02-12-2006 06:29 AM
System resets itself! NMI error?! xianzai Fedora 1 04-06-2005 12:53 PM
xinetd error handling iftiuk Linux - Networking 0 04-21-2004 02:32 PM
Kernel NMI error msrinath Linux - General 0 09-17-2003 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration