LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-02-2009, 11:59 PM   #1
Linux_Kid_
LQ Newbie
 
Registered: May 2009
Posts: 20

Rep: Reputation: 0
Question lspci showing disabled....


Hi All

m trying to understand PCI interface in linux enviourment.Here is output of lspci -vv

Please explain what all PCI specification i can get from this command?
Why there are 4 region ,1 for I/O port and 3 for memory? When v Can have less then 4 region?
Why they are disbaled?

PHP Code:
        ControlI/OMemBusMasterSpecCycleMemWINVVGASnoopParErrStep
ping
SERRFastB2BDisINTx-
        
StatusCap66MHzUDFFastB2BParErrDEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERRINTx-
        
Interruptpin A routed to IRQ 44
        Region 0
Memory at 11b00f2020000 (32-bitnon-prefetchable) [disabled]
[
size=256]
        
Region 1I/O ports at 1000 [disabled] [size=256]
        
Region 2Memory at 11b00f0000000 (32-bitnon-prefetchable) [disabled]
[
size=16M]
        
Region 3Memory at 11b00f2000000 (32-bitnon-prefetchable) [disabled]
[
size=64K]
        [
virtualExpansion ROM at 11b00f2800000 [disabled] [size=64K
Thanks and Regards
 
Old 06-03-2009, 01:55 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://www.xml.com/ldd/chapter/book/ch15.html#t1
... or read the PCI specification - start [url=http://en.wikipedia.org/wiki/Peripheral_Component_Interconnect]here[/i] then read the actual paper.

There are four regions set out that way because that's how the manufacturer wanted it done. There are usually HW reasons for the exact layout. They are disabled because nobody enabled them. Maybe they are not used? It is not unusual that a devices full capabilities are not enabled on a motherboard. It's usually easier than making a separate chip for each combination needed.

You have not said which pci device this is - but it looks like the layout of cache memory to me. A VGA card or an Audio controller? Different bunches of memory get assigned to different purposes. (Anyone?)
 
Old 06-03-2009, 04:41 AM   #3
Linux_Kid_
LQ Newbie
 
Registered: May 2009
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks Simon

M using PCI 372
How can i make pci device enable?

Do all PCI device are disable on startup and v have to enable them always ??
 
Old 06-04-2009, 07:10 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
A LAN card?

If the functionality is available, it is enabled by passing options to the driver and/or manipulating the BIOS.
Remember, lspci just gets it's info from the device ROM... "disabled" entries may represent empty chip slots on the board.

If you want to show what the card says it is - you need to show me the first line in it's lspci listing.

Is there some functionality you need from the card which you are not getting?
 
Old 06-10-2009, 12:00 AM   #5
Linux_Kid_
LQ Newbie
 
Registered: May 2009
Posts: 20

Original Poster
Rep: Reputation: 0
I think this is a line above that
02:02.0 Communication controller: Performance Technologies, Inc. Device 372b (re
v 05)
Subsystem: Performance Technologies, Inc. Device 372b

OKIE if it is diabled but how come i made it anable ....

here m just trying to access the pci memory space of this device and write or read from it ...

i think for that too i hve to write some sort of driver which use kernel service and i cnt do that from the application layer i.e from outside kernel.

Any more pointers
 
Old 06-10-2009, 01:05 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I'm going to have to ask you to clean up your text. Please write whole words and complete grammatical sentences. I just don't understand most of what you are writing. I can probably figure it out, but I'm doing this is spare time and there are hundreds of other people to help out.

When you want high quality answers, please post high quality questions - if you cannot be bothered to write "I cannot" instead of "i cnt" (for four additional keystrokes) then why should I be bothered helping you out?

This stuff is all explained in the LQ guidelines and the "advice" part of my sig.

From what I can make out, you need to review how PCI actually works. The PCI memory space is not the sort of thing that is supposed to be available for anything other than the PCI card.

http://www.fpga4fun.com/PCI1.html
... page two talks about implimenting some RAM on PCI. It's windows-specific, but uses free drivers to open the IO space and is actually pretty illuminating if terse. Google for other tutorials to fill in the gaps.

Basically - you need to read the specification - you are looking at some pretty low level programming here.
 
Old 06-10-2009, 02:08 AM   #7
Linux_Kid_
LQ Newbie
 
Registered: May 2009
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks a ton for your help
I made myself clear this time with no "cnt" stuff.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AGP Graphics cards not showing up in lspci - cannot load fglrx robthebob Linux - Hardware 2 02-28-2006 02:52 AM
lspci -v not showing wireless card when plugged in. fader Linux - Laptop and Netbook 27 05-13-2005 05:00 PM
lspci showing wrong vga card xushi Slackware 4 03-27-2005 04:36 AM
lspci.. lspci -H.. difference on different meachines? rohan208 Linux - Wireless Networking 0 06-28-2004 11:19 AM
lspci -v showing wrong memory size for video card (NVIDIA Geforce4 Ti4200 8X) [NL]_Target Linux - Hardware 0 06-27-2004 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration