Comments (9)
Yeah my bad I thought I was working in a branch and updated master by mistake earlier, its the first line from mem
} to the end
Did a quick copy and paste to repair and must of missed the last character from the first line.
Please give us a shout if anything else as wasn't supposed to be working on master.
PS I have been wondering if I should but IRQ lines in ztab so you can also add affinity to cores?
Bad or good idea?
from zram-config.
still it occurs same errors.
I want to try to use it -> IRQ line
from zram-config.
I have not got a Pi setup check tomoz as it should be a simple fix but will need to run.
Its prob OK now
from zram-config.
before this change, we can install this to pi.
90f2bbf#diff-3fbb47e318cd8802bd325e7da9aaabe8
from zram-config.
The line 1 error should be clear just rm the zram-config dir clone again and try
I will have a look in the morning, plus it will have irq affinity lines so you can set affinity to say usb drive or network...
from zram-config.
pi@raspberrypi:~/Documents/zram-config $ sudo sh install.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
libattr1-dev is already the newest version (1:2.4.48-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Cloning into 'overlayfs-tools'...
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 110 (delta 5), reused 0 (delta 0), pack-reused 96
Receiving objects: 100% (110/110), 40.44 KiB | 154.00 KiB/s, done.
Resolving deltas: 100% (61/61), done.
gcc -Wall -std=c99 -c main.c
In file included from main.c:16:
/usr/include/linux/stat.h:56:8: error: redefinition of ‘struct statx_timestamp’
struct statx_timestamp {
^~~~~~~~~~~~~~~
In file included from /usr/include/arm-linux-gnueabihf/sys/stat.h:446,
from main.c:14:
/usr/include/arm-linux-gnueabihf/bits/statx.h:25:8: note: originally defined here
struct statx_timestamp
^~~~~~~~~~~~~~~
In file included from main.c:16:
/usr/include/linux/stat.h:99:8: error: redefinition of ‘struct statx’
struct statx {
^~~~~
In file included from /usr/include/arm-linux-gnueabihf/sys/stat.h:446,
from main.c:14:
/usr/include/arm-linux-gnueabihf/bits/statx.h:36:8: note: originally defined here
struct statx
^~~~~
make: *** [makefile:11: main.o] Error 1
install: cannot stat 'overlayfs-tools/overlay': No such file or directory
Reboot to activate zram-config
edit /etc/ztab to configure options
I don't hurry :)
Good Night.
from zram-config.
Yeah looks like my push to the wrong branch I will have to just run up a Pi in the morn.
Thanks though and apols
Had a look and unsure how to change overlayfs-tools so that stretch and buster don't have header problems.
So just did a grep for os-release and install on that.
irq affinity to my surprise is not supported on pi to 3, 4 don't know but not going to include
I tried buster on a Pi4 and stretch on a Pi0 and all went well
fingers crossed that should sort things problem
from zram-config.
No error occurs :)
Perfect.
from zram-config.
Apols about that I was working in the wrong branch but actually made me use /etc/os-release which is far better.
I just wish the same libs with the same functionality would stop swapping function removals I guess its all optimisation and tidying but actually my c knowledge is extremely minimal. :)
Shame about IRQs on the PI until I tried I would of never expected affinity can not be set.
PS please feel free to branch clone copy so you have a version that is static and your own.
from zram-config.
Related Issues (20)
- F2FS filesystem compatibility HOT 3
- Sync on demand HOT 1
- raspberry pi zero missing wpa_supplicant dir in /var/run HOT 1
- OpenRC init script HOT 2
- Lots of output after sudo zram-config "stop" / "start" HOT 4
- Any way to avoid locking up zram volume when full? HOT 6
- what does exactly your software ? HOT 1
- Not mounting any target HOT 4
- Any way to create multiple devices per core? HOT 2
- Difference to openhabian-zram HOT 2
- Service is active, but no zrams are mounted HOT 6
- no longer works on ubuntu 21.10 (raspberry pi 4) HOT 5
- Add ability to sync files to disk periodically HOT 6
- missing dependency
- read-only zram fs IN operations ?? HOT 6
- Failing to sync on shutdown but works on demand HOT 9
- install (from openhabian) fails HOT 1
- gpg Can't check signature: No public key A2A3BF1A7D8D7AD47E939274B13E6AF0E31D89F8 HOT 2
- Allow update.bash without git fetch/pull HOT 7
- Replace fts-dev with musl-fts-dev under alpine HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zram-config.