Try a different system, if you can.

It might be something goofy happening at the PCIe bridge.

It might be an IOMMU or cache getting involved somewhere.

   -- Garrett

Adam Chunn wrote:
Thanks for helping Kerry,

Kerry Shu wrote:

    Have you tried:
    # pcitool /p...@0,0 -d bdf=5.0.0,bar0 -b 0x100 -r
    ==> are they 0xffffffff?

    # pcitool /p...@0,0 -d bdf=5.0.0,bar1 -b 0x100 -r
    ==> are they 0xffffffff?


Yes, I have tried both and both return 0xffffffff for all values.

I unloaded my driver and tried it as well.  I got the same results.

I turned on my PCI Bus Analyzer and verified that the command was accessing my device and that my device was not returning 0xffffffff, but instead valid data.

So I guess that proves that this problem doesn't involve my driver at all?

I am going to try some other things:

   1. My company has several other PCIe devices that we make.  I am
      going to add a different device and try to read registers from
      it.  If the other card works, I think I can assume that the
      problem lies in some kind of incompatibility in my device.
   2. If I can't read from the different device.  I am going to
      commandeer another host machine and install OpenSolaris 2008.11
      on it.  And I will give it another go.  Maybe it's my box.


-Adam
------------------------------------------------------------------------

_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to