Go to advanced search

by Kendek
Tue Oct 29, 2019 9:08 pm
Forum: Advanced users
Topic: kernel headers for current Raspbian 64-bit kernel
Replies: 1
Views: 484

Re: kernel headers for current Raspbian 64-bit kernel

Download the compatible source code zip or tar.gz:

raspberrypi-kernel_1.20190925-1

You can compile the ZFS kernel module under an ARM64 chroot environment.
Just prepare the kernel source:

Code: Select all

make bcm2711_defconfig
make prepare
make scripts
by Kendek
Mon Oct 28, 2019 3:16 pm
Forum: General discussion
Topic: Mounting router USB-drive on pi 4
Replies: 8
Views: 624

Re: Mounting router USB-drive on pi 4

If this really necessary and you using Asuswrt-Merlin firmware on your router, the NFS share is better than Samba: 192.168.2.1:/tmp/mnt/<sda1> /mnt/Share nfs4 noatime,fsc 0 0 Otherwise, if you want the best performance, consider FTP: sudo apt install curlftpfs curlftpfs#anonymous:[email protected].168.2...
by Kendek
Sun Oct 27, 2019 9:13 pm
Forum: Advanced users
Topic: rpi-eeprom beta package - VL805 updates
Replies: 51
Views: 8890

Re: rpi-eeprom beta package - VL805 updates

Apologies if this is a stupid question and answered elsewhere, but I’m womndering if someone could please explain how you are supposed to update the EEPROM on the rpi4 if you aren’t running raspbian? Just place the update files on the FAT32 boot partition and reboot. wget -O /boot/partition/recover...
by Kendek
Sun Oct 27, 2019 1:20 pm
Forum: General discussion
Topic: How to backup/restore my RPi4?
Replies: 6
Views: 700

Re: How to backup/restore my RPi4?

Why would you like to wipe the entire SD card after broken WiFi settings?
I'm using the systemback.sh script for backup and restore the system and the user's configuration files. I definitely wouldn't wipe the SD card when I want to try a new stuff inside the OS.
by Kendek
Sat Oct 26, 2019 1:05 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 513
Views: 153575

Re: Raspberry Pi 4 usb boot?

RossDv8 wrote:
Sat Oct 26, 2019 12:37 pm
So why should fstab be changed to show a reference to /boot on the microSD, rather than the default of /boot on the SSD?
Obvious why. Because if the real boot partition is not mounted under /boot, the boot files, firmware, EEPROM and the kernel will never be upgraded.
by Kendek
Sat Oct 26, 2019 7:55 am
Forum: Troubleshooting
Topic: Can't boot if two SSD drives are connected to both USB 3.0 ports.
Replies: 7
Views: 817

Re: Can't boot if two SSD drives are connected to both USB 3.0 ports.

Probably a power-related issue. The Pi4 can only supply 1.2A current through its USB ports, in total. If you are using a powered USB HUB, the backfeeding can also prevent the system to boot.
by Kendek
Wed Oct 23, 2019 4:34 pm
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 111
Views: 23812

Re: VLI firmware v2.0 - powersaving features enabled

soundcheck wrote:
Wed Oct 23, 2019 4:21 pm
Since you suggested to bring down the PCI altogether, ethernet would have also been involved.
The Broadcom ethernet chip is also connected to PCI, isn't it.
The RGMII interface is not PCI Express, so no. The single PCIe Gen 2 lane is exclusively assigned to the USB controller.
by Kendek
Wed Oct 23, 2019 4:03 pm
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 111
Views: 23812

Re: VLI firmware v2.0 - powersaving features enabled

