View previous topic :: View next topic |
Author |
Message |
eyeroll n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Feb 2003 Posts: 3 Location: Calgary
|
Posted: Mon Feb 17, 2003 12:57 am Post subject: lm_sensors woes with 2.4.20-gentoo-r1... |
|
|
EDIT: Switched to 2.4.20 vanilla, patched manually
Now all is well.....
Looks like something wonky with 2.4.20-gentoo-r1 , but hey, I'm no expert...
Thanks !!
I have been trying to get lm_sensors for a while now with no success. I searched and tried and searched and tried....
Here is what I have:
linux-2.4.20-gentoo-r1 sources
ACCEPT_KEYWORDS="~x86" emerge i2c
2.7 was merged
I was confused whether I needed to apply the i2c patches or not so I tried to apply the patches. Patch command indicated that the patches were already applied...
Built the kernel, with i2c stuff as modules. As I made a few other kernel changes I tested the kernel by booting it and it was fine...
Tried to merge lm_sensors (2.7)
ACCEPT_KEYWORDS="~x86" emerge lm_sensors
!!! ERROR: sys-apps/lm_sensors-2.7.0 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! lm_sensors requires the source of a compatible kernel\nversion installed in /usr/src/linux and >=i2c-2.7.0 support built as a modules this support is included in gentoo-sources as of 2.4.20-r1
hmmmm, now I am really confused....
Did I miss something fundamental ??
Regards,
_________________
"If you always do what you've always done, you'll always get what you always got." _________________ "If you always do what you've always done, you'll always get what you always got."
Last edited by eyeroll on Mon Feb 17, 2003 5:19 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
idl Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/121936310341c5ce90e026a.gif)
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Mon Feb 17, 2003 2:50 am Post subject: |
|
|
Hmmmm.... before I tell you how I did it, can you just make sure /usr/src/linux is poiting to the correct kernel? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eyeroll n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Feb 2003 Posts: 3 Location: Calgary
|
Posted: Mon Feb 17, 2003 3:56 am Post subject: |
|
|
port001 wrote: | Hmmmm.... before I tell you how I did it, can you just make sure /usr/src/linux is poiting to the correct kernel? |
ls -l linux
lrwxrwxrwx 1 root root 23 Feb 16 15:57 linux -> linux-2.4.20-gentoo-r1/
All thoughts are welcome... _________________ "If you always do what you've always done, you'll always get what you always got." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hungarian n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/cb6232963d6a8ee43fee7.png)
Joined: 16 Jul 2002 Posts: 51 Location: New Zealand
|
Posted: Tue Feb 25, 2003 9:19 am Post subject: |
|
|
I have the exact same problem here as is lm_sensors breaks during compilation.
Any thoughts on this guys ? _________________ Sophisticated, cultivated, technically superior,
Gentoo Linux delivers the most rewarding computing experience.
www.gentoo.org
BSc(Hons) CompSci / BSc. CompSci / RHCE |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AlterEgo Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/173811519640c8947cd3c4d.gif)
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Tue Feb 25, 2003 2:48 pm Post subject: |
|
|
Find the i2c patches for the kernel-version you have here. You only need the i2c-patches.
Recompile your kernel (modules).
Emerge Lm-sensors. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hungarian n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/cb6232963d6a8ee43fee7.png)
Joined: 16 Jul 2002 Posts: 51 Location: New Zealand
|
Posted: Tue Feb 25, 2003 7:49 pm Post subject: |
|
|
OK.
I have recompiled without the patches and it works now.
Thank you _________________ Sophisticated, cultivated, technically superior,
Gentoo Linux delivers the most rewarding computing experience.
www.gentoo.org
BSc(Hons) CompSci / BSc. CompSci / RHCE |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shadov n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Feb 2003 Posts: 9 Location: Finland
|
Posted: Thu Feb 27, 2003 7:07 pm Post subject: |
|
|
I got mine working this way:
I compiled 2.4.20 vanilla kernel with no i2c support at all.
emerge sys-apps/i2c
emerge sys-apps/lm_sensors
Then I just configured it and it works.
I hope this helps someone. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
meth n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Dec 2002 Posts: 35
|
Posted: Thu Mar 06, 2003 4:39 pm Post subject: |
|
|
how do we fix this on gentoo-sources? it refuses to work and manualy compiling i2c has been going on 24hrs now :/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|