Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dcu_env_check
Commits
ffeec139
Commit
ffeec139
authored
Jun 24, 2025
by
liumg
Browse files
Upload New File
parent
d6cfa558
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
tools/vfio_ffff_error.sh
tools/vfio_ffff_error.sh
+12
-0
No files found.
tools/vfio_ffff_error.sh
0 → 100644
View file @
ffeec139
#!/bin/bash
# 获取VFIO相关错误日志
ERROR_LOGS
=
$(
dmesg |
grep
-i
"vfio_iommu_type1_attach_group: No interrupt remapping support"
)
# 分析错误类型
if
[
-n
"
$ERROR_LOGS
"
]
;
then
echo
$ERROR_LOGS
echo
"vfio option error, do: echo
\"
options vfio_iommu_type1 allow_unsafe_interrupts=1
\"
>/etc/modprobe.d/vfio.conf, and restart vfio module"
else
echo
"no find errors"
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment