Patch-ID# 118344-14

NOTE:
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************

Keywords: fma self-healing fmstat
Synopsis: SunOS 5.10_x86: Fault Manager Patch
Date: Oct/19/2006


Install Requirements: NA                      
                      
Solaris Release: 10_x86

SunOS Release: 5.10_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for SPARC as patch 119578

Topic: SunOS 5.10_x86: Fault Manager Patch

Relevant Architectures: i386

BugId's fixed with this patch: 5076562 5083131 6181364 6183842 6202015 6202643 6213277 6216286 6218246 6218463 6219101 6219276 6220169 6221584 6222529 6223178 6223348 6224293 6225875 6229087 6229583 6230033 6232253 6232309 6237801 6239573 6240456 6244042 6244989 6254303 6254431 6255593 6256371 6264225 6265569 6266851 6267828 6272568 6273144 6276462 6277362 6278369 6278378 6281100 6281113 6282049 6284455 6286625 6295417 6298484 6298972 6298974 6298981 6305465 6307994 6308413 6309430 6310438 6313638 6313668 6313670 6314073 6320584 6321736 6322672 6322749 6323319 6323322 6323393 6323532 6323554 6326958 6328144 6331093 6332245 6332630 6333184 6333617 6335522 6335549 6336193 6338081 6338653 6342066 6342823 6342977 6346926 6351025 6354842 6356155 6359264 6359850 6363503 6365335 6365742 6365743 6366758 6366821 6366825 6367031 6367044 6367046 6367047 6367049 6367051 6367053 6367057 6367061 6367063 6367067 6367068 6367069 6367070 6367073 6367075 6367222 6367985 6368526 6368690 6369961 6370284 6370798 6370802 6371490 6372151 6373071 6373879 6376283 6377319 6377640 6377690 6378297 6378676 6379498 6381022 6383188 6384565 6384727 6385004 6385007 6385479 6385516 6388986 6389646 6389650 6390114 6390119 6390205 6390211 6390232 6390296 6390617 6390709 6391117 6391121 6391774 6392166 6392223 6392467 6393356 6393362 6395385 6397762 6397830 6398161 6398325 6399875 6406417 6409768 6413110 6414182 6416496 6416735 6419218 6419771 6421627 6421650 6421659 6422221 6422560 6423975 6424520 6424523 6425600 6426514 6428381 6428843 6429361 6430015 6430823 6430825 6434164 6437467 6438703 6441262 6441865

Changes incorporated in this version: 6239573 6277362 6390211 6399875 6406417 6422560

