Sponsored Content
Full Discussion: prtdiag - Segmentation Fault
Operating Systems Solaris prtdiag - Segmentation Fault Post 302302254 by upengan78 on Monday 30th of March 2009 01:02:28 PM
Old 03-30-2009
prtdiag - Segmentation Fault

Hi,

Recently installed a Firmware patch on T5120 (solaris 10,138888-03).

The patch installation was Success and system came up fine as well. My apps are running fine too.

Problem is prtdiag does not work as it used to earlier. the output is very different from other t5120s I have and prtdiag -v gives Segmentation Fault.

Quote:
prtdiag -v
System Configuration: Sun Microsystems sun4v SPARC Enterprise T5120
Memory size: 8064 Megabytes

================================ Virtual CPUs ================================


CPU ID Frequency Implementation Status
------ --------- ---------------------- -------

======================= Physical Memory Configuration ========================
Segment Table:
--------------------------------------------------------------
Base Segment Interleave Bank Contains
Address Size Factor Size Modules
--------------------------------------------------------------
0x0 8 GB 4 2 GB MB/CMP0/BR0/CH0/D0
MB/CMP0/BR0/CH1/D0
2 GB MB/CMP0/BR1/CH0/D0
MB/CMP0/BR1/CH1/D0
2 GB MB/CMP0/BR2/CH0/D0
MB/CMP0/BR2/CH1/D0
2 GB MB/CMP0/BR3/CH0/D0
MB/CMP0/BR3/CH1/D0


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

IO
Location Type Slot Path Name Model
----------- ----- ---- --------------------------------------------- ------------------------- ---------
MB/PCIE PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0 pci-pciexclass,060400
MB/NET0 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@2/network@0 network-pciex8086,105e
MB/NET1 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@2/network@0,1 network-pciex8086,105e
MB/NET2 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@3/network@0 network-pciex8086,105e
MB/NET3 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@3/network@0,1 network-pciex8086,105e
MB/PCIE PCIE MB /pci@0/pci@0/pci@2/scsi@0 scsi-pciex1000,58

========================= HW Revisions =======================================

System PROM revisions:
----------------------
OBP 4.29.1 2008/10/29 14:15

IO ASIC revisions:
------------------
Location Path Device Revision
-------------------- --------------------------------------------- ------------------------------ ---------
Segmentation Fault
prtdiag
Quote:
System Configuration: Sun Microsystems sun4v SPARC Enterprise T5120
Memory size: 8064 Megabytes

================================ Virtual CPUs ================================


CPU ID Frequency Implementation Status
------ --------- ---------------------- -------

======================= Physical Memory Configuration ========================
Segment Table:
--------------------------------------------------------------
Base Segment Interleave Bank Contains
Address Size Factor Size Modules
--------------------------------------------------------------
0x0 8 GB 4 2 GB MB/CMP0/BR0/CH0/D0
MB/CMP0/BR0/CH1/D0
2 GB MB/CMP0/BR1/CH0/D0
MB/CMP0/BR1/CH1/D0
2 GB MB/CMP0/BR2/CH0/D0
MB/CMP0/BR2/CH1/D0
2 GB MB/CMP0/BR3/CH0/D0
MB/CMP0/BR3/CH1/D0


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

IO
Location Type Slot Path Name Model
----------- ----- ---- --------------------------------------------- ------------------------- ---------
MB/PCIE PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0 pci-pciexclass,060400
MB/NET0 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@2/network@0 network-pciex8086,105e
MB/NET1 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@2/network@0,1 network-pciex8086,105e
MB/NET2 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@3/network@0 network-pciex8086,105e
MB/NET3 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@3/network@0,1 network-pciex8086,105e
MB/PCIE PCIE MB /pci@0/pci@0/pci@2/scsi@0 scsi-pciex1000,58

============================ Environmental Status ============================
Fan sensors:
All fan sensors are OK.

Temperature sensors:
All temperature sensors are OK.

Current sensors:
All current sensors are OK.

Voltage sensors:
All voltage sensors are OK.

Voltage indicators:
All voltage indicators are OK.

============================ FRU Status ============================
All FRUs are enabled.

Patch Installed : 136932-09 , SPARC Enterprise T5120 & T5220 Sun System Firmware 7.1.7.h flashprom update

Reason : console from sc /ilom was not working properly.

prtdiag from some other (unpatched firmware) t5120 is below :
Quote:
#prtdiag
System Configuration: Sun Microsystems sun4v SPARC Enterprise T5120
Memory size: 8064 Megabytes

================================ Virtual CPUs ================================


CPU ID Frequency Implementation Status
------ --------- ---------------------- -------
0 1167 MHz SUNW,UltraSPARC-T2 on-line
1 1167 MHz SUNW,UltraSPARC-T2 on-line
2 1167 MHz SUNW,UltraSPARC-T2 on-line
3 1167 MHz SUNW,UltraSPARC-T2 on-line
4 1167 MHz SUNW,UltraSPARC-T2 on-line
5 1167 MHz SUNW,UltraSPARC-T2 on-line
6 1167 MHz SUNW,UltraSPARC-T2 on-line
7 1167 MHz SUNW,UltraSPARC-T2 on-line
8 1167 MHz SUNW,UltraSPARC-T2 on-line
9 1167 MHz SUNW,UltraSPARC-T2 on-line
10 1167 MHz SUNW,UltraSPARC-T2 on-line
11 1167 MHz SUNW,UltraSPARC-T2 on-line
12 1167 MHz SUNW,UltraSPARC-T2 on-line
13 1167 MHz SUNW,UltraSPARC-T2 on-line
14 1167 MHz SUNW,UltraSPARC-T2 on-line
15 1167 MHz SUNW,UltraSPARC-T2 on-line
16 1167 MHz SUNW,UltraSPARC-T2 on-line
17 1167 MHz SUNW,UltraSPARC-T2 on-line
18 1167 MHz SUNW,UltraSPARC-T2 on-line
19 1167 MHz SUNW,UltraSPARC-T2 on-line
20 1167 MHz SUNW,UltraSPARC-T2 on-line
21 1167 MHz SUNW,UltraSPARC-T2 on-line
22 1167 MHz SUNW,UltraSPARC-T2 on-line
23 1167 MHz SUNW,UltraSPARC-T2 on-line
24 1167 MHz SUNW,UltraSPARC-T2 on-line
25 1167 MHz SUNW,UltraSPARC-T2 on-line
26 1167 MHz SUNW,UltraSPARC-T2 on-line
27 1167 MHz SUNW,UltraSPARC-T2 on-line
28 1167 MHz SUNW,UltraSPARC-T2 on-line
29 1167 MHz SUNW,UltraSPARC-T2 on-line
30 1167 MHz SUNW,UltraSPARC-T2 on-line
31 1167 MHz SUNW,UltraSPARC-T2 on-line

======================= Physical Memory Configuration ========================
Segment Table:
--------------------------------------------------------------
Base Segment Interleave Bank Contains
Address Size Factor Size Modules
--------------------------------------------------------------
0x0 8 GB 4 2 GB MB/CMP0/BR0/CH0/D0
MB/CMP0/BR0/CH1/D0
2 GB MB/CMP0/BR1/CH0/D0
MB/CMP0/BR1/CH1/D0
2 GB MB/CMP0/BR2/CH0/D0
MB/CMP0/BR2/CH1/D0
2 GB MB/CMP0/BR3/CH0/D0
MB/CMP0/BR3/CH1/D0


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

IO
Location Type Slot Path Name Model
----------- ----- ---- --------------------------------------------- ------------------------- ---------
MB/PCIE PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0 pci-pciexclass,060400
MB/NET0 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@2/network@0 network-pciex8086,105e
MB/NET1 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@2/network@0,1 network-pciex8086,105e
MB/NET2 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@3/network@0 network-pciex8086,105e
MB/NET3 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@3/network@0,1 network-pciex8086,105e
MB/PCIE PCIE MB /pci@0/pci@0/pci@2/scsi@0 scsi-pciex1000,58 LSI,1068E


#######prtdiag -v

System Configuration: Sun Microsystems sun4v SPARC Enterprise T5120
Memory size: 8064 Megabytes

================================ Virtual CPUs ================================


