acpi fan issues, no fan and overheating = 3.13+ kernel bug

Post your comments, questions, bug reports or suggest new features for alphaOS
pentajazz
Advanced
Posts: 48
Joined: 27 Apr 2014, 23:09

acpi fan issues, no fan and overheating = 3.13+ kernel bug

Postby pentajazz » 04 May 2014, 14:17

AlphaOS 15: cpu fan not working at all after loading modules on a hp 8710w notebook => overheating
when cpu reaches the maximum allowed by the bios temperature, the fan will spin at maximum speed as the last resort before crash and after that it stops and so on. Notebook fan is clean and usable,
rarely sometimes fan works. If I start it up hot (usually from win7) the fan keeps running, never works from cold.

I tried many proposed solutions around the net especially with kernel parameters like:

Code: Select all

quiet acpi_enforce_resources=lax
acpi=force acpi_os_name="Windows 2006"
quiet splash nomodeset acpi_osi="Linux" acpi_backlight=vendor

...with no progress

also thought about recompiling the kernel with special acpi tables... but
many other distros I have tried give a good fan behavior & spin without overheating issues. Puppy fatdog64 fan works OK alongside with nvidia and nouveau drivers. Alphat64 14.5 kernel has the fan spin problem also.


edit:
this seems related to:
https://bugzilla.kernel.org/show_bug.cgi?id=71711
https://bugs.archlinux.org/task/39005
so it is probably a kernel bug
thanks
any ideas?
Can I compile a 3.12.x kernel (+initrd) from AUR and be compatible with alphaOS 15? is there a howto do that?

edit2:
alphaos 14.5 kernel 3.12.0, fan is working ok, kernel bug somehow "confirmed"
Last edited by pentajazz on 05 May 2014, 11:18, edited 3 times in total.

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: acpi fan issues, no fan and overheating

Postby Scooby » 04 May 2014, 14:41

Have you checked iut viewtopic.php?f=6&t=1075

I had problems with overheating due to no governor, to remedy

availible governors

Code: Select all

ls /usr/lib/modules/$(uname -r)/kernel/drivers/cpufreq/


Use governor example

Code: Select all

modprobe cpufreq_powersave



could be put in /etc/rc.conf-->MODULES conf setting as in

Code: Select all

MODULES="cpufreq_powersave"


did you try
As I recall the IT87xx chips need an offset programmed by the
BIOS in order to return "sane" temperature values from PECI sources.
Without the offset, the driver returns the thermal margin as a negative
value (-47°C here would mean the CPU runs 47 pseudo-°C below its
critical temperature.) This matches the values returned by coretemp (99
- 47 = 52). This would justify the low fan speeds.

The original poster could try setting temp3_offset to 99 (in the right chip section of sensors.conf, followed by "sensors -s" as root) and see if it makes the system behave differently.


or

find /sys/class/thermal/cooling_device*/ -maxdepth 1 -type f | xargs grep ""
echo 1 | tee /sys/class/thermal/cooling_device1/cur_state


dunnow if that helps you though?

pentajazz
Advanced
Posts: 48
Joined: 27 Apr 2014, 23:09

Re: acpi fan issues, no fan and overheating

Postby pentajazz » 04 May 2014, 14:47

thank you, i will check
but it is probably a kernel bug, (main post edit)
I have just found this

edit:
this seems related to:
https://bugzilla.kernel.org/show_bug.cgi?id=71711

pentajazz
Advanced
Posts: 48
Joined: 27 Apr 2014, 23:09

Re: acpi fan issues, no fan and overheating

Postby pentajazz » 04 May 2014, 16:59

thanks for your suggestions, issue remains
just for reference I include some sensors/acpi console info,
i guess for now there is no way but downgrading the kernel to 3.12 or wait for a newer kernel fix
so the question goes for now:
How do I compile a different kernel version (eg. from AUR) for AlphaOS?
whats the kernel config tips and initrd mods to do this? Is there a streamlined method to recompile a kernel other than the original?

sensors/acpi info:

