X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C8B7B6.AF64D120@onstor-exch02.onstor.net>; Fri, 16 May 2008 17:41:03 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: "dump not yet implemented" message at BSD crash
Date: Fri, 16 May 2008 17:41:01 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E09FCF845@onstor-exch02.onstor.net>
In-Reply-To: <20080516173239.176272ba@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: "dump not yet implemented" message at BSD crash
Thread-Index: Aci3tYM7+W9KQQP4TfS+3E4SHtlgpAAAIvRw
References: <BB375AF679D4A34E9CA8DFA650E2B04E09FCF801@onstor-exch02.onstor.net> <20080516173239.176272ba@ripper.onstor.net>
From: "Warren Gale" <warren.gale@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

It all started with, there was a question about=20
I see this message on the console, why is there no "0.0" crash file.

I like the "if there isn't any, there isn't any"

Warren

-----Original Message-----
From: Andy Sharp=20
Sent: Friday, May 16, 2008 5:33 PM
To: Warren Gale
Subject: Re: "dump not yet implemented" message at BSD crash

What's the question?  It looks like just about all info is there, so I
don't know what <someone> wants to know.

A crash file can't always be created: after all, it's created by code
in the kernel, and if the kernel crashes too badly, well, it ain't
gonna be able to execute anything.  Being out of memory is a good
example.  It probably requires memory to write the crash file, and if
there isn't any, there isn't any.

 On Fri, 16 May 2008 16:42:18 -0700 "Warren Gale"
<warren.gale@onstor.com> wrote:

