From owner-freebsd-drivers@FreeBSD.ORG Tue Aug 16 03:47:25 2005 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E71CF16A41F for ; Tue, 16 Aug 2005 03:47:25 +0000 (GMT) (envelope-from michael.honeyfield@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EE8443D45 for ; Tue, 16 Aug 2005 03:47:21 +0000 (GMT) (envelope-from michael.honeyfield@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so56203wxd for ; Mon, 15 Aug 2005 20:46:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GQM+fXqaqKzT10ii7UtbmFEyMB24RmxEgc50DSBmg/p6FViqOaRJSeX+Jbc7LsX5AdTliy/umt/ngYiCYvo7TRQ1ZOv7HtvYn/sN7M+/R9gaarbS9bY+YacAmm3ZdZpC2xfZ/tXAqRE0lJFpmswdmcQ8042phPy1Bws+dAXgMMo= Received: by 10.70.41.18 with SMTP id o18mr1419wxo; Mon, 15 Aug 2005 20:46:59 -0700 (PDT) Received: by 10.70.20.4 with HTTP; Mon, 15 Aug 2005 20:46:59 -0700 (PDT) Message-ID: <16d2d73705081520467e9c2bff@mail.gmail.com> Date: Tue, 16 Aug 2005 15:46:59 +1200 From: Michael Honeyfield To: freebsd-drivers@freebsd.org In-Reply-To: <16d2d7370508151541683c9fc6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <16d2d7370508151541683c9fc6@mail.gmail.com> Subject: Re: driver versions X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2005 03:47:26 -0000 On 8/16/05, Michael Honeyfield wrote: > Hello, >=20 > I seem to be having issues with driver versions in the driver I am > working with. >=20 > When I load the kernel module, I get the following: >=20 > WARNING: Device driver "dag" has wrong version and is disabled. > Recompile KLD module. >=20 > Yes, I have defined the version like so: >=20 > MODULE_VERSION(dag, 0); >=20 > I poked around and it seems to me that the version *has* to be 0 at > this time as per sys/conf.h. >=20 > I am using FreeBSD 5.4. >=20 > Am I missing something? Yup, I certinaly was missing something. Found it and fixed it.=20 Thanks Mike