After 5 years or suffering I found out how to make Linux not grind to screeching halt every time a write is being performed to Raspberry Pi SD card:
Put
#!/bin/bash
echo 128 > /sys/block/mmcblk0/queue/max_sectors_kb
echo bfq > /sys/block/mmcblk0/queue/scheduler
into /usr/local/bin/set_scheds.sh . Put
[Unit]
Description=Set Schedulers
After=sysinit.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/set_scheds.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
into /etc/systemd/system/set_scheds.service . Do:
chmod a+x /usr/local/bin/set_scheds.sh
sudo systemctl daemon-reload
sudo systemctl enable set_scheds.service
sudo systemctl start set_scheds.service
I asked a friend full time employed as Linux kernel developer. He didn't know. He didn't know the max_sectors_kb is actually a parameter of the I/O scheduler. I discovered it accidentally. The doc is bad.
IMO horrible UX.
#linux #badux #ux #unusable #raspberrypi #rpi #frustrating #friction #complexity #complicated
Hi guys.
Have these chips on Orange Pi 5, but can’t find them neither in the schematic (https://drive.google.com/file/d/1Wsp-Q7IyG0Ky_W-z1n5oXcFG4oqIbtOb/view) nor by the chip markings.
Those are tiny bga chips marked as D25DH 6QR73 or D3FEH 68S53.
They are located under the CPU, so must be related.
I also noticed that these same chips on the same model of Orange Pi have different markings but in a similar fashion.
Thanks a lot - as always.
#fedihelp #electronics #electronicsrepair #ifixit #orangepi #sbc #raspberrypi #schematics
To prevent systemd from destroying your Raspberry Pi SD card by constant 100% writing saturation of coredumps despite these being disabled, just because some Glycin HEIC thumbnailer is constantly segfaulting while you are browsing smartphone pictures, do:
Put Storage=none and ProcessSizeMax=0 into /etc/systemd/coredump.conf and do systemctl daemon-reload, delete contents of /var/lib/systemd/coredump
sudo systemctl mask systemd-coredump.socket
sudo systemctl stop systemd-coredump.socket
#systemd #raspberrypi #rpi #coredump #linux #sdcard #microsd #ssd #baddesign #ux #userexperience #plannedobsolescence
Heh, now this project looks fun. AMAZE! AMAZE! AMAZE!
GitHub - lahirumaramba/rocky: Rocky: Your Own Personal Eridanian Buddy · GitHub