Skip to contentSkip to conversation

dme1737 sensors force_start

lm-sensors Kushal Koolwal 3 participants 5 messages Jun 18, 2009 – Jun 30, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I am using Debian 5.0 with 2.6.30 kernel and my board has SCH3114 chip. Upon booting I get the following messages in the dmesg:

[   70.012233] dme1737 dme1737.3184: Found a SCH311x chip at 0x0c70
[   70.012326] dme1737 dme1737.3184: Device is not monitoring. Use the force_start load parameter to override.
[   70.013552] dme1737 dme1737.3184: Failed to initialize device.
[   70.013653] dme1737: probe of dme1737.3184 failed with error -14

So naturally the sensors-detect and sensors did not work.

Upon loading the module the following way:
modprobe dme1737 force_start

it started working fine.

Any ideas why I need to give force_start? Is this a chip /BIOS/OS issues?

In the past I have other boards which used the same chipset but in those I never had to give the force_start option.

I am using sensors version 3.0.2 with libsensors version 3.0.2

Thanks.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/

_________________________________________________________________
Microsoft brings you a new way to search the web. Try Bing™ now
http://www.bing.com?form=MFEHPG&publ=WLHMTAG&crea=TEXT_MFEHPG_Core_tagline_try bing_1x1
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Kushal,

Quoted 7 lines · Kushal Koolwal

I am using Debian 5.0 with 2.6.30 kernel and my board has SCH3114 chip. Upon booting I get the following messages in the dmesg:

[   70.012233] dme1737 dme1737.3184: Found a SCH311x chip at 0x0c70
[   70.012326] dme1737 dme1737.3184: Device is not monitoring. Use the force_start load parameter to override.
[   70.013552] dme1737 dme1737.3184: Failed to initialize device.
[   70.013653] dme1737: probe of dme1737.3184 failed with error -14

So naturally the sensors-detect and sensors did not work.

Actually sensors-detect doesn't care at all.

Quoted 6 lines

Upon loading the module the following way:
modprobe dme1737 force_start

it started working fine.

Any ideas why I need to give force_start? Is this a chip /BIOS/OS issues?

BIOS issue. It's up to the BIOS to enable monitoring after the chip is properly set up. That being said, some of our drivers silently enable parts if they were disabled. I'm not so sure why the dme1737 driver asks for the user to pass an extra parameter. But I can't really complain, maybe I'm the one who asked for it, I just can't remember. Juerg?

Quoted 1 line

In the past I have other boards which used the same chipset but in those I never had to give the force_start option.

Probably the BIOS of these boards were doing the right thing. You may look for an updated BIOS for your new board, this might help.

Quoted 1 line

I am using sensors version 3.0.2 with libsensors version 3.0.2

This is a pure (BIOS and) kernel issue, version of lm-sensors doesn't matter.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Kushal Koolwal

Hi Jean,

Quoted 18 lines

Hi Kushal,

Quoted 7 lines · Kushal Koolwal

I am using Debian 5.0 with 2.6.30 kernel and my board has SCH3114 chip. Upon booting I get the following messages in the dmesg:
[   70.012233] dme1737 dme1737.3184: Found a SCH311x chip at 0x0c70
[   70.012326] dme1737 dme1737.3184: Device is not monitoring. Use the force_start load parameter to override. [   70.013552] dme1737 dme1737.3184: Failed to initialize device.
[   70.013653] dme1737: probe of dme1737.3184 failed with error -14

So naturally the sensors-detect and sensors did not work.

Actually sensors-detect doesn't care at all.

Quoted 5 lines

Upon loading the module the following way:
modprobe dme1737 force_start

it started working fine.

Quoted 8 lines
Quoted 1 line

Any ideas why I need to give force_start? Is this a chip /BIOS/OS issues?

BIOS issue. It's up to the BIOS to enable monitoring after the chip is properly set up. That being said, some of our drivers silently enable parts if they were disabled. I'm not so sure why the dme1737 driver asks for the user to pass an extra parameter. But I can't really complain, maybe I'm the one who asked for it, I just can't remember. Juerg?

Just being conservative. I didn't want to flip any bits without the user explicitly asking for it. I thought that was the general approach for the hwmon subsystem.

...juerg

Quoted 5 lines
Quoted 1 line

In the past I have other boards which used the same chipset but in those I never had to give the force_start option.

Probably the BIOS of these boards were doing the right thing. You may look for an updated BIOS for your new board, this might help.

Quoted 8 lines
Quoted 1 line

I am using sensors version 3.0.2 with libsensors version 3.0.2

This is a pure (BIOS and) kernel issue, version of lm-sensors doesn't matter.

--
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Kushal Koolwal

Hi Juerg,

Quoted 10 lines · Juerg Haefliger
Quoted 9 lines · Kushal Koolwal
Quoted 1 line

Any ideas why I need to give force_start? Is this a chip /BIOS/OS issues?

BIOS issue. It's up to the BIOS to enable monitoring after the chip is properly set up. That being said, some of our drivers silently enable parts if they were disabled. I'm not so sure why the dme1737 driver asks for the user to pass an extra parameter. But I can't really complain, maybe I'm the one who asked for it, I just can't remember. Juerg?

Quoted 3 lines

Just being conservative. I didn't want to flip any bits without the user explicitly asking for it. I thought that was the general approach for the hwmon subsystem.

Not really. Looking at other drivers you'll see more than 20 examples where we do start monitoring if needed: adm1026, adm9240, adt7470, adt7473, asb100, dme1737, it87, lm78, lm80, lm85, lm93, smsc47m192, via686a, w83627ehf, w83627hf, w83781d, w83791d, w83792d, w83793, w83l786ng, adm1031 and f71805f, and maybe more.

What we do _not_ forcibly enable by default is the I/O area of Super-I/O chips. But if the I/O area is setup and enabled, I have no objection to letting the driver enable monitoring itself if needed. Whether you want to update the dme1737 driver in that direction, is up to you.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#4 lore raw
In reply to Kushal Koolwal

Pardon me for my ignore. I am still not clear if this is a definite BIOS issue or a driver issues or partly both. I do have access to our firmware engineer who develops the BIOS. If you think that this is a 100% BIOS issue I can ask BIOS guy to fix this. Also I appreciate if anybody can tell me what needs to be fixed exactly in the BIOS.

Thanks

Kushal Koolwal

I do blog at http://blogs.koolwal.net/
_________________________________________________________________
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors