Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lm_sensors woes with 2.4.20-gentoo-r1...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eyeroll
n00b
n00b


Joined: 17 Feb 2003
Posts: 3
Location: Calgary

PostPosted: Mon Feb 17, 2003 12:57 am    Post subject: lm_sensors woes with 2.4.20-gentoo-r1... Reply with quote

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
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Mon Feb 17, 2003 2:50 am    Post subject: Reply with quote

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
View user's profile Send private message
eyeroll
n00b
n00b


Joined: 17 Feb 2003
Posts: 3
Location: Calgary

PostPosted: Mon Feb 17, 2003 3:56 am    Post subject: Reply with quote

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
View user's profile Send private message
hungarian
n00b
n00b


Joined: 16 Jul 2002
Posts: 51
Location: New Zealand

PostPosted: Tue Feb 25, 2003 9:19 am    Post subject: Reply with quote

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
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Tue Feb 25, 2003 2:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
hungarian
n00b
n00b


Joined: 16 Jul 2002
Posts: 51
Location: New Zealand

PostPosted: Tue Feb 25, 2003 7:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
shadov
n00b
n00b


Joined: 24 Feb 2003
Posts: 9
Location: Finland

PostPosted: Thu Feb 27, 2003 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
meth
n00b
n00b


Joined: 14 Dec 2002
Posts: 35

PostPosted: Thu Mar 06, 2003 4:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum