Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2005 22:39:38 -0400
From:      "Dan Langille" <dan@langille.org>
To:        freebsd-questions@freebsd.org
Subject:   correct instructions for building a 4.11 debugging kernel?
Message-ID:  <428A72AA.11715.48A609C7@localhost>

next in thread | raw e-mail | index | archive | help
Hi folks,

I'm trying to capture a dump from my 4.11 fatal trap 12.  Reading 
this URL:

   <http://www.freebsd.org/doc/en_US.ISO8859-
1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING>

I'm finding that I'm not getting the expected results.  In 
particular, I'm not getting the kernel I promised by the docs:

  The make(1) process will have built two kernels. kernel and
  kernel.debug.

I have no kernel.debug despite having done this:

cd /usr/src/sys/i386/conf/
config -g BAST
cd ../../compile/BAST
make depend && make && make install

I know I have a new kernel:

[root@bast:/] # ls -l /kernel*
-r-xr-xr-x  1 root  wheel  4077437 May 18 18:41 /kernel
-r-xr-xr-x  1 root  wheel  3559066 Sep 18  2001 /kernel.GENERIC
-r-xr-xr-x  1 root  wheel  3559066 Sep 18  2001 
/kernel.GENERIC.original
-r-xr-xr-x  1 root  wheel  4033421 May  8 19:38 /kernel.nodebug
-r-xr-xr-x  1 root  wheel  3954128 Apr  4  2003 /kernel.pre.tcp.patch
[root@bast:/] #


NOTE: /kernel.nodebug was renamed from /kernel.old to keep it around.

What am I missing?

FreeBSD bast.unixathome.org 4.11-STABLE FreeBSD 4.11-STABLE #1: Wed 
May 18 18:39:50 EDT 2005     dan@bast.example.org:/usr
/src/sys/compile/BAST  i386

Thank you
-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
   NEW brochure available at http://www.bsdcan.org/2005/advocacy/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?428A72AA.11715.48A609C7>