Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2002 16:07:27 +0200
From:      "Patrick O'Reilly" <bsd@perimeter.co.za>
To:        "Andrew Gallatin" <gallatin@cs.duke.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Kernel Panic = System crash 8 times in 4 days
Message-ID:  <054301c24aae$6b99ed50$b50d030a@PATRICK>
References:  <15718.14981.573727.965999@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Andrew Gallatin" <gallatin@cs.duke.edu>


> Patrick,
>
> Your problem appears to be happening in a loaded module.
> From the stack trace, it would seem to be a loaded module dealing with
> filesystems.  My money is on vinum.
>
> However, its a bit difficult to get a meaningful stack trace from a
> loadable module.  To try debugging the module, grab the "gdbmods"
> shells script from: http://people.freebsd.org/~gallatin/gdbmods You
> run it as root:
> gdbmods /sys/compile/KERNCONF/kernel.debug /var/crash/vmcore.0
>
Andrew,

thanks for helping out.

I seem to be getting a different problem with gdbmods:

# ./gdbmods kernel.debug.200208211211 vmcore.2
please be patient while loaded modules are resolved
gdbmods using kernel: kernel.debug.200208211211
gdbmods using core:   vmcore.2

gdb extra arguments:
if: Missing file name.
#

> That means that either your crashdump doesn't match the kernel.debug
> you told the script to use, or the kernel you told the script to use
> does not have debug symbols.
>
> If this does not work, or looks too complex, can you please compile
> vinum statically into your kernel.  Then when you crash, you should
> see function names between spec_strategy() and trap() in the stack
> trace.

OK - It looks to me like I need to build with:
options         VINUMDEBUG

Is that it?  Then "make kernel" and bounce her?

Regards,
Patrick O'Reilly.
    ___        _            __
   / _ )__ __ (_)_ __ ___ _/ /____ __
  / __/ -_) _) /  ~  ) -_), ,-/ -_) _)
 /_/  \__/_//_/_/~/_/\__/ \__/\__/_/
    http://www.perimeter.co.za




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?054301c24aae$6b99ed50$b50d030a>