Go to advanced search

by Kendek
Mon Oct 14, 2019 10:10 am
Forum: Ubuntu
Topic: Current State of Ubuntu Software and Hardware Support
Replies: 54
Views: 4923

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

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: 258
Views: 48024

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: 258
Views: 48024

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: 258
Views: 48024

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

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

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

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

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

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.
by Kendek
Sun Oct 13, 2019 3:45 pm
Forum: Advanced users
Topic: Encrypted swap crashes all system
Replies: 31
Views: 1668

Re: Encrypted swap crashes all system

I tried it on RPi4 (64-bit Ubuntu with kernel 5.3.6), and the encrypted SWAP works perfectly. So there is no reboots when the SWAP is being used, and it is very stable.
by Kendek
Sat Oct 12, 2019 6:33 am
Forum: Troubleshooting
Topic: Strange problem on my Rpi 4 4Gb hdmi TV connection..
Replies: 8
Views: 945

Re: Strange problem on my Rpi 4 4Gb hdmi TV connection..

Try to set the

Code: Select all

hdmi_preferred=1
in /boot/config.txt to shift audio (and CEC) to HDMI1.
by Kendek
Fri Oct 11, 2019 3:47 am
Forum: General discussion
Topic: SSD TRIM - the discard operation is not supported
Replies: 12
Views: 725

Re: SSD TRIM - the discard operation is not supported

@HawaiianPi: I think I've found a possible explanation why yours works and mine doesn't. It also depends on the firmware, but the minimum is ASM1351. If you want to be sure, use a StarTech product. I have some cable-style adapters, the USB312SAT3CB is working properly (with the official firmware up...
by Kendek
Thu Oct 10, 2019 10:01 am
Forum: Advanced users
Topic: Pi 4 EEPROM update with system on USB device (SSD)
Replies: 2
Views: 610

Re: Pi 4 EEPROM update with system on USB device (SSD)

You can update the EEPROM to the current stable version with the following commands: wget -O /boot/partition/recovery.bin https://github.com/raspberrypi/rpi-eeprom/raw/master/firmware/recovery.bin wget -O /boot/partition/pieeprom.upd https://github.com/raspberrypi/rpi-eeprom/raw/master/firmware/crit...
by Kendek
Thu Oct 10, 2019 4:19 am
Forum: Troubleshooting
Topic: Why not used 4k 60hz
Replies: 5
Views: 327

Re: Why not used 4k 60hz

Imperf3kt wrote:
Wed Oct 09, 2019 9:47 pm
Is this right? Color settings are to do with bit depth, not refresh rates.
"deep color" is merely a fancy name for 10bit color resolution.
Yes, without these the HDMI port is technically limited to 1.4, so no 4K/UHD 60Hz with Full RGB.
by Kendek
Wed Oct 09, 2019 7:07 pm
Forum: General discussion
Topic: SSD TRIM - the discard operation is not supported
Replies: 12
Views: 725

Re: SSD TRIM - the discard operation is not supported

If your adapter supports the UNMAP/TRIM, you need the following udev rule to activate: /etc/udev/rules.d/01-unmap.rules ACTION=="add|change", ATTRS{idVendor}=="<VID>", ATTRS{idProduct}=="<PID>", SUBSYSTEM=="scsi_disk", ATTR{provisioning_mode}="unmap" You can read the VID and PID from the lsusb output.
by Kendek
Wed Oct 09, 2019 3:29 pm
Forum: Troubleshooting
Topic: Rasbian is not starting up after update
Replies: 5
Views: 232

Re: Rasbian is not starting up after update

B.Goode wrote:
Wed Oct 09, 2019 3:07 pm
gkaiseril wrote:
Wed Oct 09, 2019 2:27 pm
The "dist-upgrade" may be upgrading the major OS version from stretch to buster.
That is directly contrary to the advice given by Raspberry Pi themselves:
Because the dist-upgrade (= full-upgrade) doesn't by itself upgrade the current system to the next major OS version.
by Kendek
Wed Oct 09, 2019 3:17 pm
Forum: Advanced users
Topic: CEC: RPI 4: No key press received
Replies: 3
Views: 238

Re: CEC: RPI 4: No key press received

Then I don't know, but I'm sure that the CEC (libCEC 4.0.4) works well with LibreELEC.
by Kendek
Wed Oct 09, 2019 2:53 pm
Forum: Troubleshooting
Topic: Update freeze up errors
Replies: 4
Views: 188

Re: Update freeze up errors

gkaiseril wrote:
Wed Oct 09, 2019 2:38 pm
I would not run the "dist-upgrade" option without making a backup the the SD card.
Why? The dist-upgrade (= full-upgrade) is completely safe in itself and will not upgrade the current system to the next stable or other distribution release.
by Kendek
Wed Oct 09, 2019 2:42 pm
Forum: General discussion
Topic: which rpi should I get?
Replies: 25
Views: 992

Re: which rpi should I get?

6by9 wrote:
Wed Oct 09, 2019 2:32 pm
The Pi4 uses a totally different USB interface on the end of a 1xPCIe lane (5Gbps), and ethernet is on a dedicated interface out of the SoC.
I think this is not fully correct, the single PCI Express Gen 2 lane in the Pi4 providing a total of 4 Gbps of bandwidth. :)
by Kendek
Wed Oct 09, 2019 2:29 pm
Forum: Troubleshooting
Topic: Update freeze up errors
Replies: 4
Views: 188

Re: Update freeze up errors

Read-only file system, so I think a filesystem error has occurred. Maybe the SD card is weared out.
by Kendek
Wed Oct 09, 2019 2:18 pm
Forum: Advanced users
Topic: CEC: RPI 4: No key press received
Replies: 3
Views: 238

Re: CEC: RPI 4: No key press received

Set the

Code: Select all

hdmi_preferred=1
in /boot/config.txt to shift audio and CEC to HDMI1.
by Kendek
Wed Oct 09, 2019 2:07 pm
Forum: Troubleshooting
Topic: Why not used 4k 60hz
Replies: 5
Views: 327

Re: Why not used 4k 60hz

You need to enable HDMI 2.0 in your TV settings. With Samsung this is the HDMI UHD Color feature, and on LG the name is HDMI ULTRA HD Deep Colour.
by Kendek
Wed Oct 09, 2019 5:30 am
Forum: Advanced users
Topic: Cross-Compiling Kernel 5.3 - recipe for target 'scripts' failed
Replies: 2
Views: 230

Re: Cross-Compiling Kernel 5.3 - recipe for target 'scripts' failed

I don't know, but I'm using this kernel with some minor modifications, compiled directly on Pi, under Ubuntu 19.10. > uname -a Linux RPI4 5.3.3-v8 #1 SMP PREEMPT Fri Oct 4 15:52:50 CEST 2019 aarch64 aarch64 aarch64 GNU/Linux > dmesg | head -n 3 [ 0.000000] Booting Linux on physical CPU 0x0000000000 ...
by Kendek
Mon Oct 07, 2019 7:40 am
Forum: General discussion
Topic: OpenVPN
Replies: 2
Views: 194

Re: OpenVPN

The OpenVPN server works just fine on the Pi. If you don't know how to configure it, then use an installer script . If you want to configure it manually, it's not that simple . I used my script on my router and moved the contents of the /etc/openvpn directory. If you just want a good VPN server, may...

Go to advanced search