Received: by 10.213.65.68 with SMTP id h4csp837461imn; Sun, 18 Mar 2018 04:25:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELvSTvfnXLRdShFszh44V+6BOGWwftVD1gvd20zDklvurikGz56tNWWjoSEJC0C6jKZHIVFM X-Received: by 2002:a17:902:aa02:: with SMTP id be2-v6mr8742700plb.86.1521372308987; Sun, 18 Mar 2018 04:25:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521372308; cv=none; d=google.com; s=arc-20160816; b=QHvivJcpdMs1QxnVwKhW76x6aidpP4TeOHGSdS/tglY4W1v8Jqyx5XZE27VuhaClqD M7M4WP2UMGNdgPrnQhplJO189QRqP2VrL1MoI7dc42aEc4M7BC1NhbWprLPjxSM9S1/S aTfsX5RDzKjPfPoq59uqTpenoDhNPlo/lEuWlZsaC31ZQ4GpBd8qnu9DSOcvcJG8SWb3 8xBVGfBcZOOB7A+u6djFkqkgHLclRoszAMWRm4ajTFPmMlVML43hcZynX+3I8/5NxC3J eW3ItWoojr43bDODmGMhIv/n0zugRbQmnmxdIM4dln1uWpcXZk8f0rHpHURQglZk/4Ip HHcg== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=2EcOUbkcNrkD5rJZKoJbpA2XSxVX+KxkwFSQU/+Ql1E=; b=1CpZnaEXsPXGtym4ycZPeU682//LhHuHD1Z+qssYXyKVpNdM2o7Hobh3+CNKDslvYD /JaFpMtXDjfG2YABCXVFDNpAx7b3FNxbpU39sFx7Fue25WdJjOnm2wR7pZMalGHbkd0E ZhSIpoKKNUdHIJxUa5uePgYXZlcRXbNBjUo7tZcXCTnigpR5PSWIB/ELKluqqxFuUlKD PVyWNzvkJy1U3p2gIXaa7OUEgklCjiZkU4OIMo+2ltQp4tXn8clGZdESJney52FzzQ8K wimusOwgfCX4KdLKz32g+v3NtmMqT1PM6MZDT5rgS7MLLk3IB6VmM4NWyJwIWTiveo7w 09uA== ARC-Authentication-Results: i=1; mx.google.com; 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 185si7908719pgd.561.2018.03.18.04.24.53; Sun, 18 Mar 2018 04:25:08 -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; 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 S1752212AbeCRLEX (ORCPT + 99 others); Sun, 18 Mar 2018 07:04:23 -0400 Received: from saturn.retrosnub.co.uk ([46.235.226.198]:38028 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751713AbeCRLET (ORCPT ); Sun, 18 Mar 2018 07:04:19 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) by saturn.retrosnub.co.uk (Postfix; Retrosnub mail submission) with ESMTPSA id EA8459E773D; Sun, 18 Mar 2018 11:04:17 +0000 (GMT) Date: Sun, 18 Mar 2018 11:04:16 +0000 From: Jonathan Cameron To: Randy Dunlap Cc: Srishti Sharma , Linux kernel mailing list , linux-iio@vger.kernel.org Subject: Re: Unknown symbols in module (iio) Message-ID: <20180318110416.30b45043@archlinux> In-Reply-To: References: X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 17 Mar 2018 13:42:24 -0700 Randy Dunlap wrote: > [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. > > Hi Randy, Thanks for following up on this. Looks like Srishti followed this with an email to the linux-iio list. I sent a quick reply but haven't heard back yet. https://marc.info/?l=linux-iio&m=152024876720954&w=2 Superficially I was guessing that Srishti had missed the fact that irqsim is built into the kernel rather than as a module, so a reboot would have been required as well. Srishti, if you do try a message on multiple lists, please do it by replying to the original thread and cc'ing the new one. That way we save time by avoiding duplication of efforts on different lists. (at least I am assuming you sent it to one list then the other?) Thanks, Jonathan