Go to advanced search

by dariuszb
Thu Oct 17, 2019 1:11 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

Have you tried ditching the swapfile and creating a TYPE82 swap parition? Then encrypting that. I have tried it. Actually this is the main purpose of my original post. For some mysterious reasons encrypted swap files do not work even when I try on latest Debian on desktop. Partitions do but not on ...
by dariuszb
Thu Oct 17, 2019 11:31 am
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

sudo cryptdisks_start cryptswap Is there a problem with using ext4 (or vfat)? [warn] Starting crypto disk...cryptswap (starting)...[....] cryptswap: the precheck for '/dev/mmcblk0p2' failed: - The device /dev/mmcblk0p2 contains a filesystem type ext4. ... (warning). failed. I am talking about encry...
by dariuszb
Tue Oct 15, 2019 6:51 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

There is nothing in logs. no OOM or anything. Only entries that encryption in initialized, swap made and mounted. then next entry is beginning of next startup. I use encrypted disks for other data purposes without any problems. It is only when it is swap. I did tones of google but without any succes...
by dariuszb
Tue Oct 15, 2019 6:40 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

I wouldn't expect a full reboot, feels more like a hardware/power issue to me. Or are you saying it crashes or locks up? Reboot. Without swap encryption everything works perfectly. I use it hard and never any issues. And it happens with other hardware too.. I tried before even posting here. Only wh...
by dariuszb
Tue Oct 15, 2019 11:52 am
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

Also tried with Veracrypt encrypted partition. The same issue.

It would mean that problem is not with cryptsetup but with device mapper (both use it).
by dariuszb
Tue Oct 15, 2019 11:49 am
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

Maybe just try with unencrypted SWAP file on an encrypted filesystem. This is one way to encrypts the SWAP, because the entire underlying device/partition is encrypted. Have tried - the same reboot. I suspect it must be something to do with 32 bits rasbian and/or limited memory on 3/3B+ raspberries.
by dariuszb
Tue Oct 15, 2019 10:03 am
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

I have tried with the latest cryptsetup (version 2.2.1). Results are the same. As soon as system starts swapping it restarts. There is no entry in any log file indicating what happened.
by dariuszb
Sun Oct 13, 2019 8:54 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

Yes on rasbian. Atm I am not looking for hard core edge. I just want to make it work on general release.
by dariuszb
Sun Oct 13, 2019 6:20 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

Would you mind to try swap file?
by dariuszb
Sun Oct 13, 2019 6:18 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

Problem is your test is using different OS. Still good to know it is not totally broken. Either my configuration, raspbiab or hardware. The latest least likely as I tried two different systems whit the same results.
by dariuszb
Sun Oct 13, 2019 6:10 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Re: Encrypted swap crashes all system

Thanks. Have you used partition? Or swap file?

Myself I tried this with latest Debian using VMware and it worked too. Very puzzled.
by dariuszb
Sun Oct 13, 2019 10:18 am
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1037

Encrypted swap crashes all system

My requirement is to create encrypted swap I need for my project. They project deals with already encrypted data so I don't need full disk encryption just swap. The reason it to protect potential leakage of sensitive information living normally only in memory (like few keys and passwords entered rem...
by dariuszb
Thu Jun 27, 2019 5:13 am
Forum: Raspbian
Topic: Driver installation impossible? RTL8812AU
Replies: 40
Views: 18087

Re: Driver installation impossible? RTL8812AU

MrEngman wrote:
Thu Jun 27, 2019 5:01 am
I have updated the script so hopefully it is now working OK.


MrEngman
I have successfully brought by Pi 3B+ running stretch to the latest kernel and required wifi driver using:

Code: Select all

sudo PRUNE_MODULES=1 rpi-update && sudo ~/wifi/install-wifi -u rpi-update
Thank you for quick fix.
by dariuszb
Thu Jun 27, 2019 4:54 am
Forum: Raspbian
Topic: STICKY: Raspbian 'Buster' 2019-06-20 / 07-10
Replies: 134
Views: 30658

Re: Raspbian 'Buster' 2019-06-20

Would like to know when it will be possible to do a dist-upgrade from Stretch to Buster for a Pi 3b. I have a webserver set up with a lot of data and I don't want to start all over. I finished upgrade of stretch on Pi 3B+ to buster using described procedure and all works fine. I have now upgraded k...
by dariuszb
Wed Jun 26, 2019 12:24 pm
Forum: Raspbian
Topic: Driver installation impossible? RTL8812AU
Replies: 40
Views: 18087

Re: Driver installation impossible? RTL8812AU

