OpenVZ Forum


Home » General » Support » [solved] modprobe problem
[solved] modprobe problem [message #36147] Mon, 25 May 2009 06:32 Go to next message
servicedb is currently offline  servicedb
Messages: 4
Registered: May 2009
Junior Member
Hello
I was wondering why modprobe give this error on a VPS:
modprobe: FATAL: Could not load /lib/modules/2.6.18-92.1.18.el5.028stab060.8/modules.dep: No such file or directory

How can I solve this? Is this a problem on the node or on the VPS?
And no matter what the modprobe command is, you will always get this error.

[Updated on: Thu, 04 June 2009 14:12] by Moderator

Report message to a moderator

Re: modprobe problem [message #36148 is a reply to message #36147] Mon, 25 May 2009 07:04 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 532
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi.

How did you install the kernel?
It seems somehow 'depmod' did not create its database correctly.

i guess you should try to run something like "depmod -a" or similar to fix this.

Hope this helps.

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: modprobe problem [message #36149 is a reply to message #36148] Mon, 25 May 2009 07:08 Go to previous messageGo to next message
servicedb is currently offline  servicedb
Messages: 4
Registered: May 2009
Junior Member
finist wrote on Mon, 25 May 2009 09:04

Hi.

How did you install the kernel?
It seems somehow 'depmod' did not create its database correctly.

i guess you should try to run something like "depmod -a" or similar to fix this.

Hope this helps.

--
Konstantin

Do I have to do that on the node or on the VPS?
Re: modprobe problem [message #36155 is a reply to message #36149] Mon, 25 May 2009 08:22 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 532
Registered: January 2006
Location: Moscow, Russia
Senior Member
On the Hardware Node.

If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: modprobe problem [message #36274 is a reply to message #36155] Wed, 03 June 2009 09:37 Go to previous messageGo to next message
servicedb is currently offline  servicedb
Messages: 4
Registered: May 2009
Junior Member
This hasn't solved the problem.
I have copied the /lib/modules/kernelname to the VPS, but now I get this:
FATAL: Could not open '/lib/modules/2.6.18-128.1.1.el5.028stab062.3/kernel/drivers /net/tun.ko': No such file or directory

WHat could the problem be?
Re: modprobe problem [message #36275 is a reply to message #36274] Wed, 03 June 2009 10:46 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 532
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi.

well, we can try to find out the root of this issue, but i'd like to ask - what do you want to achieve at the very end? "modprobe" won't work in any case _inside_ a Container, modules can be loaded from the Hardware Node only!

(if you ask me why - just think how simple would be to crash the whole Hardware Node if you allow to load kernel module from inside a CT: assume you bought a Container from a hosting provider, write a module which divides by zero and load it => there will be a kernel crash, i.e. all the Containers are down which is unacceptable).

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...

[Updated on: Thu, 04 June 2009 14:10]

Report message to a moderator

Re: modprobe problem [message #36285 is a reply to message #36275] Thu, 04 June 2009 13:39 Go to previous message
servicedb is currently offline  servicedb
Messages: 4
Registered: May 2009
Junior Member
That is all I need to know, thank you!
Previous Topic: Strange memory usage patterns...
Next Topic: How Can I add an Domain to call the Container at Apache ?
Goto Forum:
  


Current Time: Thu Dec 01 23:07:35 GMT 2022

Total time taken to generate the page: 0.02012 seconds