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.
OK, as I said, I made that 4.9.65 generic kernel and I use it on my mini-PC.
Sooo, how the current Kernel is still configured in LILO, and I noticed that in the latest pull you upgraded EUDEV, I rebooted the mini-PC in the generic 4.14.2 with initrd. Surprise! It works with no crash.
I will continue the tests and report back.
Later: Nope. It crashed on the second reboot.
This time the crash was when loading the KDE (on the splash). Yeah, I have the KDE in my "router" ...
BUT, trying to remember, every time when the mini-PC crashed, it was after the EUDEV started working. Always.
And, most times the crash happened while the system was still in pure console, with no X activated. A glorious random crash.
Last edited by Darth Vader; 11-28-2017 at 04:30 PM.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Original Poster
Rep:
last argument for eudev 'culpability':
- my current Dlackware system updated to kernel-4.14.2 is not affected by the initial segfault (eudev is replaced by systemd).
- In all my experiments the kernel were huge-smp kernels, and not generic ones with initrd.
huge kernels are good only for initial installations.
Other than that, generic + initrd are perfectly fine
Just FTR, some of us prefer to not have to use initrd. AFAIK the only truly compelling reason for initrd is encrypted file systems. Why add any complexity with little or no benefit unless absolutely required?
Just FTR, some of us prefer to not have to use initrd. AFAIK the only truly compelling reason for initrd is encrypted file systems. Why add any complexity with little or no benefit unless absolutely required?
Along with root on lvm, early firmware loading of cpu microcode,and probably a few other more niche reasons. Like it or not, initrd's are part of the early boot landscape now.
last argument for eudev 'culpability':
- my current Dlackware system updated to kernel-4.14.2 is not affected by the initial segfault (eudev is replaced by systemd).
- In all my experiments the kernel were huge-smp kernels, and not generic ones with initrd.
And how you explain that the Kernel 4.9.65 works like a Labor Hero in the same mini-PC of mine, with the same operating system, updated to latest -current?
Just FTR, some of us prefer to not have to use initrd. AFAIK the only truly compelling reason for initrd is encrypted file systems. Why add any complexity with little or no benefit unless absolutely required?
Loading all the crap in memory is not always the best way. And sometimes the drivers challenge each other.
Just FTR, some of us prefer to not have to use initrd. AFAIK the only truly compelling reason for initrd is encrypted file systems. Why add any complexity with little or no benefit unless absolutely required?
Loading all the crap in memory is not always the best way. And sometimes the drivers challenge each other.
Just FTR I don't stick with a Huge kernel. It's only for initial run. ASAP I build a custom kernel and only a handful of items, mostly ext4 related, are needed "hard wired". I attain extremely low footprint along with realtime, low-latency and never have a "driver fight" once nouveau is blacklisted and nvidia driver installed. In the past I did need to blacklist HDMI sound and while I still do that, the need is diminishing with Pulseaudio improvements. I've been doing this for so long it has become absolutely routine. I will most definitely do whatever I can to avoid having initrd. I simply don't see a good cost/benefit ratio for my PCs and usage..
I've always been curious, what is the benefit of using an initrd outside of the times it is absolutely required (lvm, luks, UUIDs, special requirements, etc). I understand the benefits of not having a "huge" kernel, but is there a benefit of an initrd over a purpose built kernel other than the time it takes to make that custom kernel?
This isn't directed at anyone in particular, just me trying to find general knowledge.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Original Poster
Rep:
new test:
- today I rebuilt slackware from scratch with slackware-current up to 28/11/2017 except that I replaced eudev-3.2.5 by eudev-3.2.2 (last known stable version of eudev before problems occured)
- kernel is 4.14.2
- eudev is 3.2.2
- boot in 'single user' mode: ok
- switch to 'multi user' mode: ok, no segfault
new test:
- today I rebuilt slackware from scratch with slackware-current up to 28/11/2017 except that I replaced eudev-3.2.5 by eudev-3.2.2 (last known stable version of eudev before problems occured)
- kernel is 4.14.2
- eudev is 3.2.2
- boot in 'single user' mode: ok
- switch to 'multi user' mode: ok, no segfault
What do you think of this ?
Is the list of loaded kernel modules any different?
Just to note that my mini-PC succesfuly ran like a charm in the latest current and kernel 4.14.2, with SystemD as init and no EUDEV, of course.
OK, also PAM and friends, but I consider them being non essential pals for our case.
That, because I have an e-SATA port, I connected an external 160GB 2.5" e-SATA enclosure, where I made a standard installation, then replaced the init system with the one given by the friends from Dlackware. Out of curiosity.
With all respect, WTF happens there?
BTW, the modules loaded are the same. Verified right now.
PS. Could be that that the EUDEV bite in a sensible point of the 4.14.x kernels?
Last edited by Darth Vader; 11-29-2017 at 02:00 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.