qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot poweroff debian/mips64el on qemu


From: Jun Sun
Subject: Re: cannot poweroff debian/mips64el on qemu
Date: Sat, 25 Jan 2020 11:34:58 -0800

Wow!  That is it!  Thank you, Aurlien!

I'm using debian 10.2 and clearly the kernel config option is not there.  After adding it back, the guest machine powers off correctly.

Now I only need to figure out how to properly update initrd in a crossbuild environment ...

Cheers.

Jun

On Sat, Jan 25, 2020 at 4:49 AM Aurelien Jarno <address@hidden> wrote:
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

--
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
address@hidden                 http://www.aurel32.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]