-
Notifications
You must be signed in to change notification settings - Fork 216
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
Not working on NodeOS #150
Comments
@piranna I was trying to get a more recent NodeOS running on my computer but could not, as the NodeOS docker image very old. Is there a NodeOS IRC channel or some other support channel? |
Docker images are unmaintained, but you have easy and updated instructions for QEmu, and also now it can run on real hardware... :-) On QEmu you'll need to use the curses flag, but on real hardware it should work as is. |
I can't build NodeOS on OSX for a variety of reasons. First it complained about elf.h, then byteswap.h. I remember it failing on an Ubuntu VM as well, but I'll try again. |
It can't be build on OSX, but some people got to build it on an Ubuntu VM. I'm thinking if using crosstools-ng would allow to build it on other systems like OSX or Windows without problems... |
@piranna here's my traceback after building on a fresh Ubuntu 14.04 VM: https://gist.github.com/secrettriangle/9bb9175ba631c33f30e0 |
From the traceback I can't be able to identify the problem, but definitelly it's possible to build it on Ubuntu 14.04 VM (it's what's being used on SemaphoreCI servers). Since the process is killed, maybe it's an out of memory problem? How much memory has the virtual machine? By the way, maybe you are interested in using the autogenerated releases instead of generate them yourself, and also someone could be able to convert them to VirtualBox... :-) |
There's something really awful on your virtual machine... Dumb question, but you have exec The problem of run.sh is because it's prepared to exec QEmu on a real machine, KVM is not available inside virtual machines. Just remove the KVM support and try again, it will be slower but you should be able to run it :-) |
Same thing with an absolute path to After running |
Sh*t, that's annoying! :-( What's the actual content of run.sh after changing it? |
OK, I'm able to run it now... Had to remove the |
Does NodeOS support environment variables? Also where is |
Great! :-D Yeah,
Yeah, it's normal :-P It will last more time to boot it but it's usable anyway :-)
Yes, you can access them opening a
Your $HOME is |
Interesting -- if I comment out the KVM line in |
Hum? Define "natively"... using an OSX QEmu binary? Yeah it would makes sense, I don't know but KVM probably would be a Linux-expecific virtualization mechanism... :-) |
@piranna it works using a prebuilt binary by running |
Oh cool, then maybe we should set KVM it as an opt-in instead as by default? |
Exactly what I was thinking... maybe add a command-line option, like Also IMO the |
KVM is a linux virtualization module, without KVM, QEMU just does emulation as far as I know. It's a bit slower, but it will work. |
Maybe it's a question of taste, I don't like when I de-compress a file and inside there a lonely folder, I find it redundant... :-P
Yes, definitely the flag seems to be a good thing :-) |
What's the easiest way to add/change files in the NodeOS VM? |
At this moment, probably to edit the build scripts and rebuild, specially node_modules/nodeos-usersfs module. Also, the npm packages are defined in .txt files as a list, just add there the name of the module and it will be downloaded. Probably you'll need to delete the obj & out folders or comment th if statement to force to recreate them... |
I've just tested slap 0.1.28 on NodeOS (I couldn't test any more recent because we don't support It has showed an strange error though, specially because all seems to work correctly after that: usrbinenv is an implementation of |
@piranna so glad to hear it! Wish it would support a newer version of slap but 0.1.28 will do. :P The only reason I can see that error appearing is because slap checks all global installed packages to see if they have a |
Me too, there's a lot of packages that has upgraded to
|
I've given read permissions to the |
Now that NodeOS use latest Node.js 4.3.1 I've been able to install latest version of Slap (hoorray!!! :-D) but I'm not able to use it because it doesn't respond to the keystrokes, also |
That is strange indeed. Try passing |
Regular shell works flawlessly. Are you talking about blessed-based applications? |
I'm talking about in |
When launched on NodeOS, cursor keeps blinking and CPU gets to 100% (maybe an infinite loop somewhere?), but nothing more happens. This is not a blessed or terminator issue since now by using
-curses
instead ofnographic
blessed demos are being shown (with bad characters, but at least it's not an empty screen). I've also lauched it withslap --help
andslap --logger.level debug
with no result, so seems the problem would be before this steps.The text was updated successfully, but these errors were encountered: