From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,df4437f135333d00 X-Google-Attributes: gidfa528,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!y42g2000hsy.googlegroups.com!not-for-mail From: JLPARSEC Newsgroups: comp.unix.tru64 Subject: Re: vmzcore.NN not in compressed format but compressed? Date: Thu, 11 Oct 2007 08:00:32 -0700 Organization: http://groups.google.com Message-ID: <1192114832.937434.98460@y42g2000hsy.googlegroups.com> References: <1191866855.611845.104820@o80g2000hse.googlegroups.com> NNTP-Posting-Host: 75.70.214.221 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1192114833 25654 127.0.0.1 (11 Oct 2007 15:00:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 11 Oct 2007 15:00:33 +0000 (UTC) In-Reply-To: <1191866855.611845.104820@o80g2000hse.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: y42g2000hsy.googlegroups.com; posting-host=75.70.214.221; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.unix.tru64:97 On Oct 8, 12:07 pm, Doesnt Compute 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