You are not logged in.
Ref: https://www.mail-archive.com/arch-commi … 51561.html
Package dkms was just upgraded on my installation. The following message was provided by the upgrade:
===> dkms systemd startup service has been removed
===> modules building is now handled by alpm hooks at install time
===> startup modules loading must be done via modules-load.d
Do I need to do anything?
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Offline
How would you interpret that message?
Online
That startup services for dkms has been removed from systemd, and that modules to be loaded at startup are now done via modules-load.d. Being new to Arch, I don't know what that means to me.
/etc/modules-load.d/ has no files. IF, in order for dkms modules to be rebuilt when kernel updates come in I have to do something, I want to know what that something is. To clarify, Arch is installed in an Oracle Virtualbox VM, so dkms and linux-headers were installed.
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Offline
I'm asking you to think through the message instead of asking for someone to do the thinking for you. It's all pretty clear. If you have a specific question, we can point you in the right direction.
Online
I am asking in the Newbie Corner. I wouldn't ask a question if I didn't believe I had to. Providing a cryptic answer to a specific question is not the way to endear someone coming to Arch. It's almost as if, based on my interpretation of your 'answer', that you are telling me, 'Hey, we had to go through the pain, so why should you be any different?'
I fully expect to be berated for my response -- I'm not being respectful, or that's what will be implied, directly or by action.
I wanted to give Arch a try. I'm willing to 'do the work', and do. I'm using official Arch wiki's. I joined the Forum. But, when I run into an issue, I expect to be able to ask questions and to receive help for those questions. If that isn't how Arch works, okay, then Arch isn't for me, and the Arch community, whether it believes so or not, will be worse off for my not being here.
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Offline
Both of you please refresh your memory on this: https://wiki.archlinux.org/index.php/Fo … ther_users
I expect to be able to ask questions and to receive help for those questions.
While I concede you haven't received the most productive of response thus far, stating expectations like that is unreasonable. Arch is created, maintained and supported by volunteers. No-one "owes" you support, however there are plenty of people willing to assist if and when they can.
It's all pretty clear. If you have a specific question, we can point you in the right direction.
I have to agree with snowhog; I don't find the message very clear. Perhaps to someone much more familiar with dkms and kernel stuff it is, but as a "dumb user" I'm not sure what I should do with that information. It would be helpful if you could offer a little more information?
Last edited by fukawi2 (2016-02-25 03:58:35)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
My personal take on the messages and your assertion that you have not configured an modules to load is that nothing needs be done.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Scimmia wrote:It's all pretty clear. If you have a specific question, we can point you in the right direction.
I have to agree with snowhog; I don't find the message very clear. Perhaps to someone much more familiar with dkms and kernel stuff it is, but as a "dumb user" I'm not sure what I should do with that information. It would be helpful if you could offer a little more information?
As I said, I'd help with specific questions. Posting up a message and essentially saying "I don't want to read this, someone tell me what to do" isn't a specific question.
Online
I did some investigation, and found that dkms.service was removed with the new dkms update.
With the emergence of pacman hooks:
https://wiki.archlinux.org/index.php/Pacman#Hooks
The dkms.service was replaced with these hook files:
/usr/share/libalpm/hooks/70-dkms-install.hook
/usr/share/libalpm/hooks/70-dkms-remove.hook
I had issues with Virtualbox, but noticed that I had to recreate this file:
/etc/modules-load.d/virtualbox.conf
In summation, snowhog's question is answered:
No, you don't need to do anything about dkms. Instead of using dkms.service (it was removed), the same feature was replaced by those hook files. All is well
Block ads forever! http://adblockplus.org/en/
Offline
No, you don't need to do anything about dkms. Instead of using dkms.service (it was removed), the same feature was replaced by those hook files. All is well
Sorry to say that, but no, it's not. If you don't have the kernel headers (package linux-headers) installed dkms bails out without any error message, the modules won't get built and the next boot spits out an error message about not being able to load the kernel modules. Solution: install the linux headers, then reinstall virtualbox-host-dkms and the modules will get built.
There should be a dependency on the kernel headers for virtualbox-host-dkms, I think. And the virtualbox wiki page should be updated in the relevant parts as well.
Greetings
Harvey
Last edited by Harey (2016-02-29 10:27:16)
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline
Just wanted to clarify that I understand the change correctly:
Previously the dkms would only get rebuilt after installing the *-dkms package, and only against the currently running kernel, which is why you could use the dkms systemd service to rebuild dkms modules automatically after booting to the new kernel (or you could run dkms manually).
And now, with alpm-hooks the dkms module will be built after every kernel (or headers) package upgrade, and also for the new kernel (as long as the module is listed in modules-load.d)?
Offline
There should be a dependency on the kernel headers for virtualbox-host-dkms, I think.
It already does. The dkms package, too. Did you pay attention to what pacman told you?
And the virtualbox wiki page should be updated in the relevant parts as well.
So update it.
Online
Harey wrote:There should be a dependency on the kernel headers for virtualbox-host-dkms, I think.
It already does. The dkms package, too. Did you pay attention to what pacman told you?
I did. But it is an optdepend - and instead of that the kernel sources have to be present for dkms to work otherwise virtualbox will stop working after the update.
Harey wrote:And the virtualbox wiki page should be updated in the relevant parts as well.
So update it.
I feel that this should be left to the one that changed the process or to someone that at least fully understands how the process is handled now. As you see in the post before, there truly is some confusion. And I am confused too. Sorry if this sounds ignorant to you, but I only wanted to point out that the statement
No, you don't need to do anything about dkms.
is not really true concerning the virtualbox update.
Greetings
Harvey
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline
Scimmia wrote:Harey wrote:There should be a dependency on the kernel headers for virtualbox-host-dkms, I think.
It already does. The dkms package, too. Did you pay attention to what pacman told you?
I did. But it is an optdepend - and instead of that the kernel sources have to be present for dkms to work otherwise virtualbox will stop working after the update.
The kernel headers for whatever kernel you're using. An optdepend is the only sane way of handling that.
Last edited by Scimmia (2016-02-29 14:58:30)
Online
Harey wrote:Scimmia wrote:It already does. The dkms package, too. Did you pay attention to what pacman told you?
I did. But it is an optdepend - and instead of that the kernel sources have to be present for dkms to work otherwise virtualbox will stop working after the update.
The kernel headers for whatever kernel you're using. An optdepend is the only sane way of handling that.
Ah, I see. So pacman is not able to detect if the kernel headers for the kernels installed are present. Maybe the update message should be more specific about that, then. Just my 2C
Harvey
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline