Rockstor kernel problem

hi @suman, I download the Rockstor 3.8-10.ios, when i complete it ,i find in /usr/src/kernel/ do not have source code ? normally ,it have a source code name “4.2.5-1.el7.elrepo.x86_64” directory. And I install some thing’s driver, it prompt /lib/modules/4.2.5-1.el7.elrepo.x86_64/build: No such file or directory

@ygd2013520 Welcome to the Rockstor community. If in fact the kernel source package is missing from the rockstor repos then as a temporary work around you can simply use the elrepo kernel-ml-devel and kernel-ml-headers package of the same version as Rockstor uses the elrepo kernel-ml packages unaltered.

It could be that you have yet to select an update channel ie stable or testing from the Web-UI ie
System - Software Update. Ensure that your chosen update channel shows Currently Active. This sets up the required rockstor repositories and that may be the cause of the issue.

On my 3.8-10.17 testing channel system I see the following kernel-ml packages available:-

yum list available | grep kernel-ml
kernel-ml-devel.x86_64                    4.3.3-1.el7.elrepo             Rockstor-Testing
kernel-ml-headers.x86_64                  4.3.3-1.el7.elrepo             Rockstor-Testing

Hope that helps and let us know how you get on.

1 Like

hi @phillxnet, firstly,thanks for reply me.I read your message ,and I performed the command “yum list available | grep kernel-ml”,it show:
kernel-ml.x86_64 4.0.2-1.el7.elrepo @anaconda/3
kernel-ml.x86_64 4.2.5-1.el7.elrepo @rockstor
kernel-ml-devel.x86_64 4.2.5-1.el7.elrepo @rockstor

then I perform the command “yum install kernel-ml-devel”

last I go to the /usr/src/kernels/ ,and I can see the “4.2.5-1.el7.elrepo.x86_64” directory.

I reboot the pc ,and choose the 4.2.5-1.el7.elrepo.x86_64 boot.

so I can install some drivers in my rockstor.

Thank you very much ,my problem is resolved.