Code: Select all

[root@alphaos ~]# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +81.0 C  (crit = +105.0 C)
temp2:        +66.0 C  (crit = +105.0 C)
temp3:        +33.4 C  (crit = +110.0 C)
temp4:         +0.0 C  (crit = +110.0 C)
temp5:        +80.0 C  (crit = +110.0 C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +69.0 C  (high = +105.0 C, crit = +105.0 C)
Core 1:       +69.0 C  (high = +105.0 C, crit = +105.0 C)

nouveau-pci-0100
Adapter: PCI adapter
temp1:        +81.0 C  (high = +95.0 C, hyst =  +3.0 C)
                       (crit = +110.0 C, hyst =  +3.0 C)
                       (emerg = +110.0 C, hyst = +10.0 C)

[root@alphaos ~]# modprobe lm90
[root@alphaos ~]# find /sys/class/thermal/cooling_device*/ -maxdepth 1 -type f | xargs grep ""
/sys/class/thermal/cooling_device0/type:Processor
/sys/class/thermal/cooling_device0/cur_state:0
/sys/class/thermal/cooling_device0/max_state:10
/sys/class/thermal/cooling_device1/type:Processor
/sys/class/thermal/cooling_device1/cur_state:0
/sys/class/thermal/cooling_device1/max_state:10
/sys/class/thermal/cooling_device10/type:Fan
/sys/class/thermal/cooling_device10/cur_state:0
/sys/class/thermal/cooling_device10/max_state:1
/sys/class/thermal/cooling_device11/type:Fan
/sys/class/thermal/cooling_device11/cur_state:0
/sys/class/thermal/cooling_device11/max_state:1
/sys/class/thermal/cooling_device12/type:Fan
/sys/class/thermal/cooling_device12/cur_state:0
/sys/class/thermal/cooling_device12/max_state:1
/sys/class/thermal/cooling_device2/type:Fan
/sys/class/thermal/cooling_device2/cur_state:0
/sys/class/thermal/cooling_device2/max_state:1
/sys/class/thermal/cooling_device3/type:Fan
/sys/class/thermal/cooling_device3/cur_state:0
/sys/class/thermal/cooling_device3/max_state:1
/sys/class/thermal/cooling_device4/type:Fan
/sys/class/thermal/cooling_device4/cur_state:0
/sys/class/thermal/cooling_device4/max_state:1
/sys/class/thermal/cooling_device5/type:Fan
/sys/class/thermal/cooling_device5/cur_state:0
/sys/class/thermal/cooling_device5/max_state:1
/sys/class/thermal/cooling_device6/type:Fan
/sys/class/thermal/cooling_device6/cur_state:0
/sys/class/thermal/cooling_device6/max_state:1
/sys/class/thermal/cooling_device7/type:Fan
/sys/class/thermal/cooling_device7/cur_state:0
/sys/class/thermal/cooling_device7/max_state:1
/sys/class/thermal/cooling_device8/type:Fan
/sys/class/thermal/cooling_device8/cur_state:0
/sys/class/thermal/cooling_device8/max_state:1
/sys/class/thermal/cooling_device9/type:Fan
/sys/class/thermal/cooling_device9/cur_state:0
/sys/class/thermal/cooling_device9/max_state:1
[root@alphaos ~]# echo 1 | tee /sys/class/thermal/cooling_device1/cur_state
1
[root@alphaos ~]# dmesg | grep ACPI
[    0.000000] BIOS-e820: [mem 0x00000000bffc5400-0x00000000bffe7fb7] ACPI NVS
[    0.000000] ACPI: RSDP 00000000000f7b50 000024 (v02 HP    )
[    0.000000] ACPI: XSDT 00000000bffc81cc 000084 (v01 HPQOEM SLIC-MPC 00000001 HP   00000001)
[    0.000000] ACPI: FACP 00000000bffc8084 0000F4 (v04 HP     30C3     00000003 HP   00000001)
[    0.000000] ACPI: DSDT 00000000bffc8544 014584 (v01 HP       nc65xx 00010000 MSFT 03000001)
[    0.000000] ACPI: FACS 00000000bffe7d80 000040
[    0.000000] ACPI: SLIC 00000000bffc8250 000176 (v01 HPQOEM SLIC-MPC 00000001 HP   00000001)
[    0.000000] ACPI: HPET 00000000bffc83c8 000038 (v01 HP     30C3     00000001 HP   00000001)
[    0.000000] ACPI: APIC 00000000bffc8400 000068 (v01 HP     30C3     00000001 HP   00000001)
[    0.000000] ACPI: MCFG 00000000bffc8468 00003C (v01 HP     30C3     00000001 HP   00000001)
[    0.000000] ACPI: TCPA 00000000bffc84a4 000032 (v02 HP     30C3     00000001 HP   00000001)
[    0.000000] ACPI: ASF! 00000000bffc84d8 000069 (v16 HP     CHIMAYU  00000001 HP   00000000)
[    0.000000] ACPI: SSDT 00000000bffdcac8 000328 (v01 HP       HPQSAT 00000001 MSFT 03000001)
[    0.000000] ACPI: SSDT 00000000bffdcdf0 00014E (v01 HP       HPQPRN 00000001 MSFT 03000001)
[    0.000000] ACPI: SSDT 00000000bffdd946 00025F (v01 HP      Cpu0Tst 00003000 INTL 20060317)
[    0.000000] ACPI: SSDT 00000000bffddba5 0000A6 (v01 HP      Cpu1Tst 00003000 INTL 20060317)
[    0.000000] ACPI: SSDT 00000000bffddc4b 0004D7 (v01 HP        CpuPm 00003000 INTL 20060317)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: PM-Timer IO Port: 0x1008
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.001013] ACPI: Core revision 20131218
[    0.007228] ACPI: All ACPI Tables successfully acquired
[    0.045174] PM: Registering ACPI NVS region [mem 0xbffc5400-0xbffe7fb7] (142264 bytes)
[    0.067080] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.067082] ACPI: bus type PCI registered
[    0.135024] ACPI: Added _OSI(Module Device)
[    0.135024] ACPI: Added _OSI(Processor Device)
[    0.135024] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.135026] ACPI: Added _OSI(Processor Aggregator Device)
[    0.135027] ACPI: Added _OSI(linux)
[    0.159444] ACPI: SSDT 00000000bffdd006 0002C1 (v01 HP      Cpu0Ist 00003000 INTL 20060317)
[    0.159746] ACPI: Dynamic OEM Table Load:
[    0.159748] ACPI: SSDT           (null) 0002C1 (v01 HP      Cpu0Ist 00003000 INTL 20060317)
[    0.159835] ACPI: SSDT 00000000bffdd34c 0005FA (v01 HP      Cpu0Cst 00003001 INTL 20060317)
[    0.160125] ACPI: Dynamic OEM Table Load:
[    0.160127] ACPI: SSDT           (null) 0005FA (v01 HP      Cpu0Cst 00003001 INTL 20060317)
[    0.160301] ACPI: SSDT 00000000bffdcf3e 0000C8 (v01 HP      Cpu1Ist 00003000 INTL 20060317)
[    0.160596] ACPI: Dynamic OEM Table Load:
[    0.160598] ACPI: SSDT           (null) 0000C8 (v01 HP      Cpu1Ist 00003000 INTL 20060317)
[    0.160654] ACPI: SSDT 00000000bffdd2c7 000085 (v01 HP      Cpu1Cst 00003000 INTL 20060317)
[    0.160942] ACPI: Dynamic OEM Table Load:
[    0.160944] ACPI: SSDT           (null) 000085 (v01 HP      Cpu1Cst 00003000 INTL 20060317)
[    0.192055] ACPI: Interpreter enabled
[    0.192062] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131218/hwxface-580)
[    0.192066] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-580)
[    0.192078] ACPI: (supports S0 S3 S4 S5)
[    0.192080] ACPI: Using IOAPIC for interrupt routing
[    0.192239] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in ACPI motherboard resources
[    0.194538] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.194538] ACPI: No dock devices found.
[    0.197242] ACPI: Power Resource [C235] (off)
[    0.197271] ACPI: Power Resource [C23D] (on)
[    0.197271] ACPI: Power Resource [C244] (off)
[    0.198134] ACPI: Power Resource [C260] (on)
[    0.204104] ACPI: Power Resource [C185] (off)
[    0.207209] ACPI: Power Resource [C36E] (off)
[    0.207209] ACPI: Power Resource [C371] (off)
[    0.207209] ACPI: Power Resource [C372] (off)
[    0.208038] ACPI: Power Resource [C373] (off)
[    0.208063] ACPI: Power Resource [C374] (off)
[    0.208064] ACPI: Power Resource [C375] (off)
[    0.208102] ACPI: Power Resource [C38E] (off)
[    0.209038] ACPI: Power Resource [C38F] (off)
[    0.209064] ACPI: Power Resource [C390] (off)
[    0.209066] ACPI: Power Resource [C391] (off)
[    0.209066] ACPI: Power Resource [C392] (off)
[    0.212483] ACPI: PCI Root Bridge [C003] (domain 0000 [bus 00-ff])
[    0.219277] pci 0000:00:19.0: System wakeup disabled by ACPI
[    0.219277] pci 0000:00:1a.0: System wakeup disabled by ACPI
[    0.220051] pci 0000:00:1a.1: System wakeup disabled by ACPI
[    0.220217] pci 0000:00:1a.7: System wakeup disabled by ACPI
[    0.220257] pci 0000:00:1c.1: System wakeup disabled by ACPI
[    0.221194] pci 0000:00:1c.4: System wakeup disabled by ACPI
[    0.221234] pci 0000:00:1d.0: System wakeup disabled by ACPI
[    0.221234] pci 0000:00:1d.1: System wakeup disabled by ACPI
[    0.221234] pci 0000:00:1d.2: System wakeup disabled by ACPI
[    0.222206] pci 0000:00:1d.7: System wakeup disabled by ACPI
[    0.222246] pci 0000:00:1e.0: System wakeup disabled by ACPI
[    0.222246] pci 0000:00:1f.0: address space collision: [io  0x1000-0x107f] conflicts with ACPI CPU throttle [??? 0x00001010-0x00001015 flags 0x80000000]
[    0.224082] pci 0000:10:00.0: System wakeup disabled by ACPI
[    0.228691] ACPI: PCI Interrupt Link [C12D] (IRQs *10 11)
[    0.228784] ACPI: PCI Interrupt Link [C12E] (IRQs *10 11)
[    0.229080] ACPI: PCI Interrupt Link [C12F] (IRQs 10 *11)
[    0.229172] ACPI: PCI Interrupt Link [C130] (IRQs 10 11) *5
[    0.229263] ACPI: PCI Interrupt Link [C140] (IRQs *10 11)
[    0.229354] ACPI: PCI Interrupt Link [C141] (IRQs 10 11) *5
[    0.229445] ACPI: PCI Interrupt Link [C142] (IRQs 10 *11)
[    0.229497] ACPI Exception: AE_NOT_FOUND, Evaluating _PRS (20131218/pci_link-180)
[    0.230053] ACPI: Enabled 6 GPEs in block 00 to 1F
[    0.230091] ACPI : EC: GPE = 0x16, I/O: command/status = 0x66, data = 0x62
[    0.230115] ACPI: bus type USB registered
[    0.230115] PCI: Using ACPI for IRQ routing
[    0.244568] pnp: PnP ACPI init
[    0.244593] ACPI: bus type PNP registered
[    0.244817] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.245149] pnp 00:01: Plug and Play ACPI device, IDs IFX0102 PNP0c31 (active)
[    0.245240] pnp 00:02: Plug and Play ACPI device, IDs PNP0c04 (active)
[    0.245315] pnp 00:03: Plug and Play ACPI device, IDs PNP0200 (active)
[    0.245383] pnp 00:04: Plug and Play ACPI device, IDs PNP0800 (active)
[    0.245459] pnp 00:05: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.245580] pnp 00:06: Plug and Play ACPI device, IDs PNP0103 (active)
[    0.245651] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.245723] pnp 00:08: Plug and Play ACPI device, IDs SYN012f SYN0100 SYN0002 PNP0f13 (active)
[    0.245937] system 00:09: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.246595] pnp 00:0a: Plug and Play ACPI device, IDs HPQ0004 (active)
[    0.246731] system 00:0b: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.247585] system 00:0c: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.247609] pnp: PnP ACPI: found 13 devices
[    0.247610] ACPI: bus type PNP unregistered
[    0.716352] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    0.716355] ata1.00: ACPI cmd b1/c1:00:00:00:00:a0 (DEVICE CONFIGURATION OVERLAY) filtered out
[    0.726520] ata1.00: ACPI cmd c6/00:10:00:00:00:a0 (SET MULTIPLE MODE) succeeded
[    0.726524] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    0.727851] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    0.727855] ata1.00: ACPI cmd b1/c1:00:00:00:00:a0 (DEVICE CONFIGURATION OVERLAY) filtered out
[    0.727896] ata1.00: ACPI cmd c6/00:10:00:00:00:a0 (SET MULTIPLE MODE) succeeded
[    0.727899] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    2.972629] ACPI: Sleep Button [C27F]
[    2.973061] ACPI: Lid Switch [C201]
[    2.987482] ACPI: Power Button [PWRF]
[    3.108041] ACPI: Battery Slot [C1FD] (battery present)
[    3.108103] ACPI: Battery Slot [C1FC] (battery absent)
[    3.111426] ACPI: AC Adapter [C1FB] (on-line)
[    3.259764] ACPI: Video Device [C14B] (multi-head: yes  rom: no  post: no)
[    3.261614] ACPI: acpi_idle registered with cpuidle
[    3.263339] ACPI: Thermal Zone [TZ2] (49 C)
[    3.267029] ACPI: Thermal Zone [TZ3] (33 C)
[    3.302188] ACPI: Thermal Zone [TZ4] (33 C)
[    3.307953] ACPI: Thermal Zone [TZ5] (70 C)
[    3.326271] ACPI: Thermal Zone [TZ1] (57 C)
[    3.326403] ACPI: Fan [C376] (off)
[    3.326739] ACPI: Fan [C377] (off)
[    3.326842] ACPI: Fan [C378] (off)
[    3.326943] ACPI: Fan [C379] (off)
[    3.327058] ACPI: Fan [C37A] (off)
[    3.327138] ACPI: Fan [C37B] (off)
[    3.327239] ACPI: Fan [C393] (off)
[    3.327340] ACPI: Fan [C394] (off)
[    3.327440] ACPI: Fan [C395] (off)
[    3.327541] ACPI: Fan [C396] (off)
[    3.327642] ACPI: Fan [C397] (off)
[    3.858503] ACPI Warning: SystemIO range 0x0000000000001028-0x000000000000102f conflicts with OpRegion 0x0000000000001000-0x0000000000001042 (\_SB_.C003.C004.C0D2) (20131218/utaddress-258)
[    3.858511] ACPI: This conflict may cause random problems and system instability
[    3.858513] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.858520] ACPI Warning: SystemIO range 0x0000000000001130-0x000000000000113f conflicts with OpRegion 0x0000000000001100-0x000000000000113b (\_SB_.C003.C004.C0E4) (20131218/utaddress-258)
[    3.858524] ACPI: This conflict may cause random problems and system instability
[    3.858526] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.858527] ACPI Warning: SystemIO range 0x0000000000001100-0x000000000000112f conflicts with OpRegion 0x0000000000001100-0x000000000000113b (\_SB_.C003.C004.C0E4) (20131218/utaddress-258)
[    3.858531] ACPI: This conflict may cause random problems and system instability
[    3.858533] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[root@alphaos ~]#

