Re: rtfree: 0xc741ee88 has 1 refs

From: Kip Macy <kip.macy_at_gmail.com>
Date: Tue, 6 Nov 2007 10:15:57 -0800
On 11/6/07, Per olof Ljungmark <peo_at_intersonic.se> wrote:
> Stefan Lambrev wrote:
> > Hi,
> >
> > Sorry to reply to myself, but I found that the problem exist only if the
> > GW is carp interface, e.g. 10.1.1.1 sits on carp0 on default GW.
> > I'm still testing how to reproduce this in my test lab and will fill a PR.
> >
> > Stefan Lambrev wrote:
> >> Hi,
> >>
> >> I see rtfree: 0xc741ee88 has 1 refs with freebsd releng_7 (i386) from
> >> today.
> >>
> >> I think it's easy reproducible. What I have is:
> >>
> >> releng_7 (10.1.1.2) -> default GW (10.1.1.1)
> >> on default GW I have route to 10.10.1.1/24 -> 10.1.1.3
> >>
> >> so everytime when 10.1.1.2 try to contact someone from 10.10.1.1/24 I
> >> see:
> >> rtfree: 0xc741ee88 has 1 refs
> >>
> >> if I add direct route on 10.1.1.2 to 10.10.1.1/24 through 10.1.1.3 the
> >> message will go away.
> >>
> >> Should I ignore this msg for now, or should I expect kernel panic
> >> soon? :)
>
> Just FYI, I see this on a few boxes including the 7-BETA2 I'm writing
> this on. None of them has a carp interface though. What I find
> interesting here is that none of them are able to run a SMP kernel
> without crashing (no panic, they're just frozen completely).
>
> Perhaps it is a coincidence, I don't know, but I am very interested in
> your findings and have testbeds if you need.
>

The warning is mostly harmless. It means that rtfree is being called
where RTFREE_LOCKED should be used. Adding a kdb_backtrace() should
track it down for you.

 -Kip
Received on Tue Nov 06 2007 - 17:16:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:21 UTC