Skip to content

Conversation

@hoh
Copy link
Member

@hoh hoh commented Jan 21, 2025

The runtime init init1.py emitted the signal 0x4321fedc
to the Linux kernel when shutting down.

The correct procedure [according to the Firecracker docs]
(https://github.com/firecracker-microvm/firecracker/blob/dfb45dc4213bcb1c9704435457e233d3a210dce2/docs/getting-started.md?plain=1#L298) is to issue a reboot.

The syscall number for a reboot on Linux is 0x1234567.

Tested using Firecracker independently of aleph-vm.

The runtime init `init1.py` emitted the signal `0x4321fedc`
to the Linux kernel when shutting down.

The correct procedure [according to the Firecracker docs]
(https://github.com/firecracker-microvm/firecracker/blob/dfb45dc4213bcb1c9704435457e233d3a210dce2/docs/getting-started.md?plain=1#L298) is to issue a `reboot`.

The syscall number for a reboot on Linux is `0x1234567`.

Tested using Firecracker independently of `aleph-vm`.
@codecov
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.92%. Comparing base (76c6897) to head (120ccc3).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #741      +/-   ##
==========================================
+ Coverage   62.89%   62.92%   +0.03%     
==========================================
  Files          71       71              
  Lines        6352     6352              
  Branches      519      519              
==========================================
+ Hits         3995     3997       +2     
+ Misses       2197     2195       -2     
  Partials      160      160              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@philogicae philogicae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works properly now

@nesitor nesitor merged commit e6f2ff7 into main Jan 23, 2025
19 of 22 checks passed
@nesitor nesitor deleted the hoh-fix-reboot branch January 23, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants