Re: [Users] Kernel crash when removing vznetdev module

2013-01-22 Thread Vasily Averin
https://bugzilla.openvz.org/show_bug.cgi?id=2487 ?

On 01/22/2013 05:33 PM, Benjamin Henrion wrote:
 Hi,
 
 With a RH machine with the stable openvz kernel, I managed to crash
 the machine with this:
 
 root@203 /etc/vz/conf [26]# rmmod vznetdev
 ERROR: Module vznetdev is in use
 root@203 /etc/vz/conf [27]# /etc/init.d/vz stop
 Suspending CT 207
 Suspending CT 207
 Suspending CT 207
 Shutting down CT 207
 Bringing down interface venet0:[  OK  ]
 Stopping OpenVZ:   [  OK  ]
 root@203 /etc/vz/conf [28]# rmmod vznetdev
 ERROR: Module vznetdev does not exist in /proc/modules
 root@203 /etc/vz/conf [29]# /etc/init.d/vz start^C
 root@203 /etc/vz/conf [29]# vzctl set 207 --onboot no
 WARNING: Settings were not saved to config (use --save flag)
 root@203 /etc/vz/conf [30]# vzctl set 207 --onboot no --save
 CT configuration saved to /etc/vz/conf/207.conf
 root@203 /etc/vz/conf [31]# /etc/init.d/vz start
 Starting OpenVZ:   [  OK  ]
 Applying OOM adjustments:  [  OK  ]
 Bringing up interface venet0:  [  OK  ]
 root@203 /etc/vz/conf [32]# rmmod vznetdev
 root@203 /etc/vz/conf [33]# vzctl start 207
 Starting container...
 Container is mounted
 Setting CPU units: 1000
 
 -  Kernel panic
 

___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Kernel crash when removing vznetdev module

2013-01-22 Thread Vladimir Davydov
On Jan 22, 2013, at 5:33 PM, Benjamin Henrion b...@udev.org wrote:

 Hi,
 
 With a RH machine with the stable openvz kernel, I managed to crash
 the machine with this:
 
 root@203 /etc/vz/conf [26]# rmmod vznetdev
 ERROR: Module vznetdev is in use
 root@203 /etc/vz/conf [27]# /etc/init.d/vz stop
 Suspending CT 207
 Suspending CT 207
 Suspending CT 207
 Shutting down CT 207
 Bringing down interface venet0:[  OK  ]
 Stopping OpenVZ:   [  OK  ]
 root@203 /etc/vz/conf [28]# rmmod vznetdev
 ERROR: Module vznetdev does not exist in /proc/modules
 root@203 /etc/vz/conf [29]# /etc/init.d/vz start^C
 root@203 /etc/vz/conf [29]# vzctl set 207 --onboot no
 WARNING: Settings were not saved to config (use --save flag)
 root@203 /etc/vz/conf [30]# vzctl set 207 --onboot no --save
 CT configuration saved to /etc/vz/conf/207.conf
 root@203 /etc/vz/conf [31]# /etc/init.d/vz start
 Starting OpenVZ:   [  OK  ]
 Applying OOM adjustments:  [  OK  ]
 Bringing up interface venet0:  [  OK  ]
 root@203 /etc/vz/conf [32]# rmmod vznetdev
 root@203 /etc/vz/conf [33]# vzctl start 207
 Starting container...
 Container is mounted
 Setting CPU units: 1000
 
 -  Kernel panic

Not very informative. Where is the kernel log?

Anyway, I guess it is already filed:

https://bugzilla.openvz.org/show_bug.cgi?id=2487

 
 -- 
 Benjamin Henrion bhenrion at ffii.org
 FFII Brussels - +32-484-566109 - +32-2-3500762
 In July 2005, after several failed attempts to legalise software
 patents in Europe, the patent establishment changed its strategy.
 Instead of explicitly seeking to sanction the patentability of
 software, they are now seeking to create a central European patent
 court, which would establish and enforce patentability rules in their
 favor, without any possibility of correction by competing courts or
 democratically elected legislators.
 ___
 Users mailing list
 Users@openvz.org
 https://lists.openvz.org/mailman/listinfo/users


___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Kernel crash when removing vznetdev module

2013-01-22 Thread Benjamin Henrion
On Tue, Jan 22, 2013 at 2:57 PM, Vladimir Davydov
vdavy...@parallels.com wrote:
 On Jan 22, 2013, at 5:33 PM, Benjamin Henrion b...@udev.org wrote:

 Hi,

 With a RH machine with the stable openvz kernel, I managed to crash
 the machine with this:

 root@203 /etc/vz/conf [26]# rmmod vznetdev
 ERROR: Module vznetdev is in use
 root@203 /etc/vz/conf [27]# /etc/init.d/vz stop
 Suspending CT 207
 Suspending CT 207
 Suspending CT 207
 Shutting down CT 207
 Bringing down interface venet0:[  OK  ]
 Stopping OpenVZ:   [  OK  ]
 root@203 /etc/vz/conf [28]# rmmod vznetdev
 ERROR: Module vznetdev does not exist in /proc/modules
 root@203 /etc/vz/conf [29]# /etc/init.d/vz start^C
 root@203 /etc/vz/conf [29]# vzctl set 207 --onboot no
 WARNING: Settings were not saved to config (use --save flag)
 root@203 /etc/vz/conf [30]# vzctl set 207 --onboot no --save
 CT configuration saved to /etc/vz/conf/207.conf
 root@203 /etc/vz/conf [31]# /etc/init.d/vz start
 Starting OpenVZ:   [  OK  ]
 Applying OOM adjustments:  [  OK  ]
 Bringing up interface venet0:  [  OK  ]
 root@203 /etc/vz/conf [32]# rmmod vznetdev
 root@203 /etc/vz/conf [33]# vzctl start 207
 Starting container...
 Container is mounted
 Setting CPU units: 1000

 -  Kernel panic

 Not very informative. Where is the kernel log?

Sorry, I was in SSH, will try to catch the kernel messages.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users