Bug 5487 - kernel crash during reboot because invalid RIP
Summary: kernel crash during reboot because invalid RIP
Status: NEW
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: 4.19-026.x
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: hobbit
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-09 16:58 UTC by chuanguo
Modified: 2023-06-14 14:51 UTC (History)
1 user (show)

See Also:


Attachments
vmcore-dmesg (170.38 KB, text/plain)
2023-06-09 16:58 UTC, chuanguo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chuanguo 2023-06-09 16:58:56 UTC
Created attachment 759 [details]
vmcore-dmesg

Description of problem:
kernel crash during reboot because invalid RIP at Physical host.

Version-Release number of selected component (if applicable):
 4.19.91-26.*

How reproducible:
reboot
So far, this error only occurred once

Actual results:
kernel crash

Expected results:
reboot successfully.
Comment 1 hobbit alibaba_cloud_group 2023-06-14 14:51:24 UTC
日志中有两行ACPI MEMORY or I/O RESET_REG.这是因为内核的reboot逻辑是在首次尝试使用acpi进行reboot失败后会再次尝试使用acpi进行reboot;两次尝试均失败后,尝试使用efi进行reboot。efi是通过efi_call从efi system table中调用reset_system服务进行reboot(efi system table中存的是由firmware填写的服务函数地址)。efi_call跳转到rdi对应的函数地址,而宕机时RDI:00000000000000f3说明调用到的是是一个空指针,这也与宕机Code: Bad RIP value.对应上了。
因此,bios出问题的可能性较大,可请bios的同学排查定位。