john3voltas
Expert
Posts: 266
Joined: 19 May 2013, 21:53

Re: acpi fan issues, no fan and overheating = 3.13+ kernel b

Postby john3voltas » 06 May 2014, 20:05

If you search the forum you will find some of my posts with the same issue on older versions of alphaOS. Maybe prior to 12.x.
I'm also on a HP/Compaq nx6310 laptop. Could be a regression.

pentajazz
Advanced
Posts: 48
Joined: 27 Apr 2014, 23:09

Re: acpi fan issues, no fan and overheating = 3.13+ kernel b

Postby pentajazz » 07 May 2014, 01:52

workaround, manual - static fan control
find cooling devices:

Code: Select all

find /sys/class/thermal/cooling_device*/ -maxdepth 1 -type f | xargs grep ""


a possible result:
/sys/class/thermal/cooling_device0/type:Processor
/sys/class/thermal/cooling_device0/cur_state:1
/sys/class/thermal/cooling_device0/max_state:10
/sys/class/thermal/cooling_device1/type:Processor
/sys/class/thermal/cooling_device1/cur_state:1
/sys/class/thermal/cooling_device1/max_state:10
...
/sys/class/thermal/cooling_device2/type:Fan
/sys/class/thermal/cooling_device2/cur_state:0
/sys/class/thermal/cooling_device2/max_state:1