MrEngman - I have encountered issues with the latest Raspbian updates and your wifi driver script. All worked fine until rip-firmware commit b39dd764176933407df48424f1d0779da05142b1. When trying to update latest kernel now using following command: sudo PRUNE_MODULES=1 rpi-update && sudo ~/wifi/insta...
by dariuszb
Tue May 28, 2019 7:04 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.19
Replies: 270
Views: 84506

Re: Moving Linux kernel to 4.19

with upgrade to 4.19.46 I seem not to be able to disable internal wifi card on RPi 3 B+. Until now dtoverlay=pi3-disable-wifi in /boot/config.txt did the job. With 46 wifi is on again despite unchanged /boot/config.txt as I can tell there is no change in Device Tree overlays for wifi (but it was cha...
by dariuszb
Thu Apr 25, 2019 4:33 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.19
Replies: 270
Views: 84506

Re: Moving Linux kernel to 4.19

Yay! Just curious, was it due to fixes in .35 & .36 or or a fix pulled from upstream? Nothing in .35/.36 jumped out at me. Looks like it was self inflicted - in the past in order to save memory Pi specific patch was applied. https://github.com/raspberrypi/linux/commit/cd6ce4d0ded13c94ff5208c679ed5e...
by dariuszb
Thu Apr 25, 2019 4:22 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.19
Replies: 270
Views: 84506

Re: Moving Linux kernel to 4.19

dom wrote:
Thu Apr 25, 2019 2:21 pm
cgroups is back in with latest rpi-update kernel and hopefully memory leak is still fixed.
Great news! Have upgraded one RPi and initial tests look promising. Memory leak is not anymore. I will keep an eye on this and let it run for longer doing some real life jobs.
by dariuszb
Fri Apr 05, 2019 10:10 am
Forum: Raspbian
Topic: Driver installation impossible? RTL8812AU
Replies: 40
Views: 18087

Re: Driver installation impossible? RTL8812AU

I used the github source suggested by sealy_au - https://github.com/aircrack-ng/rtl8812au MrEngman Thank you. This source is highly customized for aircrack. Has logging and access to /proc disabled etc.. For 8812au I would suggest more generic one from https://github.com/zebulon2/rtl8812au-driver-5...
by dariuszb
Thu Apr 04, 2019 12:03 pm
Forum: Raspbian
Topic: Driver installation impossible? RTL8812AU
Replies: 40
Views: 18087

Re: Driver installation impossible? RTL8812AU

MrEngman - I have noticed that you have upgraded 8812au drivers to v5.2.20.2_28373.20180619. And finally my TP-Link -T4UHv1 seems to be stable on ac 5GHz channels. I have been fighting with ac stability for quite long trying multiple github sources. The best results I had were with v5.2.20_25672.201...
by dariuszb
Thu Mar 28, 2019 12:01 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.19
Replies: 270
Views: 84506

Re: Moving Linux kernel to 4.19

Potential workaround for the inode slab leak is now available in rpi-update kernel. Affected users, please update and report back. The workaround disables memory and IO cgroups which appears to be the cause of the leaks. I tested all cases causing issues previously with 4.19 and now they all pass. ...
by dariuszb
Tue Mar 26, 2019 4:31 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.19
Replies: 270
Views: 84506

Re: Moving Linux kernel to 4.19

Mostly a scheme for isolating resource usage for collections of processes. Mostly used for virtualisation, or containerisation (like docker). I don't think 99% of users will notice its absence, but this is what the test builds are for. If things stop working due to its absence, then report it here....
by dariuszb
Tue Mar 26, 2019 4:12 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.19
Replies: 270
Views: 84506

Re: Moving Linux kernel to 4.19

Potential workaround for the inode slab leak is now available in rpi-update kernel. Affected users, please update and report back. The workaround disables memory and IO cgroups which appears to be the cause of the leaks. Good news! Sure I will try in spare time. In the meantime I have a question. W...
by dariuszb
Sun Mar 24, 2019 1:18 pm
Forum: Raspbian
Topic: Video Converter HandBrake 0.10.5 for RPi2&3
Replies: 53
Views: 35335

Re: Video Converter HandBrake 0.10.5 for RPi2&3

Here there is step by step instruction how to compile handbrake 1.2.2

https://github.com/kapitainsky/handbrea ... /README.md
by dariuszb
Sat Mar 23, 2019 7:35 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.19
Replies: 270
Views: 84506

Re: Moving Linux kernel to 4.19

I've tried that last patch and it didn't fix the problem. A lot of the other proposed patches floating around on the mailing list have either already applied. One of them was applied upstream, then churned a bit and then reverted. If anybody could link me to some other patches or commits, I could g...

Go to advanced search