From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 29 05:36:16 2009 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47CD0106566B for ; Thu, 29 Jan 2009 05:36:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 06B078FC12 for ; Thu, 29 Jan 2009 05:36:15 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n0T5WqSh035895; Wed, 28 Jan 2009 22:32:52 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 28 Jan 2009 22:33:15 -0700 (MST) Message-Id: <20090128.223315.1447365184.imp@bsdimp.com> To: bsd.quest@googlemail.com From: "M. Warner Losh" In-Reply-To: <20090129045304.GA18493@debian.samsung.router> References: <20090129045304.GA18493@debian.samsung.router> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: KLD: program.ko: depends of kernel - no avaiable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 05:36:16 -0000 In message: <20090129045304.GA18493@debian.samsung.router> Alexej Sokolov writes: : Can you paste please the dmesg after KLDloading ? Sometimes there are : in /var/log/messages more helpful information. And I would like to look : your syscall code if it possible. : : Alexej : : On Tue, Jan 20, 2009 at 05:21:02PM +0100, Jacky Oh wrote: : > Hi, : > : > I'm writing a syscall module and he compiles well but at load time, kldload : > shows: : > : > KLD: program.ko: depends of kernel - no avaiable : > : > anyone know something about this? The problem here is that the kernel _FreeBSD_version was bumped and no longer matches. Jacky installed the kernel with version, say 800060, and then updated the source bases where it changed to 800061, built modules and tried to load them. Warner