/sys/class/thermal/cooling_device3/type:Fan
/sys/class/thermal/cooling_device3/cur_state:0
/sys/class/thermal/cooling_device3/max_state:1
/sys/class/thermal/cooling_device4/type:Fan
/sys/class/thermal/cooling_device4/cur_state:0
/sys/class/thermal/cooling_device4/max_state:1
...


numbered cooling_devices type:Fan have 2 options (0=off, 1=on), number is something like fan power state, first fan number is the higher value available (100% pan power) and so on
here first cooling fan device = 2
/sys/class/thermal/cooling_device2/type:Fan

to enable:

Code: Select all

echo 1 > /sys/class/thermal/cooling_device2/cur_state

to disable:

Code: Select all

echo 0 > /sys/class/thermal/cooling_device2/cur_state


[root@alphaos ~]# echo 1 > /sys/class/thermal/cooling_device2/cur_state ---------------(enable fan power 100%)
[root@alphaos ~]# echo 0 > /sys/class/thermal/cooling_device2/cur_state ---------------(disable fan power 100%)
[root@alphaos ~]# echo 1 > /sys/class/thermal/cooling_device3/cur_state ---------------(enable next power level <100%)
[root@alphaos ~]# echo 0 > /sys/class/thermal/cooling_device3/cur_state ---------------(and so on...)
[root@alphaos ~]# echo 1 > /sys/class/thermal/cooling_device4/cur_state

use "sensors" command to observe cpu temperatures (pacman -S lm_sensors)

john3voltas
Expert
Posts: 266
Joined: 19 May 2013, 21:53

Re: acpi fan issues, no fan and overheating = 3.13+ kernel b

Postby john3voltas » 20 Jul 2014, 12:20

As I already told you before I've had similar issues in the past which got solved by upgrading to a newer alphaos.
At first it seems to be a problem only with alphaos. Then you realize that it's a problem with arch linux. Then you realize that it's a problem with bleeding edge kernels. It mainly affects arch linux based distros because arch linux and it's derivates use bleeding edge kernels.
Having said that, I don't experience that problem anymore but now I have a similar one which is very annoying too.
CPU fans work ok and adapt to cpu temperature needs. When cpu is hotter they spin faster and when it's cooler they spin slower. But whenever I put my PC to sleep using echo -n mem > /sys/power/state and then I wake it up the cpu fan spins faster than needed forever.
When a PC is put to sleep for a long time the cpu is obviously cool. So when the PC is woke up there's really no need to spin the fans that fast.
Here's my list of thermal cooling devices working properly:

Code: Select all

[root@alphaos ~]# find /sys/class/thermal/cooling_device*/ -maxdepth 1 -type f | xargs grep ""
/sys/class/thermal/cooling_device0/type:LCD
/sys/class/thermal/cooling_device0/cur_state:10
/sys/class/thermal/cooling_device0/max_state:10
/sys/class/thermal/cooling_device1/type:Processor
/sys/class/thermal/cooling_device1/cur_state:0
/sys/class/thermal/cooling_device1/max_state:10
/sys/class/thermal/cooling_device2/type:Processor
/sys/class/thermal/cooling_device2/cur_state:0
/sys/class/thermal/cooling_device2/max_state:10
/sys/class/thermal/cooling_device3/type:Fan
/sys/class/thermal/cooling_device3/cur_state:0
/sys/class/thermal/cooling_device3/max_state:1
/sys/class/thermal/cooling_device4/type:Fan
/sys/class/thermal/cooling_device4/cur_state:0
/sys/class/thermal/cooling_device4/max_state:1
/sys/class/thermal/cooling_device5/type:Fan
/sys/class/thermal/cooling_device5/cur_state:0
/sys/class/thermal/cooling_device5/max_state:1
/sys/class/thermal/cooling_device6/type:Fan
/sys/class/thermal/cooling_device6/cur_state:1
/sys/class/thermal/cooling_device6/max_state:1

