BAD TRAP: type=30 rp=2a10001b840 addr=2a000012040 mmu_fsr=0


 
Thread Tools Search this Thread
Operating Systems Solaris BAD TRAP: type=30 rp=2a10001b840 addr=2a000012040 mmu_fsr=0
# 1  
Old 01-09-2006
BAD TRAP: type=30 rp=2a10001b840 addr=2a000012040 mmu_fsr=0

Hello Gurus,

I got a system reboot due to "unix: [ID 799565 kern.notice] BAD TRAP: type=30 rp=2a10001b840 addr=2a000012040 mmu_fsr=0" on SUNW,Netra-CP2300. I guess it is caused by HW fault but not very sure, and don't know which part should be relaced incase it is HW reason really. Sincerely appreciate for your advice, or tell me I'm completely wrong.

SolarisCAT(vmcore.2)> coreinfo

core file: /gsn/bmcxuxi/vmcore.2
user: Super-User (root:0)
release: 5.8 (64-bit)
version: Generic_117350-02
machine: sun4u
node name: eqm02s13p2
hw_provider: Sun_Microsystems
system type: SUNW,Netra-CP2300
hostid: 83cf17e0
time of crash: Mon Dec 26 23:22:14 CST 2005 (core is 13 days old)
age of system: 12 days 9 hours 41 minutes 47.49 seconds
panic cpu: 0 (ncpus: 1)
panic string: BAD TRAP: type=30 rp=2a10001b840 addr=2a000296fc0 mmu_fsr=0

running sanity checks.../etc/system...
WARNING: sq_max_size set to 0
ndd...sysent...misc...done
SolarisCAT(vmcore.2)> analyze
PANIC: BAD TRAP: type=%x rp=%p addr=%p mmu_fsr=%x


core file: /gsn/bmcxuxi/vmcore.2
user: Super-User (root:0)
release: 5.8 (64-bit)
version: Generic_117350-02
machine: sun4u
node name: eqm02s13p2
hw_provider: Sun_Microsystems
system type: SUNW,Netra-CP2300
hostid: 83cf17e0
time of crash: Mon Dec 26 23:22:14 CST 2005 (core is 13 days old)
age of system: 12 days 9 hours 41 minutes 47.49 seconds
panic cpu: 0 (ncpus: 1)
panic string: BAD TRAP: type=30 rp=2a10001b840 addr=2a000296fc0 mmu_fsr=0


1 cpu

==== checking for trap information ====

cpu 0 had the panic


==== panic thread: 0x2a10001bd20 ==== cpu: 0 ====
==== panic kernel thread: 0x2a10001bd20 pid: 0 on cpu: 0 ====
cmd: sched

t_stk: 0x2a10001bb10 sp: 0x10423f91 t_stkbase: 0x2a10001a000
t_pri: 60(SYS) pctcpu: 0.000000 t_lwp: 0x0
t_procp: 0x10424d30(proc_sched) p_as: 0x10424c40(kas)
last cpuid: 0
idle: 33701 ticks (5 minutes 37.01 seconds)
tstate: TS_ONPROC - thread is being run on a processor
tflg: T_TALLOCSTK - thread structure allocated from stk
T_PANIC - thread initiated a system panic
tpflg: none set
tsched: TS_LOAD - thread is in memory
TS_DONT_SWAP - thread/LWP should not be swapped
pflag: SSYS - system resident process
SLOAD - in core
SLOCK - process cannot be swapped
SULOAD - u-block in core

pc: 0x10048738 unix:panicsys+0x44: call unix:setjmp
startpc: 0x10025258 unix:memscrubber+0x0: save %sp, -0xf0, %sp

