Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* vmzcore.NN not in compressed format but compressed?
@ 2007-10-08 18:07 Doesnt Compute
  2007-10-10 21:24 ` Oisin McGuinness
  2007-10-11 15:00 ` JLPARSEC
  0 siblings, 2 replies; 4+ messages in thread
From: Doesnt Compute @ 2007-10-08 18:07 UTC (permalink / raw)


I'm looking for a 60-ft bungee cord and a 40-ft bridge....

I'm trying to analyze a crash dump.  Here is the current issue:

# pwd
/usr/adm/crash
#
# ls *.28
crash-data.28  vmunix.28      vmzcore.28
#
# file *.28
crash-data.28:  ascii text
vmunix.28:      COFF format alpha executable or object module not
stripped - version 3.13-14
vmzcore.28:     compressed memory image(dump) file
#
#
# ln -s vmzcore.28 vmzcore.28.Z
#
# zcat vmzcore.28.Z | dd of=/tmp/vmcore.28 conv=sparse
vmzcore.28.Z: not in compressed format
0+0 records in
0+0 records out
#
#


So the file is compressed, but it's not compressed.  HUH?  Naturally
dbx won't touch it.  Any thoughts?

Google has not been my friend on this one.

-- robert



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vmzcore.NN not in compressed format but compressed?
  2007-10-08 18:07 vmzcore.NN not in compressed format but compressed? Doesnt Compute
@ 2007-10-10 21:24 ` Oisin McGuinness
  2007-10-11 15:00 ` JLPARSEC
  1 sibling, 0 replies; 4+ messages in thread
From: Oisin McGuinness @ 2007-10-10 21:24 UTC (permalink / raw)


On Oct 8, 2:07 pm, Doesnt Compute <doesntcomput...@gmail.com> wrote:
> I'm looking for a 60-ft bungee cord and a 40-ft bridge....
>
> I'm trying to analyze a crash dump.  Here is the current issue:
>
> # pwd
> /usr/adm/crash
> #
> # ls *.28
> crash-data.28  vmunix.28      vmzcore.28
> #
> # file *.28
> crash-data.28:  ascii text
> vmunix.28:      COFF format alpha executable or object module not
> stripped - version 3.13-14
> vmzcore.28:     compressed memory image(dump) file
> #
> #
> # ln -s vmzcore.28 vmzcore.28.Z
> #
> # zcat vmzcore.28.Z | dd of=/tmp/vmcore.28 conv=sparse
> vmzcore.28.Z: not in compressed format
> 0+0 records in
> 0+0 records out
> #
> #
>
> So the file is compressed, but it's not compressed.  HUH?  Naturally
> dbx won't touch it.  Any thoughts?
>
> Google has not been my friend on this one.
>
> -- robert

man 8 expand_dump

"By default, kernel crash dump files vmzcore.# are compressed...."

An "apropos crash" on a Tru64 5.1B system found this.

You may want to or have to use dbx afterwards instead of gdb...

Hope it helps!

Oisin McGuinness



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vmzcore.NN not in compressed format but compressed?
  2007-10-08 18:07 vmzcore.NN not in compressed format but compressed? Doesnt Compute
  2007-10-10 21:24 ` Oisin McGuinness
@ 2007-10-11 15:00 ` JLPARSEC
  2007-11-29 18:19   ` Doesnt Compute
  1 sibling, 1 reply; 4+ messages in thread
From: JLPARSEC @ 2007-10-11 15:00 UTC (permalink / raw)


On Oct 8, 12:07 pm, Doesnt Compute <doesntcomput...@gmail.com> wrote:
> I'm looking for a 60-ft bungee cord and a 40-ft bridge....
>
> I'm trying to analyze a crash dump.  Here is the current issue:
>
> # pwd
> /usr/adm/crash
> #
> # ls *.28
> crash-data.28  vmunix.28      vmzcore.28
> #
> # file *.28
> crash-data.28:  ascii text
> vmunix.28:      COFF format alpha executable or object module not
> stripped - version 3.13-14
> vmzcore.28:     compressed memory image(dump) file
> #
> #
> # ln -s vmzcore.28 vmzcore.28.Z
> #
> # zcat vmzcore.28.Z | dd of=/tmp/vmcore.28 conv=sparse
> vmzcore.28.Z: not in compressed format
> 0+0 records in
> 0+0 records out
> #
> #
>
> So the file is compressed, but it's not compressed.  HUH?  Naturally
> dbx won't touch it.  Any thoughts?
>
> Google has not been my friend on this one.
>
> -- robert


Hello,

As Olsin mentioned, this file is already compressed (the "z" in
"vmzcore" implies this).  If you want to un-compress it, use
"expand_dump" as Olsin also mentioned.
The same applies for using "dbx" to analyze the dump. :-)  It's not
often that you need to un-compress a vmzcore file though, so before
doing that, see my comments below.

Since this is a dump of the running system (and not an application
core dump, for example), I would recommend using the syntax "dbx -k
vmunix.28 vmzcore.28" (the "-k" says that you are evaluating a kernel
image).

Before doing that though, you may want to simply look through the
"crash-data.28" file; this is an ascii-readable file that provides a
thorough summary (oftentimes) of what happened at the time of the
crash.  You will get a panic string in there, as well as a stack trace
that shows the routines leading to panic (among other things).

Hope this helps,

--John Lanier



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vmzcore.NN not in compressed format but compressed?
  2007-10-11 15:00 ` JLPARSEC
@ 2007-11-29 18:19   ` Doesnt Compute
  0 siblings, 0 replies; 4+ messages in thread
From: Doesnt Compute @ 2007-11-29 18:19 UTC (permalink / raw)


Thanks to all in thread!!!

I admit to not knowing about expand_dump.  I used it, it worked.

I also corrected my dbx syntax, and used the line TL gave.  Finding
pages on Google before gave the lines I quoted before, which proved
less than useful.

Again, thanks to all!!  And to recap, the crashes SEEM to be actually
from a network driver on the gigabit, not the SCSI talking to the RAID
array.  I was blaming a new RAID, when it seems I should blame Chinese
kids and bad tcp packets.  Okay, and my own stupidity.

This system has a public adapter.  No firewall in front (did I mention
my own stupidity?)  SSH and SSL only allowed inside, but that did not
seem to help, because either 1) massive SSH hits caused it to crash,
or 2) bad tcp packets cause it to crash.  Or both.  Using pf on the
interface and blocking all IPs seen in China, Korea and Taiwan has
rectified the issue (no crashes in 40+ days!!!).

A very good transparent firewall going in front of this system RSN.

Thanks again!

-- robert


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-29 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 18:07 vmzcore.NN not in compressed format but compressed? Doesnt Compute
2007-10-10 21:24 ` Oisin McGuinness
2007-10-11 15:00 ` JLPARSEC
2007-11-29 18:19   ` Doesnt Compute

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox