-
Notifications
You must be signed in to change notification settings - Fork 7
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
Linux kernel boot fails when trying to use more than 1000MB of memory (i.e. 1024MB) #42
Comments
RAM is mapped between 0 and 0x3fffffff, so the maximum is 1024 Mib, So we may limit to 1024 MiB at QEMU level. |
We have an hint in the kernel logs:
259840 * 4 kiB / 1 MiB = 1015 MiB |
@vivier I think we can close this issue now as this is a hardware limitation, nothing that qemu can change if it emulates a Quadra 800. And since we have the new |
Yes, and moreover I think the bug is in the kernel |
-m 1000M
works.-m 1024M
doesn't.-m 1015M
works.-m 1016M
doesn't.I guess it is either not supported completly due to architecture limitations, or some memory is mapped incorrectly.
One option is to fix it, another (if it is arch issue), to refuse to start if the memory requrested is too big, or something.
-m 1281M
refuses to start:-m 1280M
does start but crashes.However, with
-m 1200M
, it does work:and no crashes.
Tested with Linux 5.3.0-1 and Linux 4.19.0
Here are runs with -m 1024M, which are similar to runs with
-m 1280M
.Linux 5.3.0-1:
Linux 4.19.0:
The text was updated successfully, but these errors were encountered: