From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 03:21:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9469316A400 for ; Fri, 28 Apr 2006 03:21:18 +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 3670643D46 for ; Fri, 28 Apr 2006 03:21:18 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (h6wfxnogtqqwtgzf@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k3S3LH23050271; Thu, 27 Apr 2006 20:21:17 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k3S3LGpQ050267; Thu, 27 Apr 2006 20:21:16 -0700 (PDT) (envelope-from jmg) Date: Thu, 27 Apr 2006 20:21:16 -0700 From: John-Mark Gurney To: "Eugene M. Kim" Message-ID: <20060428032115.GP728@funkthat.com> Mail-Followup-To: "Eugene M. Kim" , freebsd-stable@freebsd.org References: <44518421.60408@nttmcl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44518421.60408@nttmcl.com> 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-stable@freebsd.org Subject: Re: link_elf: symbol cam_simq_alloc undefined X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 03:21:18 -0000 Eugene M. Kim wrote this message on Thu, Apr 27, 2006 at 19:55 -0700: > I'm trying to upgrade from 5-stable to 6-stable; after rebooting to the > new kernel, the amr(4) module (amr.ko) refuses to load with this message: > > link_elf: symbol cam_simq_alloc undefined > > However, a quick nm(1) on /boot/kernel/cam.ko does show: > > ... > 0000f0ac T cam_sim_set_path > 0000efc4 T cam_simq_alloc > 0000efd4 T cam_simq_free > ... > > and cam.ko is already loaded before amr.ko. > > What am I missing here? *scratches head 'o 'a* amr is missing a: MODULE_DEPEND(amr, cam, 1, 1, 1); which means the module doesn't get cam's symbols... might as well add that line to amr_linux.c next to MODULE_DEPEND already there... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."