-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aspeed QEMU locks up #114
Comments
openbmc/qemu#14 did some changes to qemu and aspeed timer. EDIT: That particular issue is solved by the latest qemu |
Next issue is the kexec one:
Then nothing QEMU shows:
|
The negative expire_time does not bode well. Printing the expiry times shows this:
then inf loop and hang Interesting thing is that aspeed_timer_mod's next is an uint64 and timer_mod takes int64 |
Applying this super-naive patch makes the kernel continue, but everything is quite broken and it hangs later on.
|
Digging some more with:
|
|
Patches have been merged upstream, openbmc/qemu@5ff119d |
While debugging a possibly timer releated freeze with kexec, I rebuilt qemu with debugging enabled. This made the whole emulator freeze in the bootloader at this stage:
Looking at gdb, it seems like there is somebody holding the global CPU lock, which after a bit of digging seems to be the calculate_next function in aspeed_timer. I added this trace output:
And the output is:
And then it hangs.
The text was updated successfully, but these errors were encountered: