Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7855 - kernel26suspend2 2.6.21.1-2 broken DSDT-table

Attached to Project: Arch Linux
Opened by ramses xi (ramses) - Sunday, 19 August 2007, 22:57 GMT
Last edited by Aaron Griffin (phrakture) - Wednesday, 19 September 2007, 17:44 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture i686
Severity Critical
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: kernel26suspend2 2.6.21.1-2 on Compaq Evo400n breaks ACPI fan control. The story goes:

The DSDT-table in BIOS is very bad written in assembler and contains 23 bugs. Before 2.6.16 it was not possible to run linux on this computer without hacking the DSDT and apply it in a ramdisk. The problem was that the CPU-fan did never start and no thermal values existed. You could start i manually thou with echo "1" > /porc/acpi/something wich made it possible to install linux and then apply the ramdisk-dsdt.

Compaq has never fixed the DSDT-table in BIOS but early made a fix for win-users applied in the OS. But with 2.6.16 (it may have been earlier) suddenly the themperature controls where ther and the fan did start att different speeds when the temperature passed a certain value.

Unfortunately the latest update of the kernel did break this "feature" and the computer ofcourse shut down itself after a few minutes of heavy use. Because I have not used the computer since may I don't know which kernel-version that was the latest working one. But I do have another localy compiled image from 2.6.20 that works fine.


Additional info:
* package version(s) kernel26suspend2 2.6.21.1-2
* config and/or log files etc. none


Steps to reproduce:
none
This task depends upon

Closed by  Aaron Griffin (phrakture)
Wednesday, 19 September 2007, 17:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  User requested closure:
kernel26suspend2 version: 2.6.22.6-1 No longer problem with the DSDT table.
Comment by Isenmann Daniel (ise) - Monday, 20 August 2007, 12:38 GMT
I preparing a new release for suspend2 kernel in the next few days. It will be bumped to 2.6.22.3. After the update, please tell me, if it works or not. So, just wait a few days.
Comment by Isenmann Daniel (ise) - Tuesday, 21 August 2007, 18:16 GMT
New version is out, try it with the new version. I close this bug, if it appears again, then reopen it.
Comment by ramses xi (ramses) - Monday, 03 September 2007, 06:53 GMT
The bug did not disappear.

Output from 2.6.16-kernel
# ls /proc/acpi
ac_adapter button event info sleep wakeup
alarm dsdt fadt power_resource thermal_zone
battery embedded_controller fan processor video

# ls /proc/acpi/thermal_zone/TZ1/
cooling_mode polling_frequency state temperature trip_points

Output from kernel26suspend2 2.6.22.5-1:

# ls /proc/acpi
dsdt embedded_controller event fadt power_resource

It also seems the dsdt is completely different in the two kernels. Either the kernel loads the BIOS-dsdt and that one I know for sure is broken. Or the kernel has no longer suport for EvoN440c, or it loads the wrong dsdt.
Comment by Roman Kyrylych (Romashka) - Monday, 03 September 2007, 06:53 GMT
reopened by this request:
The bug did not disappear. Output from 2.6.16-kernel # ls /proc/acpi ac_adapter button event info sleep wakeup alarm dsdt fadt power_resource thermal_zone battery embedded_controller fan processor video # ls /proc/acpi/thermal_zone/TZ1/ cooling_mode polling_frequency state temperature trip_points Output from kernel26suspend2 2.6.22.5-1: # ls /proc/acpi dsdt embedded_controller event fadt power_resource It also seems the dsdt is completely different in the two kernels. Either the kernel loads the BIOS-dsdt and that one I know for sure is broken. Or the kernel has no longer suport for EvoN440c, or it loads the wrong dsdt.
Comment by Isenmann Daniel (ise) - Monday, 03 September 2007, 18:23 GMT
I can't confirm the bug. On my computer ls /proc/acpi prints:
$ ls /proc/acpi/
ac_adapter button embedded_controller fadt power_resource thermal_zone battery dsdt event

Give me some more information on it, or a patch for this bug. I can't fix it without input from you.
Comment by ramses xi (ramses) - Monday, 03 September 2007, 22:51 GMT
I'll build a few kernels with different sources and patches and se what has changed. Also I'll raise this issue at the source - kernel.org. I'm quite sure it has to do with the bad BIOS-dsdt in the Evo n400c because it is the same issues that did arise again. I have rewritten the dsdt myself to a working table, but it is not "complete", and will try to load this with a ABS-build on this kernel. Unfortunately I'm in the middle of a heavy and timeconsuming project right now so all this will propably not be done in a few weeks. If you feel for it - close this bug. I'll ask to reopen it if I come up with something usefull.
Comment by ramses xi (ramses) - Wednesday, 19 September 2007, 17:33 GMT
kernel26suspend2

version: 2.6.22.6-1

No longer problem with the DSDT table. Full acpi-support is enabled. I got instead a irq-problem (network card) wich was solved with boot option "irqpoll"

Thanks!

/ramses xi

Loading...