You are not logged in.
Pages: 1
i use ...
refurbished HP Elitebook 850 G5 (like new), Modell 2FH33AV, i5-8350U
Note: there are a lot of 850 G5 Variants - have a look at the Details
upgraded with
2x 32 GB RAM Samsung M471A4G43MB1-CTD DDR4-2666 PC4-21300
4 TB WD Black SN850X
HP Elite USB-C Dockingstation G4
works fine ... ;-)
if you want NEW, have a look at Tuxedo:
as a long time Debian user private & pro privately moved to Devuan Excalibur after Bookworm ... i'm fine ... VERY FINE ;-)
Thanks & good Night ;-)
morning ... ;-)
my way: KISSS
Keep it Simple Stupid AND Safe
qutebrowser. using up to -3- tabs for ...
https://duckduckgo.com/
https://www.ecosia.org/
https://search.brave.com/
and their search AND ai
ask the same question and you'll get -3- answers.
understand them, think, decide & prove / verify
you / we are who do decisions. not the ai.
just my 5 cents ... ;-)
nice dreams & good night
update:
modified
disks=$(sudo smartctl --scan 2>/dev/null | grep -i realtek | sed 's/ .*$//')to
disks=$(smartctl --scan 2>/dev/null | grep -i realtek | sed 's/ .*$//')Happy it helped ;-)
Took me a lot of Time on Research, Trial & Error on the Problem with different RTL9210 USB/NVMe Adapters with Bookworm, then with Excalibur. With BOTH Fixes now they all work stable :-)
my Devuan Excalibur setup:
1.) apt and discover. Additional ONLY .deb, appimages, .tar - checked with VirusTotal before "Installing". NO snap, flatpak.
2.) KDE Plasma plus GNOME - can select in login Screen, works fine. Benefit: Apps from both "Worlds"
... and here is rtl9210-fix ... v2 ... with start-stop-daemon ... ;-)
# SysVinit
# --------
cat << 'EOF' > /etc/init.d/rtl9210-fix
#!/bin/sh
### BEGIN INIT INFO
# Provides: rtl9210-fix
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Prevent autosuspend for Realtek RTL9210 adapters
# Description: Read SMART every 10 seconds to prevent autosuspend
### END INIT INFO
DAEMON=/usr/local/sbin/rtl9210-fix.sh
PIDFILE=/var/run/rtl9210-fix.pid
NAME=rtl9210-fix
case "$1" in
start)
echo "Start RTL9210 Autosuspend Fix"
start-stop-daemon --start --quiet --background \
--make-pidfile --pidfile "$PIDFILE" \
--startas "$DAEMON"
PID=$(cat "$PIDFILE" 2>/dev/null)
echo "Service $NAME active, PID: $PID"
;;
stop)
echo "Stop RTL9210 Autosuspend Fix"
PID=$(cat "$PIDFILE" 2>/dev/null)
if [ -n "$PID" ]; then
echo "Service $NAME PID: $PID stopping"
start-stop-daemon --stop --quiet \
--pidfile "$PIDFILE" 2>/dev/null
rm -f "$PIDFILE"
fi
;;
restart)
$0 stop
echo "Stop RTL9210 Autosuspend Fix"
$0 start
echo "Start RTL9210 Autosuspend Fix"
;;
status)
echo "Status RTL9210 Autosuspend Fix"
PID=$(cat "$PIDFILE" 2>/dev/null)
if [ -z "$PID" ]; then
echo "Service $NAME not active, no PID found"
else
echo "Service $NAME active, PID: $PID "
smartctl --scan 2>/dev/null | grep -i realtek
fi
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
;;
esac
exit 0
# eof
EOF
md5sum /etc/init.d/rtl9210-fix
# ...
# d859e88c31317f600e49ce4c4c609523 /etc/init.d/rtl9210-fix
# ...
chmod +x /etc/init.d/rtl9210-fix
# DAEMON
# ------
cat << 'EOF' > /usr/local/sbin/rtl9210-fix.sh
#!/bin/bash
INTERVAL=10
while true; do
# get all Storage Devices with Realtek Controller
disks=$(smartctl --scan 2>/dev/null | grep -i realtek | sed 's/ .*$//')
if [ -n "$disks" ]; then
for disk in $disks; do
# read SMART Data to keep Realtek Device(s) "alive"
smartctl -a $disk >/dev/null 2>&1
done
fi
sleep "$INTERVAL"
done
# eof
EOF
md5sum /usr/local/sbin/rtl9210-fix.sh
# ...
# ac177d0919c625789a80ec64e9d8dfb9 /usr/local/sbin/rtl9210-fix.sh
# ...
chmod +x /usr/local/sbin/rtl9210-fix.sh
# activate Service for all Runlevels
# ----------------------------------
update-rc.d rtl9210-fix defaultsi also had disconnects while data transfer. by default, uas driver is used. my solution: force using usb-storage driver for rtl9210:
lsusb | grep -i 9210
# ...
# Bus 004 Device 005: ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter
# ...
cat << EOF > /etc/modprobe.d/uas.conf
options usb-storage quirks=0bda:9210:u
EOF
cat /etc/modprobe.d/uas.conf
update-initramfs -cuk all
update-grub
rebootabout firmware update ...
1.) you need the correct firmware for the specific enclosure brand or you have risc of bricking it.
2.) if you have multiple differenct brands you have to play the game like in 1.) again
i have several diffent brands with rtl9210 and they now run fine with the "uas.conf" and the "rtl9210-fix"
greets
this rtl9210 controller bug is in the firmware: autosuspend after some idle time, so not a matter of the kernel.
can be testet with:
watch -n 10 'smartctl -a | grep -i temp'thanks for this info, will provide improved code with "start-stop-daemon" in the next days
hi there !
you know those little enclosures to have ssd or nvme storage attached via usb ?
some are great ... some fail ...
long story, short ending ...
most times it's the RTL9210 built in firmware doing AUTOSUSPEND ... wtf ...
so .. keep that thingee alive ... ;-)
my solution:
# SysVinit
# --------
cat << 'EOF' > /etc/init.d/rtl9210-fix
#!/bin/sh
### BEGIN INIT INFO
# Provides: rtl9210-fix
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Prevent autosuspend for Realtek RTL9210 adapters
# Description: Read SMART every 10 seconds to prevent autosuspend
### END INIT INFO
DAEMON=/usr/local/sbin/rtl9210-fix.sh
INTERVAL=10
case "$1" in
start)
echo "Starting RTL9210 Autosuspend Fix ..."
# Background Loop
nohup /bin/bash -c \
"while true; do $DAEMON; sleep $INTERVAL; done" >/dev/null 2>&1 &
# remember PID
echo $! > /var/run/rtl9210-fix.pid
PID=$(cat /var/run/rtl9210-fix.pid 2>/dev/null)
echo "Service rtl9210-fix active, PID: $PID"
;;
stop)
echo "Stopping RTL9210 Autosuspend Fix ..."
PID=$(cat /var/run/rtl9210-fix.pid 2>/dev/null)
if [ -n "$PID" ]; then
echo "Service rtl9210-fix PID: $PID stopping"
kill $PID
rm -f /var/run/rtl9210-fix.pid
fi
;;
status)
echo "Status RTL9210 Autosuspend Fix ..."
PID=$(cat /var/run/rtl9210-fix.pid 2>/dev/null)
if [ -z "$PID" ]; then
echo "Service rtl9210-fix not active, no PID found"
else
echo "Service rtl9210-fix active, PID: $PID "
smartctl --scan 2>/dev/null | grep -i realtek
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
exit 0
# eof
EOF
chmod +x /etc/init.d/rtl9210-fix# DAEMON
# ------
cat << 'EOF' > /usr/local/sbin/rtl9210-fix.sh
#!/bin/bash
# get all Storage Devices with Realtek Controller
disks=$(sudo smartctl --scan 2>/dev/null | grep -i realtek | sed 's/ .*$//')
if [ -z "$disks" ]; then
exit 0
fi
for disk in $disks; do
# read SMART Data to keep Realtek Device(s) "alive"
smartctl -a $disk >/dev/null 2>&1
done
# eof
EOF
chmod +x /usr/local/sbin/rtl9210-fix.sh# activate Service for all Runlevels
# ----------------------------------
update-rc.d rtl9210-fix defaultsany reactions are welcome ... ;-)
greets
thanks, added your suggestion to my config ;-)
depending on your Experience and / or Level of Difficulty ...
* LUKS (Encryption) - good Choice ;-)
* LVM on LUKS - flexible Storage Management
* seperate LV's for root and home
* Desktop: install both KDE & Gnome
* In Login, you can select what to use
* you get Tools of both Desktops, usable in both Desktops
Good Luck ;-)
new on Devuan Excalibur since end of June after some Years on Debian ... ;-)
and a funny Story setting my umask - long Story short:
1.) my old Approach
cat ~/.bashrc.d/set_umask
# ...
# umask 0077
# ...
works fine in Shell Context, but not in Desktop Context, e.g. for Dolphin
2.) ALL tried Solutions (/etc/login.defs, pam_umask.so etc.) DID NOT WORK - WHY - ANY IDEAS ?
3.) Finally, setting the desired umask in /etc/passwd WORKS:
sed -i 's/:\/home\/user:/umask=077:\/home\/user:/' /etc/passwd
Pages: 1