The easiest way is to have a serial console.
that is VERY easy to do.
simply add the line
to the file /boot/loader.conf
After that you can also work on getting core-dumps (man dumpon)
and use gdb to get backtraces etc.
Some machines don't clear all of ram so "dmesg" can sometimesm show panic
messages from the last session too.
On Thu, 30 Aug 2001, Jim Bryant wrote:
> I'm in the process of getting set up for testing KSE too, but I was wondering, how
>are you capturing the panic dump? Do you run a
> serial console or something to do it?
> Carlo Dapor wrote:
> >>can you try the same with a "matching" -current?
> >>I heard that msdosfs is bombing there too.
> >>(just to confirm this.. if it works there but not with KSE
> >>then we have work to do :-)
> > I build and run a kernel just before applying the patches, that was able to
> > mount the partition and 'accepted' reads/writes/deletes/create directories etc.
> > for a good three to four hours.
> > As I stated earlier, the kse-patched kernel produced this:
> >>Fatal trap 12: page fault while in kernel mode
> >>fault virtual address = 0x4
> >>fault code = supervisor read, page not present
> >>instruction pointer = 0x8:0xc11fa49a
> >>stack pointer = 0x10:0xca36aa70
> >>frame pointer = 0x10:0xca36ae20
> >>code segment = base 0x0, limit 0xfffff, type 0x1b
> >> = DPL 0, pres 1, def32 1, gran 1
> >>processor eflags = interrupt enabled, resume, IOPL = 0
> >>current process = 24854 (mount_msdosfs)
> >>trap number = 12
> >>panic: page fault
> >>syncing disks... panic: bdwrite: buffer is not busy
> >>Uptime: 15h12m23s
> >>Automatic reboot in 15 seconds - press a key on the console to abort
> >>--> Press a key on the console to reboot <--
> > Right now, I am applying src-cur.4939.gz, after having reversed the KSE
> > patches. I am building a brand new kernel next.
> > I'll post more on this in very soon.
> > Ciao, derweil,
> > --
> > Carlo
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-current" in the body of the message
> ET has one helluva sense of humor!
> He's always anal-probing right-wing schizos!
> POWER TO THE PEOPLE!
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message