Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-sources i2c , lm_sensors -- again..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
meth
n00b
n00b


Joined: 14 Dec 2002
Posts: 35

PostPosted: Tue Mar 04, 2003 5:34 pm    Post subject: gentoo-sources i2c , lm_sensors -- again.. Reply with quote

".. gentoo-sources as of 2.4.20-r1"

this was suggested to fix this! lol, i was running vanilla, compiled all i2c into the kernel and modules, didnt fix, figured id jump over to gentoo-sources to fix it, negative.

localhost i2c # ls
i2c-algo-bit.o i2c-core.o i2c-elektor.o i2c-pcf-epp.o i2c-proc.o
i2c-algo-pcf.o i2c-dev.o i2c-elv.o i2c-pport.o i2c-velleman.o

localhost root # lsmod
Module Size Used by Tainted: P
i2c-proc 7536 0 (unused)
i2c-dev 4900 0 (unused)
i2c-core 18312 0 [i2c-proc i2c-dev]


i manualy loaded those, so they are there..

lrwxrwxrwx 1 root root 23 Nov 29 14:28 linux -> linux-2.4.20-gentoo-r1/

Character devices --->
xI2C support --->
<M> I2C support
<M> I2C bit-banging interfaces
<M> ELV adapter
<M> Velleman K9000 adapter
<M> Basic I2C on Parallel Port
<M> I2C PCF 8584 interfaces
<M> Elektor ISA card
<M> PCF on EPP port
<M> I2C device interface
<M> I2C /proc interface (required for hardware 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

localhost i2c # cat /proc/version
Linux version 2.4.20-gentoo-r1 (root@localhost) (gcc version 3.2.2) #2 SMP Fri Nov 29 16:01:33 UTC 2002


any ideas?

i just want lm_sensors so i can oc!#%
Back to top
View user's profile Send private message
mrljt
n00b
n00b


Joined: 14 Nov 2002
Posts: 34
Location: Seattle

PostPosted: Tue Mar 04, 2003 8:28 pm    Post subject: Reply with quote

The way I have lm_sensors working is that I compiled in i2c support as modules in gentoo-sources-2.4.20-r1. I did not install install the i2c ebuild and then emerged lm_sensors without any problems. Did you compile in i2c modules support in your kernel? Is /usr/src/linux pointing to the correct linux source tree of the currently used kernel?
Back to top
View user's profile Send private message
meth
n00b
n00b


Joined: 14 Dec 2002
Posts: 35

PostPosted: Tue Mar 04, 2003 11:07 pm    Post subject: Reply with quote

well the first post i think shows i have everything compiled in, running on the new kernel as well..

i have i2c working i guess, i am able to load some modules but i doubt i have them all, check the list i posted.

how do i just emerge lm_sensors? every time i doit will try to compile i2c or lm_sensors is doing that for me, not sure exactly but i get the same error everyone else has, no good way to fix it as i can see since it is diffrent for everyone...

mebbe i will make a how-to if i can get this fixed, but thats will be added to the list of other how-tos i need to make :)
Back to top
View user's profile Send private message
meth
n00b
n00b


Joined: 14 Dec 2002
Posts: 35

PostPosted: Tue Mar 04, 2003 11:18 pm    Post subject: Reply with quote

localhost root # emerge lm_sensors
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/lm_sensors-2.7.0 to /
>>> md5 ;-) lm_sensors-2.7.0.tar.gz
>>> Unpacking source...
>>> Unpacking lm_sensors-2.7.0.tar.gz to /var/tmp/portage/lm_sensors-2.7.0/work
tar: lm_sensors-2.7.0/RPM: time stamp 2002-12-08 22:25:02 is 770772 s in the future


then..
Makefile:234: lib/chips.ad: No such file or directory
Makefile:234: lib/proc.ad: No such file or directory


bunch of those :/ not sure if those are needed... but now it doesnt tryto install i2c but it does do alot of stuff with it then dies after compiling for over an hour..
Back to top
View user's profile Send private message
meth
n00b
n00b


Joined: 14 Dec 2002
Posts: 35

PostPosted: Tue Mar 04, 2003 11:51 pm    Post subject: Reply with quote

emerge i2c

!!! ERROR: sys-apps/i2c-2.7.0 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! i2c requires the source of a compatible kernel\nversion installed in /usr/src/linux\nand kernel i2c *disabled* or *enabled as a module*


its enabled as a module!#@%

hopefully i can rebuild my kernel at work and reboot and ssh in :)
Back to top
View user's profile Send private message
meth
n00b
n00b


Joined: 14 Dec 2002
Posts: 35

PostPosted: Wed Mar 05, 2003 3:20 am    Post subject: Reply with quote

god ill just talk to myself to build my posts up..

took out all i2c options in the kernel, same error as always..


make: Makefile:36: pipe: Too many open files
make: Makefile:41: pipe: Too many open files
make: Makefile:54: pipe: Too many open files
make: Makefile:62: pipe: Too many open files
make: Makefile:89: pipe: Too many open files
Makefile:184: mkpatch/Module.mk: Too many open files
Makefile:184: kernel/Module.mk: Too many open files
make: *** creating jobs pipe: Too many open files. Stop.

!!! ERROR: sys-apps/i2c-2.7.0 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! i2c requires the source of a compatible kernel\nversion installed in /usr/src/linux\nand kernel i2c *disabled* or *enabled as a module*


i will manualy patch i guess, even tho uh, it should be patched.. or ill go back to vanilla and patch it, erm.. went to gentoo-sources to fix this, this error message is no good, should say more about what went wrong.. to many open files hehg
Back to top
View user's profile Send private message
-- Thor --
n00b
n00b


Joined: 31 Aug 2002
Posts: 49

PostPosted: Wed Mar 05, 2003 7:40 pm    Post subject: Reply with quote

Well I'd sure say you are having some issues. :wink:

Did you try just doing what this link suggests for installation (without emerging stuff). I would try compiling stuff manually and see if that works, although I am not understanding why it isn't working for you meth.

Regards,

Jeff
Back to top
View user's profile Send private message
meth
n00b
n00b


Joined: 14 Dec 2002
Posts: 35

PostPosted: Wed Mar 05, 2003 7:53 pm    Post subject: Reply with quote

ill give it a shot, dunno why it doesnt emerge either..
Back to top
View user's profile Send private message
AstroBoy
n00b
n00b


Joined: 18 Nov 2002
Posts: 8

PostPosted: Sat May 03, 2003 1:03 am    Post subject: Solved! Reply with quote

I have had the same problem and found this small patch:
http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=1189
It's weird, but it worked for me. I did it manually. :wink:

Tell me if it works for you, maybe it could be included in the lm_sensors ebuild...
Back to top
View user's profile Send private message
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Sat May 03, 2003 4:01 am    Post subject: Reply with quote

Weird. I'm using lm_sensors 2.7.0 and gentoo-sources-2.4.20-r1+ptracefix (bloody xfs removed in -r2).

I do *NOT* have sys-apps/i2c! (I'm using a non-I2C device).

Code:
as99127f-i2c-0-2d
Adapter: SMBus Via Pro adapter at e800
Algorithm: Non-I2C SMBus adapter


And it seems to work fine (click for results).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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