From owner-freebsd-questions Thu Mar 21 12:15:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by hub.freebsd.org (Postfix) with ESMTP id 3E23B37B404 for ; Thu, 21 Mar 2002 12:15:46 -0800 (PST) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id g2LKFj705253 for ; Thu, 21 Mar 2002 22:15:45 +0200 Message-Id: <200203212015.g2LKFj705253@lv.raad.tartu.ee> Received: from SpoolDir by INFO (Mercury 1.48); 21 Mar 02 22:14:55 +0200 From: "Toomas Aas" Organization: Tartu City Government To: freebsd-questions@freebsd.org Date: Thu, 21 Mar 2002 22:10:20 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: kernel build procedure does not update kernel X-info: Headers changed by Barricade Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! I'm in a process of patching some 4.4-RELEASE machines for recent zlib security advisory. I downloaded and applied the patch, rebuilt the /usr/src/lib/libz part and then went through the usual procedure of: cd /usr/src/sys/i386/conf /usr/sbin/config MYKERNEL cd ../../compile/MYKERNEL make depend make make install The procedure runs through looking quite normal and gives no errors, so I issue 'shutdown -r now'. However, the uname -a output still contains the following: FreeBSD 4.4-RELEASE #4: Fri Feb 8 20:01:16 EET 2002 (Feb 8th is when I applied previous patch that required kernel rebuild). Also, the file /usr/src/sys/compile/MYKERNEL/kernel is dated Feb 8th. /kernel and /kernel.old are exactly the same size. On one machine I did 'rm -Rf /usr/src/sys/compile/MYKERNEL' and rebuilt the kernel once more, and there uname -a says the "right" thing: FreeBSD 4.4-RELEASE #0: Thu Mar 21 22:04:04 EET 2002 Maybe I'm making much ado about nothing, but I'm still curious why the kernel build date isn't updated and why the size of the kernel doesn't change. Is it possible to have a kernel config that "doesn't include zlib" and thus the build procedure decides that rebuilding the kernel isn't really necessary? My kernel config is pretty minimal on these machines. -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * Windws is ine for bckgroun comunicaions - Bll Gats, 192 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message