Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-14-2013, 04:25 AM
|
#1
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Rep: 
|
kernel config options request
I would like to request the following options in the slackware kernel
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_FW_LOADER_USER_HELPER=n (should not be set)
CONFIG_FHANDLE=y
CONFIG_IPV6=y
CONFIG_AUTOFS4_FS=y
CONFIG_SCHEDSTATS=y
Explanation of the 3 top options are below:
CONFIG_UEVENT_HELPER_PATH:
Path to uevent helper program forked by the kernel for every uevent. Before the switch to the netlink-based uevent source, this was used to hook hotplug scripts into kernel device events. It usually pointed to a shell script at /sbin/hotplug. This should not be used today, because usual systems create many events at bootup or device discovery in a very short time frame. One forked process per event can create so many processes that it creates a high system load, or on smaller systems it is known to create out-of-memory situations during bootup.
To disable user space helper program execution at early boot time specify an empty string here. This setting can be altered via /proc/sys/kernel/hotplug or via /sys/kernel/uevent_helper later at runtime.
CONFIG_FW_LOADER_USER_HELPER:
On recent systems, if the kernel configures
CONFIG_FW_LOADER_USER_HELPER=y and a firmware is not found by the kernel, the kernel will issue a request which is ignored by userspace and will block in that for 60 seconds.
Udev is no longer in the game of firmware loading, not even as a fallback, it will just completely ignore all kernel firmware class events.
The source code in udev to handle firmware requests is disabled by default, currently still kept around for old kernels without the in-kernel firmware loader, but it will be deleted in the near future.
* slackware ships udev with the following configure options: --with-firmware-path=/lib/firmware/updates:/lib/firmware
this makes the above options in kernel useless
CONFIG_FHANDLE:
If you say Y here, a user level program will be able to map file names to handle and then later use the handle for different file system operations. This is useful in implementing userspace file servers, which now track files using handles instead of names. The handle would remain the same even if file names get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2) syscalls.
|
|
|
08-14-2013, 08:46 PM
|
#2
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Didn't we ditch hotplug for udev to handle things like Firmware handling and such?
|
|
|
08-15-2013, 03:35 AM
|
#3
|
LQ Veteran
Registered: May 2008
Posts: 7,135
|
Poor Pat. No sooner does 3.10.6 hit current than Greg releases 3.10.7! Still, it gives him the opportunity to look at the above I suppose.
Is anything making use of the new fhandle features yet? Slackware doesn't even include the man pages for those syscalls.
I'm not sure I agree with you on including ipv6 (which I don't use) and autofs4 (which I do use). IMO they're still not commonly used and better as modules. And schedstats isn't that a debug option in the kernel hacking section?
Last edited by GazL; 08-15-2013 at 04:08 AM.
|
|
|
08-15-2013, 03:57 AM
|
#4
|
Senior Member
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 3,054
|
kernel-3.10.6 have serious bug on usb2 sd device, don't mount and umount this device correctly here, reboot crash when a sd device is connected
i have compiled a kernel-3.10.7, and it work correctly 
|
|
|
08-15-2013, 04:28 AM
|
#5
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 3,058
|
Quote:
Originally Posted by GazL
Poor Pat. No sooner does 3.10.6 hit current than Greg releases 3.10.7! Still, it gives him the opportunity to look at the above I suppose.
|
The first three changes are in the 3.10.6 kernels that are up now.
Quote:
Is anything making use of the new fhandle features yet? Slackware doesn't even include the man pages for those syscalls.
|
I'll give you one guess what is using them.
Quote:
I'm not sure I agree with you on including ipv6 (which I don't use) and autofs4 (which I do use). IMO they're still not commonly used and better as modules. And schedstats isn't that a debug option in the kernel hacking section?
|
I agree with this assessment.
|
|
4 members found this post helpful.
|
08-15-2013, 04:33 AM
|
#6
|
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
|
Also I strongly suggest:
Code:
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
This feature is provided as a workaround for broken monitor hardware, and give the possibility to EDID data to be loaded from the /lib/firmware directory or one of the provided built-in data sets.
In other words, it offer an simple workaround for the well known "my KMS wants only 1024x768".
And no, the xorg.conf workaround is not a better solution, because, there we can use it as kernel parameter, and give possibility to activate this feature at will. Also, in this way, you fix also the kms console resolution. Personally, I have an (mini-)computer which have configured five monitors in this way.
Later...
I just discovered that the latest kernel update, at 3.10.6, ship that option activated. Thanks, P.V.! 
Last edited by Darth Vader; 08-15-2013 at 07:52 AM.
|
|
1 members found this post helpful.
|
08-15-2013, 05:20 AM
|
#7
|
LQ Veteran
Registered: May 2008
Posts: 7,135
|
Quote:
Originally Posted by volkerdi
I'll give you one guess what is using them. 
|
That which must not be named?
|
|
3 members found this post helpful.
|
08-15-2013, 05:45 PM
|
#8
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,326
|
Quote:
Originally Posted by GazL View Post
Poor Pat. No sooner does 3.10.6 hit current than Greg releases 3.10.7! Still, it gives him the opportunity to look at the above I suppose.
|
But Pat rises to the challenge...
Code:
Thu Aug 15 21:23:13 UTC 2013
a/bash-4.2.045-i486-1.txz: Upgraded.
a/kernel-generic-3.10.7-i486-1.txz: Upgraded.
a/kernel-generic-smp-3.10.7_smp-i686-1.txz: Upgraded.
a/kernel-huge-3.10.7-i486-1.txz: Upgraded.
a/kernel-huge-smp-3.10.7_smp-i686-1.txz: Upgraded.
a/kernel-modules-3.10.7-i486-1.txz: Upgraded.
a/kernel-modules-smp-3.10.7_smp-i686-1.txz: Upgraded.
d/kernel-headers-3.10.7_smp-x86-1.txz: Upgraded.
k/kernel-source-3.10.7_smp-noarch-1.txz: Upgraded.
extra/bash-completion/bash-completion-2.1-noarch-1.txz: Upgraded.
extra/linux-3.10.7-nosmp-sdk/*: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
|
|
|
All times are GMT -5. The time now is 07:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|