Results 1 to 8 of 8

Thread: Lm_sensors, 2.6 Kernel and an Nforce 2 chipset

Hybrid View

  1. #1
    Mentor
    Join Date
    Jul 2001
    Posts
    1,666

    Lm_sensors, 2.6 Kernel and an Nforce 2 chipset

    (Sorry for the long windedness, i'm tired and bored. There is a question at the end, but it makes a good story )

    The saga begins:
    I install this new fangled kernel, 2.6.1 they call it. Ooohhh, pretty I say once all is up and going. I then realise, shit its a hot day, my poor little OC'd, poorly cooled CPU must hate me.
    I see a solution lm_sensors, they have done me well before, they shall do me proud with my shiny new kernel. I download lm_sensors-2.8.2, unpack and discover all I need to do is run, "make user", then "make user_install". I do these things, and huzzah, I have sensors-detect detecting my hardware.
    Of course I had remembered to compile i2c support into my new friend 2.6. Then disaster strikes.
    lm_sensors fights me, calls me nasty nasy names, and refuses to work. I research, discover I need to tame the beast they call "sysfs". After about 5 minutes of intensive rebooting and vi usage, I have beaten the monster.
    But alas I still have no luck. I read some more, get abused my uber 1337 irc gurus for being stoopid, and then find 2.8.3 has been released. I download with glee, compile and run. And still, nothing. This is the output I get when I run sensors.

    Adapter: SMBus nForce2 adapter at 5000
    Algorithm: Unavailable from sysfs
    Memory type: DDR SDRAM DIMM
    Memory size (MB): 512

    I have the nforce-i2c driver compiled in the kernel, the proper chip driver as a module, and everything else seems fine. My actual quesion is this. Has anyone out there made lm_sensors work with kernel 2.6.1 and an nforce 2 chipset?

    lsmod gives me the following

    i2c_algo_pcf 6336 0
    i2c_algo_bit 9032 0
    eeprom 5824 0
    w83781d 31872 0
    i2c_sensor 2368 2 eeprom,w83781d
    nvidia 2071976 12

    It is possible I've set up sysfs wrong, as all I've done is put the following line in my /etc/fstab and created /sys

    none /sys sysfs defaults 0 0

    Thanks
    CP

  2. #2

    Re:Lm_sensors, 2.6 Kernel and an Nforce 2 chipset

    hi CP - which distro? The modules are now specified in /etc/modprobe.conf and the file /etc/rc.sysinit has a few changes for redhat, and the rc.sysinit deals with the sysfs beast.

  3. #3
    Mentor Stuart's Avatar
    Join Date
    May 2002
    Location
    nb.ca
    Posts
    1,087

    Re:Lm_sensors, 2.6 Kernel and an Nforce 2 chipset

    It seems to me that it took me compiling in ACPI support with uhh. 'Thermal Zone' to get lm-sensors to work on 2.6.
    Just my two cents.

  4. #4
    Mentor
    Join Date
    Jul 2001
    Posts
    1,666

    Re:Lm_sensors, 2.6 Kernel and an Nforce 2 chipset

    I'm using Slack 9.1 and I have got thermal zone enabled in the kernel, but that doesn't use lm_sensors I don't think. I can get my CPU temp, but I would like to be able to get my voltages and fan speeds as well. I'm going to try and recompile with the algorithms, and the chipset modules and the eeprom module compiled as part of the kernel, and then see what happens.
    PBharris, from what I could tell the changes to RH were just to get sysfs to mount from what I could tell, and I have got it mounting. I'll try the recompile and if no luck, then I'll read a bit more about sysfs.
    Cheers
    CP

  5. #5
    Mentor
    Join Date
    Jul 2001
    Posts
    1,666

    Re:Lm_sensors, 2.6 Kernel and an Nforce 2 chipset

    Well that seems to have done nothing at all. I still get exactly the same message. It does look like a problem with sysfs, as it says it can't get the algorithm type from sysfs, but from what I've read I've set it up right. If anyone else has any ideas I'd love to hear them
    Cheers
    CP

  6. #6
    Mentor Stuart's Avatar
    Join Date
    May 2002
    Location
    nb.ca
    Posts
    1,087

    Re:Lm_sensors, 2.6 Kernel and an Nforce 2 chipset

    It seems to me that I saw something on some mailing list a while back about the Nforce2 not being supported by lm-sensors at all. I have never got lm-sensors to work for me, no matter how much I tried (either on 2.4 or 2.6)

  7. #7
    Mentor Stuart's Avatar
    Join Date
    May 2002
    Location
    nb.ca
    Posts
    1,087

    Re:Lm_sensors, 2.6 Kernel and an Nforce 2 chipset


  8. #8
    Mentor
    Join Date
    Jul 2001
    Posts
    1,666

    Re:Lm_sensors, 2.6 Kernel and an Nforce 2 chipset

    I got it working finally. After realising that it needed the i2c-isa module, and that I didn't have it installed, I enabled the ISA bus, so I actually got the option for the i2c-isa module. Recomplie, modprobe etc, etc. And beautiful. I now have it working. I proved that bastard uber 1337 irc geek wrong.
    Cheers
    CP

Similar Threads

  1. namad crash, but not sure :-)
    By GNEEOT in forum Ubuntu / Debian
    Replies: 4
    Last Post: 01-27-2007, 06:31 PM
  2. getgrnam failed for$Enabling swap space
    By infinite_root in forum Linux - General Topics
    Replies: 8
    Last Post: 11-15-2003, 08:07 AM
  3. Redhat 9 reboots by it self
    By in forum Linux - General Topics
    Replies: 22
    Last Post: 10-14-2003, 02:54 PM
  4. Sony Microvault, and Red Hat 9
    By vwgtiturbo in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 08-29-2003, 11:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •