I had the same problem and ended up loading the modules out of my own rc
file, and adding a delay to load of the w83781d.o file.  Here is my
startup script:

------------
#!/bin/sh
#
# load procedure for reading temp sensors
#
# See how we were called.
case "$1" in
  start)
                 echo  "Starting LM Sensors "
                cd /usr/local/lib/modules
                /sbin/insmod i2c-core.o
                /sbin/insmod smbus.o
                /sbin/insmod i2c-proc.o
                /sbin/insmod sensors.o
                /sbin/insmod i2c-piix4.o
        (sleep 20; /sbin/insmod w83781d.o) &
        ;;
  stop)
        echo  "Shutting down LM Sensors "
                /sbin/rmmod w83781d
                /sbin/rmmod i2c-piix4
                /sbin/rmmod sensors
                /sbin/rmmod i2c-proc
                /sbin/rmmod smbus
                /sbin/rmmod i2c-core
        ;;
  *)
        echo "Usage: lm_sensors {start|stop}"
        exit 1
esac

exit 0
-------------

I am running kernel 2.2.14 with Mandrake 7.0 and this seems to work
every time.

Good luck,

Eric

Daniel Moran wrote:
> 
> I compiled/installed lm_sensors fine, and tried using
> rc.modules to load the modules needed by the BP6.
> When it tried loading w83781d the system hangs.  If I
> disable that module and load them manually after the
> system boots it loads fine.  I am using wmBP6 to
> watch temps, and in order for it to work right, I have
> to load, unload, the  reload all the lm_sensor
> modules. Otherwise it only shows a temp for CPU2.  I
> am using Slackware 7, kernel 2.2.13.  Everything
> worked fine for me when I was running RedHat 6.2...
> Any ideas?
> 
> Dan
> 
> --- James T Perkins <[EMAIL PROTECTED]> wrote:
> > Edward Schernau wrote:
> > > is it me, or is this completely impossible to
> > install?
> >
> > On Mon, 31 Jan 2000, Mordy Ovits wrote:
> > > I had it working a few kernel revs ago.  You need
> > a fresh kernel
> > > source.  Patch that, then CAREFULLY configure it.
> > Compile and install
> > > this new kernel.  Reboot and modprobe the correct
> > lm modules for your
> > > hardware into the kernel. Damned if I remember
> > which runs on the BP6.
> > > Watch carefully for the messages the modules emit,
> > to make sure it found
> > > the hardware.  Thats how I found which ones to use
> > on the BP6.  Then use
> > > a user-land tool to display the temp and fan
> > speed, etc.
> >
> > I used to compile kernels all the time on another
> > distribution a long
> > time ago, but the organization of my current
> > distribution stymied me for
> > the longest time. I managed to successfully upgrade
> > from 2.2.5 to
> > 2.2.14+lm_sensors tonight.
> >
> > To install lm_sensors you have to follow the
> > top-level INSTALL as well as
> > the INSTALL files in the i2c and lm_sensors2
> > directories.  This includes
> > editing a Makefile. I went for the 'patch the
> > [pristine] kernel' option
> > as noted in the top-level INSTALL and it went well.
> > You also have to
> > configure the kernel to build and install the i2c
> > and sensors modules.
> >
> > Another trick I learned was how to use ldconfig
> > correctly (needed to
> > get the /usr/local/lib/libsensors* library working).
> >
> > The sensors-detect script is very clever and tells
> > you what changes you
> > need to make to your /etc/rc.d/rc.local and your
> > /etc/conf.modules in
> > order to correctly load the modules.
> >
> > I am using bp6mon to watch the temps, although a
> > gnome panel applet
> > would be even neater.
> >
> > At idle (in X) my CPUs are at about 29 C and the
> > case is at 35 C. Under
> > heavy load (2x SETI@Home) It soars to 45 C for the
> > CPUs and case. 230W
> > supply.  The -5 supply runs a little low (-5.8V)
> > under heavy load.
> >
> > I *have* had problems with lockups and promise to
> > get my detailed report
> > out in the next few days.
> >
> > James
> > --
> > James Perkins
> > [EMAIL PROTECTED]
> >    -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=-
> > -=*=- -=*=- -=*=- -=*=-
> >        We can do not great things - only small
> > things with great love.
> >                              -- Mother Theresa
> >
> > --
> > =-          To unsubscribe, email [EMAIL PROTECTED]
> > with the       -=
> > =-                body of "unsubscribe linux-abit".
> >                -=
> >
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> --
> =-          To unsubscribe, email [EMAIL PROTECTED] with the       -=
> =-                body of "unsubscribe linux-abit".                 -=

-- 
Eric Eastman                        Systems Engineer
[EMAIL PROTECTED]                    Ph:   1-303-713-2848
Silicon Graphics Federal, Inc.      FAX:  1-303-221-2092
--
=-          To unsubscribe, email [EMAIL PROTECTED] with the       -=
=-                body of "unsubscribe linux-abit".                 -=

Reply via email to