-
Notifications
You must be signed in to change notification settings - Fork 23
Added paragraph about SSE3 support to build-instructions.md. #76
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -292,3 +292,39 @@ If you try to use an unsupported file system, this error will be printed: | |
``` | ||
Cannot mount overlay: Invalid argument | ||
``` | ||
|
||
### SSE3 Support | ||
|
||
When running on older CPUs without SSE3 Support, you might run into issues like: | ||
|
||
``` | ||
user$ darling shell | ||
Bootstrapping the container with launchd... | ||
Cannot open mnt namespace file: No such file or directory | ||
``` | ||
|
||
or more likely | ||
|
||
``` | ||
user$ sudo darling shell | ||
Setting up a new Darling prefix at /root/.darling | ||
Bootstrapping the container with launchd... | ||
Illegal instruction (core dumped) | ||
``` | ||
|
||
If your CPU doesn't support SSE3, you might still be able to run darling by installing the opemu-linux kernel module. | ||
|
||
But first check `/proc/cpuinfo` to find out if your CPU supports SSE3, e.g. by running `cat /proc/cpuinfo | grep SSE3`. Unless it comes back with `SSE3` your CPU doesn't support SSE3. | ||
|
||
To install [opemu-linux](https://github.com/mirh/opemu-linux) first clone the repository: | ||
```bash | ||
git clone https://github.com/mirh/opemu-linux | ||
``` | ||
then switch directories & compile the kernel module: | ||
```bash | ||
cd opemu-linux && make | ||
``` | ||
and load it: | ||
```bash | ||
sudo insmod op_emu.ko | ||
``` | ||
Comment on lines
+319
to
+330
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have mixed feelings about including build instructions for projects that the Darling team does not manage. Ideally, you should submit a PR request to the With that being said, it's looks like that project is no longer in active development. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like the implication of including a command like
sudo darling shell
in the wiki. I don't want the wiki to imply that this is an okay thing to do.I recommend removing the
user$ darling shell
anduser$ sudo darling shell
part.