Go to advanced search

by spcharc
Sat Aug 01, 2020 7:48 am
Forum: General discussion
Topic: RPi4 BCM2711 and ARMv8 Crypto Extensions?
Replies: 61
Views: 6879

Re: RPi4 BCM2711 and ARMv8 Crypto Extensions?

I suspect this is an English language misunderstanding and that the person whom you quote was not predicting it will happen but meant it would be great if it did. At any rate, maybe by then the SM2, SM3 and SM4 standards will have replaced ECDSA, SHA and AES so the whole question will be moot. Ah. ...
by spcharc
Sat Aug 01, 2020 3:55 am
Forum: General discussion
Topic: RPi4 BCM2711 and ARMv8 Crypto Extensions?
Replies: 61
Views: 6879

Re: RPi4 BCM2711 and ARMv8 Crypto Extensions?

As an aside, the performance impact of software AES on full-disk encryption is noticeable while hardware AES is not. I strongly agree. And AES is so widely used. My rpi is running as a server. It encrypts my data before sending to Internet or LAN and the encryption process uses a lot of CPU. It wil...
by spcharc
Thu Jul 30, 2020 3:34 am
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

Re: How to ensure a fixed /dev/sda?

All of my non-raspberry systems do actually boot with root=UUID=, but they also all boot using initramfs. So the kernel has been given an initial root, and then presumably systemd/udev or whatever are helping to find the real one. Yes. Kernel alone can only deal with PARTUUID. UUID and LABEL need i...
by spcharc
Thu Jul 30, 2020 12:42 am
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

Re: How to ensure a fixed /dev/sda?

trejan wrote:
Thu Jul 30, 2020 12:23 am
Oops. Sorry.
Thanks for your suggestions anyway.

UUID and LABEL don't work. That's why my title says "how to ensure a fixed /dev/sda". I guess there isn't anything I can do in cmdline.txt
by spcharc
Thu Jul 30, 2020 12:38 am
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

Re: How to ensure a fixed /dev/sda?

bls wrote:
Thu Jul 30, 2020 12:35 am
My bad. I re-read (slowly) your original post, and missed the subtle point about it actually being your rootfs. Sigh. Apologies.
It's ok. Thank you anyway!
by spcharc
Thu Jul 30, 2020 12:31 am
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

Re: How to ensure a fixed /dev/sda?

I did read it before I posted, thanks. But, you showed it on the cmdline, not in fstab. My suggestion was to try it in fstab. There may or may not be a difference, but since you're trying to get this working, shouldn't you consider the possibility? Ah, I see. But the problem is when kernel is loade...
by spcharc
Wed Jul 29, 2020 11:55 pm
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

Re: How to ensure a fixed /dev/sda?

bls wrote:
Wed Jul 29, 2020 10:21 pm
Back on track after that interlude, 'man fstab' says you can use UUID= instead of PARTUUID=. Perhaps try

Code: Select all

UUID=59302f10-4757-4d37-9fa5-1b12e453370a /mnt ext4 defaults,noatime 0 2
Please read the 2nd post. It's another failed attempt ...
by spcharc
Wed Jul 29, 2020 11:54 pm
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

Re: How to ensure a fixed /dev/sda?

trejan wrote:
Wed Jul 29, 2020 5:52 pm
ext2/3/4 supports labels itself so you can label it using e2label and then put LABEL=rootfs in /etc/fstab and in cmdline.txt
Please read the 2nd post. It's one of the failed attempts ...
by spcharc
Wed Jul 29, 2020 4:31 pm
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

Re: How to ensure a fixed /dev/sda?

As you can see there is no PARTUUID. It does not even exist. That is because you didn't create a partition table and used the entire drive for your filesystem. Too late now but you needed to have run parted to create the partition table and then create a partition to use. Is there anything importan...
by spcharc
Wed Jul 29, 2020 4:24 pm
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

Re: How to ensure a fixed /dev/sda?

CaptainMidnight wrote:
Wed Jul 29, 2020 2:57 pm
Please confirm your '/etc/fstab' as the one you showed is only referencing '/dev/sda' - this may change depending on what is plugged in.
I copied and pasted so it's 100% correct
by spcharc
Wed Jul 29, 2020 2:47 pm
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

Re: How to ensure a fixed /dev/sda?

CaptainMidnight wrote:
Wed Jul 29, 2020 1:29 pm
Hi, have you tried using PARTUUID?
Please look at the "blkid" output in my previous post.

As you can see there is no PARTUUID. It does not even exist.

That's why I cannot use it.
by spcharc
Wed Jul 29, 2020 12:56 pm
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

Re: How to ensure a fixed /dev/sda?

Some hopefully useful information: "lsblk" output: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931.5G 0 disk / mmcblk0 179:0 0 1.9G 0 disk /boot "blkid" output: /dev/mmcblk0: LABEL_FATBOOT="BOOT" LABEL="BOOT" UUID="9666-55AD" TYPE="vfat" /dev/sda: LABEL="RPI" UUID="59302f10-4757-4d37-9fa5-1b12...
by spcharc
Wed Jul 29, 2020 12:55 pm
Forum: General discussion
Topic: [Solved] How to ensure a fixed /dev/sda?
Replies: 30
Views: 1177

[Solved] How to ensure a fixed /dev/sda?

Update: Started to use initrd, and issue solved. I'm using a Pi 3B. Currently I have a sdcard that mounts to /boot, which contains all the files required to boot. I also attached an external hdd that mounts to / Raspbian works without any problem when it boots. However, it may fail to boot if severa...
by spcharc
Fri Jul 17, 2020 12:39 am
Forum: Beginners
Topic: Raspberry 4 for Bitcoin mining
Replies: 8
Views: 7045

Re: Raspberry 4 for Bitcoin mining

Unless you attach some mining ASICs (application-specific integrated circuit) to your pi, you will get a super slow mining speed with its CPU. Even ASICs are not that good nowadays because every other serious miners are using ASICs. You really should learn why miners improved their devices in all th...
by spcharc
Thu Jul 16, 2020 10:59 pm
Forum: General discussion
Topic: Poor bluetooth audio quality playing with VLC player
Replies: 3
Views: 185

Re: Poor bluetooth audio quality playing with VLC player

How did you connect your Bluetooth headset to your raspberry pi, i haven't been able to figure it out I just did this: pi@raspberrypi:~ $ bluetoothctl [bluetooth]# scan on Wait until your device appeared (remember to put it into pairing mode) [bluetooth]# pair XX:XX:XX:XX:XX:XX [bluetooth]# connect...
by spcharc
Tue Jul 14, 2020 3:50 am
Forum: General discussion
Topic: Poor bluetooth audio quality playing with VLC player
Replies: 3
Views: 185

Re: Poor bluetooth audio quality playing with VLC player

Reason found! It's because the volume bar in VLC is dragged to 125%. I've tried so many options in VLC without thinking about the volume. I found out that if the volume is above 100%, the quality would be poor. So (125% in VLC + 40% system wide volume) != (100% in VLC + 50% system wide volume) So it...
by spcharc
Mon Jul 13, 2020 4:49 am
Forum: General discussion
Topic: Poor bluetooth audio quality playing with VLC player
Replies: 3
Views: 185

Poor bluetooth audio quality playing with VLC player

I am experiencing terrible audio quality with my bluetooth headset. The audio format is ".flac" The device is a Pi 3B, running latest raspbian buster. At first I thought it's a hardware problem. I tried disabling on-board WiFi as some posts suggested it may cause bluetooth connection issue. But the ...
by spcharc
Wed Jun 03, 2020 11:53 pm
Forum: General discussion
Topic: Is there a way to use a Pi 4 as a router without using eth0?
Replies: 3
Views: 227

Re: Is there a way to use a Pi 4 as a router without using eth0?

Is it possible to set up a router that treats the wlan0 adapter as the WAN port and the eth0 as the LAN? All of the guides assume that it will be the other way around. Of course it's possible. If it is possible, how would I do it? I have been able to get dhcp working and making a local network, but...
by spcharc
Sat Dec 14, 2019 8:16 pm
Forum: Beginners
Topic: Why it started to use swap when only 100MB of RAM is used?
Replies: 3
Views: 316

Re: Why it started to use swap when only 100MB of RAM is used?

You're doing or done something with a high amount of I/O as htop shows the cache to be consuming most of memory. The Linux swap algorithm tries to weigh up the benefits of keeping inactive pages in memory vs using those pages for cache. It doesn't just wait until a predefined threshold to start swa...
by spcharc
Sat Dec 14, 2019 1:28 am
Forum: Beginners
Topic: Why it started to use swap when only 100MB of RAM is used?
Replies: 3
Views: 316

Why it started to use swap when only 100MB of RAM is used?

https://www.kancolle.tk/Storage/screenshot.png I have a 3B. It starts to use swap when there isn't much RAM consumption... I'm running some python scripts, and took this screenshot just after the orange bar filled the slot. You can see it started to write something into swap. I've seen this several...

Go to advanced search