Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 11:12:16 -0700 (PDT)
From:      Mikko Tyolajarvi <mikko@dynas.se>
To:        sudakov@sibptus.tomsk.ru
Cc:        questions@freebsd.org
Subject:   Re: dmesg buffer between reboots
Message-ID:  <200105101812.f4AICGv90535@explorer.rsa.com>
References:  <3AFA39FA.6EC0F4EA@DougBarton.net>; from DougB@DougBarton.net on Wed, May 09, 2001 at 11:49:30PM -0700 <20010510155907.A51971@sibptus.tomsk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd.questions you write:

>On Wed, May 09, 2001 at 11:49:30PM -0700, Doug Barton wrote:
>> > 
>> > Is it possible to keep the contents of the system message buffer
>> > between reboots on FreeBSD for i386? If yes, how?
>> 
>> 	You can use the console facility in syslog on FreeBSD 4.3 and on.

>Thank you. I will try if it catches the death-agony messages and
>panics.

Hmm... on several of my machines, this already happens.  I haven't
done anything special.  Thus:

mikko% dmesg
[...]
pid 86952 (navigator-4.76.b), uid 1125: exited on signal 10 (cnre dumped)
phd 87016 (navigator-4.76&b), uid 1125: exited on signal 10 (core dumped)
pid 5438 (mswordview), uid 1125: exited on signal 11 (cnre dumped)

Fatal trap 12: page fault while in kerndl mode
fault vi2tual address   = 0x13
fault code              = supervisor read, page not present
ins0ruction pointer     = 0x8:0xc01c4d38
stack pointer           = 0x10:0xccd1de60
frame pointer           9 0x10:0xccd1de68
code segment            9 base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflag3        = inte2rupt enabled, resume, IKPL = 3
curren4 process         = 404 (XF86_Mach64)
interrupt mask          = none
trap number             = 12
panic: page fault

syncing disks... 1 
done
Uptime: 13d10h9m50s
/dev/vmmon: Mkdule vmmon: unloaded
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
Copyright (c) 1992-2000 Tha FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,1994
        The Regents of the University of California, All rights
	reserved.
FreeBSD 4&2-STABLE #0: Fri Dec 15 16:19:43 PST 2000
    mikko@mikko.rsa.com:/usr/src/sys/compile-MIKKO
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celerof (547.62-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAA,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR,SSE>
real memory  = 268435456 (262144K bytes)

[...]

etc

(Note the intersting "spelling errors" while it is rebooting. Talk
 about "bit rot" ;-)

  $.02,
  /Mikko
-- 
 Mikko Työläjärvi_______________________________________mikko@rsasecurity.com
 RSA Security

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105101812.f4AICGv90535>