CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
  kernel panic - ip_handle_martian_source

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  elialum
      elialum
kernel panic - ip_handle_martian_source
#1
Newbie
Joined: 2010/5/27
From
Posts: 7
Hi,

We are encountering this issue with one of our production web servers.
I am not sure what is the exact event that triggers the crash, but it looks like something to do with a bad tcp packet ?

Hardware vendor: Vmware machine (runs with about 20 more machines, only this ones has this issue).
Kernel version: 2.6.18-238.9.1.el5 x86_64 x86_64
centos-release-5-7.el5.centos

Console screenshot -

http://desmond.imageshack.us/Himg696/scaled.php?server=696&filename=kernelpanic.png&res=medium

Routing table that is running on that server -

Routing scripts because we have two networks and two DG
(the real ip addresses replaced for the example)

ip route add 192.168.0.0/24 dev eth1 table 1
ip route add default via 192.168.0.1 table 1
ip rule add from 192.168.0.0/24 table 1

ip route add 10.0.0.128/28 dev eth0 table 2
ip route add default via 10.0.0.129 table 2
ip rule add to 10.0.0.129/28 table 2
ip rule add from 10.0.0.129/28 table 2
Posted on: 2012/2/18 18:58
Create PDF from Post Print
Top
  •  elialum
      elialum
Re: kernel panic - ip_handle_martian_source
#2
Newbie
Joined: 2010/5/27
From
Posts: 7
Hi,

Please note -

http://lxr.linux.no/#linux+v2.6.32/n.../route.c#L1945

See lines 2108, 2146, 2254

I was able to reproduce the "martian source" error, but was not able to generate a kernel error.
Posted on: 2012/2/18 19:51
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: kernel panic - ip_handle_martian_source
#3
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Your last link is bad. That's a very old kernel-2.6.18-238.9.1.el5. What happens with a "yum update" to get to the current/supported release, including 2.6.18-274.18.1.el5?
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/19 20:10
Create PDF from Post Print
Top
  •  elialum
      elialum
Re: kernel panic - ip_handle_martian_source
#4
Newbie
Joined: 2010/5/27
From
Posts: 7
Hi Phil,

I've upgraded the kernel from 2.6.18-238.9.1.el5, to 2.6.18-274.18.1.el5
So far the system is stable.

Will update this post if the issue will occur again.

Eli.
Posted on: 2012/2/21 6:31
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: kernel panic - ip_handle_martian_source
#5
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Staying up to date is nearly always a good idea. Please let us know how it goes so the thread can be marked [SOLVED].
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/21 11:21
Create PDF from Post Print
Top
  •  elialum
      elialum
Re: kernel panic - ip_handle_martian_source
#6
Newbie
Joined: 2010/5/27
From
Posts: 7
Well, problem just came back again.
Any ideas ?
Posted on: 2012/2/25 18:10
Create PDF from Post Print
Top
  •  elialum
      elialum
Re: kernel panic - ip_handle_martian_source
#7
Newbie
Joined: 2010/5/27
From
Posts: 7
UPDATE -

I've just found there is a duplicate IP, on my DataCenter (not from my servers, it seems like someone over there is using one of my ips).
I turned off all the interfaces, and pinged all the ips on that server, one of them answered a ping (when the interface was down !).

I think it can cause the kernel panic error, when they are both answering tcp traffic (my server and the other machine) at the same time.

In the meantime, I turned off the interface on my server that uses that ip so all the rest could work, I will update the post when I will
be sure the problem was solved.

Eli.
Posted on: 2012/2/25 18:56
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com