From: paul@astropaul.com (Paul Reilly)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] IPMI sysfs support for 2.6.16.x
Date: Sat, 17 Feb 2007 17:36:18 +0000 [thread overview]
Message-ID: <1171733778.45d73d12edf0a@mail.third-rock.net> (raw)
Hello,
I am trying to get IPMI Sensors working on kernel 2.6.16.33.
I have a PenguinComputing Altus Server with inbuilt BMC, and lm-sensors
suggests I need bmcsensors. Googling I followed the instructions here:
http://bmcsensors-26.sourceforge.net/
It appears I need to do 2 things:
(A) patch my kernel for ipmi sysfs support
(B) patch my kernel again with the IPMI sensors patch
I would love to just use 2.6.17 and skip (A), but I am required to
use 2.6.16.33 kernel only. So:
Doing (A) works so far. The patchfile contains patches for 8 files, and
worked for all except the file "ipmi_si_intf.c" which failed on several chunks:
patching file drivers/char/ipmi/ipmi_si_intf.c
Hunk #1 succeeded at 110 with fuzz 2 (offset -2 lines).
Hunk #2 succeeded at 196 (offset -5 lines).
Hunk #3 FAILED at 984.
Hunk #4 succeeded at 1183 with fuzz 2 (offset 19 lines).
Hunk #5 succeeded at 1331 with fuzz 2 (offset 59 lines).
Hunk #6 FAILED at 1915.
Hunk #7 succeeded at 1929 with fuzz 1 (offset 31 lines).
Hunk #8 succeeded at 1972 (offset 31 lines).
Hunk #9 succeeded at 1985 (offset 31 lines).
Hunk #10 FAILED at 2088.
Hunk #11 FAILED at 2167.
Hunk #12 succeeded at 2329 (offset -26 lines).
Hunk #13 FAILED at 2422.
Hunk #14 succeeded at 2431 with fuzz 1 (offset -31 lines).
Hunk #15 succeeded at 2552 with fuzz 1 (offset -36 lines).
Hunk #16 FAILED at 2574.
6 out of 16 hunks FAILED -- saving rejects to file
drivers/char/ipmi/ipmi_si_intf.c.rej
I tried patching manually, but it was beyond me. For example chunk 3
refers to static LIST_HEAD(smi_infos); which is not present in my 2.6.16.33
ipmi_si_intf.c
How can I tell which 2.6.16.X branch these patches are meant for?
Perhaps they apply on an earlier or later 2.6.16.x series kernel.
Can I just copy the whole drivers/char/ipmi/ dir from a 2.6.17 kernel,
and put it in my 2.6.16.33 ?
Thanks,
Paul
--
next reply other threads:[~2007-02-17 17:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-17 17:36 Paul Reilly [this message]
2007-02-17 23:22 ` [lm-sensors] IPMI sysfs support for 2.6.16.x Corey Minyard
2007-02-18 0:16 ` Paul Reilly
2007-02-19 8:10 ` Philip Pokorny
2007-02-19 13:40 ` Corey Minyard
2007-02-20 13:07 ` Paul Reilly
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=1171733778.45d73d12edf0a@mail.third-rock.net \
--to=paul@astropaul.com \
--cc=lm-sensors@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.