copy / v86

x86 PC emulator and x86-to-wasm JIT, running in the browser
https://copy.sh/v86/
BSD 2-Clause "Simplified" License
19.86k stars 1.4k forks source link

Getting Invalid argument with creating and manipulating files in 9p #1154

Closed Darin755 closed 2 months ago

Darin755 commented 2 months ago

So I recently created a new image for my project Browser Linux. However, in the new image the 9p filesystem does not seem to be working correctly. When ever a new file is created a Invalid argument error is generated. The file becomes a "ghost" file and is can not be read or deleted. This likely indicates something going wrong in the kernel as that error is triggered when the system call fails. However, I do not see any errors and mounting it with debug options does not do anything.

The new image: (9p is mounted at /home) https://darin755.github.io/browser-linux/src/?iso=rootfstesting.iso

I am not sure what is going wrong here.

SuperMaxusa commented 2 months ago

996, works for me on copy.sh/v86, maybe your version of v86 on Browser Linux is outdated?

зображення

Darin755 commented 2 months ago

It is outdated but the new version causes a different issue.

copy commented 2 months ago

Closing as duplicate of #996

It is outdated but the new version causes a different issue.

This sort of comment is not very useful. What is the issue? Can you provide a testcase that allows me to reproduce locally? Can you run with debug.html or libv86-debug.js and paste the output here?

Darin755 commented 2 months ago

Yeah sorry about this issue. I made it while I was a little tired and looking back it isn't really useful.