Interesting, /sys/class/thermal/cooling_device0/type:LCD is actually set to state 10 when I set lcd brightness to minimum and set to 1 when I set lcd brightness to maximum.
Then all devices from 3 to 6 are the cpu fan. If I set device 6 to 1 cpu fan spins quietly and if cpu is mostly idling it's enough to keep it cool.
When I put the PC to sleep and then wake it up, both device 6 and 5 are set to 1 and cpu fan is spinning fast. Not as fast as it can go but it is very annoying. Then if I set both device 6 and 5 to 0, cpu fan suddenly comes to a halt and after a few seconds (via ACPI?) it automatically restarts spinning slowly and I can see that device 6 is again set to 1.
From then on it works properly but what could I do fix this behaviour?
Cheers


john3voltas
Expert
Posts: 266
Joined: 19 May 2013, 21:53

Re: acpi fan issues, no fan and overheating = 3.13+ kernel b

Postby john3voltas » 20 Jul 2014, 21:54

pentajazz wrote:https://bugzilla.kernel.org/show_bug.cgi?id=71711
https://bugzilla.kernel.org/show_bug.cgi?id=78201

Thanks mate.
That brings in a very important subject to the discussion: AlphaOS's kernel.
Arch is great because it's a rolling distro and because it's bleeding edge software. But sometimes we need a bit of the opposite.
Take the repos as an example. Being alphaos a livecd/liveusb distro we needed a repo that wouldn't be changing all the time, hence why we use ARM repo.
But in terms of kernel I'm not sure if we're using the stock 'linux' or it's LTS version.
In this case, since we want some stability on our systems, sometimes it would be great to have a couple of spare kernels.
Like 'linux-lts'
https://www.archlinux.org/packages/?name=linux-lts
Or it's older brother 'linux-lts34'
https://aur.archlinux.org/packages/linux-lts34/
Or even such as in my current case, 'kernel-netbook'
https://aur.archlinux.org/packages/kernel-netbook/
Or some other kernel that I didn't list but that it's well-known for it's compliancy with hardware.
What do you say sim?
If you teach me from hereon I'll start building the kernel-netbook on every new release ;)
Cheers

pentajazz
Advanced
Posts: 48
Joined: 27 Apr 2014, 23:09

Re: acpi fan issues, no fan and overheating = 3.13+ kernel b

Postby pentajazz » 20 Jul 2014, 22:43

a dedicated alphaOS kernel repository, it seems the best path, what an opportunity to use those state of the art arch capabilities. An LTS kernel for sure.
This could also lead to some other extreme and hard to do, extended features, such as those specific proprietary nvidia/ati video drivers witch need equivalent compiled kernels. And so on


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests

cron