Hello,<br><br>I make my student project, details under <br>http://gladnon.wikidot.com .<br><br>So, I have a few *problems*... I want to read the registers PMBASE, SMI_EN, SMI_STS (related to System Management Mode -- SMM). Please, see attached file, this is my example program.<br><br>The mechanism (standard PCI configuration mechanism) to read/write from/to PMBASE, SMI_EN, SMI_STS is taken from:<br> <font size="-1"><span class="a">www.ssi.gouv.fr/fr/sciences/<wbr>fichiers/lti/cansecwest2006-duflot-paper.pdf<br> (site 6)<br></span></font><br>However, the example program doesnt make what I want.  I probed it on my machine, chipset is ICH3M. Executed as root the output is either<br>---<br>PMBASE = 0x900007<br>Address of SMI_EN  (PMBASE + 0x30): 0x900037<br>Address of SMI_STS (PMBASE + 0x34): 0x90003b<br>Saved value in SMI_EN : 0x900007<br>Saved value in SMI_STS: 0x900007<br>---<br>or<br>---<br>PMBASE = 0x54001ff<br> Address of SMI_EN  (PMBASE + 0x30):
 0x540022f<br> Address of SMI_STS (PMBASE + 0x34): 0x5400233<br> Saved value in SMI_EN : 0x54001ff<br> Saved value in SMI_STS: 0x54001ff<br> ---<br>or<br>---<br>  PMBASE = 0x60000<br> Address of SMI_EN  (PMBASE + 0x30): 0x60030<br> Address of SMI_STS (PMBASE + 0x34): 0x60034<br>Saved value in SMI_EN : 0x60000<br> Saved value in SMI_STS: 0x60000<br>---<br>depending on it, if executed on normal console or  xterm. Sometimes, while executing, system freezes or crashes with "Kernel panic -- not syncing: Attempted to kill the idle task!" ... Furthermore, I think, that the saved values in PMBASE, SMI_EN and SMI_STS shouldnt be the same.<br><br>So, I have two questions:<br>1. Did I understood correctly how this pci mechanism for accessing registers works? If not, how can I access them?<br>2. Why does the system crash, since I'm accessing registers only read-only (except "outl(0xCF8, address)")?<br><br>Thank you in advance!<br><br>Andon<br><br><br><p>
      <hr size=1>Boardwalk for $500? In 2007? Ha! <br><a href="http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow">Play Monopoly Here and Now</a> (it's updated for today's economy) at Yahoo! Games.