Patches accumulated and obsoleted by this patch: 122397-01

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/usr/include/fm/fmd_adm.h
/usr/include/fm/fmd_api.h
/usr/include/fm/fmd_fmri.h
/usr/include/fm/fmd_log.h
/usr/include/fm/libtopo.h
/usr/include/fm/libtopo_enum.h (deleted)
/usr/include/fm/topo_mod.h
/usr/include/smbios.h
/usr/include/sys/fm/protocol.h
/usr/include/sys/fm/util.h
/usr/include/sys/smbios.h
/usr/include/sys/smbios_impl.h
/usr/lib/amd64/libsmbios.so
/usr/lib/amd64/libsmbios.so.1
/usr/lib/amd64/llib-lsmbios.ln
/usr/lib/fm/amd64/libfmd_adm.so.1
/usr/lib/fm/amd64/libfmd_log.so.1
/usr/lib/fm/amd64/libtopo.so.1
/usr/lib/fm/amd64/llib-lfmd_adm.ln
/usr/lib/fm/amd64/llib-lfmd_log.ln
/usr/lib/fm/amd64/llib-ltopo.ln
/usr/lib/fm/dict/AMD.dict
/usr/lib/fm/dict/DISK.dict
/usr/lib/fm/dict/ZFS.dict
/usr/lib/fm/eft/pci.eft
/usr/lib/fm/fmd/fmd
/usr/lib/fm/fmd/fminject
/usr/lib/fm/fmd/fmsim
/usr/lib/fm/fmd/fmtopo
/usr/lib/fm/fmd/plugins/cpumem-retire.so
/usr/lib/fm/fmd/plugins/eft.conf
/usr/lib/fm/fmd/plugins/eft.so
/usr/lib/fm/fmd/plugins/io-retire.so
/usr/lib/fm/fmd/plugins/ip-transport.conf
/usr/lib/fm/fmd/plugins/ip-transport.so
/usr/lib/fm/fmd/plugins/syslog-msgs.so
/usr/lib/fm/fmd/plugins/zfs-diagnosis.conf
/usr/lib/fm/fmd/plugins/zfs-diagnosis.so
/usr/lib/fm/fmd/schemes/amd64/cpu.so
/usr/lib/fm/fmd/schemes/amd64/dev.so
/usr/lib/fm/fmd/schemes/amd64/fmd.so
/usr/lib/fm/fmd/schemes/amd64/hc.so
/usr/lib/fm/fmd/schemes/amd64/legacy-hc.so
/usr/lib/fm/fmd/schemes/amd64/mem.so
/usr/lib/fm/fmd/schemes/amd64/mod.so
/usr/lib/fm/fmd/schemes/amd64/pkg.so
/usr/lib/fm/fmd/schemes/amd64/zfs.so
/usr/lib/fm/fmd/schemes/cpu.so
/usr/lib/fm/fmd/schemes/dev.so
/usr/lib/fm/fmd/schemes/fmd.so
/usr/lib/fm/fmd/schemes/hc.so
/usr/lib/fm/fmd/schemes/legacy-hc.so
/usr/lib/fm/fmd/schemes/mem.so
/usr/lib/fm/fmd/schemes/mod.so
/usr/lib/fm/fmd/schemes/pkg.so
/usr/lib/fm/fmd/schemes/zfs.so
/usr/lib/fm/libfmd_adm.so.1
/usr/lib/fm/libfmd_log.so.1
/usr/lib/fm/libtopo.so.1
/usr/lib/fm/llib-lfmd_adm.ln
/usr/lib/fm/llib-lfmd_log.ln
/usr/lib/fm/llib-ltopo
/usr/lib/fm/llib-ltopo.ln
/usr/lib/fm/topo/cpu.so (deleted)
/usr/lib/fm/topo/cpu.topo (deleted)
/usr/lib/fm/topo/pcibus.so (deleted)
/usr/lib/fm/topo/pcibus.topo (deleted)
/usr/lib/fm/topo/pciexbus.topo (deleted)
/usr/lib/fm/topo/pciexrc.topo (deleted)
/usr/lib/libsmbios.so
/usr/lib/libsmbios.so.1
/usr/lib/llib-lsmbios
/usr/lib/llib-lsmbios.ln
/usr/lib/locale/C/LC_MESSAGES/AMD.mo
/usr/lib/locale/C/LC_MESSAGES/DISK.mo
/usr/lib/locale/C/LC_MESSAGES/ZFS.mo
/usr/lib/mdb/proc/fmd.so
/usr/platform/i86pc/lib/fm/eft/amd64.eft
/usr/platform/i86pc/lib/fm/fmd/plugins/sfx4500-disk.conf
/usr/platform/i86pc/lib/fm/fmd/plugins/sfx4500-disk.so
/usr/platform/i86pc/lib/fm/topo/hc-topology.xml
/usr/platform/i86pc/lib/fm/topo/plugins/chip.so
/usr/platform/i86pc/lib/fm/topo/plugins/hostbridge.so
/usr/platform/i86pc/lib/fm/topo/plugins/pcibus.so
/usr/platform/i86pc/lib/fm/topo/plugins/sata.so
/usr/sbin/fmdump
/usr/sbin/fmstat
/usr/sbin/smbios
/usr/share/lib/xml/dtd/topology.dtd.1

Problem Description:

6422560 seg fault in fmd_modstat_snapshot
6277362 cmd_xxu_hdlr hardcodes l2cachedata for fault.cpu.*.{l2,l3}cachedata
6239573 cpumem doesn't attach xxU ereports to l2cachedata faults
6399875 case for fault.memory.bank does not have ereports attached
6406417 ereport_size not big enough for nvlist bloat
6390211 amd64 panicsys() is always called with on_panic_stack == 1
 
(from 118344-13)
 
6441865 Patch 118344-11 missing lint libraries
 
(from 118344-12)
 