CPU ID Frequency Implementation Status
------ --------- ---------------------- -------
0 1167 MHz SUNW,UltraSPARC-T2 on-line
1 1167 MHz SUNW,UltraSPARC-T2 on-line
2 1167 MHz SUNW,UltraSPARC-T2 on-line
3 1167 MHz SUNW,UltraSPARC-T2 on-line
4 1167 MHz SUNW,UltraSPARC-T2 on-line
5 1167 MHz SUNW,UltraSPARC-T2 on-line
6 1167 MHz SUNW,UltraSPARC-T2 on-line
7 1167 MHz SUNW,UltraSPARC-T2 on-line
8 1167 MHz SUNW,UltraSPARC-T2 on-line
9 1167 MHz SUNW,UltraSPARC-T2 on-line
10 1167 MHz SUNW,UltraSPARC-T2 on-line
11 1167 MHz SUNW,UltraSPARC-T2 on-line
12 1167 MHz SUNW,UltraSPARC-T2 on-line
13 1167 MHz SUNW,UltraSPARC-T2 on-line
14 1167 MHz SUNW,UltraSPARC-T2 on-line
15 1167 MHz SUNW,UltraSPARC-T2 on-line
16 1167 MHz SUNW,UltraSPARC-T2 on-line
17 1167 MHz SUNW,UltraSPARC-T2 on-line
18 1167 MHz SUNW,UltraSPARC-T2 on-line
19 1167 MHz SUNW,UltraSPARC-T2 on-line
20 1167 MHz SUNW,UltraSPARC-T2 on-line
21 1167 MHz SUNW,UltraSPARC-T2 on-line
22 1167 MHz SUNW,UltraSPARC-T2 on-line
23 1167 MHz SUNW,UltraSPARC-T2 on-line
24 1167 MHz SUNW,UltraSPARC-T2 on-line
25 1167 MHz SUNW,UltraSPARC-T2 on-line
26 1167 MHz SUNW,UltraSPARC-T2 on-line
27 1167 MHz SUNW,UltraSPARC-T2 on-line
28 1167 MHz SUNW,UltraSPARC-T2 on-line
29 1167 MHz SUNW,UltraSPARC-T2 on-line
30 1167 MHz SUNW,UltraSPARC-T2 on-line
31 1167 MHz SUNW,UltraSPARC-T2 on-line

======================= Physical Memory Configuration ========================
Segment Table:
--------------------------------------------------------------
Base Segment Interleave Bank Contains
Address Size Factor Size Modules
--------------------------------------------------------------
0x0 8 GB 4 2 GB MB/CMP0/BR0/CH0/D0
MB/CMP0/BR0/CH1/D0
2 GB MB/CMP0/BR1/CH0/D0
MB/CMP0/BR1/CH1/D0
2 GB MB/CMP0/BR2/CH0/D0
MB/CMP0/BR2/CH1/D0
2 GB MB/CMP0/BR3/CH0/D0
MB/CMP0/BR3/CH1/D0


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

IO
Location Type Slot Path Name Model
----------- ----- ---- --------------------------------------------- ------------------------- ---------
MB/PCIE PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0 pci-pciexclass,060400
MB/NET0 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@2/network@0 network-pciex8086,105e
MB/NET1 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@2/network@0,1 network-pciex8086,105e
MB/NET2 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@3/network@0 network-pciex8086,105e
MB/NET3 PCIE MB /pci@0/pci@0/pci@1/pci@0/pci@3/network@0,1 network-pciex8086,105e
MB/PCIE PCIE MB /pci@0/pci@0/pci@2/scsi@0 scsi-pciex1000,58 LSI,1068E

========================= HW Revisions =======================================

System PROM revisions:
----------------------
OBP 4.27.10 2007/12/07 10:45

IO ASIC revisions:
------------------
Location Path Device Revision
-------------------- --------------------------------------------- ------------------------------ ---------
MB/PCI-SWITCH0 /pci@0/pci@0 pciex10b5,8533.aa 170
MB/PCI-SWITCH2 /pci@0/pci@0/pci@1/pci@0 pciex10b5,8517.ad 173
MB/PCI-SWITCH1 /pci@0/pci@0/pci@8/pci@0 pciex10b5,8533.aa 170
MB/GBE0 /pci@0/pci@0/pci@1/pci@0/pci@2/network@0 pciex8086,105e.108e.105e.6 6
MB/GBE0 /pci@0/pci@0/pci@1/pci@0/pci@2/network@0,1 pciex8086,105e.108e.105e.6 6
MB/GBE1 /pci@0/pci@0/pci@1/pci@0/pci@3/network@0 pciex8086,105e.108e.105e.6 6
MB/GBE1 /pci@0/pci@0/pci@1/pci@0/pci@3/network@0,1 pciex8086,105e.108e.105e.6 6
MB/SAS-SATA-HBA /pci@0/pci@0/pci@2/scsi@0 pciex1000,58.1000.1000.2 2
Any ideas ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Segmentation Fault