> Andy,
>    I thought that I should forward this to you also.=20
>  Know you don't really care about BSD but U the man :-)
>=20
> Warren
>=20
> _____________________________________________
> From: Warren Gale=20
> Sent: Friday, May 16, 2008 4:39 PM
> To: Shin Irie
> Cc: Warren Gale
> Subject: RE: "dump not yet implemented" message at BSD crash
>=20
> Irie-san,
>=20
> (please excuse me if I didn't get the greeting correct)
>=20
> I have verified that if you see this message on the SSC console.
>=20
> 		diag2280# panic: trap
> 		Saved crashdump.
>=20
> 		dumping to dev 401, offset 8
> 		dump not yet implementedSystem restart.
>=20
> It will write the data to PROM crash save area, and after a reboot
> there will be a "0.0" file in /var/crash. (eventually)
>=20
> I have seen it take up to 8 minutes, before the file shows up in
> /var/crash.=20
> Seems to always take at least 1 minute before the file "0.0" appears.
>   Don't know why it takes so long.
>=20
> BSD does not erase the SSC crash info in PROM after it retrieves it
> and creates the "0.0" file,
> but does over write the PROM crash save area with the new crash.
>=20
> I have seen many reboots in my testing that does not produce any error
> indication.
> Just re-boots.
>=20
> I have seen messages like:
> 		 diag2280#
> 		  Message from syslogd@diag2280 at Fri May 16 13:37:01
> 2008 ...
> 		  diag2280 /bsd: WARNING: system memory is running low
>   -- then reboots --
>=20
> This does not produce a "0.0" file, nor is there any data saved to
> PROM crash save area.
>=20
>=20
> I have seen where chassis d is not responding, then reboots.
>=20
> 		Message from syslogd@diag2280 at Fri May 16 14:28:25
> 2008 ...
> 		diag2280 /bsd: WARNING: system memory is running low
> 		chassisd not responding...system restart
> 		System restart.
> This does not produce a "0.0" file, nor is there any data saved to
> PROM crash save area either.
>=20
>=20
> I don't think there is much more I can investigate here.
> Sandrine also stated in a different e-mail thread,  that BSD does not
> always produce a crash file.
>         (RE: Case 8089/ NetOne/ Crashdump registered, but no crash
> dump saved)
>=20
> Thanks,
> Warren
>=20
>=20
> _____________________________________________
> From: Warren Gale=20
> Sent: Wednesday, May 14, 2008 10:43 AM
> To: Shin Irie
> Subject: RE: "dump not yet implemented" message at BSD crash
>=20
> HI Irie,
>=20
> Yes.
>=20
> I have not been able to make it create crashdump files all the time.
> ( got 2 files out of 7 attempts)
>=20
> The "0.0" file that is created is not readable like the crash files
> from FP/TXRX
> Here is the wiki link I got.=20
>      You'll find the information here:
> http://wiki.onstor.net/wiki/Coredump_and_crashdump.
>=20
> When the message is written to the console, "Saved crashdump.",
>  it has saved a dump to PROM, but the next or subsequent reboot
> does not always pull the info from PROM to create a "0.0" file. =20
> Not sure why yet.
>=20
> Still looking into this.
>=20
> Warren
>=20
>=20
> _____________________________________________
> From: Shin Irie=20
> Sent: Wednesday, May 14, 2008 4:04 AM
> To: Warren Gale
> Subject: FW: "dump not yet implemented" message at BSD crash
>=20
> Warren,
>=20
> I hear you are looking into this issue. Do you have any idea about
> this message?
>=20
> No crashdump was generated after BSD crash, and this appeared on the
> serial console.
>=20
> -------------------
> bc01 panic: trap
> Saved crashdump.
>=20
> dumping to dev 401, offset 8
> dump not yet implementedSystem restart.
> -------------------
>=20
>=20
> --
> Irie
>=20
>=20
>=20
> ______________________________________________=20
> From: 	Larry Scheer =20
> Sent:	Saturday, May 10, 2008 8:34 AM
> To:	Maxim Kozlovsky; Eric Barrett; Shin Irie; Ed Kwan; Jan
> Seidel; dl-cstech
> Subject:	RE: "dump not yet implemented" message at BSD crash
>=20
> Max is right, when I was looking at the code I missed the routine,
> located in nfx-tree not in openbsd/src, that writes the crash-dump to
> PROM. The crashdump does get written to PROM. Warren is looking into
> why /var/crash/0.0 may not be written completely when the system
> reboots.
>=20
> Larry
> _____________________________________________
> From: Maxim Kozlovsky=20
> Sent: Friday, May 09, 2008 4:16 PM
> To: Eric Barrett; Larry Scheer; Shin Irie; Ed Kwan; Jan Seidel;
> dl-cstech
> Subject: RE: "dump not yet implemented" message at BSD crash
>=20
> I gave the correct explanation. We save the crash dumps and don't save
> the core dumps. Both messages are correct. "Saved crashdump" means we
> saved crashdump without an error as far as we know, "Dump not
> implemented" means core dump is not implemented.
>=20
> _____________________________________________
> From: Eric Barrett=20
> Sent: Friday, May 09, 2008 4:13 PM
> To: Maxim Kozlovsky; Larry Scheer; Shin Irie; Ed Kwan; Jan Seidel;
> dl-cstech
> Subject: RE: "dump not yet implemented" message at BSD crash
>=20
> But also useful to have a (truthful) explanation when a customer asks!
>=20
>=20
> _____________________________________________=20
> From: 	Maxim Kozlovsky =20
> Sent:	Friday, May 09, 2008 4:05 PM
> To:	Eric Barrett; Larry Scheer; Shin Irie; Ed Kwan; Jan Seidel;
> dl-cstech
> Subject:	RE: "dump not yet implemented" message at BSD crash
>=20
> It is much safer to completely ignore the message than to try to
> remember which portion of it was right and which was wrong.=20
>=20
> _____________________________________________
> From: Eric Barrett=20
> Sent: Friday, May 09, 2008 4:01 PM
> To: Maxim Kozlovsky; Larry Scheer; Shin Irie; Ed Kwan; Jan Seidel;
> dl-cstech
> Subject: RE: "dump not yet implemented" message at BSD crash
>=20
> I think Larry's information about the "dump not implemented" message
> is still quite informative.
>=20
> _____________________________________________=20
> From: 	Maxim Kozlovsky =20
> Sent:	Friday, May 09, 2008 3:59 PM
> To:	Larry Scheer; Shin Irie; Ed Kwan; Jan Seidel; dl-cstech
> Subject:	RE: "dump not yet implemented" message at BSD crash
>=20
> Please disregard Larry's message.
>=20
> Correct answer is we save BSD crash dumps but don't save the core
> dumps.
>=20
> _____________________________________________
> From: Larry Scheer=20
> Sent: Friday, May 09, 2008 3:51 PM
> To: Shin Irie; Ed Kwan; Jan Seidel; dl-cstech
> Subject: RE: "dump not yet implemented" message at BSD crash
>=20
> The portion of the BSD code that generates this message comes from a
> routine that intended to write a crashdump to PROM. For some reason
> lost in antiquity the routine never writes the information to PROM.
> The routine was never finished in the version of OpenBSD that we use
> (OpenBSD 2.8.) This is the original MIPS kernel code supplied by
> OpenBSD foundation.
>=20
> The message "Saved crashdump" is erroneous. The message "dump not yet
> implemented" is accurate. The dump is never written and the system
> reboots.
>=20
> Ed is correct, we don't save BSD core dumps.
>=20
> Larry
> _____________________________________________
> From: Shin Irie=20
> Sent: Friday, May 09, 2008 3:39 PM
> To: Ed Kwan; Jan Seidel; dl-cstech
> Subject: RE: "dump not yet implemented" message at BSD crash
>=20
> We save BSD crashdump /var/crash/0.0. Looks it is not generated when
> this message appeared on the serial console.  Do you know why?
>=20
>=20
> --
> Irie
>=20
>=20
>=20
> _____________________________________________=20
> From: 	Ed Kwan =20
> Sent:	Saturday, May 10, 2008 6:03 AM
> To:	Jan Seidel; Shin Irie; dl-cstech
> Subject:	RE: "dump not yet implemented" message at BSD crash
>=20
> We don't save BSD core dumps.
>=20
> _____________________________________________
> From: Jan Seidel=20
> Sent: Friday, May 09, 2008 1:50 PM
> To: Shin Irie; dl-cstech
> Subject: RE: "dump not yet implemented" message at BSD crash
>=20
> Yesterday I saw a very similar error on my filer (cheetah running on
> sub20), but I don't know where it came from:
>=20
> 		May  8 14:37:14 eng25 : 0:0:nfxsh:NOTICE: cmd[0]:
> volume show  : status[0]
> 		May  8 14:37:32 eng25 : 0:0:snmpd:NOTICE: getEnvInfo:
> Failed to get PS/Fan info - rc=3D0=20
> 		panic: malloc: out of space in kmem_map
> 		Saved crashdump.
>=20
> 		dumping to dev 411, offset 8
> 		dump not yet implementedSystem restart.
>=20
> Regards,
> Jan
>=20
> _____________________________________________
> From: Shin Irie=20
> Sent: Friday, May 09, 2008 1:49 AM
> To: dl-cstech
> Subject: "dump not yet implemented" message at BSD crash
>=20
> I have a customer who saw these console messages when the filer
> crashed with too many SSH sessions, that is a BSD crash.  No
> crashdump was generated. Any idea about why no crashdump generated?
>=20
> -------------------
> bc01 panic: trap
> Saved crashdump.
>=20
> dumping to dev 401, offset 8
> dump not yet implementedSystem restart.
> -------------------
>=20
>=20
>=20
>=20
> --
> Irie
>=20
