Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1406475

Re: hwmon.c as a kernel module in 3.18

Path csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Ani Sinha <ani@arista.com>
Newsgroups linux.kernel
Subject Re: hwmon.c as a kernel module in 3.18
Date Wed, 25 May 2016 00:40:01 +0200
Message-ID <rCt9v-R2-1@gated-at.bofh.it> (permalink)
References <rCqY2-7Zt-25@gated-at.bofh.it>
X-Original-To "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Jg0n2CJXuWKnPjM9sGNc9DakFApmqFP3V70on5n0FPw=; b=cAWvYaLmFYTE2E7n/dmfeqvjfaiMgWUA1M4n5G6ZK1QJCVYjXV2CMjczjVgdQmGCvQ Qvei905JTgZ82VICNdjDzwiOv1s6f0a9nNd6Il7hNV68rlajNqgRC1j3Tq5fR/2pbFg+ IvJla/ndheJ1xgNuEWSalZfSf2umZLP1jTXNs=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Jg0n2CJXuWKnPjM9sGNc9DakFApmqFP3V70on5n0FPw=; b=l3Hc4eQKb18AKnRsE7L3mxFWlJ8DJJ3DxG1V4TITELJTlu9og2qoGIK1AwUHGgs4i6 /y6PjpFsE/QZ2iH8u0zRMelUt8m79DCNWaAb3wmAYvehkt25dvDpEzz6KFHcmTbBriTe Ovln9r6zYzq4aEINUH5zt9nedXRTP/24t/BjEQqYtvpMAKakz4uTr5HVKy9Alf51lZL1 Ph5kq9fmaRjmSfK0j95+hGqKo1dcv4zEc8JpyV/cTUe3fU6XUWWLFcZRWM36QzKEaVpv SUUSDHkOju1eHXDCvCr5Zu7FqHE5BD/9syruQagGa0zTkDniWHiFAmL8otmpWnVdFdRX a7LQ==
X-Gm-Message-State ALyK8tIkYO77ptujLOWC8tgQOTCVwGGy/eNx6m1yFyXYdw9fSrPoBI0Sr071KpoOrRFv8GjJawWmPWO4z6ib0BsO
X-Received by 10.36.25.16 with SMTP id b16mr1007691itb.67.1464129097113; Tue, 24 May 2016 15:31:37 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 36
Organization linux.* mail to news gateway
X-Original-Date Tue, 24 May 2016 15:31:22 -0700
X-Original-Message-ID <CAOxq_8Na-6LQZGaCx_zge9wYnT+d8OsqgaPS=1aL56XF0uAkTQ@mail.gmail.com>
X-Original-References <CAOxq_8N_e9WXR3KHBpDV+K+NOjW+O=y1cbvTq9h9u0YEck5SzA@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1406475

Show key headers only | View raw


Never mind. I figured it out. The commit that changed the behavior is :

commit de0a41484c47d783dd4d442914815076aa2caac2
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
Date:   Mon Oct 1 11:43:49 2012 -0400
    tg3: unconditionally select HWMON support when tg3 is enabled.

So I had exactly this combination : CONFIG_TG3 was 'y' whereas
CONFIG_HWMON was 'm'.

I have fixed it now.

thanks
ani



On Tue, May 24, 2016 at 1:10 PM, Ani Sinha <ani@arista.com> wrote:
> Hi guys :
>
> I am facing this interesting issue and I can't quite figure out what
> the root cause is. Any help will be greatly appreciated.
>
> In my old 3.4 kernel, I had configured HWMON (CONFIG_HWMON) as a
> module ('m'). Now I am trying to upgrade to 3.18 and I am trying to
> keep the same kernel configuration as much as I can. The weird thing
> is, after setting CONFIG_HWMON to 'm. when I do config oldconfig, it's
> setting it back to 'y' (in-built module). I can't figure out which
> kernel option is turning the 'm' to 'y'. I have done menuconfig, then
> searched for the symbol and then looked at all the dependencies.
> However I am still clueless. I am wondering if there is some debug
> option which when turned on will print out some logs which will give
> me more insights into why this is happening.
>
> thanks a lot in advance
> ani

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

hwmon.c as a kernel module in 3.18 Ani Sinha <ani@arista.com> - 2016-05-24 22:20 +0200
  Re: hwmon.c as a kernel module in 3.18 Ani Sinha <ani@arista.com> - 2016-05-25 00:40 +0200

csiph-web