[Users] Kernel crash when removing vznetdev module

Benjamin Henrion bh at udev.org
Tue Jan 22 05:33:18 EST 2013


Hi,

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

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

->  Kernel panic

-- 
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."


More information about the Users mailing list