Doesn't work. The chips (USB and ethernet) don't seem to get powered down this way. The power consumption stays as is. You can do unbind too, but the power consumption will remain the same. for d in /sys/bus/usb/drivers/usb/* ; do echo ${d:25} >/sys/bus/usb/drivers/usb/unbind ; done Note that the E...
by Kendek
Mon Oct 21, 2019 7:56 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 291
Views: 80697

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

gubertoli wrote:
Mon Oct 21, 2019 5:48 am
I just had bad times to compile kernel modules once source and build folders on /lib/modules/4.19.79-v8 are not correctly linked.
Modules also can only be compiled within Ubuntu chroot. Just keep the ubuntu64 directory. :)
by Kendek
Sun Oct 20, 2019 11:51 am
Forum: General discussion
Topic: External hard drives that no longer standby under rasbian buster
Replies: 7
Views: 642

Re: External hard drives that no longer standby under rasbian buster

Gilder wrote:
Sun Oct 20, 2019 11:44 am
I did that and now it works. But why 120 = 10 minutes? what is this 120?
You are welcome. Values from 1 to 240 specify multiples of 5 seconds, so 120 x 5 = 600 seconds, which is 10 minutes.
by Kendek
Sat Oct 19, 2019 10:22 pm
Forum: General discussion
Topic: External hard drives that no longer standby under rasbian buster
Replies: 7
Views: 642

Re: External hard drives that no longer standby under rasbian buster

If installed, hdparm automatically sets the APM level to 254 on all HDDs by default, and there is no spin-down from value 128. You can edit the /etc/hdparm.conf , just uncomment the spindown_time line, and set value to 120, which is 10 minutes. You can test it with the following command: sudo DEVNAM...
by Kendek
Sat Oct 19, 2019 2:12 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 + Powered USB Hub + 2,5" SSD not working
Replies: 9
Views: 1062

Re: Raspberry Pi 4 + Powered USB Hub + 2,5" SSD not working

scyle wrote:
Sat Oct 19, 2019 1:44 pm
WHAT?! I don't get it. I am getting more and more confused on what is going on with this setup.
Lots of bugs have been fixed in the kernel, so maybe an update helped in your case.
by Kendek
Sat Oct 19, 2019 1:50 pm
Forum: General discussion
Topic: Raspberry Pi 4 and Golang
Replies: 3
Views: 1450

Re: Raspberry Pi 4 and Golang

Or if you want a newer version, just use the precompiled armv6l. The go1.13.3.linux-armv6l.tar.gz should work on Raspbian.
by Kendek
Sat Oct 19, 2019 11:29 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 291
Views: 80697

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

gubertoli wrote:
Sat Oct 19, 2019 6:10 am
Followed the instructions but after reboot...
mice, keyboard, wireless adapter and sound is not working, so I got a freeze Desktop :cry:
Yeah, sorry. I just edited my post, added some missed commands and package. Please try again, this time I tested it. :)
by Kendek
Sat Oct 19, 2019 10:33 am
Forum: General discussion
Topic: Raspi 4 file server disappointing transfer speed, degradation and segfaults
Replies: 50
Views: 3726

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

Heater wrote:
Sat Oct 19, 2019 10:17 am
Messing with Adiantum may or may not work around the problem. Like using your second car when the first one won't start it's not addressing the issue.
Yes, you are right. But anyway, I'm using Adiantum with kernel 5.3. It is very stable and performs very well. :)
by Kendek
Sat Oct 19, 2019 9:14 am
Forum: General discussion
Topic: Raspi 4 file server disappointing transfer speed, degradation and segfaults
Replies: 50
Views: 3726

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

This adatrium you suggested I would like to try but I can't find a single tutorial on it how to do and it seems it not even in the raspbian kernel. Adiantum is a relatively new thing, so if you really want to try it, you will need a newer kernel, like 5.3 . Just add the following lines to the bcm27...
by Kendek
Sat Oct 19, 2019 8:50 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 291
Views: 80697

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

[email protected]:~ $ sudo dpkg --add-architecture aarch64 pkg-config-dpkghook: Warning: Architecture aarch64 not defined in architecture tables, ignored sudo dpkg --add-architecture arm64 But there are no arm64 packages in the Raspbian repository. So the libc6 and other arm64 libraries cannot be installed.
by Kendek
Fri Oct 18, 2019 9:02 am
Forum: General discussion
Topic: Keyboard
Replies: 3
Views: 435

Re: Keyboard

Sorry, but what virtual keyboard? You need a physical keyboard with USB connection. Only the Pi Zero W have built-in WiFi.
by Kendek
Fri Oct 18, 2019 7:31 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 291
Views: 80697

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

After successfully moving to aarch64 through rpi-update and changing config.txt, how to correctly rebuild the kernel ? (I have to build to include new modules support) Compile 64-bit kernel on Raspbian: Prepare for compilation: sudo -i mkdir ubuntu64 cd ubuntu64 wget http://cdimage.ubuntu.com/ubunt...
by Kendek
Thu Oct 17, 2019 9:55 pm
Forum: Advanced users
Topic: Cannot mount external hard drive on RPi4
Replies: 3
Views: 599

Re: Cannot mount external hard drive on RPi4

I think you just need to install the ntfs-3g package:

Code: Select all

sudo apt install ntfs-3g
The performance and compatibility will not be as good as with a native Linux filesystem. Ext4 is recommended.
by Kendek
Thu Oct 17, 2019 8:43 pm
Forum: General discussion
Topic: SD Card power failure resilience ideas
Replies: 31
Views: 3463

Re: SD Card power failure resilience ideas

dickon wrote:
Thu Oct 17, 2019 7:52 pm

Code: Select all

sudo su -
Job done.
This is more recommended:

Code: Select all

sudo -i
by Kendek
Thu Oct 17, 2019 6:03 pm
Forum: Troubleshooting
Topic: undefined symbol: g_date_copy
Replies: 7
Views: 426

Re: undefined symbol: g_date_copy

donavyn wrote:
Thu Oct 17, 2019 5:52 pm
Yes, I performed research before posting, that particular command was issued without error, however, I still receive the message when I attempt to pull updates.
If this is the problem, you need to remove the correct files:

Code: Select all

sudo rm /lib/arm-linux-gnueabihf/libglib-2.0.so.0*
by Kendek
Thu Oct 17, 2019 5:23 pm
Forum: Troubleshooting
Topic: undefined symbol: g_date_copy
Replies: 7
Views: 426

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: 2047

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: 2047

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...

Go to advanced search