[Techtalk] PCI, IRQ, and Raid

Andrew showork at adelphia.net
Mon Sep 23 16:09:51 EST 2002


Hi again,	
	Took the advice to use scanpci, or lspci, this is what I got(below). The 
4 drives are blank never used. Because the everyting just stops after 
the bios I disconnected them and installed a spare 15gb. That is how I 
can talk to you all. Is thee anything in the text below that indicates a 
problem. I put in comments that may or may not be helpful. Know that the 
proc/ is a virtual fs was helpful to me. ANY coments welcome, "This is a 
learning experience." "This is a learning experience." "This is a 
learning experience."

Andrew

  The physical locations 5 slots. The paragraph
   numbering is my own (No.1-13).

  Actual order from top
  1.) (Vid-Riva)AGP,
  2.) (Vid-Vanta)PCI,
  3.) (10/100-3-com)PCI
  4.) empty
  5.) empty (soon to have a pcmcia 802.11b)
  6.) Sil IDE-raid PCI

    #Motherboard: SystemBoard Socket-A M830, DDR-man bios266
    # The onboard ethernet is not working too. I stuck in a 3com
    # to get going.
[root at Linux1 andrew]# scanpci -v

(No.13)pci bus 0x0 cardnum 0x00 function 0x0000: vendor 0x1039 device 0x0735
  SiS  Device unknown
   STATUS    0x2210  COMMAND 0x0007
   CLASS     0x06 0x00 0x00  REVISION 0x01
   HEADER    0x80  LATENCY 0x20

(No.12)pci bus 0x0 cardnum 0x01 function 0x0000: vendor 0x1039 device 0x0001
  SiS SG86C201
   STATUS    0x0000  COMMAND 0x0107
   CLASS     0x06 0x04 0x00  REVISION 0x00
   HEADER    0x01  LATENCY 0x40
   PRIBUS    0x00  SECBUS 0x01  SUBBUS 0x01  SECLT 0x40
   IOBASE    0xf000  IOLIM 0xfff  SECSTATUS 0x2000
   NOPREFETCH_MEMBASE 0xcbd00000  MEMLIM 0xcddfffff
   PREFETCH_MEMBASE   0xc3b00000  MEMLIM 0xc7bfffff
   NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT VGA_EN NO_ISA_EN NO_PERR_EN

(No.11)pci bus 0x0 cardnum 0x02 function 0x0000: vendor 0x1039 device 0x0008
  SiS  Device unknown
   STATUS    0x0200  COMMAND 0x000f
   CLASS     0x06 0x01 0x00  REVISION 0x00
   HEADER    0x80  LATENCY 0x00

(No.10)pci bus 0x0 cardnum 0x02 function 0x0002: vendor 0x1039 device 0x7001
  SiS  Device unknown
  CardVendor 0x1039 card 0x7001 (SiS, Card unknown)
   STATUS    0x8280  COMMAND 0x0117
   CLASS     0x0c 0x03 0x10  REVISION 0x07
   BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x08
   BASE0     0xcfffd000  addr 0xcfffd000  MEM
   MAX_LAT   0x50  MIN_GNT 0x00  INT_PIN 0x04  INT_LINE 0x0a

(No.9)pci bus 0x0 cardnum 0x02 function 0x0003: vendor 0x1039 device 0x7001
  SiS  Device unknown
  CardVendor 0x1039 card 0x7001 (SiS, Card unknown)
   STATUS    0x8280  COMMAND 0x0117
   CLASS     0x0c 0x03 0x10  REVISION 0x07
   BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x08
   BASE0     0xcfffe000  addr 0xcfffe000  MEM
   MAX_LAT   0x50  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0b

