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

Carsten Grzemba grzemba at contac-dt.de
Thu Dec 7 07:11:29 UTC 2017


<signaturebeforequotedtext></signaturebeforequotedtext>
On 06.12.17 16:56, Predrag Zečević - Technical Support Analyst  <predrag.zecevic at 2e-systems.com> wrote: 
> 
> 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?
> <signatureafterquotedtext></signatureafterquotedtext>
> 
The most complete view you get with:

# prtconf -Dv

in the best case is pcieb-3: pcieb instance 3


More information about the openindiana-discuss mailing list