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>

next in thread | raw e-mail | index | archive | help
--_002_F46C10D2F60F034BB106EAB4CD7E833C7A463EFBC9ntqexnanoteqc_
Content-Type: text/plain; charset="iso-8859-1"
content-transfer-encoding: quoted-printable



Hi there

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

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

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 t=
he kernel?
2) Why would debug symbols (of all things!) make the difference between a wo=
rking and non-working kernel?
3) Does this point in the direction of some other (more serious problem perh=
aps?) with the hardware and/or other kernel drivers?

Thanks so much for any assistance.

Regards,
Dirk Kotze
Developer
Nanoteq


Important Notice:=0A=
=0A=
This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail leg=
al notice available at:=0A=
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
--_002_F46C10D2F60F034BB106EAB4CD7E833C7A463EFBC9ntqexnanoteqc_
Content-Type: text/plain; name="AVG Certification.txt"
Content-Description: AVG Certification.txt
Content-Disposition: attachment; filename="AVG Certification.txt"; size=92;
	creation-date="Tue, 24 Jan 2012 14:58:46 GMT";
	modification-date="Tue, 24 Jan 2012 14:58:46 GMT"
Content-Transfer-Encoding: base64


VGhlIG1lc3NhZ2UgZG9lcyBub3QgY29udGFpbiBhbnkgdGhyZWF0cw0KQVZHIGZvciBNUyBFeGNo
YW5nZSBTZXJ2ZXIgKDEwLjAuMTQxNiAtIDIxMDkvNDc1Nik=

--_002_F46C10D2F60F034BB106EAB4CD7E833C7A463EFBC9ntqexnanoteqc_--





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