(No.8)pci bus 0x0 cardnum 0x02 function 0x0005: vendor 0x1039 device 0x5513
  SiS  Device unknown
  CardVendor 0x1039 card 0x5513 (SiS, Card unknown)
   STATUS    0x0000  COMMAND 0x0005
   CLASS     0x01 0x01 0x80  REVISION 0xd0
   BIST      0x00  HEADER 0x80  LATENCY 0x80  CACHE 0x00
   BASE4     0x0000ff01  addr 0x0000ff00  I/O
   BYTE_0    0x85318131  BYTE_1  0x00  BYTE_2  0x806c178  BYTE_3  0xffffffff


(No.6)pci bus 0x0 cardnum 0x02 function 0x0007: vendor 0x1039 device 0x7012
  SiS  Device unknown
  CardVendor 0x13f6 card 0x0300 (Card unknown)
   STATUS    0x0290  COMMAND 0x0105
   CLASS     0x04 0x01 0x00  REVISION 0xa0
   BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x00
   BASE0     0x0000c801  addr 0x0000c800  I/O
   BASE1     0x0000c401  addr 0x0000c400  I/O
   MAX_LAT   0x0b  MIN_GNT 0x34  INT_PIN 0x03  INT_LINE 0x0a
   BYTE_0    0x04  BYTE_1  0x00  BYTE_2  0x806c4f0  BYTE_3  0xffffffff

(No.5)pci bus 0x0 cardnum 0x03 function 0x0000: vendor 0x1039 device 0x0900
  SiS  Device unknown
  CardVendor 0x1039 card 0x0900 (SiS, Card unknown)
   STATUS    0x0290  COMMAND 0x0107
   CLASS     0x02 0x00 0x00  REVISION 0x90
   BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x00
   BASE0     0x0000c001  addr 0x0000c000  I/O
   BASE1     0xcfffc000  addr 0xcfffc000  MEM
   BASEROM   0xcffc0000  addr 0xcffc0000  not-decode-enabled
   MAX_LAT   0x0b  MIN_GNT 0x34  INT_PIN 0x01  INT_LINE 0x0b
   BYTE_0    0xfe020001  BYTE_1  0x00  BYTE_2  0x806c868  BYTE_3  0xffffffff

(No.4)pci bus 0x0 cardnum 0x09 function 0x0000: vendor 0x10de device 0x002c
  NVidia Riva Vanta              #(Curious: This is physically the 2nd 
Card or
                                 #Or in order from top (Vid-Riva)AGP,
                                 #Then this card,(Vid-VantaPCI,
                                 #Then 10/100-3-comPCI,Bottom card is the
                                 #Silicon Image Raid
  CardVendor 0x1569 card 0x002c (Card unknown)
   STATUS    0x02b0  COMMAND 0x0002
   CLASS     0x03 0x00 0x00  REVISION 0x15
   BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x00
   BASE0     0xce000000  addr 0xce000000  MEM
   BASE1     0xc8000008  addr 0xc8000000  MEM PREFETCHABLE
   BASEROM   0xcffe0000  addr 0xcffe0000  not-decode-enabled
   MAX_LAT   0x01  MIN_GNT 0x05  INT_PIN 0x01  INT_LINE 0x0b
   BYTE_0    0x2c1569  BYTE_1  0x00  BYTE_2  0x806cbe0  BYTE_3  0xffffffff

(No.3)pci bus 0x0 cardnum 0x0b function 0x0000: vendor 0x10b7 device 0x9050
  3COM 3C905 100bTX              #(Curious: This is physically the 3rd 
Card or
                                 #Or in order from top 
