From owner-cvs-all@FreeBSD.ORG Thu Oct 27 21:20:44 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.ORG Delivered-To: cvs-all@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5AA816A41F; Thu, 27 Oct 2005 21:20:44 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E2DA43D48; Thu, 27 Oct 2005 21:20:43 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j9RLKfhx037887; Fri, 28 Oct 2005 00:20:41 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 85926-05; Fri, 28 Oct 2005 00:20:39 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j9RLGnFP037784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Oct 2005 00:16:49 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id j9RLGpEH076230; Fri, 28 Oct 2005 00:16:51 +0300 (EEST) (envelope-from ru) Date: Fri, 28 Oct 2005 00:16:51 +0300 From: Ruslan Ermilov To: Dag-Erling Sm?rgrav Message-ID: <20051027211651.GA55369@ip.net.ua> References: <200510271424.j9REOkr8091913@repoman.freebsd.org> <20051027174042.GK68470@ip.net.ua> <864q723dqt.fsf@xps.des.no> <86zmou1ykb.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <86zmou1ykb.fsf@xps.des.no> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: cvs-src@FreeBSD.ORG, "Bjoern A. Zeeb" , src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf kern.post.mk kmod.mk X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 21:20:45 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 27, 2005 at 10:42:44PM +0200, Dag-Erling Sm?rgrav wrote: > Now I'm even more confused - I just built and installed a kernel using > yesterday's sources (kern.post.mk 1.86, kmod.mk 1.197); the modules > that were installed have debugging symbols, and work flawlessly, which > contradicts your commit logs. >=20 > What problem are you trying to solve? >=20 On amd64, different format module objects are used. When loading modules with debugging, they consume much more space than non-debug versions: hammer# pwd /usr/src/sys/modules/if_tun hammer# make DEBUG_FLAGS=3D-g -s hammer# kldload ./if_tun.ko hammer# kldstat |grep if_tun 14 1 0xffffffffa7b76000 1f6d if_tun.ko hammer# kldunload if_tun.ko hammer# kldload ./if_tun.ko.debug hammer# kldstat | grep if_tun 14 1 0xffffffffa7beb000 ad77 if_tun.ko.debug Note the difference in the 4th field. Also, such modules have currently unsupported relocation type, R_X86_64_32, which is easy to fix if needs be. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDYUPDqRfpzJluFF4RAgRrAKCT0Tphbr7dVh5UbPaO3K8NhLtlNACePndX irixEnoxF83abhy0/xMUMVI= =Mzup -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--