5.8.y: swap space doesn't work
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- arch-linux, c, linux, raspberry-pi
- Domain
- embedded-iot, operating-systems
Research direction
Reproduce the report on a Raspberry Pi 4 using kernel 5.8, a swap space entry in /etc/fstab, and free -h; compare the result with kernel 5.4. Trace the kernel-side swap activation path and verify that the expected 16 GB is reported by free -h before considering the issue complete.
Written by the indexing model from the issue text.
Description
Describe the bug
When swapspace is created, then specified in /etc/fstab, on kernel 5.8, free -h shows swap as 0b, but with 5.4.y, it shows it as 16gb (as it should be).
To reproduce
Use kernel 5.8, create swap space and add it to fstab, observe swap being 0b when running free -h.
Expected behaviour
It should show 16gb of swap when running free -h
Actual behaviour
free -h shows 0b of swap when running kernel 5.8
System
Model: Raspberry Pi 4 8gb
OS: Arch Linux Arm (64 bit tarball that I created)
version 6105bb6ab6db9d62a57ce2bb96c527a2cc46a717
kernel: 5.8.5.r936780.g1b7aa2df0963-1
Additional context
Swap works on kernel 5.4
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·