From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 14 06:53:08 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D19D016A407 for ; Thu, 14 Sep 2006 06:53:08 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29CF643D9B for ; Thu, 14 Sep 2006 06:52:54 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (jdf3mdce8qzp1caj@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k8E6qrge089692; Wed, 13 Sep 2006 23:52:53 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k8E6qqlQ089691; Wed, 13 Sep 2006 23:52:52 -0700 (PDT) (envelope-from jmg) Date: Wed, 13 Sep 2006 23:52:52 -0700 From: John-Mark Gurney To: Sean Thomson Message-ID: <20060914065252.GB9421@funkthat.com> Mail-Followup-To: Sean Thomson , freebsd-hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-hackers@freebsd.org Subject: Re: Issue with loading a module X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 06:53:08 -0000 Sean Thomson wrote this message on Wed, Sep 13, 2006 at 15:07 -0600: > In working with a device driver, sometimes > after I rebuild it and reload it, I'll get > system log errors like > > 'link_elf: symbol yyz undefined' I assume that it fails to load when you get this message? > Actually, I'll get an entry for all my > exported symbols. If I reboot, it clears > up. exported from your kernel module? > I'm working on a stock 6.1 kernel. > > Has anyone else seen this? I poked around > the mailing lists but didn't find any > like this? Usually this is due to depending upon symbols that another module exports, but not having a MODULE_DEPEND line to let one module see the other module's symbols... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."