OpenAFS module not loading [message #41062] |
Wed, 10 November 2010 08:48 |
jmelyn
Messages: 27 Registered: June 2007
|
Junior Member |
|
|
Hello there,
I'm testing OpenVZ and I can now install a CT0 with PXE, create the image for guests, install the needed guests and finally customize them without any manual intervention.
However I still have a problem. I'm using Scientific Linux, directly derived from RHEL5, but with few special packages more, such as OpenAFS I need to manage user accounts. There is a kernel module for it, that checks the exact name of the running kernel; as the name is changed by OpenVZ (adding "stab..."), the OpenAFS module refuses to load and I have no OpenAFS service.
I have no experience in low level Linux, about modules to allow, avoid or force to load. Can anyone tell me whether it is possible to solve that problem, and how? Thanks in advance for help.
|
|
|
|
Re: OpenAFS module not loading [message #41065 is a reply to message #41063] |
Wed, 10 November 2010 14:09 |
jmelyn
Messages: 27 Registered: June 2007
|
Junior Member |
|
|
Thank you for your quick answer.
So I suppose I need to run the OpenVZ kernel, load OpenAFS kernel module source package, probably the kernel source and compiler too, recompile the module and make the new rpm package. Tell me if I'm wrong. I'm gonna check how to exactly make it...
[Updated on: Wed, 10 November 2010 14:10] Report message to a moderator
|
|
|
Re: OpenAFS module not loading [message #41069 is a reply to message #41062] |
Wed, 10 November 2010 21:18 |
Ales
Messages: 330 Registered: May 2009
|
Senior Member |
|
|
Yes, that would be it. You're going to need to run ovzkernel and have ovzkernel-headers, compilers and OpenAFS dependencies (probably various -devel packages) installed. You'll be able to see most of the dependencies listed in the OpenAFS .spec file.
As you already have a good SRPM, it might be as simple as 'rpmbuild -ba xxx.spec'.
I'd advise you to look at CentOS or Fedora RPM building how-to's (or Scientific Linux, if it has them). The entire process is documented very well and is a lot easier than it might seem. Just be sure to set up the RPM building environment properly and don't try to build the RPM on a production server as root.
Good luck.
|
|
|