linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Phileas Fogg <phileas-fogg@mail.ru>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: Kernel panic on PowerMac G5 while scanning for SMU sensors
Date: Tue, 19 Mar 2013 07:40:40 +0100	[thread overview]
Message-ID: <1363675240.18880.19.camel@pasglop> (raw)
In-Reply-To: <5145BA3A.8080508@mail.ru>

On Sun, 2013-03-17 at 13:42 +0100, Phileas Fogg wrote:

> A further analysis showed that it crashes in _smu_i2c_complete_command_
> which is called from _smu_i2c_low_completion_.
> 
> This line caused the panic:
> 
> list_del(&cmd->link);

Ok, we must have a bug :-) I'm on holiday for a while, I can look when
I'm back.

However, I would generally advise against messing around with the
sensors directly from userspace which is what I believe lm-sensors does.
It has no real understanding of what those sensors are about, where they
are located etc... and might also conflict with the use of those sensors
by the kernel windfarm drivers.

If you want to look at the values, windfarm does expose them to
userspace in sysfs, you might want to take a peek.

Cheers,
Ben.

      reply	other threads:[~2013-03-19  6:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-17 12:07 Kernel panic on PowerMac G5 while scanning for SMU sensors Phileas Fogg
2013-03-17 12:42 ` Phileas Fogg
2013-03-19  6:40   ` Benjamin Herrenschmidt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1363675240.18880.19.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=phileas-fogg@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).