unix:panicsys+0x44 (0x10424960, 0x2a10001b5f8, 0x10055dc8, 0x78002000, 0x0, 0x0)
unix:vpanic+0xcc (0x10055dc8, 0x2a10001b5f8, 0x23, 0x0, 0x8, 0x8)
unix:panic+0x1c (0x10055dc8, 0x30, 0x2a10001b840, 0x2a000296fc0, 0x0, 0x0)
unix:die+0xa4 (0x30, 0x2a10001b840, 0x2a000296fc0, 0x0, 0x2a10001b840, 0xe39a1e00)
unix:trap+0x8b8 (0x2a000296000, 0x1, 0x5, 0x0, 0x2a10001b840, 0x0)
unix:prom_rtt+0x0 (0x2a000296fc0, 0x1691, 0x2, 0x21, 0x80000, 0x1)
-- trap data type: 0x30 (data access exception) rp: 0x2a10001b840 LEAF --
addr: 0x2a000296fc0
pc: 0x1002604c unix:memscrub_read+0x24: ldda [%o0] ASI_BLK_P, %f48
npc: 0x10026050 unix:memscrub_read+0x28: sub %o1, 0x1, %o1 ( dec %o1 )
global: %g1 0x1041b800
%g2 0x1041c000 %g3 0x1041ba38
%g4 0x3 %g5 0x2
%g6 0 %g7 0x2a10001bd20
out: %o0 0x2a000296fc0 %o1 0x1691
%o2 0x2 %o3 0x21
%o4 0x80000 %o5 0x1
%sp 0x2a10001b0e1 %o7 0x10025cc4
loc: %l0 0x2a000000000 %l1 0x16
%l2 0x6 %l3 0x16
%l4 0x3000078f800 %l5 0
%l6 0 %l7 0x2a10001b980
in: %i0 0x8000 %i1 0x93800000
%i2 0x10417408 %i3 0x10414a30
%i4 0x1000c364 %i5 0
%fp 0x2a10001b221 %i7 0x10025588
<leaf trap>unix:memscrub_read+0x24 (%o:0x2a000296fc0, 0x1691, 0x2, 0x21, 0x80000, 0x1)
unix:memscrub_scan+0x158 (0x8000, 0x93800000, 0x10417408, 0x10414a30, 0x1000c364, 0x0)
unix:memscrubber+0x330 (0x0, 0x1040d994, 0x1041740c, 0x151, 0x10417400, 0x1040da98)
unix:thread_start+0x4 (0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
-- end of kernel thread's stack --


==== analyzing panic thread stack for trap frames ====


==== using trap() frame 1 @ 0x2a10001b650, rp(%i4): 0x2a10001b840 ====

type(%l4): 0x30 (data access exception)

pc: 0x1002604c unix:memscrub_read+0x24: ldda [%o0] ASI_BLK_P, %f48
npc: 0x10026050 unix:memscrub_read+0x28: sub %o1, 0x1, %o1 ( dec %o1 )

global: %g1 unix(data):pcf+0x320
%g2 unix(data):pio_mutex+0x138 %g3 unix(data):cpu+0x0
%g4 0x3 %g5 0x2
%g6 0 %g7 0x2a10001bd20
out: %o0 0x2a000296fc0 %o1 0x1691
%o2 0x2 %o3 0x21
%o4 0x80000 %o5 0x1
%sp 0x2a10001b0e1 %o7 unix:memscrub_scan+0x158
loc: %l0 0x2a000000000 %l1 0x16
%l2 0x6 %l3 0x16
%l4 0x3000078f800 %l5 0
%l6 0 %l7 0x2a10001b980
in: %i0 0x8000 %i1 0x93800000
%i2 unix(data):memscrub_cv+0x0 %i3 unix(data):_DYNAMIC+0x9c0
%i4 unix:bzero+0x298 %i5 0
%fp 0x2a10001b221 %i7 unix:memscrubber+0x330

unix:memscrub_uninit_mem_config+0x14: or %g0, %g1, %o7 ( mov %g1, %o7 )
unix:memscrub_read+0x0: srl %o1, 0x0, %o1
unix:memscrub_read+0x4: rd %fprs, %o2 ( mov %fprs, %o2 )
unix:memscrub_read+0x8: wr 0x4, %fprs ( mov 0x4, %fprs )

unix:memscrub_read+0xc: 1: ldda [%o0] ASI_BLK_P, %f0
unix:memscrub_read+0x10: add %o0, 0x40, %o0 ( inc 0x40, %o0 )
unix:memscrub_read+0x14: ldda [%o0] ASI_BLK_P, %f16
unix:memscrub_read+0x18: add %o0, 0x40, %o0 ( inc 0x40, %o0 )
unix:memscrub_read+0x1c: ldda [%o0] ASI_BLK_P, %f32
unix:memscrub_read+0x20: add %o0, 0x40, %o0 ( inc 0x40, %o0 )
unix:memscrub_read+0x24: ldda [%o0] ASI_BLK_P, %f48
unix:memscrub_read+0x28: sub %o1, 0x1, %o1 ( dec %o1 )
unix:memscrub_read+0x2c: brnz,pt %o1, unix:memscrub_read+0xc (1b)
unix:memscrub_read+0x30: add %o0, 0x40, %o0 ( inc 0x40, %o0 )

unix:memscrub_read+0x34: jmpl [%o7 + 0x8], %g0 ( retl )
unix:memscrub_read+0x38: wr %o2, %fprs ( mov %o2, %fprs )
unix:mlsetup+0x0: save %sp, -0xc0, %sp
unix:mlsetup+0x4: sethi %hi(0x10408000) %g3 ( set 0x10408000, %g3 )
unix:mlsetup+0x8: sethi %hi(0x1041c000) %g5 ( set 0x1041c000, %g5 )
unix:mlsetup+0xc: add %g3, 0x30, %i3
unix:mlsetup+0x10: add %g5, 0x380, %g5 ( inc 0x380, %g5 )
SolarisCAT(vmcore.2)>

Thanks in advance
Fangfang

Last edited by Perderabo; 01-09-2006 at 08:08 AM.. Reason: Disable smilies for readability
# 2  
Old 01-09-2006
"Bad trap" usually means that kernel tried something impossible. Usually it is dereferencing a bad pointer. It could be hardware, but my first guess would be a kernel bug, most likely in some driver. However, that "cmd: sched" makes me suspect the scheduler in this case. Really, I would call place a service call with Sun for something like this. If that is not possible, I would make sure that I have the last patch cluster for the os. Did you recently add some hardware to your box? If so, check for patches to the driver it uses. Also there is prtdiag -v which might yield some clues.
# 3  
Old 01-09-2006
I agree with Perderabo that this probably isn't hardware. I've seen many hardware panics caused by bad CPU or memory in a Sun box, and the messages you got are quite different. I agree talking to Sun support is the best choice here. You could also go on their website and search the knowledge base for some of the error strings you got and see if that turns up anything.
# 4  
Old 01-10-2006
Thanks alot for your comments. I will come to Sun for further analysis.

The reason that I suspect HW is, there are 18 Solaris nodes in my system, they are exactly same in plateform/HW/OS/App(auto installed by DHCP script), only this node corrupted 4 times in 20 days with same reason(a little differ of addr). I thought high work load might crash the scheduler but it seems not true because the 18 nodes are configured in load balance...

Anyway, see what answer from Sun. Thanks again.
# 5  
Old 02-11-2009
please upload your reply get from SUN

Hola,

Can you please update your reply received from SUN about the panic error in SUN...since I also getting the same error

Thanks in advance!!!

Regards,
Jagdish Machhi
# 6  
Old 02-16-2009
Hi Jagdish,

No exact explanation for this case from SUN, however we upgraded system to 5.9 OS and then no more this kind of error. Hope helpful for u.

good luck
Fangfang
# 7  
Old 02-17-2009
There should be coredump analysis and RCA provided from SUN right?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

VM trap may work differently than a pure install trap.

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: That is the last reply I received from my instructor, and I'm looking for some alternatives. When using... (2 Replies)
Discussion started by: newuser45
2 Replies

2. Shell Programming and Scripting

Record the Signal Type or Number in Bash Trap function

In my Bash script I have an exit/cleanup function in a trap statement like: trap exitCleanup 1 2 3 6 15 25 Is there anyway to capture which signal # has occurred to record in a log file. Please note I am trying to avoid something like: trap 'mySignal=1; exitCleanup' 1 trap... (1 Reply)
Discussion started by: ckmehta
1 Replies

3. IP Networking

TTL for IP addr from DNS through C code

Hi All, I know that getaddrinfo() return the multiple IP addresses (if present) for a hostname. But, I want to know how to get the TTL value for this list from DNS. I want to get this TTL value and cache this IP address list for that much time and then again go for DNS resolution if TTL expires. ... (2 Replies)
Discussion started by: softindia
2 Replies

4. SCO

PANIC: k_trap - Kernel mode trap type 0x0000000E

Hi, i'm another question: I'm a directory /usr/data on my server sco unix 5.0.5: # du /usr/data 4386948 /usr/data I'm tried to connect to ftp directory /usr/data to this server and: PANIC: k_trap - Kernel mode trap type 0x0000000E Cannot dump 262040 pages to dumpdev hd(1/41):space... (3 Replies)
Discussion started by: sebpes
3 Replies

5. Shell Programming and Scripting

Cntl+z Trap is not detecting ??? Help required to add a trap detection ???

Hi folks, I have tried to add some trap detection in the below script....this script is used to monitor database activities...in a rather awkward way :rolleyes:.... The idea behind adding trap is that....this script creates lots of temporary files in the running folder to store the count... (1 Reply)
Discussion started by: frozensmilz
1 Replies

6. Solaris

Panic BAD TRAP errors

One of our Sun E450 machines crashed and has this message in the /var/adm/messages after it rebooted automatically. An extract of the log is below. I suspect it is memory, but I am not sure. Can anyone give me any ideas how to diagnose this correctly? Thanks Margaret Floyd Apr 10 08:18:54... (1 Reply)
Discussion started by: floydm
1 Replies

7. AIX

AIX 5.3 , gensyms command, translate 32 bit addr to 64 bit addr

I am trying to map the information from the gensyms command, Its gives information about the various symbols info like symbol type, addr offset, and the main libraries addr starting point. My problem is , how do I map this 32 bit addr to a 64 bit addr, I am trying to extract Segment # information... (0 Replies)
Discussion started by: mrmeswani
0 Replies

8. UNIX for Dummies Questions & Answers

finger, getting name and pts from ip addr

im ultra new at unix and was wondering if its possible to create aliases of the write command that send messeges to users using an ip address. i was thinking to use the '|awk' with the command finger but as i've said im a total newbie. thanks a lot in advance. (2 Replies)
Discussion started by: swag:þ
2 Replies

9. UNIX for Dummies Questions & Answers

bad trap & continuous reboot

I have a system that upon boot, will declare a bad trap and reboot, whereupon it encounters the same bad trap and reboots in an endless cycle until I stop it. I can get to the ok prompt. An attempt to boot in single user mode left the box completely hung and required a power cycle to re-establish... (3 Replies)
Discussion started by: forbin24
3 Replies

10. Filesystems, Disks and Memory

k_trap - kernel mode trap type 0x0000000E

HELP is urgently required, I run on SCO Unix 3 and this is the panic message that I get every time that I reboot 10U k_trap - kernel mode trap type 0x0000000E I have checked the swap already having the following results: #swap -l path dev swaplo blocks free... (3 Replies)
Discussion started by: alex_slb
3 Replies
Login or Register to Ask a Question