(Vid-Riva)AGP,(Vid-VantaPCI,
                                 #Then this card, 10/100-3-comPCI, 
Bottom card is the
                                 #Silicon Image Raid
   STATUS    0x0200  COMMAND 0x0107
   CLASS     0x02 0x00 0x00  REVISION 0x00
   BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x00
   BASE0     0x0000bc01  addr 0x0000bc00  I/O
   BASEROM   0xcffb0000  addr 0xcffb0000  not-decode-enabled
   MAX_LAT   0x08  MIN_GNT 0x03  INT_PIN 0x01  INT_LINE 0x0a
   BYTE_0    0x16302d8  BYTE_1  0x00  BYTE_2  0x806cf58  BYTE_3  0xffffffff

(No.2)pci bus 0x0 cardnum 0x11 function 0x0000: vendor 0x1095 device 0x0680
  CMD  Device unknown
  CardVendor 0x1095 card 0x3680 (CMD, Card unknown)
   STATUS    0x0290  COMMAND 0x0107
   CLASS     0x01 0x04 0x00  REVISION 0x01
   BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x01
   BASE0     0x0000dc01  addr 0x0000dc00  I/O
   BASE1     0x0000d801  addr 0x0000d800  I/O
   BASE2     0x0000d401  addr 0x0000d400  I/O
   BASE3     0x0000d001  addr 0x0000d000  I/O
   BASE4     0x0000cc01  addr 0x0000cc00  I/O
   BASE5     0xcfffff00  addr 0xcfffff00  MEM
   BASEROM   0xcff00000  addr 0xcff00000  not-decode-enabled
   MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0a

(No.1)pci bus 0x1 cardnum 0x00 function 0x0000: vendor 0x10de device 0x002d
  NVidia Riva Ultra 64                    #(This is correct, AGP Right?)
   STATUS    0x02b0  COMMAND 0x0006
   CLASS     0x03 0x00 0x00  REVISION 0x15
   BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x00
   BASE0     0xcc000000  addr 0xcc000000  MEM
   BASE1     0xc4000008  addr 0xc4000000  MEM PREFETCHABLE
   BASEROM   0xcddf0000  addr 0xcddf0000  not-decode-enabled
   MAX_LAT   0x01  MIN_GNT 0x05  INT_PIN 0x01  INT_LINE 0x0b
[root at Linux1 andrew]# scanpci -v

Maria Blackmore wrote:
> On Mon, 23 Sep 2002, Malcolm Tredinnick wrote:
> 
>>To copy the contents of a /proc file into another file, you need to do
>>something like
>>
>>	cat /proc/foo > other.file
> 
> 
> There's also `lspci` which will probably reside in /sbin/lspci
> 
> When you run it without any arguments it gives quite a nicely formatted
> list with various bits of pertinent information
> 
>>From left to right it lists:
> 
> PCI id
> the id the device has been assigned in your machine.  It's listed as
> busid:deviceid.functionid and the host bridge will always be 00:00.0
> 
> Device class
> What class of device this particular thing falls into, this is mostly for
> the benefit of plug and play so that things get an idea of what sort of
> driver is likely to be needed.
> 
> Company that built it
> er .. who made it :)  every manufacturer has their own id, eg intel
> managed to get 0x8086 :)
> 
> What it is
> erm, heh
> 
> Revision number
> This is listed in brackets, and will say something like "(rev 01)"
> 
> 
>>I am a bit confused about how this is all relevant to installating a
>>four drive RAID setup, but I am guessing you have stepped back a bit and
>>adopted a more holistic approach.
> 
> 
> hmmm
> 
> drivers?
> 
> drivers are good.
> 
> they ... drive stuff
> 
> 
>>>This (making a list)seems to me the first step in fixing the machine.
>>>The bus (including AGP) is reading only two of the six slots correctly
>>>empty slots show non-existant 10-100 cards. The AMI bios looks to be
>>>reading it correctly.
>>
> 
> uhm
> 
> You can't tell what slot a device is in ...
> 
> It's a bus, things just appear in it, you can't really tell where they are
> as such (well, you can, but you can't)
> 
> 
>>I don't think I have heard of a case of /proc/pci getting things wildly
>>wrong, but that could be because I am leading a sheltered life or
>>something (Jeff Dike or somebody will now pop up and point out that it
>>is as common as dirt). :-)
> 
> 
> I have never come across it at all either, fwiw
> 
> 
> Good luck
> 
> Maria
> 
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk
> 






More information about the Techtalk mailing list