Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1585587.1
Update Date:2017-10-11
Keywords:

Solution Type  Technical Instruction Sure

Solution  1585587.1 :   How to enable PCI hotplug debug in platform OS  


Related Items
  • Sun SPARC Enterprise M9000-64 Server
  •  
Related Categories
  • PLA-Support>Sun Systems>SPARC>Enterprise>SN-SPARC: Mx000
  •  
  • _Old GCS Categories>Announcements>All Product Lines>Support Systems
  •  




In this Document
Goal
Solution


Created from <SR 3-7820002921>

Applies to:

Sun SPARC Enterprise M9000-64 Server - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Goal

This document explain how to enable PCI hotplug debug at Operating System level.

Solution

Edit the /etc/system file and reboot the domain to enable PCI hotplug debug.

### usually you want the following to be enable but is optional if only ddi you are interested
set obpdebug=1
set snooping=1
set snoop_interval=90000000
set pcie:pcie_debug_flags= 0x1
set pcie:pcie_dbg_print= 0x1
set pcicfg:pcicfg_debug= 0x1
set pcicfg:pcicfg_dump_fcode= 0x1

#
#
#

### the follwoing ddidebug will need to match the following debugging flags in hex
set ddidebug=0x100000


74/*
75 * Debugging flags and macros
76 */
77#define DDI_AUDIT 0x0001
78#define DDI_DEBUG 0x0002
79#define DDI_MTCONFIG 0x0004
80#define DDI_DEBUG_BOOTMOD 0x0008 /* module loading to mount root */
81#define DDI_DEBUG_COMPAT 0x0010 /* ddi_hold_install_driver */
82#define LDI_DBG_OPENCLOSE 0x0020 /* ldi open/close info */
83#define LDI_DBG_ALLOCFREE 0x0040 /* ldi ident alloc/free info */
84#define LDI_DBG_STREAMS 0x0080 /* ldi streams link/unlink */
85#define LDI_DBG_EVENTCB 0x0100 /* ldi event callback info */
86#define DDI_INTR_API 0x0200 /* interrupt interface messages  */
87#define DDI_INTR_IMPL 0x0400 /* interrupt implementation msgs */
88#define DDI_INTR_NEXUS 0x0800 /* interrupt messages from nexuses */
89#define DDI_INTR_IRM 0x20000 /* interrupt resource management */
90#define DDI_HP_API 0x40000 /* Hotplug interface messages  */
91#define DDI_HP_IMPL 0x80000 /* Hotplug implementation msgs */
92#define DDI_HP_NEXUS 0x100000 /* Hotplug messages from nexuses */
93#define DDI_MP_DEBUG 0x200000 /* ddi-mp translations */


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback