All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Problem with order of module loading
@ 2009-01-25  2:11 Volker Kuhlmann
  2009-01-25 10:00 ` Jean Delvare
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Volker Kuhlmann @ 2009-01-25  2:11 UTC (permalink / raw)
  To: lm-sensors

There is a problem with kernels using the /sys/class/hwmon interface and
the order in which modules are loaded. For lm_sensors directly this may
not matter, but it will cause all/most/some fancontrol scripts to fail.

My Gigabyte GA-K8NF-9 mobo needs 

> cat /etc/sysconfig/lm_sensors
MODULE_0=it87
MODULE_1=k8temp

When I run /etc/init.d/lm_sensors restart from the command line it
always works:

 /sys/class/hwmon/hwmon0 -> ../../devices/platform/it87.656/hwmon/hwmon0
 /sys/class/hwmon/hwmon1 -> ../../devices/pci0000:00/0000:00:18.3/hwmon/hwmon1

However when booting, the fancontrol part of the service
always fails. The reason is that when booting, hwmon entries are always
created in reverse order.

My workaround for now is

> cat /etc/modprobe.d/sensors-hwmon-order
install k8temp /sbin/modprobe it87; /sbin/modprobe --ignore-install k8temp
remove k8temp /sbin/modprobe --ignore-remove --remove k8temp && /sbin/modprobe --remove it87

This hasn't been a problem for previous kernels. Was this by chance, or
has something changed?

Volker

-- 
Volker Kuhlmann			is list0570 with the domain in header
http://volker.dnsalias.net/	Please do not CC list postings to me.

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-02-04 10:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-25  2:11 [lm-sensors] Problem with order of module loading Volker Kuhlmann
2009-01-25 10:00 ` Jean Delvare
2009-01-25 11:08 ` Volker Kuhlmann
2009-01-25 13:47 ` Jean Delvare
2009-01-26  9:47 ` Volker Kuhlmann
2009-01-26 14:57 ` Jean Delvare
2009-01-27  8:27 ` Jean Delvare
2009-01-28  8:06 ` Jean Delvare
2009-01-30 16:23 ` Jean Delvare
2009-02-04 10:05 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.