[GH-ISSUE #182] init io uring failed #113

Closed
opened 2026-10-26 09:45:23 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @microyahoo on GitHub (Mar 16, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/182

init io uring failed for io_uring_queue_init after systemctl start storage_main.service.

1 [2025-03-16T21:56:16.093636030+08:00 AioRead25:124018 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
  2 [2025-03-16T21:56:16.093783515+08:00 AioRead20:124013 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
  3 [2025-03-16T21:56:16.093793904+08:00 AioRead29:124022 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
  4 [2025-03-16T21:56:16.093900373+08:00 AioRead22:124015 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
  5 [2025-03-16T21:56:16.093957038+08:00 AioRead10:124003 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
  6 [2025-03-16T21:56:16.093777704+08:00 AioRead25:124018 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512
  7 [2025-03-16T21:56:16.093927443+08:00 AioRead29:124022 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512
  8 [2025-03-16T21:56:16.093916663+08:00 AioRead19:124012 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
  9 [2025-03-16T21:56:16.093922985+08:00 AioRead28:124021 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 10 [2025-03-16T21:56:16.094220109+08:00 AioRead14:124007 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 11 [2025-03-16T21:56:16.094306349+08:00 AioRead11:124004 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 12 [2025-03-16T21:56:16.094179593+08:00 AioRead18:124011 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 13 [2025-03-16T21:56:16.094220119+08:00 AioRead23:124016 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 14 [2025-03-16T21:56:16.094175445+08:00 AioRead31:124024 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 15 [2025-03-16T21:56:16.094303144+08:00 AioRead10:124003 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512
 16 [2025-03-16T21:56:16.094274530+08:00 AioRead22:124015 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512
 17 [2025-03-16T21:56:16.094089245+08:00 AioRead6:123999 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 18 [2025-03-16T21:56:16.094222463+08:00 AioRead0:123993 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 19 [2025-03-16T21:56:16.094220139+08:00 AioRead24:124017 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 20 [2025-03-16T21:56:16.094184492+08:00 AioRead7:124000 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 21 [2025-03-16T21:56:16.094607381+08:00 AioRead6:123999 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512
 22 [2025-03-16T21:56:16.094631245+08:00 AioRead16:124009 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 23 [2025-03-16T21:56:16.093884092+08:00 AioRead20:124013 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512
 24 [2025-03-16T21:56:16.094222423+08:00 AioRead13:124006 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 25 [2025-03-16T21:56:16.094080418+08:00 AioRead15:124008 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 26 [2025-03-16T21:56:16.094222433+08:00 AioRead12:124005 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 27 [2025-03-16T21:56:16.094736131+08:00 AioRead13:124006 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512
 28 [2025-03-16T21:56:16.093915431+08:00 AioRead21:124014 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 29 [2025-03-16T21:56:16.094090667+08:00 AioRead9:124002 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 30 [2025-03-16T21:56:16.094177449+08:00 AioRead8:124001 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512
 31 [2025-03-16T21:56:16.094572135+08:00 AioRead2:123995 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512

os

[root@test-cluster-node01 ~]# uname -a
Linux test-cluster-node01 5.14.0-503.14.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 15 12:04:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
[root@test-cluster-node01 ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.5 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.5"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.5 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
VENDOR_NAME="RESF"
VENDOR_URL="https://resf.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.5"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.5"
Originally created by @microyahoo on GitHub (Mar 16, 2025). Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/182 init io uring failed for `io_uring_queue_init` after `systemctl start storage_main.service`. ```console 1 [2025-03-16T21:56:16.093636030+08:00 AioRead25:124018 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 2 [2025-03-16T21:56:16.093783515+08:00 AioRead20:124013 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 3 [2025-03-16T21:56:16.093793904+08:00 AioRead29:124022 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 4 [2025-03-16T21:56:16.093900373+08:00 AioRead22:124015 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 5 [2025-03-16T21:56:16.093957038+08:00 AioRead10:124003 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 6 [2025-03-16T21:56:16.093777704+08:00 AioRead25:124018 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512 7 [2025-03-16T21:56:16.093927443+08:00 AioRead29:124022 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512 8 [2025-03-16T21:56:16.093916663+08:00 AioRead19:124012 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 9 [2025-03-16T21:56:16.093922985+08:00 AioRead28:124021 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 10 [2025-03-16T21:56:16.094220109+08:00 AioRead14:124007 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 11 [2025-03-16T21:56:16.094306349+08:00 AioRead11:124004 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 12 [2025-03-16T21:56:16.094179593+08:00 AioRead18:124011 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 13 [2025-03-16T21:56:16.094220119+08:00 AioRead23:124016 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 14 [2025-03-16T21:56:16.094175445+08:00 AioRead31:124024 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 15 [2025-03-16T21:56:16.094303144+08:00 AioRead10:124003 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512 16 [2025-03-16T21:56:16.094274530+08:00 AioRead22:124015 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512 17 [2025-03-16T21:56:16.094089245+08:00 AioRead6:123999 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 18 [2025-03-16T21:56:16.094222463+08:00 AioRead0:123993 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 19 [2025-03-16T21:56:16.094220139+08:00 AioRead24:124017 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 20 [2025-03-16T21:56:16.094184492+08:00 AioRead7:124000 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 21 [2025-03-16T21:56:16.094607381+08:00 AioRead6:123999 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512 22 [2025-03-16T21:56:16.094631245+08:00 AioRead16:124009 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 23 [2025-03-16T21:56:16.093884092+08:00 AioRead20:124013 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512 24 [2025-03-16T21:56:16.094222423+08:00 AioRead13:124006 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 25 [2025-03-16T21:56:16.094080418+08:00 AioRead15:124008 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 26 [2025-03-16T21:56:16.094222433+08:00 AioRead12:124005 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 27 [2025-03-16T21:56:16.094736131+08:00 AioRead13:124006 AioReadWorker.cc:35 ERROR] io uring status init failed: InvalidConfig(4) init io uring failed: -1, maxEvents 512 28 [2025-03-16T21:56:16.093915431+08:00 AioRead21:124014 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 29 [2025-03-16T21:56:16.094090667+08:00 AioRead9:124002 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 30 [2025-03-16T21:56:16.094177449+08:00 AioRead8:124001 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 31 [2025-03-16T21:56:16.094572135+08:00 AioRead2:123995 AioStatus.cc:189 ERROR] init io uring failed: -1, maxEvents 512 ``` os ```console [root@test-cluster-node01 ~]# uname -a Linux test-cluster-node01 5.14.0-503.14.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 15 12:04:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux [root@test-cluster-node01 ~]# cat /etc/os-release NAME="Rocky Linux" VERSION="9.5 (Blue Onyx)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="9.5" PLATFORM_ID="platform:el9" PRETTY_NAME="Rocky Linux 9.5 (Blue Onyx)" ANSI_COLOR="0;32" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:rocky:rocky:9::baseos" HOME_URL="https://rockylinux.org/" VENDOR_NAME="RESF" VENDOR_URL="https://resf.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" SUPPORT_END="2032-05-31" ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9" ROCKY_SUPPORT_PRODUCT_VERSION="9.5" REDHAT_SUPPORT_PRODUCT="Rocky Linux" REDHAT_SUPPORT_PRODUCT_VERSION="9.5" ```
Author
Owner

@SF-Zhou commented on GitHub (Mar 17, 2025):

https://github.com/deepseek-ai/3FS/issues/50#issuecomment-2705485842

<!-- gh-comment-id:2727761835 --> @SF-Zhou commented on GitHub (Mar 17, 2025): https://github.com/deepseek-ai/3FS/issues/50#issuecomment-2705485842
Author
Owner

@microyahoo commented on GitHub (Mar 17, 2025):

hi @SF-Zhou, I am using Rocky Linux 9.5, which based on the 5.14 kernel version, and it supports io_uring. Additionally, the initialization return value is different from the one mentioned in your comment.

<!-- gh-comment-id:2729986128 --> @microyahoo commented on GitHub (Mar 17, 2025): hi @SF-Zhou, I am using Rocky Linux 9.5, which based on the **5.14** kernel version, and it supports io_uring. Additionally, the initialization return value is different from the one mentioned in your comment.
Author
Owner

@SF-Zhou commented on GitHub (Mar 18, 2025):

Disabling io_uring can temporarily circumvent this type of issue. As for why io_uring initialization fails and returns -1 under your distribution, I'm uncertain.

<!-- gh-comment-id:2731289140 --> @SF-Zhou commented on GitHub (Mar 18, 2025): Disabling io_uring can temporarily circumvent this type of issue. As for why io_uring initialization fails and returns -1 under your distribution, I'm uncertain.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/3FS#113
No description provided.