Received: by 10.213.65.68 with SMTP id h4csp855452imn; Sun, 18 Mar 2018 05:05:49 -0700 (PDT) X-Google-Smtp-Source: AG47ELt66xbGWrtpQmee91knJoj9EZVvC8w1q3aGHLfoARRaz7O6ewI4yHGDinSGr86ra1mN+QOa X-Received: by 10.101.77.13 with SMTP id i13mr6489646pgt.70.1521374749266; Sun, 18 Mar 2018 05:05:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521374749; cv=none; d=google.com; s=arc-20160816; b=l53ijV57ZtK5OrH4RQKLYZwq1wveaCxAvr0/Xczu0KdJ6Xx8bVm+Q1UDpDVCWQZspm IGmt9TgoiFpaH9tJGbFzvPuY9PScavMXztx1uh3nxDUG+w9FyoOCn/SN5cp6bouVLETv WPcWaeDZ1u0QzTITRF7yjhzdYN1T05d+LP8aw4eFcDJ42G/tIoeh3sqoyOFT8pm6ZSzl vsDjdWIHBrnXPyGAvxJmtfGhJ7OECFAC8HbUhyujoVgM2+uefr06PbPYp4m4air2TwoP 3XEPfiF1k8UjZZskYrYoKfIF/08oZMN4fnCIGfizhS8s1A/mj/oKo3m0DeP8xns6tJFc YSjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=W/TlXPZBGB3m4Fe7r4dm7tuboK317kLcgBzbXuWR9v8=; b=S76RXRkL9dN+tTw7Wg8RhPMU14eLcBrSnhkmQr3cr8W2n6J+9E0oLK1ErZoCDZZ9kS aoEytWLxtdGCOGC3SLDK8UJnBCQX+pk3556+8RSWmUTK6TnCxrp+c1TrnNonk75Hy65u MmA0mmGWY0yT6nSR2PoHJQRDP0zrQQdaNmmQiVHyiRFZHrQPKCwGmoGXf1KSAGr1wntX Hjy8QXT3G0jQXpkmm8jFryhQN7rQJWSImZsl+49npwNuofz66zGOiRKaSRz3ks6JkNOr l1LWgcXhp/QJ3gPvfWvC0d5VRvzhAsbr4bYsZ15LUwHrYJFw+NuCGvVnjo3eyjGv678m 7/gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KNz9akTW; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4-v6si10044937plh.540.2018.03.18.05.05.34; Sun, 18 Mar 2018 05:05:49 -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=pass header.i=@gmail.com header.s=20161025 header.b=KNz9akTW; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753576AbeCRMA0 (ORCPT + 99 others); Sun, 18 Mar 2018 08:00:26 -0400 Received: from mail-qt0-f177.google.com ([209.85.216.177]:46313 "EHLO mail-qt0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752092AbeCRMAX (ORCPT ); Sun, 18 Mar 2018 08:00:23 -0400 Received: by mail-qt0-f177.google.com with SMTP id h4so9520856qtn.13; Sun, 18 Mar 2018 05:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=W/TlXPZBGB3m4Fe7r4dm7tuboK317kLcgBzbXuWR9v8=; b=KNz9akTWBWKQIMfFAmeUkvscd2FF/mXo22MDKneqarOlJN6sBPrVJKjfsM1FTz02D4 nQkL6K0NedIZol11Zn7izr/EzPXT5j1OHRQCMwShFbHGHKZEYhhKHCDok0N5TFuZrXHn aoueq+y0R+UmNuoyEaro7mkkJPU6KT4aw7NCLRh6y6azaLD+cwHrjPB9IxLBu+Br7lZW YAYnNPxKw33RVf+ldOR0DcGs7Egym/wE8teRUZNusDc6RCXWOJddGETfGvYQQ55jAoSe xP1SpePwPmsrziwHHy2ykurj9Low43/wbx32SAlJMf3hecUh+RbYyRU5khOQpoixrgzr Xj4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=W/TlXPZBGB3m4Fe7r4dm7tuboK317kLcgBzbXuWR9v8=; b=ZiYJkCkBXEJMWZRr0j4cqkWgg8SmhU5QMPMVqRWNIiiVNHx/a7/vlra/r9PDq5eGU6 Gn4nRnF1mBNgfH+OWL+eBYVOwi4N6BiNOGH60qrHMEzzOwgokqMhJfoDgBHzzaRQruxb /z8viaYJukx3WXQ/mjs/OkQ2m5MC3qhGCJD5jXSgR61xGb03et/rNa64JywJgUcyeTMu IJNRp7u0UiIW6qSjfHZT9JtGjxKMncsXaCe4yBfzhFwATESkpayFhME36oEdPazya3L+ X4vaiHZqG/BLCFcEvjDKhoC8RvrSD+lCyNI1wmCHkZ/ERwFpGeH1liHT7GxBd2hKW66M jsYg== X-Gm-Message-State: AElRT7FZ2eUBYQmbyeJbXDJryUzfv9mp9AghONESVU8CPkcpXPnFyU/8 sJuImcQlH1ofx3T5WinWnuEU8pOh+BOfsFvCrt8= X-Received: by 10.237.48.34 with SMTP id 31mr12551948qte.325.1521374423021; Sun, 18 Mar 2018 05:00:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.50.153 with HTTP; Sun, 18 Mar 2018 05:00:22 -0700 (PDT) In-Reply-To: <20180318110416.30b45043@archlinux> References: <20180318110416.30b45043@archlinux> From: Srishti Sharma Date: Sun, 18 Mar 2018 17:30:22 +0530 Message-ID: Subject: Re: Unknown symbols in module (iio) To: Jonathan Cameron Cc: Randy Dunlap , Linux kernel mailing list , linux-iio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 18, 2018 at 4:34 PM, Jonathan Cameron wrote: > 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?) Hey, I am sorry for the late reply, the solution Jonathan had proposed i.e; reinstalling the kernel after configuring it for loading the required modules worked for me, Thank you so much. Regards, Srishti > > Thanks, > > Jonathan