|
|
|
|
Re: OpenVZ strange lockups and reboots [message #15810 is a reply to message #15765] |
Tue, 14 August 2007 11:02 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
rickb wrote on Sat, 11 August 2007 15:00 | ...
For some reason I remember I had to set the destination to a server on the same lan for it to work, but I am not sure if this is required.
|
Well, it's not strictly *required* but most often this is a necessary condition to get netconsole working. This happens due to non-guaranteed UDP packets delivery - so some of them can be simply dropped making logs corrupted, moreover sometimes providers just drop all the external UDP traffic.
So to make netconsole more or less reliable it makes sense to choose the node for collecting logs from the same LAN.
Hope this helps.
Konstantin.
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
Re: OpenVZ strange lockups and reboots [message #15815 is a reply to message #15810] |
Tue, 14 August 2007 14:31 |
newwave
Messages: 3 Registered: August 2007
|
Junior Member |
|
|
As for netconsole over the WAN, would i just leave the MAC address off? It is surrounded by [] in the documentation.
Thanks for your help once again. I haven't worked on this all weekend, but luckily that means my box was stable
I can load netconsole post-boot using modprobe and it shows up in /proc/modules, but i am not seeing any messages on my console server running netcat. I will try syslog next.
I know we are kind of Off Topic. I am looking for netconsole and grub mailing lists and forums to take my issue there. I will repost if i get another crash and am able to capture the cause.
thanks again, adam
[root@blackout ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/md0
# initrd /boot/initrd-version.img
#boot=/dev/hda1
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title openVZ1stHDD (2.6.18-8.1.8.el5.028stab039.1)
root (hd0,0)
# this kernel line is one line in the real file
kernel /boot/vmlinuz-2.6.18-8.1.8.el5.028stab039.1 ro root=/dev/md0 netconsole=4444@192.168.0.200/eth0,6666@192.168.0.66/00:D0:B7:46:BC:DA
initrd /boot/initrd-2.6.18-8.1.8.el5.028stab039.1.img
|
|
|