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.
According to this post, it looks like it does default to full if nothing is specified at boot time.
Which seems at odds with the quote from the help text LC quoted:
Quote:
This option allows to define the preemption model on the kernel command line parameter and thus override the default preemption model defined during compile time.
... which would imply that if you have (as slackware does)
Code:
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_HAVE_PREEMPT_DYNAMIC=y
CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_DRM_I915_PREEMPT_TIMEOUT=640
# CONFIG_PREEMPTIRQ_DELAY_TEST is not set
then it would default to voluntary but one can override it.
Much of the reading on this seems unclear and contradictory.
Last edited by GazL; 10-20-2021 at 08:22 AM.
Reason: fixed quote tags
Which seems at odds with the quote from the help text LC quoted:
... which would imply that if you have (as slackware does)
Code:
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_HAVE_PREEMPT_DYNAMIC=y
CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_DRM_I915_PREEMPT_TIMEOUT=640
# CONFIG_PREEMPTIRQ_DELAY_TEST is not set
then it would default to voluntary but one can override it.
Much of the reading on this seems unclear and contradictory.
The way I am understanding it is if you set CONFIG_PREEMPT_VOLUNTARY=y then that would be static and voluntary is the only option. In order for dynamic to work the arch has to support dynamic which can be checked in the config, the line would be CONFIG_HAVE_PREEMPT_DYNAMIC. Then you have to change CONFIG_PREEMPT_VOLUNTARY=y to CONFIG_PREEMPT=y for dynamic to even be an option.
Code:
On Mon, Apr 26, 2021 at 3:31 AM Chris Murphy <lists(a)colorremedies.com>
wrote:
...
CONFIG_HAVE_PREEMPT_DYNAMIC only says the architecture supports the
feature. This is hard-coded by arch/x86/Kconfig.
To actually enable the feature, CONFIG_PREEMPT=y would have to be set. The
combination of CONFIG_PREEMPT and CONFIG_HAVE_PREEMPT_DYNAMIC then selects
CONFIG_PREEMPT_DYNAMIC. See kernel/Kconfig.preempt.
Michal
Yes, you're right daedra. I was under a misconception that CONFIG_DYNAMIC_PREEMPT was a separate option one could select in addition to the 3 normal choices, but that's not how they've done it.
I do find it somewhat odd that the kernel devs decided to make full the default if nothing is specified. It seems that voluntary would of been a saner default since its a good one size fits all solution.
Version 2.03.14 - 20th October 2021
===================================
- Device scanning is skipping directories on different filesystems.
- Print info message with too many or too large archived files.
- Reduce metadata readings during scanning phase.
- Optimize computation of crc32 check sum with multiple PVs.
- Enhance recover path on cache creation failure.
- Filter out unsupported MQ/SMQ cache policy setting.
- Fix memleak in mpath filter.
- Support newer location for VDO statistics.
- Add support for VDO async-unsafe write policy.
- Improve lvm_import_vdo script.
- Support VDO LV with lvcreate -ky.
- Fix lvconvert for VDO LV bigger then 2T.
- Create VDO LVs automatically without zeroing.
- Rename vdoimport to lvm_import_vdo.
i was do build linux-5.14.13-realtime for my system with make CC=clang ,
but developers later let have well through with build linux-5.15 , because it tune for CLANG
compilator, i.e. via NVIDIA and other com yesterday switch to LLVM for crossplatform.
CLang is part of GCC community too.
in morning today i was do build linux-5.14.13-realtime kernel with make CC=clang, and it work fine !
it was use LLVM-13.0, from Slackware-current 64-bit updates, what i see in changelog.
This changes now open to Cross-Platform for standard Slackware.
Version 2.03.14 - 20th October 2021
===================================
- Device scanning is skipping directories on different filesystems.
- Print info message with too many or too large archived files.
- Reduce metadata readings during scanning phase.
- Optimize computation of crc32 check sum with multiple PVs.
- Enhance recover path on cache creation failure.
- Filter out unsupported MQ/SMQ cache policy setting.
- Fix memleak in mpath filter.
- Support newer location for VDO statistics.
- Add support for VDO async-unsafe write policy.
- Improve lvm_import_vdo script.
- Support VDO LV with lvcreate -ky.
- Fix lvconvert for VDO LV bigger then 2T.
- Create VDO LVs automatically without zeroing.
- Rename vdoimport to lvm_import_vdo.
I think they forgot to mention the changes to the udev rules that seem to be trying to call out to systemd-run.
Ah, this must be the reason one of my partitions is no longer mounted at boot. I have LVM on top of LUKS on top of a raw partition. After boot I have to manually run
Code:
vgchange -ay --ignorelockingfailure
and then "mount" works.
I separately have a LUKS on top of LVM on top of multiple disks which correctly gets mounted at boot.
Relevant dmesg:
Code:
[ 39.637923] udevd[2000]: failed to execute '/usr/bin/systemd-run' '/usr/bin/systemd-run -r --no-block --property DefaultDependencies=no --unit lvm-activate-fastcryptvg lvm vgchange -aay --nohints fastcryptvg': No such file or directory
I'll try editing /lib/udev/rules.d/69-dm-lvm.rules to remove systemd to see if I can restore previous behavior...
Fixes my problem. (That is, my partition is now auto-mounted at boot time again, which stock lvm2-2.03.14 broke.)
These comments from the file (from the previous working version of lvm2) are enlightening:
Code:
# The method for invoking pvscan is selected at build time with the option
# --(enable|disable)-udev-systemd-background-jobs to "configure".
# On modern distributions with recent systemd, it's "systemd_background";
# on others, "direct_pvscan".
GOTO="direct_pvscan"
...
# FIXME: this mode is not used and should be removed.
LABEL="direct_pvscan"
I don't know if my fix is "proper". I just copied the relevant line from the old (lvm2-2.03.13) package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.