hello all, I tried a program on an array to intialise array elements from the standard input device.it is an integer array of 5 elements.but after entering the 4th element it throws a message called "Segmentation Fault" and returns to the command prompt without asking for the 5th element. ... (3 Replies)
Discussion started by: compbug
3 Replies

2. Programming

Hi! segmentation fault

I have written a program which takes a directory as command line arguments and displays all the dir and files in it. I don't know why I have a problem with the /etc directory.It displays all the directories and files untill it reaches a sub directory called peers which is in /etc/ppp/peers.the... (4 Replies)
Discussion started by: vijlak
4 Replies

3. Programming

Why not a segmentation fault??

Hi, Why I don't receive a segmentation fault in the following sample. int main(void) { char buff; sprintf(buff,"Hello world"); printf("%s\n",buff); } If I define a buffer of 10 elements and I'm trying to put inside it twelve elements, Should I receive a sigsev... (22 Replies)
Discussion started by: lagigliaivan
22 Replies

4. UNIX for Dummies Questions & Answers

Segmentation Fault

Hi, While comparing primary key data of two tables thr bteq script I am getting this Error. This script is a shell script. *** Error: The following error was encountered on the output file. Script.sh: 3043492 Segmentation fault(coredump) Please let me know how to get through it. ... (5 Replies)
Discussion started by: monika
5 Replies

5. Programming

segmentation fault

Hi, I am having this segmentation fault not in the following program, bt. in my lab program . My lab program is horrible long so cannot post it here bt. I am using the following logic in my program which is giving the segmentation fault. Bt. if I run this sample program as it is it dosen't give... (3 Replies)
Discussion started by: mind@work
3 Replies

6. UNIX for Advanced & Expert Users

segmentation fault with ps

What does this mean and why is this happening? $ ps -ef | grep ocular Segmentation fault (core dumped) $ ps -ef | grep ocular Segmentation fault (core dumped) $ ps aux | grep ocular Segmentation fault (core dumped) $ ps Segmentation fault (core dumped) $ pkill okular $ ps... (1 Reply)
Discussion started by: cokedude
1 Replies

7. UNIX for Dummies Questions & Answers

Segmentation fault

#include<stdio.h> #include<malloc.h> #include<unistd.h> #include<stdlib.h> void *start_1(void *argv) { printf("thread 0x%x\n",(unsigned int)pthread_self()); pthread_exit((void*)1); } void *start_2(void *argv) { printf("thread 0x%x\n",(unsigned int)pthread_self()); return (void*)2; }... (2 Replies)
Discussion started by: vincent__tse
2 Replies

8. Programming

Using gdb, ignore beginning segmentation fault until reproduce environment segmentation fault

I use a binary name (ie polo) it gets some parameter , so for debugging normally i do this : i wrote script for watchdog my app (polo) and check every second if it's not running then start it , the problem is , if my app , remain in state of segmentation fault for a while (ie 15 ... (6 Replies)
Discussion started by: pooyair
6 Replies

9. Homework & Coursework Questions

Segmentation Fault

this is a network programming code to run a rock paper scissors in a client and server. I completed it and it was working without any error. After I added the findWinner function to the server code it starts giving me segmentation fault. -the segmentation fault is fixed Current problem -Also... (3 Replies)
Discussion started by: femchi
3 Replies

10. Programming

C. To segmentation fault or not to segmentation fault, that is the question.

Oddities with gcc, 2.95.3 for the AMIGA and 4.2.1 for MY current OSX 10.14.1... I am creating a basic calculator for the AMIGA ADE *NIX emulator in C as it does not have one. Below are two very condensed snippets of which I have added the results inside the each code section. IMPORTANT!... (11 Replies)
Discussion started by: wisecracker
11 Replies
All times are GMT -4. The time now is 11:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy