public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PCI device problem ... how can I debug it guys?
@ 2008-08-24 17:04 Tachwali
  0 siblings, 0 replies; only message in thread
From: Tachwali @ 2008-08-24 17:04 UTC (permalink / raw)
  To: linux-kernel


I am experiencing a problem with PCI device on local PCI bus governed by the
MV64662 chip in our board. The board runs Gentoo with kernel 2.6.9. The PCI
device is trying to master PCI bus and access the SDRAM behind the MV64662
chip.

The general description of the problem is that the driver at initialization
writes a pattern "0xfeedface" to specific allocated memory locations in
SDRAM behind the MV64662 chip and upon an interrupt, the interrupt handler
checks these memory locations to see whether they have beed edited to check
the validity of the interrupt (not a spurious one). In my case, the driver
*always* finds the memory is not edited (the driver reads back the same
pattern 0xfeedface) and quit the interrupt handling. Although, an interrupt
is actually have been issued by the PCI device.

I tried to access the SDRAM using a basic read/write memory software to
check the PCI device driver activity on the SDRAM. I used the physical
address used by the driver to access the SDRAM but it seems that the driver
does not write to that physical address. Some IO mapping is going on. or it
could be some kernel configs. I am not sure :(

Have you guys encountered a similar problem? I would appreciate any help or
guidance on this matter or suggesting any areas to look at. Thank you all
-- 
View this message in context: http://www.nabble.com/PCI-device-problem-...-how-can-I-debug-it-guys--tp19132349p19132349.html
Sent from the linux-kernel mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-24 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-24 17:04 PCI device problem ... how can I debug it guys? Tachwali

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox