[Bug 529018] New: /usr/bin/=?UTF-8?Q?sensors=20h=C3=A4ngs=20on=20ASUS=20P5W=20DH=20Delux?=
http://bugzilla.novell.com/show_bug.cgi?id=529018 Summary: /usr/bin/sensors hängs on ASUS P5W DH Delux Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Joachim.Reichelt@helmholtz-hzi.de QAContact: qa@suse.de Found By: Beta-Customer sensors hangs on reading the fan's speed. # lsof -c sensors gave me a hint to check this: # cat /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:13/ATK0110:00/hwmon/hwmon0/fan1_input hangs "forever" I'm on Milestone 5 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=529018
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=529018
User trenn@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c1
Thomas Renninger
http://bugzilla.novell.com/show_bug.cgi?id=529018
User Joachim.Reichelt@helmholtz-hzi.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c2
Joachim Reichelt
http://bugzilla.novell.com/show_bug.cgi?id=529018
User trenn@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c3
Thomas Renninger
The system loaded the "old" driver for sensors too Yep, that could be a problem.
As I'm not sure whether this is a pure kernel bug or related to the upgrade from older openSUSE versions It's because of the new ATK0110 driver. For now you just might want to blacklist in /etc/modprobe.conf.local: blacklist asus_atk0110
You would only miss the atk driver functionality which did not exist in older version anyway.
so I used an older one That's fine, thanks.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=529018
User Joachim.Reichelt@helmholtz-hzi.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c4
--- Comment #4 from Joachim Reichelt
http://bugzilla.novell.com/show_bug.cgi?id=529018
User kronos.it@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c5
Luca Tettamanti
http://bugzilla.novell.com/show_bug.cgi?id=529018
User Joachim.Reichelt@helmholtz-hzi.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c6
--- Comment #6 from Joachim Reichelt
http://bugzilla.novell.com/show_bug.cgi?id=529018
User trenn@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c7
Thomas Renninger
http://bugzilla.novell.com/show_bug.cgi?id=529018
User Joachim.Reichelt@helmholtz-hzi.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c8
Joachim Reichelt
http://bugzilla.novell.com/show_bug.cgi?id=529018
User Joachim.Reichelt@helmholtz-hzi.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c9
--- Comment #9 from Joachim Reichelt
http://bugzilla.novell.com/show_bug.cgi?id=529018
User kronos.it@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c10
--- Comment #10 from Luca Tettamanti
http://bugzilla.novell.com/show_bug.cgi?id=529018
User kronos.it@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c11
--- Comment #11 from Luca Tettamanti
PS.: Why not break the while-loop in two independen ones. This will stop oscillations raised by noise in fan_cnt, as e.g. by noninitialized variables.
That loop is in ACPI code - which is included in the BIOS - and was written by ASUS. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=529018
User trenn@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c12
--- Comment #12 from Thomas Renninger
Are you overriding acpi_enforce_resources? The acpi_enforce_resources mechanism does not work anymore. Hopefully Len will revive the functionality for 2.6.31 soon and post a patches for stable@kernel.org (got removed for 2.6.30 already AFAIK and sooner kernels need the memleak fix from lin ming). Also see mail thread: http://markmail.org/message/d4at27mzaivtpbz3#query:+page:1+mid:46xdznqq53zhg...
Subject: Re: [PATCH] ACPICA: Revert "ACPICA: Remove obsolete acpi_os_validate_address interface" on the acpi mailing list. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=529018
User kronos.it@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c13
--- Comment #13 from Luca Tettamanti
http://bugzilla.novell.com/show_bug.cgi?id=529018
User kronos.it@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c14
--- Comment #14 from Luca Tettamanti
Joachim is using 2.6.31-rc5 though, which contains the patch that you mentioned.
Ops, I was looking at my own log... he's running 2.6.31-rc4, so the conflict is not detected. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=529018
User jdelvare@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c15
Jean Delvare
http://bugzilla.novell.com/show_bug.cgi?id=529018
User trenn@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c16
--- Comment #16 from Thomas Renninger
Thomas, please do not suggest blacklisting the asus_atk0110 driver in the future Did I? If, this was more for testing or as a workaround, not for a final solution.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=529018
User kronos.it@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c17
--- Comment #17 from Luca Tettamanti
Thomas, please do not suggest blacklisting the asus_atk0110 driver in the future. On boards which support this driver, it is the way to go. If anything, we'd rather blacklist the conflicting native hwmon driver. But hopefully with recent 2.6.31-rc kernels it will no longer be necessary.
In this case there's might be a bug in the ACPI code, the driver hangs looping there.
Luca, please refresh my memory: does the asus_atk0110 driver load automatically on systems which need it?
Yes, it's loaded automagically by ACPI core when it finds a HID matching "ATK0110". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=529018
User trenn@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c18
--- Comment #18 from Thomas Renninger
In this case there's might be a bug in the ACPI code, the driver hangs looping there. Hmm, but it works if only the atk0110 driver is loaded? I've seen the loop, but it (endless loop) may only happen if another hwmon driver is also accessing the HW and the driver gets unexpected values? Not sure, the loop is very unfortunate and bad code style (if the sensor values are not sanity checked before).
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=529018
User Joachim.Reichelt@helmholtz-hzi.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c19
Joachim Reichelt
http://bugzilla.novell.com/show_bug.cgi?id=529018
User Joachim.Reichelt@helmholtz-hzi.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c20
--- Comment #20 from Joachim Reichelt
http://bugzilla.novell.com/show_bug.cgi?id=529018
User jdelvare@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c21
Jean Delvare
http://bugzilla.novell.com/show_bug.cgi?id=529018
User kronos.it@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529018#c22
--- Comment #22 from Luca Tettamanti
As to changing the fan speeds, that would require pwm attributes to be created by the asus_atk0110 driver. For now, this driver has only been reading from the chip. It's up to Luca to decide whether it is possible, and safe, to add more features to the driver.
It's not possible to control the PWM directly; it should be possible to change the "profile" (as defined in the BIOS), but I haven't been able to make it work yet. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=529018
http://bugzilla.novell.com/show_bug.cgi?id=529018#c23
--- Comment #23 from Joachim Reichelt
sensors atk0110-acpi-0 Adapter: ACPI interface Vcore Voltage: +1.26 V (min = +0.85 V, max = +1.60 V) +3.3 Voltage: +3.33 V (min = +2.97 V, max = +3.63 V) +5 Voltage: +5.12 V (min = +4.50 V, max = +5.50 V) +12 Voltage: +12.36 V (min = +10.20 V, max = +13.80 V) CPU FAN Speed: 0 RPM (min = 0 RPM) CHASSIS1 FAN Speed:1493 RPM (min = 800 RPM) CHASSIS2 FAN Speed:1430 RPM (min = 800 RPM) POWER1 FAN Speed: 0 RPM (min = 800 RPM) POWER2 FAN Speed: 0 RPM (min = 800 RPM) CPU Temperature: +30.0°C (high = +60.0°C, crit = +95.0°C) MB Temperature: +50.0°C (high = +45.0°C, crit = +95.0°C)
coretemp-isa-0000 Adapter: ISA adapter Core 0: +46.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0001 Adapter: ISA adapter Core 1: +44.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0002 Adapter: ISA adapter Core 2: +43.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0003 Adapter: ISA adapter Core 3: +45.0°C (high = +74.0°C, crit = +100.0°C) ===
sensors atk0110-acpi-0 Adapter: ACPI interface Vcore Voltage: +1.24 V (min = +0.85 V, max = +1.60 V) +3.3 Voltage: +3.33 V (min = +2.97 V, max = +3.63 V) +5 Voltage: +5.12 V (min = +4.50 V, max = +5.50 V) +12 Voltage: +12.30 V (min = +10.20 V, max = +13.80 V) CPU FAN Speed: 150000 RPM (min = 0 RPM) CHASSIS1 FAN Speed:1480 RPM (min = 800 RPM) CHASSIS2 FAN Speed:1430 RPM (min = 800 RPM) POWER1 FAN Speed: 0 RPM (min = 800 RPM) POWER2 FAN Speed: 0 RPM (min = 800 RPM) CPU Temperature: +60.0°C (high = +60.0°C, crit = +95.0°C) MB Temperature: +51.0°C (high = +45.0°C, crit = +95.0°C)
coretemp-isa-0000 Adapter: ISA adapter Core 0: +76.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0001 Adapter: ISA adapter Core 1: +67.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0002 Adapter: ISA adapter Core 2: +72.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0003 Adapter: ISA adapter Core 3: +73.0°C (high = +74.0°C, crit = +100.0°C) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=529018
http://bugzilla.novell.com/show_bug.cgi?id=529018#c24
Jean Delvare
http://bugzilla.novell.com/show_bug.cgi?id=529018
http://bugzilla.novell.com/show_bug.cgi?id=529018#c25
Joachim Reichelt
http://bugzilla.novell.com/show_bug.cgi?id=529018
http://bugzilla.novell.com/show_bug.cgi?id=529018#c26
--- Comment #26 from Joachim Reichelt
http://bugzilla.novell.com/show_bug.cgi?id=529018
http://bugzilla.novell.com/show_bug.cgi?id=529018#c27
Thomas Renninger
http://bugzilla.novell.com/show_bug.cgi?id=529018
http://bugzilla.novell.com/show_bug.cgi?id=529018#c28
Joachim Reichelt
http://bugzilla.novell.com/show_bug.cgi?id=529018
http://bugzilla.novell.com/show_bug.cgi?id=529018#c29
Thomas Renninger
http://bugzilla.novell.com/show_bug.cgi?id=529018
http://bugzilla.novell.com/show_bug.cgi?id=529018#c30
--- Comment #30 from Joachim Reichelt
participants (1)
-
bugzilla_noreply@novell.com