Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tag for Debian 11 "Bullseye" #6

Open
haelix888 opened this issue May 19, 2021 · 8 comments
Open

Tag for Debian 11 "Bullseye" #6

haelix888 opened this issue May 19, 2021 · 8 comments

Comments

@haelix888
Copy link

haelix888 commented May 19, 2021

I am interested to know if this can be made to work with Debian 11 "Bullseye" (Linux kernel 5.10).
For reference, Linux kernel 5.10 is the most recent LTS Linux (released Dec 2020). The preceding LTS is Linux version 5.4 (released Nov 2019), the one used by Ubuntu Focal, for which you provide an image tag.

My attempts at compiling the OpenOnload package against 5.10 have failed with error "error: implicit declaration of function ‘map_vm_area’; did you mean ‘get_vm_area’? [-Werror=implicit-function-declaration]"

@neomantra
Copy link
Owner

If you check out the release notes of Onload-7.1.1 it says:
- Linux kernels 4.4 - 5.9

They now develop Onload in the open. So maybe it is fixed there? I'm not sure.

This tooling only grabs official release packages. But, it could be possible to instead clone from GitHub and build/install from source.

@haelix888
Copy link
Author

Thanks for pointing that out.
The git version builds with kernel 5.10 and gcc 11.

@neomantra
Copy link
Owner

Thanks for confirming. I was able to build Onload from a Bullseye image.

I don't intend to make automated builds for non-released Onload versions. The main complication, and be aware of this if you try it yourself, is that the ONLOAD_USERSPACE_ID must match between the host and the container. So you will need either the same exact GitHub commit or you need to spoof the ONLOAD_USERSPACE_ID in the container.

Although I won't make the Bullseye build yet, I will put up a bullseye/Dockerfile.pre to make it easy to self-service.

When there is a new Onload release, I will make an automated build for Bullseye.

@neomantra
Copy link
Owner

I just pushed this... https://github.com/neomantra/docker-onload/blob/master/bullseye/Dockerfile
It uses the default gcc.

Use like so:

docker build --build-arg ONLOAD_GIT_REF=master -f bullseye/Dockerfile .

@haelix888
Copy link
Author

Slightly off-topic, but for those contemplating to use an unsupported (git) version, does that include TCPDirect? From what I see it doesn't. Or at least there is no mention of it in the docs.

@neomantra
Copy link
Owner

It doesn't look like any TCPDirect (zf) files are in their GitHub tree. This issue is relevant to your kernel.

@neomantra
Copy link
Owner

Version 7.1.2.141 of Onload has been released, which supports Debian 11 and will have TCPDirect. Working on this today.

@neomantra neomantra reopened this Jul 13, 2021
@neomantra
Copy link
Owner

Pushed code, but blocked by #7

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants