OpenSolaris

Printable Version Enter a New Search
Bug ID 6621211
Synopsis T2000: prtdiag return code is "1" instead of "0" with patch 120011-14
State 10-Fix Delivered (Fix available in build)
Category:Subcategory sun4v:other
Keywords development_escape | regression | triaged
Responsible Engineer Michael Bergknoff
Reported Against solaris_10
Duplicate Of
Introduced In solaris_10u4
Commit to Fix snv_80
Fixed In snv_80
Release Fixed solaris_nevada(snv_80) , solaris_10u5(s10u5_08) (Bug ID:2157447)
Related Bugs 6644427 , 6651462 , 6687047
Submit Date 24-October-2007
Last Update Date 19-December-2007
Description
On T2000's running kernel patch level 120011-14, prtdiag return code is "1" instead of "0".  This also happens with built-in kernel version on Sol 10 8/07 (s10_u4).  On older Sol 10 systems, adding patch 120011-14 will cause prtdiag to return code 1.  Removing 120011-14, prtdiag will return code 0.  So there is a difference in prtdiag behavior between kernel versions.  prtdiag also returns a code of "1" with kernel version 127111-01.

On T2000:

- kernel version 118833-36
- run prtdiag

echo $?
0


- patchadd 120011-14
- run prtdiag

echo $?
1

- patchrm 120011-14
- run prtdiag

echo $?
0

---------------------------------------------------------------------------

OUTPUT:

t2000-b# uname -a
SunOS t2000-b 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T200
t2000-b# prtdiag
System Configuration:  Sun Microsystems  sun4v Sun Fire T200
System clock frequency: 200 MHz
Memory size: 32760 Megabytes

========================= CPUs ===============================================

                            CPU                 CPU
Location     CPU   Freq     Implementation      Mask
------------ ----- -------- ------------------- -----
MB/CMP0/P0       0 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P1       1 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P2       2 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P3       3 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P4       4 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P5       5 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P6       6 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P7       7 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P8       8 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P9       9 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P10     10 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P11     11 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P12     12 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P13     13 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P14     14 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P15     15 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P16     16 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P17     17 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P18     18 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P19     19 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P20     20 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P21     21 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P22     22 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P23     23 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P24     24 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P25     25 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P26     26 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P27     27 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P28     28 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P29     29 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P30     30 1200 MHz  SUNW,UltraSPARC-T1
MB/CMP0/P31     31 1200 MHz  SUNW,UltraSPARC-T1


========================= IO Configuration =========================

            IO 
Location    Type  Slot Path                                          Name                Model
----------- ----- ---- --------------------------------------------- ------------------------- ---------
IOBD/NET0    PCIE IOBD                /pci@780/pci@0/pci@1/network@0    network-pciex8086,105e
IOBD/NET1    PCIE IOBD              /pci@780/pci@0/pci@1/network@0,1    network-pciex8086,105e
IOBD/PCIX    PCIX IOBD              /pci@7c0/pci@0/pci@1/pci@0/isa@2            isa
IOBD/PCIX    PCIX IOBD              /pci@7c0/pci@0/pci@1/pci@0/usb@5       usb-pciclass,0c0310
IOBD/PCIX    PCIX IOBD              /pci@7c0/pci@0/pci@1/pci@0/usb@6       usb-pciclass,0c0310
IOBD/PCIX    PCIX IOBD              /pci@7c0/pci@0/pci@1/pci@0/ide@8          ide-pci10b9,5229
IOBD/NET2    PCIE IOBD                /pci@7c0/pci@0/pci@2/network@0    network-pciex8086,105e
IOBD/NET3    PCIE IOBD              /pci@7c0/pci@0/pci@2/network@0,1    network-pciex8086,105e

t2000-b# echo $?
0

---------------------------------------------------------

t2000-b# patchadd 120011-14
Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Version of package SUNWcakr from directory SUNWcakr.u in patch 120011-14 differs from the package installed on the system.
Version of package SUNWcar from directory SUNWcar.u in patch 120011-14 differs from the package installed on the system.
Version of package SUNWcpc from directory SUNWcpc.u in patch 120011-14 differs from the package installed on the system.
Version of package SUNWkvm from directory SUNWkvm.u in patch 120011-14 differs from the package installed on the system.
Version of package SUNWcakr from directory SUNWcakr.us in patch 120011-14 differs from the package installed on the system.
Version of package SUNWcar from directory SUNWcar.us in patch 120011-14 differs from the package installed on the system.
Version of package SUNWcpc from directory SUNWcpc.us in patch 120011-14 differs from the package installed on the system.
Version of package SUNWkvm from directory SUNWkvm.us in patch 120011-14 differs from the package installed on the system.
Done!

The following requested patches have packages not installed on the system
Package SUNWcpr from directory SUNWcpr.u in patch 120011-14 is not installed on the system. Changes for package SUNWcpr will not be applied to the system.
Package SUNWcti2 from directory SUNWcti2.u in patch 120011-14 is not installed on the system. Changes for package SUNWcti2 will not be applied to the system.
Package SUNWdrcr from directory SUNWdrcr.u in patch 120011-14 is not installed on the system. Changes for package SUNWdrcr will not be applied to the system.
Package SUNWdrr from directory SUNWdrr.u in patch 120011-14 is not installed on the system. Changes for package SUNWdrr will not be applied to the system.
Package SUNWdscpr from directory SUNWdscpr.u in patch 120011-14 is not installed on the system. Changes for package SUNWdscpr will not be applied to the system.Package SUNWefc from directory SUNWefc.u in patch 120011-14 is not installed on the system. Changes for package SUNWefc will not be applied to the system.
Package SUNWfruip from directory SUNWfruip.u in patch 120011-14 is not installed on the system. Changes for package SUNWfruip will not be applied to the system.Package SUNWidn from directory SUNWidn.u in patch 120011-14 is not installed on the system. Changes for package SUNWidn will not be applied to the system.
Package SUNWiopc from directory SUNWiopc.v in patch 120011-14 is not installed on the system. Changes for package SUNWiopc will not be applied to the system.
Package SUNWipfh from directory SUNWipfh in patch 120011-14 is not installed on the system. Changes for package SUNWipfh will not be applied to the system.
Package SUNWldomr from directory SUNWldomr.v in patch 120011-14 is not installed on the system. Changes for package SUNWldomr will not be applied to the system.Package SUNWldomu from directory SUNWldomu.v in patch 120011-14 is not installed on the system. Changes for package SUNWldomu will not be applied to the system.Package SUNWrge from directory SUNWrge in patch 120011-14 is not installed on the system. Changes for package SUNWrge will not be applied to the system.
Package SUNWuksp from directory SUNWuksp in patch 120011-14 is not installed on the system. Changes for package SUNWuksp will not be applied to the system.
Package SUNWuprl from directory SUNWuprl in patch 120011-14 is not installed on the system. Changes for package SUNWuprl will not be applied to the system.
Package SUNWus from directory SUNWus.u in patch 120011-14 is not installed on the system. Changes for package SUNWus will not be applied to the system.
Package SUNWwrsm from directory SUNWwrsm.u in patch 120011-14 is not installed on the system. Changes for package SUNWwrsm will not be applied to the system.
Package SUNWdrr from directory SUNWdrr.us in patch 120011-14 is not installed on the system. Changes for package SUNWdrr will not be applied to the system.
Package SUNWefc from directory SUNWefc.us in patch 120011-14 is not installed on the system. Changes for package SUNWefc will not be applied to the system.

Checking patches that you specified for installation.

Done!


Approved patches will be installed in this order:

120011-14


Checking installed patches...
Executing prepatch script...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch 120011-14 has been successfully installed.
See /var/run/.patchSafeMode/root/var/sadm/patch/120011-14/log for details

Patch packages installed:
  FJSVcpcu
  FJSVhea
  FJSVmdb
  FJSVmdbr
  FJSVpiclu
  SUNWarc
  SUNWarcr
  SUNWatfsu
  SUNWauda
  SUNWaudh
  SUNWaudit
  SUNWbart
  SUNWbcp
  SUNWbtool
  SUNWcakr
  SUNWcar
  SUNWcart200
  SUNWckr
  SUNWcnetr
  SUNWcpc
  SUNWcpcu
  SUNWcsd
  SUNWcsl
  SUNWcslr
  SUNWcsr
  SUNWcsu
  SUNWdcsr
  SUNWdcsu
  SUNWdfbh
  SUNWdhcm
  SUNWdhcsu
  SUNWdmgtu
  SUNWdoc
  SUNWdtrc
  SUNWdtrp
  SUNWefcl
  SUNWefcr
  SUNWerid
  SUNWesu
  SUNWfmd
  SUNWfss
  SUNWftdur
  SUNWftduu
  SUNWhea
  SUNWib
  SUNWintgige
  SUNWipfr
  SUNWipfu
  SUNWippcore
  SUNWipplr
  SUNWipplu
  SUNWixgb
  SUNWkdcu
  SUNWkey
  SUNWkrbu
  SUNWkvm
  SUNWkvmt200
  SUNWlibsasl
  SUNWlldap
  SUNWmdb
  SUNWmdbr
  SUNWmdr
  SUNWmdu
  SUNWncar
  SUNWnfsckr
  SUNWnfscu
  SUNWnfssu
  SUNWnisu
  SUNWntpu
  SUNWopenssl-include
  SUNWopenssl-libraries
  SUNWpapi
  SUNWpcmci
  SUNWpcu
  SUNWperl584core
  SUNWperl584usr
  SUNWpiclu
  SUNWpl5u
  SUNWpmu
  SUNWpool
  SUNWpoolr
  SUNWppm
  SUNWpppdu
  SUNWpsm-lpd
  SUNWpsu
  SUNWqos
  SUNWrcapr
  SUNWrcapu
  SUNWrcmdc
  SUNWroute
  SUNWsadmi
  SUNWsckmr
  SUNWscpu
  SUNWses
  SUNWslpu
  SUNWsmapi
  SUNWsndmr
  SUNWsndmu
  SUNWsra
  SUNWssad
  SUNWsshcu
  SUNWsshdu
  SUNWsshu
  SUNWtavor
  SUNWtecla
  SUNWtoo
  SUNWudapltr
  SUNWudapltu
  SUNWusb
  SUNWusbu
  SUNWust1
  SUNWvolu
  SUNWwbsup
  SUNWxcu4
  SUNWxge
  SUNWypu
  SUNWzfskr
  SUNWzfsr
  SUNWzfsu
  SUNWzoner
  SUNWzoneu

t2000-b#

t2000-b# reboot -- -r
syncing file systems... done
rebooting...

SC Alert: Host System has Reset

SC Alert: Host system has shut down.
CONSERVER: XOFF timed out on t2000-b.aus (cyclade-h.aus/7016)
                                                             screen not found.
keyboard not found.
Keyboard not present.  Using /virtual-devices/console for input and output.


Sun Fire T200, No Keyboard
Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.23.4, 32760 MB memory available, Serial #67273314.
Ethernet address 0:14:4f:2:82:62, Host ID: 84028262.



Rebooting with command: boot -r
Boot device: /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk@0,0:a  File and args: -r
SunOS Release 5.10 Version Generic_120011-14 64-bit
Copyright 1983-2007 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: t2000-b
Configuring devices.
NIS+ domain name is aus.cte.sun.com
Loading smf(5) service descriptions: 14/14

t2000-b console login:


t2000-b console login: root
Password:
Last login: Tue Oct 23 09:52:21 on console
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
t2000-b# uname -a
SunOS t2000-b 5.10 Generic_120011-14 sun4v sparc SUNW,Sun-Fire-T200
t2000-b# 

t2000-b# prtdiag
System Configuration:  Sun Microsystems  sun4v Sun Fire T200
System clock frequency: 200 MHz
Memory size: 32760 Megabytes

========================= CPUs ===============================================

                            CPU                 CPU
Location     CPU   Freq     Implementation      Mask
------------ ----- -------- ------------------- -----
MB/CMP0/P0   0     1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P1   1     1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P2   2     1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P3   3     1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P4   4     1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P5   5     1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P6   6     1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P7   7     1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P8   8     1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P9   9     1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P10  10    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P11  11    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P12  12    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P13  13    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P14  14    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P15  15    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P16  16    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P17  17    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P18  18    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P19  19    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P20  20    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P21  21    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P22  22    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P23  23    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P24  24    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P25  25    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P26  26    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P27  27    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P28  28    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P29  29    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P30  30    1200 MHz SUNW,UltraSPARC-T1
MB/CMP0/P31  31    1200 MHz SUNW,UltraSPARC-T1

========================= IO Configuration =========================

            IO 
Location    Type  Slot Path                                          Name                Model
----------- ----- ---- --------------------------------------------- ------------------------- ---------
IOBD/NET0    PCIE IOBD                /pci@780/pci@0/pci@1/network@0    network-pciex8086,105e
IOBD/NET1    PCIE IOBD              /pci@780/pci@0/pci@1/network@0,1    network-pciex8086,105e
IOBD/PCIX    PCIX IOBD              /pci@7c0/pci@0/pci@1/pci@0/isa@2            isa
IOBD/PCIX    PCIX IOBD              /pci@7c0/pci@0/pci@1/pci@0/usb@5       usb-pciclass,0c0310
IOBD/PCIX    PCIX IOBD              /pci@7c0/pci@0/pci@1/pci@0/usb@6       usb-pciclass,0c0310
IOBD/PCIX    PCIX IOBD              /pci@7c0/pci@0/pci@1/pci@0/ide@8          ide-pci10b9,5229
IOBD/NET2    PCIE IOBD                /pci@7c0/pci@0/pci@2/network@0    network-pciex8086,105e
IOBD/NET3    PCIE IOBD              /pci@7c0/pci@0/pci@2/network@0,1    network-pciex8086,105e

t2000-b# echo $?
1
Work Around
N/A
Comments
N/A