Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2015 14:07:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 197706] pciconf -l does not give a complete list
Message-ID:  <bug-197706-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197706

            Bug ID: 197706
           Summary: pciconf -l does not give a complete list
           Product: Base System
           Version: 9.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: hyyram@gmail.com

Trying this on FreeNAS 9.3, so I'm not sure what FreeBSD this pulls from.

If it matters... HW: Intel DX58SO w/ W3530.

When running "pciconf -l" none of the internal non-core PCI devices show up. No
issue with the system running, just a lack of information when compared to
Linux lspci. 

[root@freenas ~]# pciconf -l                                                    
hostb0@pci0:0:0:0:      class=0x060000 card=0x4f538086 chip=0x34058086 rev=0x13
hdr=0x00                                            
pcib1@pci0:0:1:0:       class=0x060400 card=0x4f538086 chip=0x34088086 rev=0x13
hdr=0x01                                            
pcib2@pci0:0:3:0:       class=0x060400 card=0x4f538086 chip=0x340a8086 rev=0x13
hdr=0x01                                            
pcib3@pci0:0:7:0:       class=0x060400 card=0x4f538086 chip=0x340e8086 rev=0x13
hdr=0x01                                            
none0@pci0:0:16:0:      class=0x080000 card=0x00000000 chip=0x34258086 rev=0x13
hdr=0x00                                            
none1@pci0:0:16:1:      class=0x080000 card=0x00000000 chip=0x34268086 rev=0x13
hdr=0x00                                            
none2@pci0:0:20:0:      class=0x080000 card=0x00000000 chip=0x342e8086 rev=0x13
hdr=0x00                                            
none3@pci0:0:20:1:      class=0x080000 card=0x00000000 chip=0x34228086 rev=0x13
hdr=0x00                                            
none4@pci0:0:20:2:      class=0x080000 card=0x00000000 chip=0x34238086 rev=0x13
hdr=0x00                                            
none5@pci0:0:20:3:      class=0x080000 card=0x00000000 chip=0x34388086 rev=0x13
hdr=0x00                                            
em0@pci0:0:25:0:        class=0x020000 card=0x00008086 chip=0x10cc8086 rev=0x00
hdr=0x00                                            
uhci0@pci0:0:26:0:      class=0x0c0300 card=0x4f538086 chip=0x3a378086 rev=0x00
hdr=0x00
uhci1@pci0:0:26:1:      class=0x0c0300 card=0x4f538086 chip=0x3a388086 rev=0x00
hdr=0x00
uhci2@pci0:0:26:2:      class=0x0c0300 card=0x4f538086 chip=0x3a398086 rev=0x00
hdr=0x00
ehci0@pci0:0:26:7:      class=0x0c0320 card=0x4f538086 chip=0x3a3c8086 rev=0x00
hdr=0x00
none6@pci0:0:27:0:      class=0x040300 card=0x00228086 chip=0x3a3e8086 rev=0x00
hdr=0x00
pcib4@pci0:0:28:0:      class=0x060400 card=0x4f538086 chip=0x3a408086 rev=0x00
hdr=0x01
pcib5@pci0:0:28:1:      class=0x060400 card=0x4f538086 chip=0x3a428086 rev=0x00
hdr=0x01
pcib6@pci0:0:28:4:      class=0x060400 card=0x4f538086 chip=0x3a488086 rev=0x00
hdr=0x01                                            
uhci3@pci0:0:29:0:      class=0x0c0300 card=0x4f538086 chip=0x3a348086 rev=0x00
hdr=0x00                                            
uhci4@pci0:0:29:1:      class=0x0c0300 card=0x4f538086 chip=0x3a358086 rev=0x00
hdr=0x00
uhci5@pci0:0:29:2:      class=0x0c0300 card=0x4f538086 chip=0x3a368086 rev=0x00
hdr=0x00
ehci1@pci0:0:29:7:      class=0x0c0320 card=0x4f538086 chip=0x3a3a8086 rev=0x00
hdr=0x00
pcib7@pci0:0:30:0:      class=0x060401 card=0x4f538086 chip=0x244e8086 rev=0x90
hdr=0x01
isab0@pci0:0:31:0:      class=0x060100 card=0x4f538086 chip=0x3a168086 rev=0x00
hdr=0x00
atapci1@pci0:0:31:2:    class=0x01018f card=0x4f538086 chip=0x3a208086 rev=0x00
hdr=0x00
none7@pci0:0:31:3:      class=0x0c0500 card=0x4f538086 chip=0x3a308086 rev=0x00
hdr=0x00
atapci2@pci0:0:31:5:    class=0x010185 card=0x4f538086 chip=0x3a268086 rev=0x00
hdr=0x00
vgapci0@pci0:2:0:0:     class=0x030000 card=0x304a1682 chip=0x68f91002 rev=0x00
hdr=0x00
none8@pci0:2:0:1:       class=0x040300 card=0xaa681682 chip=0xaa681002 rev=0x00
hdr=0x00
atapci0@pci0:6:0:0:     class=0x01018f card=0x4f538086 chip=0x612111ab rev=0xb2
hdr=0x00
fwohci0@pci0:7:3:0:     class=0x0c0010 card=0x4f538086 chip=0x8023104c rev=0x00
hdr=0x00



When running a Linux LiveCD on the same system and lspci

00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port (rev
13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root
Port 1 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root
Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root
Port 7 (rev 13)
00:10.0 PIC: Intel Corporation 5520/5500/X58 Physical and Link Layer Registers
Port 0 (rev 13)
00:10.1 PIC: Intel Corporation 5520/5500/X58 Routing and Protocol Layer
Registers Port 0 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management
Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad
Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS
Registers (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev
13)
00:19.0 Ethernet controller: Intel Corporation 82567LM-2 Gigabit Network
Connection
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI
Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI
Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI
Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI
Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio
Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root
Port 1
00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root
Port 5
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI
Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI
Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI
Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI
Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface
Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE
Controller #1
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE
Controller #2
02:00.0 VGA compatible controller: ATI Technologies Inc Cedar PRO [Radeon HD
5450]
02:00.1 Audio device: ATI Technologies Inc Manhattan HDMI Audio [Mobility
Radeon HD 5000 Series]
06:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II
Controller (rev b2)
07:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A IEEE-1394a-2000
Controller (PHY/Link) [iOHCI-Lynx]
3f:00.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture
Generic Non-Core Registers (rev 05)
3f:00.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture
System Address Decoder (rev 05)
3f:02.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Link 0 (rev 05)
3f:02.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Physical 0 (rev
05)
3f:03.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller (rev 05)
3f:03.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Target Address Decoder (rev 05)
3f:03.4 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Test Registers (rev 05)
3f:04.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 0 Control Registers (rev 05)
3f:04.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 0 Address Registers (rev 05)
3f:04.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 0 Rank Registers (rev 05)
3f:04.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 0 Thermal Control Registers (rev 05)
3f:05.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 1 Control Registers (rev 05)
3f:05.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 1 Address Registers (rev 05)
3f:05.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 1 Rank Registers (rev 05)
3f:05.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 1 Thermal Control Registers (rev 05)
3f:06.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 2 Control Registers (rev 05)
3f:06.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 2 Address Registers (rev 05)
3f:06.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 2 Rank Registers (rev 05)
3f:06.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory
Controller Channel 2 Thermal Control Registers (rev 05)

As can be seen, pciconf does not list the non-core devices at 0x3F. Obviously
the kernel is seeing the devices of it would not boot, but pciconf does not
display them. It would be nice if it did.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197706-8>