Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2012 16:58:44 +0200
From:      Dirk Kotze <dk@Nanoteq.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   FW: Makeopts DEBUG=-g kernel option
Message-ID:  <F46C10D2F60F034BB106EAB4CD7E833C7A463EFBC9@ntq-ex.nanoteq.co.za>

index | next in thread | raw e-mail

[-- Attachment #1 --]


Hi there

I'm experiencing the following problem: All is well when I boot the standard FreeBSD 8.2 GENERIC kernel.  The moment however when I comment out the line the line below, the kernel hangs upon boot after detecting the em0 device (the motherboard has 2 Intel 8257x dual Gigabit Ethernet cards).
makeopts   DEBUG=-g

I'm using FreeBSD 8.2 on a WADE-8020 motherboard with an Intel QM57 chipset and Intel Core i5 CPU. 

The reason I'm trying to remove debugging options from the kernel is that I am trying to make the kernel footprint smaller.

This leaves me with a few questions:
1) What are the risks/drawbacks/advantages of leaving debugging symbols in the kernel?
2) Why would debug symbols (of all things!) make the difference between a working and non-working kernel?
3) Does this point in the direction of some other (more serious problem perhaps?) with the hardware and/or other kernel drivers?

Thanks so much for any assistance.

Regards,
Dirk Kotze
Developer
Nanoteq


Important Notice:

This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail legal notice available at:
http://www.nanoteq.com/corp_profile/disclaimer.asp


Important Notice:

This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail legal notice available at:
http://www.nanoteq.com/corp_profile/disclaimer.asp
[-- Attachment #2 --]
The message does not contain any threats
AVG for MS Exchange Server (10.0.1416 - 2109/4756)
help

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