From owner-freebsd-mips@FreeBSD.ORG Wed Feb 17 06:03:38 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B9C0106566C for ; Wed, 17 Feb 2010 06:03:38 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0E18F8FC15 for ; Wed, 17 Feb 2010 06:03:37 +0000 (UTC) Received: by pxi12 with SMTP id 12so4583014pxi.33 for ; Tue, 16 Feb 2010 22:03:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=W2EV2xy4TkiXzkaaS4KJkmO4NsGA+qjnkTcjZlFtgO4=; b=D5Fdy5lHxqFX1af4z0JcL2aksxoGVAyRSULpqdrX8UgOKy2epo5Xzl/8eyYTnWjDbt FI2NeRbzNdbt7cDjdkrgV2bMpFgLf3zXPbxuXGoD8Uh7CuQg9ODTt54N2XvHi7Jmr9bU EXN6g32BB7yPbk/7oUVbV3lyVHiIdFTaUfVqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IRDd1W7JqX2/ZlUZ3G2/1F6+nawYJujUIL/7Woiu16jNEtT1LUvVa3bk8TXkD0psTw uVikeGt+UapZu/7XZR+KYi+Az5kSB9Y3mlNPKxdOqr3NtzihlkS1Pg4hFtcZpsBzqTG7 eq8VPFh6rapF8DcY/nEFu/GRUH8BRQNU/iikI= MIME-Version: 1.0 Received: by 10.142.9.17 with SMTP id 17mr5046871wfi.235.1266386614639; Tue, 16 Feb 2010 22:03:34 -0800 (PST) In-Reply-To: References: <20100211180129.b34a95c9.ray@dlink.ua> <4B74550B.8020505@bluezbox.com> <20100211224128.816c46b4.ray@ddteam.net> Date: Tue, 16 Feb 2010 22:03:34 -0800 Message-ID: From: Neel Natu To: Oleksandr Tymoshenko Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Alex RAY , freebsd-mips@freebsd.org Subject: Re: Question about kld modules X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 06:03:38 -0000 Hi Oleksandr, On Tue, Feb 16, 2010 at 7:32 PM, Oleksandr Tymoshenko wrote: > > On 2010-02-16, at 6:57 PM, Neel Natu wrote: > >> Hi, >> >> I have the patch ready for review. Please take a look and let me know >> if you have any comments. >> http://people.freebsd.org/~neel/mips_kld_diff.txt >> >> I have tested this on big and little endian machines with the bge >> driver loaded as a module. > > =A0 =A0Look OK. But have you tested it with cross-KLD dependencies? As fa= r as I remember that's > what I stumbled upon. Thanks for taking a look at this. I have tested it with a module 'bar' that depends on 'foo' that in turn depends on the kernel. These were toy modules that I wrote just for the purpose of testing this but nevertheless the symbol resolution worked. I assume that is what you mean by cross-KLD dependencies. best Neel