6,534
edits
Changes
→Testing netconsole: some minor fixes
<pre>sysctl -w kernel.printk="7 4 1 7"</pre>
After testing you can repair restore previous setting the same way.
Load '''netconsole ''' module (see above) and on the console server do run netcat (nc) command. On OpenVZ side provocate provoke any console message, f.e. for example connect any USB hardware or try command:
If you see any console message on OpenVZ side, you should see message on console server too. If not, something is wrong. When debugging a problem, do not use tcpdump on OpenVZ side — it is not able to show netconsole packets. Instead, use tcpdump on console server. Quite a common source of problems with netconsole are firewalls.
[[Category:HOWTO]]
[[Category:Kernel]]
[[Category:Troubleshooting]]