Re: how to interpret crash?
From: David Magda (dmagda_at_ee.ryerson.ca)
Date: 05/28/04
- Previous message: Robert Watson: "Re: how to interpret crash?"
- In reply to: Robert Watson: "Re: how to interpret crash?"
- Next in thread: Daniel O'Connor: "Re: how to interpret crash?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 May 2004 20:30:40 -0400 To: Robert Watson <rwatson@freebsd.org>
On May 27, 2004, at 19:55, Robert Watson wrote:
> you need. If you've cvsup'd and no longer have the source code for the
> old kernel, regardless of having debugging symbols, you're in a much
> worse
> starting point for tracking down the problem.
I don't pretend to have the knowledge to actually fix a kernel issue.
:> I would simply want to have a way to provide a useful backtrace for
developers. Even if I cvsup'd I could always use CVSWeb to look at the
previous revision.
> One important reason that the debugging kernel isn't kept around is
> space
> considerations: in -CURRENT, a 5mb kernel will generally be
> accompanied by
Yes, this is why I suggested a variable in make.conf with an .if
statement in the Makefiles.
Searching through the the Makefiles: around line 193 in file
sys/conf/kern.post.mk you have (from a 5.2.1-p7 system):
.if defined(DEBUG) && defined(INSTALL_DEBUG)
${INSTALL} -p -m 555 -o root -g wheel ${FULLKERNEL}
${DESTDIR}${KODIR}
.else
${INSTALL} -p -m 555 -o root -g wheel ${KERNEL_KO}
${DESTDIR}${KODIR}
.endif
Would changing it to the following work?
.if defined(DEBUG) && defined(INSTALL_DEBUG)
${INSTALL} -p -m 555 -o root -g wheel ${FULLKERNEL}
${DESTDIR}${KODIR}
.else
${INSTALL} -p -m 555 -o root -g wheel ${KERNEL_KO}
${DESTDIR}${KODIR}
.if defined(INST_KERNDEBUG)
${INSTALL} -p -m 555 -o root -g wheel ${FULLKERNEL}
${DESTDIR}${KODIR}
.endif
.endif
I haven't checked how FULLKERNEL is defined.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
- Previous message: Robert Watson: "Re: how to interpret crash?"
- In reply to: Robert Watson: "Re: how to interpret crash?"
- Next in thread: Daniel O'Connor: "Re: how to interpret crash?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|