[OpenIndiana-discuss] How to find which device is connected to specific pci slot?

Predrag Zečević - Technical Support Analyst predrag.zecevic at 2e-systems.com
Wed Dec 6 15:55:23 UTC 2017


Hi all,

I had few crashes of OI /hipster in last couple days. Today, I have 
tried to identify cause:

$ mdb -k 3
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc apix 
scsi_vhci zfs sata sd ip hook neti sockfs arp usba xhci uhci mm fctl 
stmf stmf_sbd lofs random idm nfs smbsrv ipc sppp cpc crypto fcip fcp 
ufs logindmux nsmb ptm ]
 > ::status
debugging crash dump vmcore.3 (64-bit) from solarix
operating system: 5.11 illumos-c5bab7026b (i86pc)
image uuid: ae4e3b13-3532-6a73-880d-c486e7bc264f
panic message: pcieb-3: PCI(-X) Express Fatal Error. (0x43)
dump content: kernel pages only

OK, device on PCI Express is causing it.

But, what is connected there?

$ pfexec cfgadm pci
Ap_Id                          Type         Receptacle   Occupant 
Condition
pci: No matching library found

Another option is to use prtconf/prtconf -v - but I do not know how to 
match its output with "pcieb-3" ID

Tried also (but also no idea how to match output):
$ scanpci  | grep "PCI Express"
  Intel Corporation Sunrise Point-H PCI Express Root Port #5
  Intel Corporation Sunrise Point-H PCI Express Root Port #9
  Intel Corporation Sunrise Point-H PCI Express Root Port #12
  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit 
Ethernet Controller

This shows info which I already got from crash file (or I could use 
dmesg to get that info):
$ dmesg | grep -i pci
[2017-12-06 13:32:12] solarix genunix: [ID 936769 kern.info] ecpp0 is 
/pci at 0,0/isa at 1f/lp at 1,378
[2017-12-06 13:32:12] solarix genunix: [ID 936769 kern.info] asy0 is 
/pci at 0,0/isa at 1f/asy at 1,3f8
[2017-12-06 16:11:40] solarix savecore: [ID 570001 auth.error] reboot 
after panic: pcieb-3: PCI(-X) Express Fatal Error. (0x43)

Also, sysdef command is useful (verbose), but I also did not manage to 
match.

Any ideas?

With best regards.
Predrag Zečević
-- 
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: predrag.zecevic at 2e-systems.com

headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am 
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas

http://www.2e-systems.com/ - Making your business fly!



More information about the openindiana-discuss mailing list