Forum Topic - Interpreting "show_pci" output: (14 Items)
   
Interpreting "show_pci" output  
Hi,

I have attached output from the "show_pci -vvv"  command.

Take a look at the "Device Dependent Registers" part, specially
at the last line:
0xF0: 00 00 00 00 00 00 00 00 68 0f 03 00 8e 1f 00 00 

It seems that show_pci allways returns 0x8e and 0x1f value for 0xFC and 0xFD offset and type of device doesn't matter.

Is it done purposely ?
Can anybody explain this ?

Regards,
Jacek
Attachment: Text show_pci.txt 23.41 KB
RE: Interpreting "show_pci" output  
Good catch! Please try the attached version.


-----Original Message-----
From: Jacek Rudnicki [mailto:community-noreply@qnx.com] 
Sent: Tuesday, January 12, 2010 6:40 AM
To: qnx4-community
Subject: Interpreting "show_pci" output

Hi,

I have attached output from the "show_pci -vvv"  command.

Take a look at the "Device Dependent Registers" part, specially
at the last line:
0xF0: 00 00 00 00 00 00 00 00 68 0f 03 00 8e 1f 00 00 

It seems that show_pci allways returns 0x8e and 0x1f value for 0xFC and
0xFD offset and type of device doesn't matter.

Is it done purposely ?
Can anybody explain this ?

Regards,
Jacek



_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post45006
Attachment: Text show_pci 42.39 KB
Re: RE: Interpreting "show_pci" output  
Hugh,

now is ok.

Is it possible to print info about Device Dependent Registers
starting from 0x0 offset ?

For example if I type -v option at least four times.

Thank's !!
Jacek
RE: RE: Interpreting "show_pci" output  
No, the Device Dependent Registers start at offset 0x40 in PCI space.


-----Original Message-----
From: Jacek Rudnicki [mailto:community-noreply@qnx.com] 
Sent: Tuesday, January 12, 2010 9:00 AM
To: qnx4-community
Subject: Re: RE: Interpreting "show_pci" output

Hugh,

now is ok.

Is it possible to print info about Device Dependent Registers
starting from 0x0 offset ?

For example if I type -v option at least four times.

Thank's !!
Jacek



_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post45024
Re: RE: RE: Interpreting "show_pci" output  
I mean to dump whole PCI space (0x0 -- 0xFF), like
   PCI Space Registers:
   0x00:  .....
    ...      .....
   0xF0:  .....


> No, the Device Dependent Registers start at offset 0x40 in PCI space.
RE: RE: RE: Interpreting "show_pci" output  
No, we are only fixing bugs in QNX4. Any enhancements require an
official request.


-----Original Message-----
From: Jacek Rudnicki [mailto:community-noreply@qnx.com] 
Sent: Tuesday, January 12, 2010 9:23 AM
To: qnx4-community
Subject: Re: RE: RE: Interpreting "show_pci" output

I mean to dump whole PCI space (0x0 -- 0xFF), like
   PCI Space Registers:
   0x00:  .....
    ...      .....
   0xF0:  .....


> No, the Device Dependent Registers start at offset 0x40 in PCI space.




_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post45031
Re: RE: RE: RE: Interpreting "show_pci" output  
I understand.

There is a source code of the show_pci on the QNX FTP, but this is very old release.

Is there any chance to obtain a recent version ?

Best,
Jacek
RE: RE: RE: RE: Interpreting "show_pci" output  
Here you go.


-----Original Message-----
From: Jacek Rudnicki [mailto:community-noreply@qnx.com] 
Sent: Tuesday, January 12, 2010 9:37 AM
To: qnx4-community
Subject: Re: RE: RE: RE: Interpreting "show_pci" output

I understand.

There is a source code of the show_pci on the QNX FTP, but this is very
old release.

Is there any chance to obtain a recent version ?

Best,
Jacek



_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post45036

Attachment: Compressed file show_pci.src.tgz 10.65 KB
Re: RE: RE: RE: RE: Interpreting "show_pci" output  
Thank you !!!!!
Re: RE: RE: RE: RE: Interpreting "show_pci" output  
Hugh,

Can you also send me the latest pci.h and inttypes.h file ?

Regards,
Jacek
RE: RE: RE: RE: RE: Interpreting "show_pci" output  
Here you are.


-----Original Message-----
From: Jacek Rudnicki [mailto:community-noreply@qnx.com] 
Sent: Wednesday, January 13, 2010 6:46 AM
To: qnx4-community
Subject: Re: RE: RE: RE: RE: Interpreting "show_pci" output

Hugh,

Can you also send me the latest pci.h and inttypes.h file ?

Regards,
Jacek



_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post45130

Attachment: Text inttypes.h 1.28 KB Text pci.h 15.31 KB
Re: RE: RE: RE: RE: RE: Interpreting "show_pci" output  
After compilation show_pci fails in showirq () function
on the following line:

if(_CA_PCI_Get_Routing_Options(&cmd, &irq) != PCI_SUCCESS) {
  return;
}

Application is terminated by SIGSEGV at 00D1:0000B0D9.

Do I need to compile show_pci in specific way ?

Jacek
RE: RE: RE: RE: RE: RE: Interpreting "show_pci" output  
You need "-T1 -N32k".

Hugh.

-----Original Message-----
From: Jacek Rudnicki [mailto:community-noreply@qnx.com] 
Sent: Wednesday, January 13, 2010 8:17 AM
To: qnx4-community
Subject: Re: RE: RE: RE: RE: RE: Interpreting "show_pci" output

After compilation show_pci fails in showirq () function
on the following line:

if(_CA_PCI_Get_Routing_Options(&cmd, &irq) != PCI_SUCCESS) {
  return;
}

Application is terminated by SIGSEGV at 00D1:0000B0D9.

Do I need to compile show_pci in specific way ?

Jacek



_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post45139
Re: RE: RE: RE: RE: RE: RE: Interpreting "show_pci" output  
For me with "... -N16k ..." option is ok.  That's all :-D.

Thank you !!!
Jacek