Go to advanced search

by Kendek
Thu Oct 17, 2019 5:23 pm
Forum: Troubleshooting
Topic: undefined symbol: g_date_copy
Replies: 7
Views: 437

Re: undefined symbol: g_date_copy

Are you checked this? The libglib moved to /usr/lib since version 2.56.0-5.
by Kendek
Thu Oct 17, 2019 12:00 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 2056

Re: Encrypted swap crashes all system

jamesh wrote:
Thu Oct 17, 2019 11:54 am
Ah, OK, so encrypting an entire partition, not just a swap file. My mistake. Sounds like a load of effort to go to for very little benefit.
You can try it with a SWAP file, I've just described the steps. It's a minute, including the stability test, just a little effort. :)
by Kendek
Thu Oct 17, 2019 11:30 am
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 2056

Re: Encrypted swap crashes all system

Thought I would give this a try, but fails at the The simple steps: > fallocate -l $((4*1024*1024*1024)) /swapfile > echo "cryptswap /swapfile /dev/urandom swap,cipher=aes-xts-plain64,size=256" >>/etc/crypttab > cryptdisks_start cryptswap * Starting crypto disk... * cryptswap (starting)... * crypts...
by Kendek
Thu Oct 17, 2019 11:21 am
Forum: General discussion
Topic: Raspi 4 file server disappointing transfer speed, degradation and segfaults
Replies: 50
Views: 3771

Re: Raspi 4 file server disappointing transfer speed, degradation and segfaults

Adiantum I don't see this in my cryptsetup: ... So what FS would you recommend then inside? EXT4? Yes, by default, Adiantum is not available under Raspbian. But without hardware-accelerated AES, the overall performance is far from ideal. The default ext4 is recommended. At least I don't have any cr...
by Kendek
Thu Oct 17, 2019 7:28 am
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 113
Views: 24152

Re: VLI firmware v2.0 - powersaving features enabled

soundcheck wrote:
Thu Oct 17, 2019 7:19 am
I couldn't find a way to accomplish a similar behavior on the Pi4.
Just remove the PCIe interface, this totally disable the USB controller:

Code: Select all

echo 1 >/sys/bus/pci/devices/0000\:01\:00.0/remove
by Kendek
Thu Oct 17, 2019 6:58 am
Forum: Advanced users
Topic: Building older version kernel for Raspbian GNU/Linux 10
Replies: 2
Views: 403

Re: Building older version kernel for Raspbian GNU/Linux 10

First thing to do, you need to make sure that the rpi-4.4.y kernel you compiled is working on your Pi with Raspbian Buster. After the system has successfully booted with this kernel and it seems everything is working fine, you can compile and install the SocketCAN kernel module.
by Kendek
Wed Oct 16, 2019 9:28 pm
Forum: Advanced users
Topic: Kernel Building -- Patches?
Replies: 3
Views: 351

Re: Kernel Building -- Patches?

rish11 wrote:
Wed Oct 16, 2019 8:37 pm
I have followed those steps and the USB and Ethernet do not power themselves up when I create the image.
Yeah, this is probably a bug in this kernel source. Maybe report it on GitHub.
by Kendek
Wed Oct 16, 2019 8:19 pm
Forum: Ubuntu
Topic: Current State of Ubuntu Software and Hardware Support
Replies: 53
Views: 6314

Re: Current State of Raspberry Pi 4 Software and Hardware Support

Would it be possible for a straightforward 'officially recommended' method to be posted which would, no doubt, help many folk make the very best of the 'early release' of the Pi4? The official .img file has two partitions, boot and rootfs . You just need to copy this second partition or contents of...
by Kendek
Wed Oct 16, 2019 5:47 pm
Forum: Advanced users
Topic: Kernel Building -- Patches?
Replies: 3
Views: 351

Re: Kernel Building -- Patches?

rish11 wrote:
Wed Oct 16, 2019 3:44 pm
Is there anyone out there that has successfully patched 4.19?
What patch? You just need to follow the steps in the documentation. You can download the rpi-4.19.y-rt branch (git clone or the zip file), but there is no need to apply patches.
by Kendek
Wed Oct 16, 2019 6:35 am
Forum: Troubleshooting
Topic: Copying to USB HDD is very slow
Replies: 13
Views: 1030

Re: Copying to USB HDD is very slow

zeitalex wrote:
Wed Oct 16, 2019 3:09 am

Code: Select all

sudo mount /dev/sda1 /media/usb0/
then I am able to write to it with 36,1 MB/s

Probably something is wrong in my fstab:

Code: Select all

UUID=fb769947-7836-4897-b2fd-107a6718e413   /media/usb0   ext4   auto,nofail,sync,users,rw   0   0
Yes, the sync mount option.
by Kendek
Tue Oct 15, 2019 1:29 pm
Forum: General discussion
Topic: Using the pi as my main computer
Replies: 17
Views: 1243

Re: Using the pi as my main computer

The Pi4 is great and strong as headless computer. If you want a NAS, then this is your board, but if you want to replace your high-end desktop PC, not so much.
by Kendek
Tue Oct 15, 2019 12:53 pm
Forum: Troubleshooting
Topic: openvpn not working with raspian buster 26/9
Replies: 3
Views: 348

Re: openvpn not working with raspian buster 26/9

