[FS#3646] Unable to Swap /proc/swaps does not exist (ramips rt305x/)

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sat Feb 27 03:22:57 EST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - xapukserge (xapukserge) 

Attached to Project - OpenWrt/LEDE Project
Summary - Unable to Swap /proc/swaps does not exist (ramips rt305x/)
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - openwrt-19.07
Due in Version - Undecided
Due Date - Undecided
Details - 1) 
Device Dlink DIR320 rev.B1
OpenWrt 19.07.7 r11306-c4a6851c72 / LuCI openwrt-19.07 branch git-21.044.30835-34e0d65

2)
Istalled packages: 
  block-mount
  kmod-usb-core
  kmod-usb2
  kmod-usb-ohci
  kmod-usb-storage
  kmod-fs-ext4
  zram-swap
  swap-utils 

3)
How-to:
root at OpenWrt:~# mkswap /dev/sda1
mkswap: /dev/sda1: warning: wiping old swap signature.
Setting up swapspace version 1, size = 511 MiB (535818240 bytes)
no label, UUID=5413e04d-954e-493c-b26d-926a67af1bbc

root at OpenWrt:~# swapon -a
 block: failed to swapon /dev/sda1

root at OpenWrt:~# cat /proc/swaps
  cat: can't open '/proc/swaps': No such file or directory

So, I think, swap module was accidentally turned off during building firmware, because OpenWRT build version 18.06 works fine!

   

 

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3646

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list