OpenVZ Forum


Home » General » Support » devnodes don't create zaptel devices (kernel 2.6.24)
devnodes don't create zaptel devices (kernel 2.6.24) [message #28474] Wed, 19 March 2008 17:31 Go to next message
strikegun is currently offline  strikegun
Messages: 8
Registered: March 2008
Junior Member
Hi, me again.
I am trying to use zaptel modules in my VE.
I added
DEVNODES="zap/ctl:rw zap/channel:rw zap/pseudo:rw zap/timer:rw "

in my VE Config.
Under Kernel 2.6.18 it works and /dev/zap/... gets created.
Now in 2.6.24 there is no /dev/zap and already manual added mknod devices are got deleted.

Is there a problem with the devnodes?
Also the command "vzctl set VEID --devnodes"
removes every time the line DEVNODES. So there is always only 1 DEVNODES defined.
thx
Re: devnodes don't create zaptel devices (kernel 2.6.24) [message #28505 is a reply to message #28474] Fri, 21 March 2008 10:39 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
This must be http://bugzilla.openvz.org/show_bug.cgi?id=840
which means something is seriously screwed in VE.
Re: devnodes don't create zaptel devices (kernel 2.6.24) [message #28517 is a reply to message #28474] Fri, 21 March 2008 18:31 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
Try this patch:
Re: devnodes don't create zaptel devices (kernel 2.6.24) [message #28621 is a reply to message #28474] Tue, 25 March 2008 11:23 Go to previous messageGo to next message
strikegun is currently offline  strikegun
Messages: 8
Registered: March 2008
Junior Member
Doesn't help,
still after each restart of my VE the mknode-created-Devices are gone and after the last command of "vzctl set VEID --devnodes ...." it shows in the config only one devnode, the last one I added.
Re: devnodes don't create zaptel devices (kernel 2.6.24) [message #28622 is a reply to message #28474] Tue, 25 March 2008 12:21 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
They dissappear because you have /dev on tmpfs inside VE.
Re: devnodes don't create zaptel devices (kernel 2.6.24) [message #28627 is a reply to message #28474] Tue, 25 March 2008 13:53 Go to previous messageGo to next message
strikegun is currently offline  strikegun
Messages: 8
Registered: March 2008
Junior Member
But shouldn't they be created if they are defined in the VE-Configfile?
Here my line:
DEVNODES="zap/timer:rw zap/channel:rw zap/ctl:rw zap/timer:rw"
But I don't have them after a VE-boot in my /dev/
If I make them with vzctl Device gets created and after a restart they are gone.
Re: devnodes don't create zaptel devices (kernel 2.6.24) [message #28628 is a reply to message #28627] Tue, 25 March 2008 14:41 Go to previous message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
We create device in VE's /dev directory before VE start. However when udev stated inside VE it mounts tmpfs into /dev mountpoint and makes our device file invisible by following processes.

As work-around you can change udev configuration to create required files persistent after each VE reboot.

Unfortunately various Linux distributions stores udev configuration in different files. Therefore please create bug in our Bugzilla, we'll think how to resolve this issue in generic way.

Thank you,
Vasily Averin
Previous Topic: openvz 2.6.18-53.1.14.el5
Next Topic: centos4 or centos5 for centos-4 templates
Goto Forum:
  


Current Time: Mon Jul 15 13:27:55 GMT 2024

Total time taken to generate the page: 0.02327 seconds