Re: cannot poweroff debian/mips64el on qemu

Aurelien Jarno <[email protected]>
Newsgroups gmane.linux.debian.ports.mips,gmane.comp.emulators.qemu.user
Message-ID <[email protected]>
On 2020-01-24 19:05, Jun Sun wrote:
> Here are more testing results
> 
>    - qemu 2.5 + debian10.2 + Malta + kernel4.19.0 : hangs on
>    poweroff ("reboot: System halted") for both 32bit and 64bit mipsel
>    - qemu 2.6 + debian9.11 + Malta + kernel4.9.0 : poweroff successfully
>    for both 32bit and 64bit mipsel
> 
> Given these results, who is likely to blame?  Debian? or kernel?

Probably a bit of both ;-) The poweroff implementation has changed in
kernel 4.19 (commit dd129c6374) and requires that the kernel is built
with CONFIG_POWER_RESET_PIIX4_POWEROFF=y to work.

I have pushed the fix to the Debian kernel repository. However I am not
sure it will be fixed for Debian 10.3, maybe it will only appear in
Debian 10.4.

Aurelien
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.