crash dump

Hi allIs it possible to do a crash dump analysis using adb?I f anybody having any idea about this.pls let me knowRegardsRPS
[158 byte] By [RajeshPS] at [2007-11-26 7:24:36]
# 1

As of the kernel crash dump? You can analyze them using "mdb".

In /var/crash/<hostname> you have multiple files all with a number as extention, just use the number as argument to mdb:

example:

# cd /var/crash

# ls

unix.0 vmcore.0

# mdb 0

A good command to "mdb" is then "$c" to see the stack trace.

7/M

mAbrante at 2007-7-6 19:11:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Actully my system has rebooted, i think its due to some hardware error,i need to trace it using mdb. how can i do that
RajeshPS at 2007-7-6 19:11:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
The steps above, if you have any recent files in /var/crash/<hostname>, also you should check in /var/adm/messages* 7/M.
mAbrante at 2007-7-6 19:11:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4
I got the following panic message after executing mdbvpanic(3, 101468b0, 1, b1fbe, 0, 0)what could be the problem?
RajeshPS at 2007-7-6 19:11:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5

Something like this?

panicsys(106d70c,71b1ff78,1434628,1,0,0) + 378

vpanic(106d70c,71b1ff78,0,0,0,0) + cc

panic(106d70c,106d670,2,2,0,0) + 1c

ptl1_panic_handler(71b1e590,0,72e58000,4024a148,72e58000,2000) + 68

If you do, try and run:

strings vmcore.<number> |grep MMU

if you see this message:

bad kernel MMU miss at TL 2

.. you are running into the same bug as i am :-) I haven't seen a fix for it, but i suspect that it helps if you add the latest recommended cluster or at least the kernel patches..

7/M.

mAbrante at 2007-7-6 19:11:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 6

my out put is just like this

mdb 1

Loading modules: [ unix krtld genunix ip nfs ipc ptm logindmux lofs ]

> $c

vpanic(3, 101468b0, 1, b1fbe, 0, 0)

send_one_mondo+0xb8(1041b2e0, 1, 1041ad20, 1, 18fa7c6d11cd7, b1fbe)

send_mondo_set+0x20(2, 1, 2, 1, 14, 60)

xt_some+0xe8(2, 8, 1041d4bc, c, 0, 0)

xt_sync+0x44(ffffffffffffffff, 0, 2000, 31000ca6568, 0, 3100202b2c0)

hat_pagesync+0x1ec(1, 104eb0a8, 0, 1, 0, ffffffffffffffff)

pvn_getdirty+0xcc(3100202b2c0, 0, 0, 0, 5de8, 1041bd60)

ufs_putpages+0x204(2000, 0, 3000c82f008, 0, 0, 0)

ufs_putpage+0x15c(3000c82ef58, 0, 2000, 0, 30000aad088, 30000029530)

segmap_release+0x248(0, 10441e68, 300005f6b80, 0, 3000c82ef58, 2a7541d0000)

ufs_dirremove+0x538(30005b768f9, 3000c82f088, 3000d70b6b8, 3000c82f008, 4000,

f000)

ufs_remove+0x178(30000aad088, 30005b768f9, 30000aad088, 3000c82ef58, 3000c82eec8, 30004356c40)

vn_remove+0x1e4(1, 30000a9d868, 0, a, 0, 0)

unlink+0xc(bb606, ff35a000, ffbed8e4, 0, 24, ff29bd70)

syscall_trap32+0xa8(bb606, ff35a000, ffbed8e4, 0, 24, ff29bd70)

RajeshPS at 2007-7-6 19:11:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 7
Just download the mdebug.sh script from Sunsolve. http://access1.sun.com/tools/MDeBug/README.html
implicate_order at 2007-7-6 19:11:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 8

Hi There

do you know how to retrieve multiple file names, I have 20 input boxes on a form which uploads multiple files, works fine, but now i want ti insert the filenames into the databasse, i have a table for images 1-20(fields image1, image2, through to image20) so i need to do an insert statement eg, insert into tbl_images (image1 ect) VALUES ( '" & image1 & "', ect)

but how do i get the values of the filenames, can anyone help me please

garethr28 at 2007-7-6 19:11:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 9
thanks for the mdebug script, It clearly shows cpu 3 is panic
RajeshPS at 2007-7-6 19:11:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...