SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In that case, maybe your could run the 2.4.55 mod_http2 with "LogLevel http2:debug" until some 500s show up.
That would be very interesting to analyze.
Small bug in RAID detection in mkinitrd_command_generator.sh
I got a new setup and it is failing for me here, just figured out the cause.
Code:
$ cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md126 : active raid1 sdd2[1] sde2[0]
976629696 blocks super 1.2 [2/2] [UU]
bitmap: 0/8 pages [0KB], 65536KB chunk
md127 : active raid0 nvme1n1p2[1] nvme0n1p2[0]
1931212800 blocks super 1.2 512k chunks
md0 : active raid0 sdb[0] sdc[1]
976508928 blocks super 1.2 512k chunks
unused devices: <none>
My OS is installed in /dev/md127p1
However, when I run the command generator, it doesn't add the raid -R flag like it did in my previous setup.
This is because /dev/md127 is not the last device to be listed here.
The code checking for raid in the command generator is as follows:
Code:
# Finally, we should check if base device is
# a real block device or a RAID volume:
for MD in $(cat /proc/mdstat | grep -w active | cut -d' ' -f1) ; do
if [ "$BASEDEV" = "/dev/$MD" ]; then
USING_RAID=1
break
fi
done
# Additional check in case $BASEDEV is a partition of /dev/$MD:
for BLK in $(sfdisk -ld /dev/$MD 2> /dev/null | grep "^/dev" | cut -d " " -f 1); do
if [ "$BASEDEV" = "$BLK" ]; then
USING_RAID=1
break
fi
done
The first check fails because the OS is installed inside a partition.
Then MD is md0, not md127, because that was the last device in the list.
Then it checks whether the OS is installed in a partition of md0, and since it isn't, the RAID flag is omitted.
The fix is to check for each RAID device again:
Code:
for MD in $(cat /proc/mdstat | grep -w active | cut -d' ' -f1) ; do
if [ "$BASEDEV" = "/dev/$MD" ]; then
USING_RAID=1
break
fi
done
# Additional check in case $BASEDEV is a partition of /dev/$MD:
for MD in $(cat /proc/mdstat | grep -w active | cut -d' ' -f1) ; do
for BLK in $(sfdisk -ld /dev/$MD 2> /dev/null | grep "^/dev" | cut -d " " -f 1); do
if [ "$BASEDEV" = "$BLK" ]; then
USING_RAID=1
break
fi
done
done
Small bug in RAID detection in mkinitrd_command_generator.sh
I got a new setup and it is failing for me here, just figured out the cause.
Code:
$ cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md126 : active raid1 sdd2[1] sde2[0]
976629696 blocks super 1.2 [2/2] [UU]
bitmap: 0/8 pages [0KB], 65536KB chunk
md127 : active raid0 nvme1n1p2[1] nvme0n1p2[0]
1931212800 blocks super 1.2 512k chunks
md0 : active raid0 sdb[0] sdc[1]
976508928 blocks super 1.2 512k chunks
unused devices: <none>
My OS is installed in /dev/md127p1
However, when I run the command generator, it doesn't add the raid -R flag like it did in my previous setup.
This is because /dev/md127 is not the last device to be listed here.
The code checking for raid in the command generator is as follows:
Code:
# Finally, we should check if base device is
# a real block device or a RAID volume:
for MD in $(cat /proc/mdstat | grep -w active | cut -d' ' -f1) ; do
if [ "$BASEDEV" = "/dev/$MD" ]; then
USING_RAID=1
break
fi
done
# Additional check in case $BASEDEV is a partition of /dev/$MD:
for BLK in $(sfdisk -ld /dev/$MD 2> /dev/null | grep "^/dev" | cut -d " " -f 1); do
if [ "$BASEDEV" = "$BLK" ]; then
USING_RAID=1
break
fi
done
The first check fails because the OS is installed inside a partition.
Then MD is md0, not md127, because that was the last device in the list.
Then it checks whether the OS is installed in a partition of md0, and since it isn't, the RAID flag is omitted.
The fix is to check for each RAID device again:
Code:
for MD in $(cat /proc/mdstat | grep -w active | cut -d' ' -f1) ; do
if [ "$BASEDEV" = "/dev/$MD" ]; then
USING_RAID=1
break
fi
done
# Additional check in case $BASEDEV is a partition of /dev/$MD:
for MD in $(cat /proc/mdstat | grep -w active | cut -d' ' -f1) ; do
for BLK in $(sfdisk -ld /dev/$MD 2> /dev/null | grep "^/dev" | cut -d " " -f 1); do
if [ "$BASEDEV" = "$BLK" ]; then
USING_RAID=1
break
fi
done
done
In my opinion the code is more clear like this (and I think it was originally trying to do):
Code:
for MD in $(cat /proc/mdstat | grep -w active | cut -d' ' -f1) ; do
if [ "$BASEDEV" = "/dev/$MD" ]; then
USING_RAID=1
break
fi
# Additional check in case $BASEDEV is a partition of /dev/$MD:
for BLK in $(sfdisk -ld /dev/$MD 2> /dev/null | grep "^/dev" | cut -d " " -f 1); do
if [ "$BASEDEV" = "$BLK" ]; then
USING_RAID=1
break
fi
done
# Break out of outer loop if needed.
if [ "$USING_RAID" = "1" ]; then
break
fi
done
Overview of changes in GLib 2.74.5
==================================
* Bugs fixed:
- #2843 gtk_show_uri can't open browser on MSYS2 on Windows (Luca Bacci)
- #2881 Invalid read of size 4 in get_matched_substring_number (Philip
Withnall)
- #2883 g_file_set_contents fails on mingw64 with "no error" if file size >
INT_MAX (CCode)
- !3165 gthread-posix: need to #include <errno.h>
- !3166 Backport !3160 “GWin32AppInfo: Check for local file path first” to
glib-2-74
- !3182 Backport !3178 “glocalfileinfo: Don't reset mtime tv_sec when setting
tv_usec” to glib-2-74
- !3197 Backport !3194 “gregex: Prevent invalid memory access for unmatched
subpatterns” to glib-2-74
- !3204 Backport !3200 “gfileutils: Use 'write' with 'count' <= max value of
its return type” to glib-2-74
- !3214 Backport !3213 “gvariant: Optimise g_variant_print() for nested
maybes” to glib-2-74
Thunderbird 102.7.0 will not automatically update due to a critical authentication
issue with Microsoft 365 Business accounts.
Affected users should not update until Thunderbird 102.7.1 is released with a fix
Version 0.99.20
---------------
Released: 2022-07-13
Bug fixes:
- Ensure polling is resumed after suspend (#198)
- Bugfixes to state guessing code (#146)
- Stability improvements of automated tests
Version 0.99.19
---------------
Released: 2022-06-08
Changes:
- Move state guessing into DisplayDevice
- Always use 90% threshold to consider a battery full
- Various test improvements
Bug fixes:
- Fix mice showing up as keyboards (#189)
- Allow unit test inspector to fail (#187)
- Fix test cases when daemon shuts down too slowly (#188)
I have tested it on Gnome 42.8 and 43.1 both of which do not have this effect that you are mentioning. I will look into the reason way KDE is not fairing so well then report back.
Here one dev says that per user we can try this.
Exec=sleep 20 && /usr/lib64/libexec/org_kde_powerdevil
But it seems like this has been an issue in powerdevil since 5.20
KDE Plasma 5.27
Beta: Jan 19, 2023
KDE Plasma 5.27 Final release: Feb 14, 2023
Sorry jumped the gun a little...
--snipit--
Quote:
KDE Plasma battery monitor will now show the charging, discharging, and fully charged status for non-power supply batteries such as a wireless mouse, and mobile phones when connected to the Plasma desktop. MR 2210
Also, the battery monitor stops showing 100% when the battery is fully charged. You can only see the power icon without any text. MR 2306
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.