已关闭
24.03-LTS 版本无法 qemu-system-x86_64 命令启动 #19
AtomGit-Bot创建于  2024年9月23日关闭于  5 天前
AtomGit-Bot
2024年9月23日 创建

【缺陷描述】:请补充详细的缺陷问题现象描述
24.03-LTS 版本无法 qemu-system-x86_64 命令启动
一、缺陷信息

【缺陷所属的os版本】(如openEuler-22.03-LTS,参考命令"cat /etc/os-release"结果)
openEuler-24.03-LTS
【内核版本】(如kernel-5.10.0-60.138.0.165,参考命令"uname -r"结果)
kernel-6.6
【缺陷所属软件及版本号】(如kernel-5.10.0-60.138.0.165,参考命令"rpm -q 包名"结果)
qemu-system-x86_64-8.2.0-13.oe2403.x86_64
【环境信息】
硬件信息

  • 提供跟硬件相关的信息,如架构、cpu和内存规格等
  • 虚拟机场景,额外补充宿主机os版本类型

软件信息

  • 跟缺陷所属软件相关的其它软件版本信息(如软件包构建失败由gcc引起,请填写gcc的版本号)

网络信息

  • 如果有特殊组网,请提供网络拓扑信息以及网络数据走向

【问题复现步骤】:请描述具体的操作步骤
1.下载 qemu 启动外围包
wget https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/virtual_machine_img/x86_64/openEuler-24.03-LTS-x86_64.qcow2.xz
xz -d openEuler-24.03-LTS-x86_64.qcow2.xz
wget https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/OS/x86_64/images/pxeboot/initrd.img
2.下载镜像
wget https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/OS/x86_64/images/pxeboot/vmlinuz
3.启动命令
qemu-system-x86_64 -nographic -m 2048 -kernel vmlinuz
-drive file=openEuler-24.03-LTS-x86_64.qcow2,format=qcow2
-initrd initrd.img
-net user,hostfwd=tcp:127.0.0.1:10331-:22
-net nic,model=e1000
-append "root=/dev/sda2 console=ttyS0"

【实际结果】,请描述出问题的结果和影响
qemu 启动失败
报错日志:
Kernel Offset: 0x9c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 ]---

【期望结果】,请描述出期望的结果和影响
qemu 启动成功并能登录

【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等

安上述步骤执行 qemu-system-x86_64 启动 openEuler-22.03-LTS-SP1 版本成功 参考命令
wget https://mirror.iscas.ac.cn/openeuler/openEuler-22.03-LTS-SP1/virtual_machine_img/x86_64/openEuler-22.03-LTS-SP1-x86_64.qcow2.xz
xz -d openEuler-22.03-LTS-SP1-x86_64.qcow2.xz
wget https://mirror.iscas.ac.cn/openeuler/openEuler-22.03-LTS-SP1/OS/x86_64/images/pxeboot/initrd.img
wget https://mirror.iscas.ac.cn/openeuler/openEuler-22.03-LTS-SP1/OS/x86_64/images/pxeboot/vmlinuz

【缺陷详情及分析指导参考链接】

二、缺陷分析结构反馈
影响性分析说明:

缺陷严重等级:(Critical/High/Moderate/Low)

缺陷根因说明:

受影响版本排查(受影响/不受影响):
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP3
openEuler-24.03-LTS-SP4

修复是否涉及abi变化(是/否):
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP3
openEuler-24.03-LTS-SP4

likedislike
AAtomGit-Bot
2024年9月23日 创建了缺陷
openeuler-ci-bot
openeuler-ci-bot成员
2024年9月23日 评论:

Hi moon-shadow-dream, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Virt, and any of the maintainers: @Chuan-Zheng , @cellfaint , @RootWB , @zhendongchen , @kevinzhu1 , @yezengruan , @ooorz , @aven6 , @Hyman-Huang , @imxcc

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2024年9月23日 添加了   sig/Virt 标签
AAtomGit-Bot
2024年9月23日 修改了描述
AAtomGit-Bot
2024年9月23日 修改了描述
aven6成员
5 天前 评论:

第一报错点在虚拟机内核,虚拟机内panic了。 优先从虚拟机内开始排查,而非qemu侧排查。

likedislike
Aaven6成员
5 天前 issue状态由 待办的 改变为 已取消
Aaven6成员
5 天前 关闭了 issue
openeuler-ci-botopeneuler-ci-bot成员
5 天前 issue状态由 已取消 改变为 待办的
openeuler-ci-botopeneuler-ci-bot成员
5 天前 重新打开了 issue
openeuler-ci-bot
openeuler-ci-bot成员
5 天前 评论:

@
issue变更为 [已取消/已挂起] 状态前,请操作者填写相关原因
请按如下格式评论原因后,重新进行操作


/reason xxxxxx

likedislike
openeuler-ci-botopeneuler-ci-bot成员
5 天前 将 aven6 设为负责人
openeuler-ci-botopeneuler-ci-bot成员
5 天前 修改了issue 的描述
openeuler-ci-bot
openeuler-ci-bot成员
5 天前 评论:

以下的要求不是强制性的, 未按模板评论时对issue无任何影响
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, 缺陷严重等级, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后defect-manager将无法正常解析填写内容.
评论区可能使用到的指令说明:

指令 指令说明 使用权限
/check-issue 触发defect-manager校验 不限
/reason xxx /reason +挂起或取消条件 不限

影响性分析说明:

缺陷严重等级:(Critical/High/Moderate/Low)

缺陷根因说明:

受影响版本排查(受影响/不受影响):

  1. openEuler-20.03-LTS-SP4:
  2. openEuler-22.03-LTS-SP4:
  3. openEuler-24.03-LTS-SP1:
  4. openEuler-24.03-LTS-SP3:
  5. openEuler-24.03-LTS-SP4:

abi变化(是/否):

  1. openEuler-20.03-LTS-SP4:
  2. openEuler-22.03-LTS-SP4:
  3. openEuler-24.03-LTS-SP1:
  4. openEuler-24.03-LTS-SP3:
  5. openEuler-24.03-LTS-SP4:

缺陷issue处理具体操作请参考:
https://atomgit.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/defect-manager-manual.md
pr关联issue具体操作请参考:
https://docs.atomgit.com/docs/help/home/org_project/pullrequests/pr-related-issue

likedislike
openeuler-ci-botopeneuler-ci-bot成员
5 天前 添加了label:DEFECT/UNFIXED
aven6成员
5 天前 评论:

/reason 第一报错点在虚拟机内核,虚拟机内panic了。 优先从虚拟机内开始排查,而非qemu侧排查。

likedislike
Aaven6成员
5 天前 issue状态由 待办的 改变为 已取消
Aaven6成员
5 天前 关闭了 issue