<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5082&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Zram in 4.0 ?]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5082</link>
		<description><![CDATA[The most recent posts in [SOLVED] Zram in 4.0 ?.]]></description>
		<lastBuildDate>Fri, 17 Jun 2022 23:31:50 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Zram in 4.0 ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36317#p36317</link>
			<description><![CDATA[<p>Alright I got it working. I could have sworn that I set the disksize originally, but I might have gotten confused about it. Not sure what I did wrong the first time honestly. Solved!</p>]]></description>
			<author><![CDATA[dummy@example.com (eisabase)]]></author>
			<pubDate>Fri, 17 Jun 2022 23:31:50 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36317#p36317</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Zram in 4.0 ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36315#p36315</link>
			<description><![CDATA[<p>Works for me:</p><div class="codebox"><pre><code>root@devuan:~# cat /etc/devuan_version 
daedalus/ceres
root@devuan:~# modprobe -v zram
insmod /lib/modules/5.18.0-1-amd64/kernel/mm/zsmalloc.ko 
insmod /lib/modules/5.18.0-1-amd64/kernel/drivers/block/zram/zram.ko 
root@devuan:~# file /dev/zram0
/dev/zram0: block special (253/0)
root@devuan:~# echo 1G&gt;/sys/block/zram0/disksize 
root@devuan:~# mkswap /dev/zram0
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=0b9792b3-e7ce-4b5e-84f7-2f4dc3247db2
root@devuan:~# swapon /dev/zram0
root@devuan:~# cat /proc/swaps
Filename            Type      Size      Used      Priority
/dev/zram0        partition   1048572      0      -2
root@devuan:~#</code></pre></div><p>If you have errors post them here in full.</p><p>EDIT: zram-tools is installed but udisks2-zram is not.</p><p>EDIT2: and yes, it also works in chimaera. I tried it there first then brought the system up to daedalus to confirm the 5.18 kernel also works.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Fri, 17 Jun 2022 21:27:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36315#p36315</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Zram in 4.0 ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36314#p36314</link>
			<description><![CDATA[<p>I was looking up if zram was avaliable in 4.0. I found something that said it wasn&#039;t available in 4.0 but was in earlier versions, but I don&#039;t understand why. So far I found.</p><p>1. There is a zram kernel object present in the default system.<br />2. regardless of if udisk2s-zram is installed, modprobing zram never mounts a zram disk.<br />3. I noticed in the sysvinit script that is provided by debian wiki, the script calls for modinfo from kmod. modinfo seems to be called with /sbin/modinfo, or it could be copied to /bin/ to make it work normally. However, modinfo always outputs an ERROR saying it&#039;s missing firmware. I read somewhere that you should install linux-headers, but this did not change/fix the error. So I&#039;m assuming this is a separate problem.</p><p>So regardless of the modinfo bit. Why can&#039;t we just have zram working on the current kernel? Is there something hugely different in 4.0?</p>]]></description>
			<author><![CDATA[dummy@example.com (eisabase)]]></author>
			<pubDate>Fri, 17 Jun 2022 20:46:32 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36314#p36314</guid>
		</item>
	</channel>
</rss>