6254431 GDT should reside on its own page
6219276 need per-process equivalent of device context
6244042 x86 kernels do not need default LDTs
6308413 sysi86(SI86DSCR) rejects the first valid custom descriptor #6 with errno
6373879 'mem' scheme DIMM serial number cache must accommodate new Sun std for DIMM serial number
6423975 cfgadm sata plugin wastes tons of time using libdevinfo
6419771 memory leak from sata.so.1`setup_for_devctl_cmd+0x20
6414182 bmc_intf.h should be shareable with ON
6416735 Sun Fire X4500 systems need a disk diagnosis engine
6426514 topo_fmri_compare compares the same scheme leading to erroneous compare results
6419218 Need a way of enumerating sata disks on the Sun Fire X4500
6421659 topo modules' use of global variables causes unpredictable behavior during concurrent usage
6421627 use after free in topo_tree_destroy causes unpredictable behavior
6421650 topo_modhash_load does not observe proper locking; deadlock ensues
6422221 race to populate _topo_* globals causes libumem to abort process
6424520 fmd should remove faulty resources from the R$ when they are removed
6424523 hc scheme should do more homework before pronouncing a resource present
6425600 fmd can deadlock when aux threads call fmd_xprt_post at fmd shutdown time
6202643 libtopo should provide pcibus information on x86 boxen
6409768 Need a means of enumerating topology beneath PCI functions
6428381 sfx4500-disk shouldn't stop looking for disks when it finds one it isn't monitoring
6428843 cfgadm sata plugin assertion failure during AP node lookup
6429361 assertion failure in sata_info_to_fru
6430015 sata libtopo plugin should cope with sata ports that do not yet have AP devlinks
6430823 shifting the night away, the SEL goes home empty-handed
6351025 eft assertion failure: ffep != NULL
6416496 reduce eversholt memory consumption by trimming open fmes
6398325 eversholt can leak memory if there are constraints on both sides of a propagation
6430825 SEL entries for some sfx4500 disk faults are wrong
6434164 sata libtopo plugin segfaults when run on non-SunFireX4500 system with sata disks
6437467 deadlock in add_disk_fault() when adding faults
6438703 sfx4500-disk: Incorporate additional code review comments
6441262 sata cfgadm plugin erroneously truncates logical disk name
 
(from 118344-11)
 
6413110 x86 FMA patch 118344-10 missing a message file
 
(from 118344-10)
 
6359264 Provide FMA support for AMD64 processors
6385004 mc-amd driver leaks property string on attach
6390119 DIMM offset calculation incorrectly returning not implemented for some combinations
6298484 properties are not auto-converting to integers in eversholt constraints
6222529 obsolete serd properties are not reported as illegal
6298974 nested SERD engines don't work
6284455 eversholt wildcarding and vertical expansion have trouble working together
6181364 eversholt needs method to revise value of a fault's property
6298972 eversholt should be able to mark faults as no-message like the cpumem DE
6333617 eversholt should have way to check if a global is defined
6323393 eversholt caches a little too much info when caching constraints
6323554 eversholt type conversion can cause core dump
6346926 eversholt needs a way to maintain diagnosis statistics
6389650 eversholt should not bump stats for cases that we don't publish
6390617 eversholt/config.c still #include's recently-deleted <fm/libtopo_enum.h>
6384727 enhanced eversholt stats support failing in count() lookup
6323319 call() is not allowing string-valued returns
6323322 a global variable should be allowed as the RHS of an nvpair
6183842 eft can construct extra propagations in the instance tree
6377319 eft could close cases for resources already in the faulty state
5083131 payloadprop() doesn't handle embedded nvlists in payload
6331093 payloadprop should be able to read and interpret hc scheme fmris
6332245 payloadprop() returns cached value from existing FME when not appropriate
6367031 eft.so leaks memory
6298981 eft memory usage could improve by caching common constraint expressions
6232253 wildcarding may not pick up matches buried in config path
6232309 need configurable limit on number of open FMEs
6264225 improve search path for call executables
5076562 esc should complain if list found internal to cascaded props
6223178 same_domain message is not marked as a warning
6229087 SPARC CPU/Mem DE should track DIMM serial numbers on Serengeti/Starcat
6237801 Secondary PCI ECC payloads do not match cpumem-diagnosis expectations
6389646 extraneous subscription in cpumem-retire
6363503 Can not register error handler callbacks for root node
6370284 cpumem-diagnosis checks the asru version against FM_EREPORT_VERSION instead 
        of FM_CPU_SCHEME_VERSION
6370798 freeing deferred page list not correctly handled when cpumem-diagnosis is unloaded
6371490 uducu,copyinucu on Seattle with S10U2 result in fault.memory.page instead 
        of fault.cpu.*.l2cachedata
6370802 Datapath: Persistence of Deferred Memory UEs
6230033 prtdiag should be implemented for Solaris x86
6335549 prtdiag can't get smbios tables on Toshiba Tecra s1 laptop
6202015 fmd should only load plug-ins whose filenames end in .so
6216286 fmd core dumps when shutting down under heavy event load
6220169 fmd should support per-module configuration overrides in /etc
6295417 fmd should publish an event when a problem has been repaired
6373071 fmd must issue final checkpoint before freeing cases
6342977 fmd segfaults if it cannot load fmd-self-diagnosis
6367047 fmd is mis-using cond_broadcast in several places
6367049 fmd_asru_hash_recreate() leaks buffer in error path
6367051 fmd mod_ustat data is modified after being freed
6367053 fmd leaks queued timer structures on module unload
6367061 fmd when run as non-root should not exit on DR event bind failure
6367069 fmd_log_errmsg() fails for EFDL_VERSION
6367070 fmd debug switch should have a way to display TRACE() result
6367073 fmd trace buffer tag is truncating tags above 0xff
6367075 fmd debug switch error when multiple tags are specified
6367063 fmd_rpc_svc_create_local() leaks memory when local service is bound
6368526 fmd -o debug=help core dumps after printing help message
6369961 fmd emits identical diagnosis after repair when case was never closed
6385007 fmd is not decrementing buf total when cases are closed
6379498 fmd dies on assertion failure when repairing an fmd module
6381022 fmd_case_insert_event() should reject duplicates and save memory
6367985 fmd_dispq_dispatch_id can truncate class by one byte
6266851 internal fmd events should not refer to sunos
6365335 mod_removefs() fails to decrement reference count - prevents unloads
6367057 memory leaks in __rpcb_findaddr_timed() error paths
6333184 fmsim can exhaust sysevent channel resources
6367046 fmsim should set _THREAD_ERROR_DETECTION=2
6367067 fmsim should support -w option to wait for user input to exit
6356155 fmdump -e cross-references are broken when logs move across filesystems
6328144 libexacct leaks like a really big sieve when faced with non-exacct input
6367068 nvlist_add_nvlist() and nvlist_add_nvlist_array() should check for NULL
6313638 SMBIOS Support for Solaris
6313668 bmc driver should not have its own private smbios reader
6366825 bmc driver panics system due to double-free of message
6335522 smbios_bufopen() computes intermediate checksum using unpacked header
6359850 memory leak in bmc_process_msg
6365742 fault management data needs an SNMP interface
6322672 some usr/src/cmd/fm/schemes Makefiles link against build machine libraries instead of proto area
6365743 need 64-bit fmd scheme plugins
6385516 mem scheme fmd_fmri_contains does not work for x64
6366821 cpu scheme serial number should be a string
6281100 RFE: AVL-FS2: Support Anchored Page Retire for LW8, Serengeti & Starcat platforms
6281113 RFE: AVL-FS2: FMA-AVL Datapath Diagnosis Coordination
6282049 CMT update needed for x86 CPU detection
6367044 FMA Transport Layer
6384565 AVL FS-2 regression in memory diagnosis if serial number fetch times out
6229583 PLAT_ECC_ERROR2_NUMVALS is wrong and other AVL code nits
6221584 plat_log_fruid_error can mistranslate the syndrome code to the wrong error type
6342823 Unable to offline CPU 0 on x86 systems
6366758 cpu_info.core_id kstats
6368690 mmioctl will no longer accept MEM_VTOP
6383188 mmioctl_page_fmri_retire confused about mm_get_paddr return values
6354842 ecc_page_zero() should try to lock pages with SE_RETIRED
6372151 page_retire can mangle PR_MESSAGEs of PAE pages
6376283 page retire would panic if page_reclaim() were to fail
6378297 FMA page fault events not being replayed due to changes in page retire
6378676 some pages may not be retired after a DR copy/rename operation
6313670 post_startup_mmu_initialization() is useless and can be deleted
6314073 Confusing message output following PCI UE error on USII system.
6385479 strlen panic running 32 bit kernel on ts-v40z-1
6267828 Multiple secondary error reports leading to pci_ecc_classify() work improperly
6286625 Incomplete ereports for drue events
6272568 gcc and i86pc/os/memscrub.c don't get along
6309430 gcc and serengeti/lw8 don't get along
6310438 gcc and ultrasparc drivers don't get along
6307994 gcc and memtest don't get along
6367222 gcc doesn't like the mem driver anymore
6377640 fmd build can try to re-install .so links as directories
6390114 fmd asru cache recreation flawed with fix for 6369961
6390205 fmd publishing list.isolated for cases that were never solved
6390232 fmamd repair <fmri> can lead to surprises
6390296 fmd dumps core when stopping during BFU
6390709 bfu should eradicate the now-obsolete fm/libtopo_enum.h
6391117 PCI bus ASRUs should be dev scheme FMRIs
6391121 AMD.po is missing text
6388986 Erie uses Ontario-specific topology files
6392166 cpu_info.core_id kstat is broken on sparcv9
6392223 Need to remove CPU topology for Ontario
6391774 Disposition for GartTblWkEn discovered by poll is incorrect
6392467 Multibit ChipKill correctables to be diagnosed much as single-bits
6393356 Misdiagnosis from infill sys errors to IC/DC/BU
6393362 cpumem-retire does not close the page case in all giving-up paths
6255593 svc.configd's per-client entity management is O(N)
6305465 uu_list_t parent pointer confounded ::findleaks
6395385 fmd ip-transport module causes SEGV
6397762 memory leak in libtopo if more than two bits set in slot-names property
6397830 cpumem-retire should close page case when giving up
6265569 effective cpuid model computation is incorrect
6398161 fm_payload_set used incorrectly in x64 ereport construction
6219101 Eft.so crashes fmd while sorting a suspect list
 
(from 118344-09)
 
6338653 Integrate ZFS
6338081 ZFS/FMA phase 1
 
(from 118344-08)
 
        This revision accumulates/obsoletes Solaris Update S10U2
        feature point patch 122397-01.
 
(from 118344-07)
 
6377690 Patch 118344-06 and greater revs should not have "rebootafter" property.
 
(from 118344-06)
 
6278369 enhance C-based diagnosis engine for Niagara CPU diagnosis
6336193 FRU FMRI for CPU fault is not in hc: scheme format
 
(from 118344-05)
 
6323532 Enhance C-based diagnosis engine for Niagara Memory diagnosis
6322749 fmstat output garbled after replacement of faulty DIMM
6326958 workaround for hv/vbsc CE classification bug(s)
 
(from 118344-04)
 
6278378 provide Eversholt diagnosis rules for Fire hostbridge ASIC
6273144 Need is_under() function for eversholt paths comparison
6240456 Need topo enumeration for PCI Express
6244989 libtopo looks in the wrong place for driver modules on amd64
6320584 PCI topology enumerator should support directly enumerating a single device if requested
6321736 Deliver static topology file for Ontario
 
(from 118344-03)
 
6256371 fmd client module support for auxiliary threads
6218463 fmdump cannot open errlog files greater than 2Gig
6218246 mem scheme produces ereport.sunos.fmd.fmri_scheme errors after DR
6223348 need to add l3_ucx+ucx+wdx train to cpumem DE
6224293 seeprom serial number read can fail if DIMM has been written
6225875 Message SUN4U-8000-1A wrong in dictionary
 
(from 118344-02)
 
6276462 FMD patches 119578-04 119578-03 are not zones compliant, patchrm 119578-04 exits  1
 
(from 118344-01)
 
6213277 MODINFO returns EOVERFLOW when called from a 32bit app on amd64
6254303 FMA patches need to be restructured
 
(from 122397-01)
 
6332630 Chassis serial number support for Seattle/Boston
6342066 Add Boston and Seattle support to Solaris

Patch Installation Instructions:
--------------------------------
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-10 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
       example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
-----------------------------
 
NOTE 1:  Reboot system after patch installation is complete.
 
NOTE 2:  If you're planning to set up Zones on this system, please make
         sure to install the following patch which fixes bugid 6216195
         (zone installation confused by UPDATE=yes in pkginfo(4) file.)
 
         119255-06 (or greater)  Install and Patch Utilities Patch
 
NOTE 3:  To obtain the complete zfs fix for bugid 6337437 (zfs doesn't work
         over NFSv4), please also install the following patches:
 
         118563-08 (or greater)  Solaris Data Encryption Kit Patch
         118855-05 (or greater)  Kernel Patch
         118919-14 (or greater)  Solaris Crypto Framework patch
         118997-07 (or greater)  format patch
         120987-04 (or greater)  mkfs and newfs patch
         122173-02 (or greater)  swap swapadd isaexec patch
         122175-02 (or greater)  dumpadm patch
         122641-01 (or greater)  ZFS genesis patch
         122645-01 (or greater)  ZFS header files patch
         122651-01 (or greater)  ZFS miscellaneous tools patch
         122653-01 (or greater)  ZFS utilities patch
         122751-02 (or greater)  zones configuration libraries patch
 
NOTE 4:  To obtain the complete FMA support, please install the
         following patches:
 
         118347-04 (or greater)  libnsl patch
         118855-06 (or greater)  Kernel patch
         122196-02 (or greater)  svc_config patch
         122753-01 (or greater)  FMA snmp patch
         122755-01 (or greater)  libexacct patch
         122756-01 (or greater)  FMA AMD CPU patch

README -- Last modified date:  Thursday, October 19, 2006

