Received: by 10.213.65.68 with SMTP id h4csp538438imn; Sat, 17 Mar 2018 13:43:51 -0700 (PDT) X-Google-Smtp-Source: AG47ELuBJKjSCE0EO93O3F7BIHI5j2W17MU9+L4wcgcIyu0i2ml98g2IMt4fEA8M5iGTyPwZtc5x X-Received: by 2002:a17:902:526:: with SMTP id 35-v6mr7014893plf.276.1521319431865; Sat, 17 Mar 2018 13:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521319431; cv=none; d=google.com; s=arc-20160816; b=oly6kkKb/OYb955vyntQBXRz3XKgZSy3fzV85CSxVQbP6I8/tQ2cc/XkrDq26Rk2/z Q8KgoSgwa2o83V5inIdRpBpCRfkh8VeLTCMLbZ1urTRBWbfKqHCbX79at/twylltXpIY CLMmaAZgsStA3LQslzp99OIQtSkV914iqFo1i0sgP0W1r7m9e9bkZqMRN1fR6RVvXc0I c7DoSd2XRZP3w4xm5nkuyTsfbISgasWdj+q7fNaBiVVKD7Qi860OeBExzgXDzyfDvNcl 9C0BXqbUKJ70lAfSLj0uONxkqAPOfB7MdBB7Dr3Ky/kNGlECsAb/NNZL/pvBq4QkDOmz w+2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:cc:references:to:subject:dkim-signature :arc-authentication-results; bh=g5Cg4QdpDbpt+63mIRNlT0qmJM9DIg3DmFOwiF1qIu4=; b=XtuPn/D3cKw9jmPRDXM0rbifIsyLkQDoeqBEEsOUtypDU0MDmI6iUrj8p9DnaoLBRv b14l7yLiROxOuNcfFHakbPWBvUjCEgUBi3L2qFAAySISR60FvQH9JibwwMLp7sMadk+i UOKETB5348zei2fXLMovmKMglL6OX7ZOS+JIr+suv0s1dyjLtszoHo6jJ1fDq8KMCsN/ 64jo2R8IYDIAfbdcEFgDhFTtEosc3SMx505t59zKMlTYcC/kcpFR7od5CCtlkXyha+O9 ANrlxkK8LuS+tyF+rL4yvvZdYCysyFUwYsK0IMRnZnfIdWVLtDHCLOYyJaeiSLYxMUKG ZhGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WDB7qsJM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h4-v6si9684695pll.339.2018.03.17.13.43.38; Sat, 17 Mar 2018 13:43:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WDB7qsJM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752902AbeCQUmi (ORCPT + 99 others); Sat, 17 Mar 2018 16:42:38 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:41524 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752726AbeCQUmb (ORCPT ); Sat, 17 Mar 2018 16:42:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=g5Cg4QdpDbpt+63mIRNlT0qmJM9DIg3DmFOwiF1qIu4=; b=WDB7qsJMfzAcqqn+1A2fHW8h/ uuAj6EslG1XyI67/ezXl97LmgwE1iC/qiPj0B73PZnRt2McS1bl5Z9xS4sH/Gu5ZuK9l/4/igAfLE 3MvH3dV1gCkg5UMhVBxXs45qK0L0ard8JhZBil8S0IE4fQaJL284tT7d3qvifEY2WHwzbXiyYnAXa kFiGzM+vIEW1PnYQKjTMamPSTPi7J7tQfEiAbG8U/ms6Ll4JOAZ7eR3/QoSkljidV/BXWE/XZactg +qfh/yh7MAmpcxdlEvzpeh1Q2b3+i06lbJp0JCc05NpKnOhPqm+gell5yaJPhPxfFG9BLYfe1/vlF B9KnUCETA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1exIes-0000XX-9N; Sat, 17 Mar 2018 20:42:30 +0000 Subject: Re: Unknown symbols in module (iio) To: Srishti Sharma , Linux kernel mailing list References: Cc: linux-iio@vger.kernel.org From: Randy Dunlap Message-ID: Date: Sat, 17 Mar 2018 13:42:24 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [adding linux-iio mailing list] Hi, It's always a good idea to include the kernel version in a problem report. On 03/05/2018 03:17 AM, Srishti Sharma wrote: > Hello, > I was trying to work with the iio dummy driver, and when I try to load > the iio_dummy_evgen.ko module I am getting unknown symbols found in > module error on running modprobe. > > These variables are unknown > iio_bus_type >>> in industrialio-core > irq_sim_init >>> in iio_dummy_evgen > irq_sim_fini >>> same > irq_sim_fire >>> same > irq_sim_fini >>> [duplicate] I tested this using Linux 4.16-rc5. As long as I manually load all modules in the needed order, they will all load with no symbol problems. > All of these variables are present in the Module.symvers file in the > /lib/modules//build directory. The kernel and the > modules versions match. I ran make clean, make, and make > modules_install before trying to load them. I am unable to figure out > the problem. Where I might be going wrong any ideas ? Were you expecting some module autoloading based on their internal dependencies? If so, maybe someone on the linux-iio mailing list could comment on that. -- ~Randy