Birdybird wrote:
Tue Oct 15, 2019 12:24 pm
Please help me to start the script again
Unfortinately, I don't know this script. I was lazy and used my installaller script on my Synology router then moved the contents of the etc/openvpn directory.
But there are other scripts, just pick one and try it.
by Kendek
Tue Oct 15, 2019 12:38 pm
Forum: General discussion
Topic: Raspi 4 file server disappointing transfer speed, degradation and segfaults
Replies: 50
Views: 3771

Re: Raspi 4 file server disappointing transfer speed, degradation and segfaults

Yes I forget to tell about that I do have full disk encryption and I do use XFS and I don't want to switch any of it. The aes-xts-plan64 is suck on Pi: cryptsetup benchmark # Algorithm | Key | Encryption | Decryption aes-xts 256b 91,5 MiB/s 81,8 MiB/s aes-xts 512b 70,8 MiB/s 61,9 MiB/s If you want ...
by Kendek
Tue Oct 15, 2019 10:42 am
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 2056

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. It works for me: > dmsetup table --showkeys data: 0 3906996400 crypt xchacha12,aes-adiantum-plain64 :32:logon:cryptsetup:c4368a29-2...
by Kendek
Tue Oct 15, 2019 10:10 am
Forum: Troubleshooting
Topic: openvpn not working with raspian buster 26/9
Replies: 3
Views: 348

Re: openvpn not working with raspian buster 26/9

Maybe use another, Debian compatible script, or configure the OpenVPN manually. You just need to install the openvpn package, and generate the contents of the /etc/openvpn directory (on RPi, or put there from another system). Some iptables rules are required (/etc/rc.local): iptables -t nat -A POSTR...
by Kendek
Mon Oct 14, 2019 10:10 am
Forum: Ubuntu
Topic: Current State of Ubuntu Software and Hardware Support
Replies: 53
Views: 6314

Re: Current State of Raspberry Pi 4 Software and Hardware Support

Ubuntu The Ubuntu is available and usable, especially for server purposes. Just use the arm64 base image , the official kernel source (or the precompiled kernel ), and if necessary, the VideoCore binaries . > lsb_release -a Distributor ID: Ubuntu Description: Ubuntu Eoan Ermine (development branch)...
by Kendek
Mon Oct 14, 2019 9:51 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 Red Light
Replies: 10
Views: 909

Re: Raspberry Pi 4 Red Light

MasterRoby3 wrote:
Mon Oct 14, 2019 9:03 am
Ok, I tested the 3v3 pin and it's dead. Now, what can be the most probable cause? Static current? Conductive surface? I really don't know...
Probably the 5V has shorted to 3.3V. Just avoid this, because it's deadly for the Pi.
by Kendek
Mon Oct 14, 2019 8:53 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 299
Views: 83592

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Seems rather convoluted (and probably needing a larger memory Pi4). I was hoping for something more along the lines of special command lines in Geany. Basic steps for a simple 64-bit compilation: Prepare the Ubuntu chroot environment: mkdir ubuntu cd ubuntu wget http://cdimage.ubuntu.com/ubuntu-bas...
by Kendek
Mon Oct 14, 2019 5:58 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 299
Views: 83592

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Sorry I'm not a Linux expert. Are you saying run 64 bit Ubuntu from inside Raspian, then run the 64 bit GCC there, then exit Ubuntu and run the 64 bit code from the special Run command on the menu ? Seems rather convoluted (and probably needing a larger memory Pi4). I was hoping for something more ...
by Kendek
Sun Oct 13, 2019 9:24 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 299
Views: 83592

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Wilfried - Did you come up with a solution to this ? It seems odd to me to have to have an x64 machine to compile anything to run on a Pi. But there is a solution, just chrooting into an arm64 root ( for example, unpack the Ubuntu base tar.gz ). Not as comfortable as cross-compile, but easy enough.
by Kendek
Sun Oct 13, 2019 9:05 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 2056

Re: Encrypted swap crashes all system

Not on ext4 (or xfs) it isn't. You're on Raspbian; you're probably hobbled by ext4. It still doesn't work and crashes immediately when the system tries to use SWAP. > dd if=/dev/zero of=/mnt/swapfile bs=1M count=4096 > sync > echo "cryptswap /mnt/swapfile /dev/urandom swap,cipher=aes-xts-plain64,si...
by Kendek
Sun Oct 13, 2019 8:08 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 2056

Re: Encrypted swap crashes all system

dickon wrote:
Sun Oct 13, 2019 7:55 pm
Hmm. News to me. What *isn't* is that fallocate isn't a valid way of doing it: see the mkswap manpage. dd instead.
I think the fallocate is good enough on an empty filesystem. But yeah, maybe I'll try with dd too.
by Kendek
Sun Oct 13, 2019 7:45 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 2056

Re: Encrypted swap crashes all system

dickon wrote:
Sun Oct 13, 2019 7:42 pm
Do you not need to mkswap any more?
Apparently not.
by Kendek
Sun Oct 13, 2019 7:28 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 2056

Re: Encrypted swap crashes all system

Would you mind to try swap file? I've tried with the following commands: mount /dev/sdb1 /mnt fallocate -l $((4*1024*1024*1024)) /mnt/swapfile echo "cryptswap /mnt/swapfile /dev/urandom swap,cipher=aes-xts-plain64,size=256" >/etc/crypttab cryptdisks_start cryptswap swapon /dev/mapper/cryptswap stre...
by Kendek
Sun Oct 13, 2019 6:14 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 2056

Re: Encrypted swap crashes all system

dariuszb wrote:
Sun Oct 13, 2019 6:10 pm
Thanks. Have you used partition? Or swap file?
Partition on an external HDD, connected through USB 3.0.

Go to advanced search