All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Roger Cruz <roger.cruz@virtualcomputer.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: How to generate a HW NMI
Date: Fri, 1 Oct 2010 10:15:23 -0400	[thread overview]
Message-ID: <20101001141523.GB28639@dumpdata.com> (raw)
In-Reply-To: <EACA7CA90354A849B1315959042A052C01146B37@BE24.exg4.exghost.com>

On Thu, Sep 30, 2010 at 12:59:25PM -0500, Roger Cruz wrote:
> Hi fellow Xen developers,
> 
>  
> 
> I continue to get system hangs where the watchdog NMI in Xen is not
> doing its job.  I am completely blind as to what is getting jammed.
> Tried multiple experiments to force the hang and in each, the watchdog
> has kicked in, so I know the mechanism works 99% of the time except in
> my one hang.
> 
>  
> 
> So in the old days of PCI bus, I used to be able to generate a HW NMI by
> asserting the SERR signal in the connector.  With the advent of PCIe, I

Nice.

> believe that signal is no longer present, so I am looking for any other
> way to cause a system error.    I have examined the PCI express

What about the Mini PCI-e to PCI-e adapter:
http://www.hwtools.net/adapter/PM2C.html

And then plug in a PCI to PCI-e adapter:

http://www.newegg.com/Product/Product.aspx?Item=N82E16815158165&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Add-On+Cards-_-STARTECH-_-15158165

And then assert the SERR#?

> mini-card specification looking for a signal I can use in the internal
> WiFi connector, but alas, none of the signals I read about seem like
> they would do what I need.  I am not sure if there is anything I can
> short in the PCIe signals that could have a similar effect as the SERR

Per this slide deck:
http://www.pcisig.com/developers/main/training_materials/get_document?doc_id=cdf593816ee20b90d8603d4aeb081a726ddc3091
it looks as if you can program the PCIe bridge to fall to "legacy" mode.

And per some folks post:
http://forums.gentoo.org/viewtopic-t-752165.html

it looks as if the SERR# signal is asserted on SMBus controller?
Maybe there is a way to do it via that?

> signal.  The platform is a Lenovo T500 laptop so the number of
> connectors to play with is limited.
> 

IBM on the server sides used to have NMI buttons - it could be that Lenova
hadn't completly gotten rid of them. Since you are open to looking at the
motherboard, maybe there is a spot marked #NMI ?

> 
>  
> 
> I also thought of causing a parity/ECC error but the GM45 chipset used
> in this laptop does not support ECC memory.

>  
> 
> So I'm basically looking for any other ideas on how to cause a fault by
> probing somewhere in the motherboard.  This MB has a docking station
> connector but I have not been able to find the pinout list so I don't
> know what is brought out there.  At this point, I have no problem

How about just shorting the pins randomly :-)

> cracking up the case and soldering something on to the motherboard.. I
> just need to know what chips and signals to tap.
> 
>  
> 
> Thanks in advance.
> 
>  
> 
> Roger R. Cruz
> 

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2010-10-01 14:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 17:59 How to generate a HW NMI Roger Cruz
2010-10-01 14:15 ` Konrad Rzeszutek Wilk [this message]
2010-10-01 19:33   ` Roger Cruz
2010-10-01 20:01     ` Konrad Rzeszutek Wilk
2010-10-01 20:36       ` pciback doesn't take CardBus device Huang2, Wei
2010-10-01 20:45         ` Konrad Rzeszutek Wilk
2010-10-01 21:04           ` Huang2, Wei
     [not found]     ` <4CA9AC25.6020707@siemens.com>
2010-10-04 13:56       ` How to generate a HW NMI Roger Cruz
     [not found]         ` <4CA9E0FB.6000109@siemens.com>
2010-10-04 14:19           ` Roger Cruz
2010-10-04 15:23             ` Dan Magenheimer
     [not found]             ` <4CA9F16C.905@siemens.com>
2010-10-04 19:03               ` Roger Cruz
2010-10-11 21:20                 ` Roger Cruz
     [not found]                   ` <4CB420D4.2010507@siemens.com>
2010-10-12 12:42                     ` Roger Cruz
2010-10-25 15:34                       ` Konrad Rzeszutek Wilk
2010-10-12 15:59       ` Roger Cruz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101001141523.GB28639@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=roger.cruz@virtualcomputer.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.