Bug 100691
Summary: | Medion E4214 hangs during reboot/poweroff in legacy mode while works well in EFI mode | ||
---|---|---|---|
Product: | ACPI | Reporter: | Nils Rennebarth (nils.rennebarth) |
Component: | Power-Off | Assignee: | acpi_power-off |
Status: | CLOSED OBSOLETE | ||
Severity: | high | CC: | aaron.lu, nils.rennebarth |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 4.1. | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
content of /var/log/dmesg
Output of lspci -v Output of acpidump |
Description
Nils Rennebarth
2015-06-30 07:14:34 UTC
Created attachment 181441 [details]
Output of lspci -v
No immediate idea, please attach acpidump: # acpidump > acpidump.txt Thanks. Created attachment 182151 [details]
Output of acpidump
I attached the acpidump output. Is there anything else I can do, to debug the problem? Compile the kernel with special debugging options, running with other startup parameters, etc.? The problem looks like to me is that the system does not power off or reboot after we write the value to the IO port according to ACPI table, i.e. to power off, we are supposed to write 0x07(according to _S5 ACPI object) to IO port 0x404:bits10-12, if it doesn't power off, it is either (a): we are not doing this right or (b): the value given by the ACPI table is wrong. I highly doubt it is (b), can you please check if Windows can power off or reboot if you happen to have Windows installed too? Yes, Windows was preinstalled (I only shrank its partition to install linux) and it can reboot or power off just fine. And Windows is 64bit, just as linux is. No idea, since you have already tried all the reboot= kernel cmdline options. Do you have vt-d turned on in your BIOS? I saw other places people mention this, maybe worth a check. According to intel, the processor only supports vt-x, not vt-d, but the BIOS is so stripped down, that it does not allow any setting at all, except selecting the boot device. Now for the reboot options, what I tried where the following reboot options: b,f a,f k,f t,f e,f p,f and none of these work or show any difference. Did I miss something, or can I try something different? (In reply to Nils Rennebarth from comment #8) > According to intel, the processor only supports vt-x, not vt-d, but the BIOS > is so stripped down, that it does not allow any setting at all, except > selecting the boot device. > > Now for the reboot options, what I tried where the following reboot options: > b,f > a,f > k,f > t,f > e,f > p,f > and none of these work or show any difference. Did I miss something, or can > I try something different? Not something I can think of, perhaps running Linux under EFI mode is worth a try. I think you can check this simply with a LiveUSB instead of really installing it. Bingo, that worked. Reboot as well as poweroff. I very much suspect, that the BIOS is a custom BIOS for this model and simply buggy for everything except EFI, because it was only tested with windows. Almost all laptops are only tested with the pre-installed OS, i.e. Windows :-) I can imagine EFI may solve the reboot problem since it provides a way to do reboot, but I have no idea why poweroff also works now. Anyway, good to know this and I'll close it. I don't find a proper reason so I simply chose OBSOLETE, don't bother that. |