-
Notifications
You must be signed in to change notification settings - Fork 87
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
System is deadlocked on memory -- Tinycore Linux 11 in browser (WASM) #2
Comments
Hi, The TinyCore Linux won't boot because of some problems with ATAPI sector caching. I think it's the same bug that makes Ubuntu crash if it's booted with a CD-ROM attached. Browser stack trace:
Browser message:
Native log:
|
The formula total_sectors - lba + 1 calculates one sector too many
Cross-sector ATAPI reads were problematic because we determined how many bytes of the previous frame to save based on the transfer count. This led to cases where the first few bytes of the sector would be read-read under certain circumstances. Now we determine how many bytes to save based on the total bytes transferred. This fixes TinyCore Linux and allows it to boot to desktop.
Hi, sorry for late reply! Here is my journey for run various OSes in browser wasm ( dsl-4.11.rc2 from cd
tinycore from v3 to v11 from cd (booting in command-line only mode)
does not work while booting the kernel stage:
tinycore v2 from cd🔥 works, load bash, successfully execute any terminal command, but it has old 2.6 kernel slitaz 4 linux base live from cdwhile booting: (yes, this trace quite useless, but jfyi)
alpine linux 3.3.3 x86 from cd
while booting:
ReactOS-0.4.12 from cd
Enter into setup mode, failed while 'Select HardDrive for install' stage (No harddrives are available) FreeDOS 1.2 from hd (preinstalled with qemu https://github.com/palmercluff/qemu-images/tree/master/freedos-1.2)🔥 boots and it's possible to run any command in command line KolibriOS 0 7 4 from hd (preinstalled with qemu https://github.com/palmercluff/qemu-images/tree/master/test-images/kolibri-os)🔥 works with GUI, but very slowly (about 5 seconds for its notepad version opening) MenuetOS preinstalled with qemuHangs while booting (I can not enter any number from keyboard in order to specify |
…t in browser (#2) Not enough bytes were being prefetched, which posed an issue during cross-block loads
@ARyaskov MenuetOS (from the original floppy disk) seems to work fine, I downloaded the floppy from
During boot, I chose 24 BPP 800x600, use preset, no MTRR accleration, PS/2 mouse, 64 MB RAM, and image from floppy. Thanks for the bug reports, they're helping me fix a lot of issues. |
ReactOS LiveCD works well in the browser.
There are some VGA glitches (no icons), but they happen on the native version too. They go away if you enable PCI VGA. I haven't tried installing it, but it should work, in theory, if you attach a blank hard drive image ( |
This allows ReactOS to use the nice big VESA screen
Somewhere in the last few commits, major bugs preventing TinyCore and Damn Small Linux from booting in the browser have been fixed. I'm not sure how exactly I fixed these bugs, but I guess that all that matters is that they're gone. Anyways, I revamped |
Hi!
First of all, thank you for really amazing project!
Trying to boot TinyCore Linux 11 (http://tinycorelinux.net/) in browser (WASM)
and get
System is deadlocked on memory
error (see attached screenshot).Compiled with
node makefile.js emscripten release --enable-wasm
Emscripten info:
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.39.9, clang version 11.0.0 MacOS
Run in Chrome 80 via
serve
npm package (viahttp://localhost:5000/?cda=tc11os
)I think the system is out of memory -- how can I increase available RAM for OS (e.g. via browser address line parameters?)?
Thank you!
The text was updated successfully, but these errors were encountered: