Subject: Re: crash on reboot on i386
To: None <thorpej@nas.nasa.gov>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: current-users
Date: 03/12/1998 16:59:36
Jason Thorpe wrote:
> On Thu, 12 Mar 1998 16:40:28 +0100 (MET) 
>  Jaromir Dolecek <dolecek@ics.muni.cz> wrote:
> 
>  > On reboot, I often get a page fault trap. Every time this happens,
>  > CD (ATAPI) is mounted.
>  > 
>  > message from ddb:
>  > 
>  > vm_fault() -> 1
> 
> ...you left out some info here... can you provide us with the complete
> vm_fault printf?  It includes the faulting address, which is important to
> determine if it was a null pointer or if it was a pointer access through
> freed memory, etc.
> 

Well, it's vanilla 1.3 kernel, not current.
Unfortunately, I can't get the arguments of vm_fault() from crash dump.
(BTW - is it possible to dump a kernel core from ddb ?).
gdb has written this:

#0  0x6 in ?? ()
#1  0xf01c9747 in cpu_reboot (howto=256, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:1177
#2  0xf01264ad in panic (fmt=0xf01cd17a "trap")
    at ../../../../kern/subr_prf.c:150
#3  0xf01cd3d2 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -559038737, 
      tf_esi = -192405896, tf_ebp = -192405888, tf_ebx = -259000576, 
      tf_edx = 30, tf_ecx = -259039104, tf_eax = -559038737, tf_trapno = 6, 
      tf_err = 0, tf_eip = -266572127, tf_cs = 8, tf_eflags = 66178, 
      tf_esp = -253895688, tf_ss = 120000, tf_vm86_es = 3, 
      tf_vm86_ds = -266275576, tf_vm86_fs = -259000576, 
      tf_vm86_gs = -192405860}) at ../../../../arch/i386/i386/trap.c:238


I'try to write down the arguments too next time this happens.
Should I find out some more info ?

Jaromir
-- 
Jaromir Dolecek <dolecek@ics.muni.cz>	http://www.ics.muni.cz/~dolecek/
-------------------------------------------------------------------------
It is better never to have been born.  But who among us has such luck?
One in a million, perhaps.