Skip to content
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

Unimplemented: PAE #97

Closed
Darker opened this issue May 23, 2016 · 13 comments
Closed

Unimplemented: PAE #97

Darker opened this issue May 23, 2016 · 13 comments

Comments

@Darker
Copy link

Darker commented May 23, 2016

This is a message I get when booting Debian 8. I know that's a new system but I thought it would be really cool to run actual modern working OS in the emulator. What would be needed to fix that error? I'm a javascript programmer and I'd really like to help!

@warpcoil
Copy link
Contributor

PAE is the Physical Address Extensions of the Paging System on x86 platforms. You can find out more here:

http://wiki.osdev.org/PAE

It shouldn't be too difficult to extend the existing paging mechanism in v86 . . . I wouldn't be surprised if that was the only issue when booting Debian 8 though.

@Darker
Copy link
Author

Darker commented May 23, 2016

Well, I don't know anything about operating systems and low level operation. I guess I could follow some documentation and verbatim implement what the documentation says.

@copy
Copy link
Owner

copy commented May 24, 2016

PAE is described in this manual.

Normal 32-bit paging is implemented here. PAE paging follows the same structure, but there is an extra indirection, the tables have different sizes and each entry is 64 bit.

Note that PAE is actually quite useless since JavaScript can't address that much memory anyway. Actually, it's bad for performance (you can see that PAE translation is more complex that normal 32-bit translation). It would be a better idea to install Debian with a non-pae kernel. I'll give it a try.

I wouldn't be surprised if that was the only issue when booting Debian 8 though.

The only thing that comes to mind is MMX/SSE.

@copy
Copy link
Owner

copy commented May 24, 2016

Debian 8.4 boots perfectly fine after installing linux-image-586. Maybe I'll release this on the front page.

I'll leave this issue open for PAE anyway.

@warpcoil
Copy link
Contributor

Yeah, I done some experiments too . . . Gentoo latest works as well

@ayunami2000
Copy link

bump. even if it seems useless, many OSes (namely newer versions of windows) require this and refuse to boot without it.

@iAmInActions
Copy link

Any updates regarding this?

@copy
Copy link
Owner

copy commented Nov 18, 2021

v86 is small project with a small number of non-fulltime contributors. As far as I know, nobody is currently working on this. If you really want it, feel free to contribute it yourself.

@iAmInActions
Copy link

im not good at wasm so i probably cant help

@BelleNottelling
Copy link
Contributor

PAE was recently added, any reason to keep this open?

@copy
Copy link
Owner

copy commented Feb 19, 2022

Nope, fixed in #599.

@copy copy closed this as completed Feb 19, 2022
@ayunami2000
Copy link

That's kinda sick ngl, can't wait to test this! Thank you so much for all the work put into this project, it really is awesome work that you are doing here!!

@iAmInActions
Copy link

Time to install Ubuntu 20.04 and Windows 7 or 8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants