Comments (6)
it works after I update kernel to 5.8. :)
from io_uring-by-example.
Hello,
Looks like you're running this on Windows Services for Linux (WSL). I'm not sure it supports io_uring. Can you confirm if you are running this on WSL Ubuntu or you're running this inside of a Linux virtual machine?
from io_uring-by-example.
no, I run on Xeon HW, you see Visual Studio because I use Visual Studio remote debug feature to debug the application running in the linux. it is not WSL. for sure. :)
I run this on Ubuntu server 20.04.
from io_uring-by-example.
any thing I can do?
from io_uring-by-example.
Hello,
I see from your uname output that your kernel is v5.4. However, according to liburing documentation for the accept operation, support for accept was added in kernel v5.5. That's the problem. You can run the probe.c example program from Lord of the io_uring example programs repo to determine which io_uring operations your kernel supports.
Tip: You can use Arch Linux which usually runs the most recent kernels, or you can install more recent kernels on Ubuntu as well. Make sure you run the probe program to see if all required features to run an example are supported by your running kernel.
Hope that helps!
from io_uring-by-example.
@shuveb Yes, you are right. I will install latest kernel with one VM to test again.
intel@wcp116:/wayne/loti-examples/build$ sudo ./probe/wayne/loti-examples/build$
[sudo] password for intel:
You are running kernel version: 5.4.0-42-generic
This program won't work on kernel versions earlier than 5.6
Report of your kernel's list of supported io_uring operations:
Segmentation fault
intel@wcp116:
from io_uring-by-example.
Related Issues (12)
- Error in example 2? HOT 1
- Polled IO examples HOT 1
- Got error in example 05_webserver_liburing
- Weird behaviour with example 05 HOT 1
- 03_cat_liburing HOT 1
- copy_file_contents() HOT 1
- 5 web server async file access?
- how do u install liburing-dev for ubuntu 20.04?
- Possible to make this into a full fledge http server with multi threading? HOT 1
- cp_liburing can't copy the file content after first invoke
- Lost of in-progress I/Os upon io_uring exit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from io_uring-by-example.