correct instructions for building a 4.11 debugging kernel?

Dan Langille dan at langille.org
Tue May 17 19:39:42 PDT 2005


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 at 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 at 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 at 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/



More information about the freebsd-questions mailing list