Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Other
>
RISC-V Development
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
56
Star
187
Fork
149
openEuler
/
RISC-V
Code
Issues
186
Pull Requests
0
Wiki
Insights
Pipelines
Service
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
[oerv 24.03 sp3] qemu镜像中嵌套启动qemu镜像出现systemd初始化错误
Done
#ID7X8H
Bug
王尧勇
Opened this issue
2025-11-21 18:56
**【缺陷描述】:openEuler24.03sp3的qemu镜像中用qemu启动ubuntu24.04作为guest时,guest系统的systemd初始化失败而无法进入系统** **一、缺陷信息** **【缺陷所属的os版本】openEuler-24.03-LTS-SP3** **【内核版本】kernel-6.6.0-115.0.0.94** **【环境信息】** 硬件信息 - qemu virt **【问题复现步骤】** 使用qemu-system-riscv64启动[oerv 24.03 sp3 RVA20 qemu镜像](https://repo.tarsier-infra.isrc.ac.cn/openEuler-RISC-V/testing/20251110/v0.1/QEMU/openEuler-24.03SP3-V1-base-qemu-testing-uefi.qcow2.zst),在其中嵌套使用qemu启动ubuntu24.04.3镜像。 具体步骤参考 [虚拟化兼容性测试](https://github.com/openeuler-riscv/oerv-qa/tree/main/docs/virtualization_compatibility)。 **【实际结果】** systemd 初始化失败而 Freezing execution,无法进入系统。 ```bash [ 576.617458] Run /init as init process Loading, please wait... Starting systemd-udevd version 255.4-1ubuntu8.10 [ 860.942501] rtc-efi rtc-efi.0: registered as rtc1 Failed to wait for daemon to reply: Connection timed out [ 1008.869087] virtio_net virtio2 enp1s0: renamed from eth1 Begin: Loading essential drivers ... [ 1051.975021] hid: raw HID events driver (C) Jiri Kosina [ 1054.466278] raid6: int64x8 gen() 0 MB/s [ 1054.591886] raid6: int64x4 gen() 1 MB/s [ 1054.674603] raid6: int64x2 gen() 19 MB/s [ 1054.763078] raid6: int64x1 gen() 10 MB/s [ 1054.815716] raid6: using algorithm int64x2 gen() 19 MB/s [ 1055.018539] raid6: .... xor() 0 MB/s, rmw enabled [ 1055.099378] raid6: using intx1 recovery algorithm [ 1055.638934] xor: measuring software checksum speed [ 1055.891332] 8regs : 21 MB/sec [ 1055.968528] 32regs : 63 MB/sec [ 1056.051158] xor: using function: 32regs (63 MB/sec) [ 1056.813473] async_tx: api initialized (async) [ 1061.425440] usbcore: registered new interface driver usbhid [ 1061.461308] usbhid: USB HID core driver done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... [ 1105.038112] [drm] pci: virtio-gpu-pci detected at 0000:06:00.0 [ 1105.504230] [drm] features: -virgl +edid -resource_blob -host_visible [ 1105.523284] [drm] features: -context_init [ 1105.781818] [drm] number of scanouts: 1 [ 1105.862362] [drm] number of cap sets: 0 done. Begin: Running /scripts/local-premount ... [ 1119.643993] [drm] Initialized virtio_gpu 0.1.0 for 0000:06:00.0 on minor 0 Scanning for Btrfs filesystems [ 1161.726466] Btrfs loaded, zoned=yes, fsverity=yes [ 1165.674073] Console: switching to colour frame buffer device 160x50 [ 1172.996849] virtio-pci 0000:06:00.0: [drm] fb0: virtio_gpudrmfb frame buffer device done. Begin: Will now check root file system ... fsck from util-linux 2.39.3 [/usr/sbin/fsck.ext4 (1) -- /dev/vda1] fsck.ext4 -a -C0 /dev/vda1 cloudimg-rootfs: clean, 97127/575424 files, 656078/1150203 blocks done. [ 1317.857352] EXT4-fs (vda1): mounted filesystem 032b83da-6353-435f-b9db-ff1182943787 ro with ordered data mode. Quota mode: none. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... Failed to send exit request: Resource temporarily unavailable done. [ 1543.009500] systemd[1]: Inserted module 'autofs4' [ 1578.150586] systemd[1]: systemd 255.4-1ubuntu8.10 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ 1578.401193] systemd[1]: Detected virtualization qemu. [ 1578.606031] systemd[1]: Detected architecture riscv64. Welcome to Ubuntu 24.04.3 LTS! [ 1582.288481] systemd[1]: Hostname set to <ubuntu>. [ 1583.498830] systemd[1]: Initializing machine ID from VM UUID. [ 1584.661638] systemd[1]: Installed transient /etc/machine-id file. [ 1604.174708] systemd[1]: Failed to configure loopback network device, ignoring: Connection timed out [ 2496.427926][ C2] hrtimer: interrupt took 24742995 ns [ 1763.442763] systemd[1]: Failed to fork off sandboxing environment for executing generators: Protocol error [!!!!!!] Failed to start up manager. [ 1767.836709] systemd[1]: Freezing execution. ``` **【期望结果】** guest系统正常启动,进入 shell。 **【其他相关附件信息】** 
**【缺陷描述】:openEuler24.03sp3的qemu镜像中用qemu启动ubuntu24.04作为guest时,guest系统的systemd初始化失败而无法进入系统** **一、缺陷信息** **【缺陷所属的os版本】openEuler-24.03-LTS-SP3** **【内核版本】kernel-6.6.0-115.0.0.94** **【环境信息】** 硬件信息 - qemu virt **【问题复现步骤】** 使用qemu-system-riscv64启动[oerv 24.03 sp3 RVA20 qemu镜像](https://repo.tarsier-infra.isrc.ac.cn/openEuler-RISC-V/testing/20251110/v0.1/QEMU/openEuler-24.03SP3-V1-base-qemu-testing-uefi.qcow2.zst),在其中嵌套使用qemu启动ubuntu24.04.3镜像。 具体步骤参考 [虚拟化兼容性测试](https://github.com/openeuler-riscv/oerv-qa/tree/main/docs/virtualization_compatibility)。 **【实际结果】** systemd 初始化失败而 Freezing execution,无法进入系统。 ```bash [ 576.617458] Run /init as init process Loading, please wait... Starting systemd-udevd version 255.4-1ubuntu8.10 [ 860.942501] rtc-efi rtc-efi.0: registered as rtc1 Failed to wait for daemon to reply: Connection timed out [ 1008.869087] virtio_net virtio2 enp1s0: renamed from eth1 Begin: Loading essential drivers ... [ 1051.975021] hid: raw HID events driver (C) Jiri Kosina [ 1054.466278] raid6: int64x8 gen() 0 MB/s [ 1054.591886] raid6: int64x4 gen() 1 MB/s [ 1054.674603] raid6: int64x2 gen() 19 MB/s [ 1054.763078] raid6: int64x1 gen() 10 MB/s [ 1054.815716] raid6: using algorithm int64x2 gen() 19 MB/s [ 1055.018539] raid6: .... xor() 0 MB/s, rmw enabled [ 1055.099378] raid6: using intx1 recovery algorithm [ 1055.638934] xor: measuring software checksum speed [ 1055.891332] 8regs : 21 MB/sec [ 1055.968528] 32regs : 63 MB/sec [ 1056.051158] xor: using function: 32regs (63 MB/sec) [ 1056.813473] async_tx: api initialized (async) [ 1061.425440] usbcore: registered new interface driver usbhid [ 1061.461308] usbhid: USB HID core driver done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... [ 1105.038112] [drm] pci: virtio-gpu-pci detected at 0000:06:00.0 [ 1105.504230] [drm] features: -virgl +edid -resource_blob -host_visible [ 1105.523284] [drm] features: -context_init [ 1105.781818] [drm] number of scanouts: 1 [ 1105.862362] [drm] number of cap sets: 0 done. Begin: Running /scripts/local-premount ... [ 1119.643993] [drm] Initialized virtio_gpu 0.1.0 for 0000:06:00.0 on minor 0 Scanning for Btrfs filesystems [ 1161.726466] Btrfs loaded, zoned=yes, fsverity=yes [ 1165.674073] Console: switching to colour frame buffer device 160x50 [ 1172.996849] virtio-pci 0000:06:00.0: [drm] fb0: virtio_gpudrmfb frame buffer device done. Begin: Will now check root file system ... fsck from util-linux 2.39.3 [/usr/sbin/fsck.ext4 (1) -- /dev/vda1] fsck.ext4 -a -C0 /dev/vda1 cloudimg-rootfs: clean, 97127/575424 files, 656078/1150203 blocks done. [ 1317.857352] EXT4-fs (vda1): mounted filesystem 032b83da-6353-435f-b9db-ff1182943787 ro with ordered data mode. Quota mode: none. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... Failed to send exit request: Resource temporarily unavailable done. [ 1543.009500] systemd[1]: Inserted module 'autofs4' [ 1578.150586] systemd[1]: systemd 255.4-1ubuntu8.10 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ 1578.401193] systemd[1]: Detected virtualization qemu. [ 1578.606031] systemd[1]: Detected architecture riscv64. Welcome to Ubuntu 24.04.3 LTS! [ 1582.288481] systemd[1]: Hostname set to <ubuntu>. [ 1583.498830] systemd[1]: Initializing machine ID from VM UUID. [ 1584.661638] systemd[1]: Installed transient /etc/machine-id file. [ 1604.174708] systemd[1]: Failed to configure loopback network device, ignoring: Connection timed out [ 2496.427926][ C2] hrtimer: interrupt took 24742995 ns [ 1763.442763] systemd[1]: Failed to fork off sandboxing environment for executing generators: Protocol error [!!!!!!] Failed to start up manager. [ 1767.836709] systemd[1]: Freezing execution. ``` **【期望结果】** guest系统正常启动,进入 shell。 **【其他相关附件信息】** 
Comments (
7
)
Sign in
to comment
Status
Done
Backlog
已挂起
Fixing
Confirmed
Done
Accepted
Canceled
Assignees
Not set
Labels
sig/sig-RISC-V
Not set
Projects
Unprojected
Unprojected
Milestones
openEuler-24.03-LTS-SP3-round5
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
No related branch
master
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
Shell
1
https://gitee.com/openeuler/RISC-V.git
git@gitee.com:openeuler/RISC-V.git
openeuler
RISC-V
RISC-V
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register