* Re: Re: Kernel panic in fib_rules_lookup (kernel 2.6.32)
@ 2010-03-09 17:21 "Oleg A. Arkhangelsky"
2010-03-09 18:22 ` Stephen Hemminger
0 siblings, 1 reply; 5+ messages in thread
From: "Oleg A. Arkhangelsky" @ 2010-03-09 17:21 UTC (permalink / raw)
To: netdev
Hello, Eric
> > Mar 9 10:08:55 bras-1 kernel:
> > Mar 9 10:08:55 bras-1 kernel: Pid: 0, comm: swapper Not tainted (2.6.32 #3)
>
> Is it an unpatched kernel ?
Yes. Vanilla 2.6.32. We saw the same issue on at least 2.6.30.1 (as far as I know).
>
> Could you send us your .config ?
>
Here it is: http://www.progtech.ru/~oleg/config.txt
> gcc -v ?
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.3.3/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.3.3/configure --prefix=/usr --libdir=/usr/lib --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --build=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.3.3 (GCC)
--
wbr, Oleg.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel panic in fib_rules_lookup (kernel 2.6.32)
2010-03-09 17:21 Re: Kernel panic in fib_rules_lookup (kernel 2.6.32) "Oleg A. Arkhangelsky"
@ 2010-03-09 18:22 ` Stephen Hemminger
2010-03-09 18:39 ` "Oleg A. Arkhangelsky"
0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2010-03-09 18:22 UTC (permalink / raw)
To: \"Oleg A. Arkhangelsky\; +Cc: netdev
----- "\"Oleg A. Arkhangelsky\"" <sysoleg@yandex•ru> wrote:
> Hello, Eric
>
> > > Mar 9 10:08:55 bras-1 kernel:
> > > Mar 9 10:08:55 bras-1 kernel: Pid: 0, comm: swapper Not tainted
> (2.6.32 #3)
> >
> > Is it an unpatched kernel ?
>
> Yes. Vanilla 2.6.32. We saw the same issue on at least 2.6.30.1 (as
> far as I know).
>
iptables NETFLOW and ISG modules aren't in standard kernel (yet)
http://www.progtech.ru/~oleg/lISG/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: Kernel panic in fib_rules_lookup (kernel 2.6.32)
2010-03-09 18:22 ` Stephen Hemminger
@ 2010-03-09 18:39 ` "Oleg A. Arkhangelsky"
0 siblings, 0 replies; 5+ messages in thread
From: "Oleg A. Arkhangelsky" @ 2010-03-09 18:39 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: netdev
Hello, Stephen
09.03.10, 10:22, "Stephen Hemminger" <stephen.hemminger@vyatta•com>:
> > Yes. Vanilla 2.6.32. We saw the same issue on at least 2.6.30.1 (as
> > far as I know).
> >
>
>
> iptables NETFLOW and ISG modules aren't in standard kernel (yet)
> http://www.progtech.ru/~oleg/lISG/
Agreed. But they are only iptables modules, not patches. How can they
be related to functionality of routing (especially routing rules) subsystem?
Thank you.
P.S.: By the way, we're not using rules at all on this router:
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
--
wbr, Oleg.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: Kernel panic in fib_rules_lookup (kernel 2.6.32)
2010-03-09 17:09 ` Eric Dumazet
@ 2010-05-02 10:46 ` "Oleg A. Arkhangelsky"
2010-05-02 16:31 ` Eric Dumazet
0 siblings, 1 reply; 5+ messages in thread
From: "Oleg A. Arkhangelsky" @ 2010-05-02 10:46 UTC (permalink / raw)
To: Eric Dumazet; +Cc: netdev
Hello,
09.03.10, 17:09, "Eric Dumazet" <eric.dumazet@gmail•com>:
> Le mardi 09 mars 2010 à 10:44 +0300, "Oleg A. Arkhangelsky" a écrit :
> > Hello,
> >
> > Got this kernel panic tomorrow. This PC is rather heavy loaded router with BGP full view (> 300K routes).
> > We're using FIB_TRIE. Last time we got similar panic about 1 month ago. Please, let me know if you
> > need additional information to debug (e.g. objdump). Thanks!
> >
> > Mar 9 10:08:55 bras-1 kernel: BUG: unable to handle kernel NULL pointer dereference at (null)
> > Mar 9 10:08:55 bras-1 kernel: IP: [] fib_rules_lookup+0xa2/0xd0
> > Mar 9 10:08:55 bras-1 kernel: *pde = 00000000
> > Mar 9 10:08:55 bras-1 kernel: Thread overran stack, or stack corrupted
>
> Hmm...
Got the same panic, at the same place (fib_rules_lookup+0xa2/0xd0). Looks like the problem with NULL dereference is somewhere in list_for_each_entry_rcu macro. But I don't understand how this can be.
Any thoughts? :(
--
wbr, Oleg.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: Kernel panic in fib_rules_lookup (kernel 2.6.32)
2010-05-02 10:46 ` "Oleg A. Arkhangelsky"
@ 2010-05-02 16:31 ` Eric Dumazet
0 siblings, 0 replies; 5+ messages in thread
From: Eric Dumazet @ 2010-05-02 16:31 UTC (permalink / raw)
To: "Oleg A. Arkhangelsky"; +Cc: netdev
Le dimanche 02 mai 2010 à 14:46 +0400, "Oleg A. Arkhangelsky" a écrit :
> Hello,
>
> 09.03.10, 17:09, "Eric Dumazet" <eric.dumazet@gmail•com>:
>
> > Le mardi 09 mars 2010 à 10:44 +0300, "Oleg A. Arkhangelsky" a écrit :
> > > Hello,
> > >
> > > Got this kernel panic tomorrow. This PC is rather heavy loaded router with BGP full view (> 300K routes).
> > > We're using FIB_TRIE. Last time we got similar panic about 1 month ago. Please, let me know if you
> > > need additional information to debug (e.g. objdump). Thanks!
> > >
> > > Mar 9 10:08:55 bras-1 kernel: BUG: unable to handle kernel NULL pointer dereference at (null)
> > > Mar 9 10:08:55 bras-1 kernel: IP: [] fib_rules_lookup+0xa2/0xd0
> > > Mar 9 10:08:55 bras-1 kernel: *pde = 00000000
> > > Mar 9 10:08:55 bras-1 kernel: Thread overran stack, or stack corrupted
> >
> > Hmm...
>
> Got the same panic, at the same place (fib_rules_lookup+0xa2/0xd0). Looks like the problem with NULL dereference is somewhere in list_for_each_entry_rcu macro. But I don't understand how this can be.
>
> Any thoughts? :(
>
Do you have any modify rules activity ?
I dont understand why we need synchronize_rcu() in fib_nl_delrule() but
this certainly not a bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-05-02 16:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09 17:21 Re: Kernel panic in fib_rules_lookup (kernel 2.6.32) "Oleg A. Arkhangelsky"
2010-03-09 18:22 ` Stephen Hemminger
2010-03-09 18:39 ` "Oleg A. Arkhangelsky"
-- strict thread matches above, loose matches on Subject: below --
2010-03-09 7:44 "Oleg A. Arkhangelsky"
2010-03-09 17:09 ` Eric Dumazet
2010-05-02 10:46 ` "Oleg A. Arkhangelsky"
2010-05-02 16:31 ` Eric Dumazet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox