possible lockdep crash (was Re: kernel panic, ip_route_input, 2.6.25-rc6-git2)

Previous thread: Scalability requirements for sysv ipc (was: ipc: store ipcs into IDRs) by Manfred Spraul on Friday, March 21, 2008 - 5:41 am. (27 messages)

Next thread: Re: [PATCH 00/12] mm/x86: bootmem by Ingo Molnar on Friday, March 21, 2008 - 6:54 am. (1 message)
To: <denys@...>
Cc: <netdev@...>, <linux-kernel@...>
Date: Friday, March 21, 2008 - 6:35 am

From: "Denys Fedoryshchenko" <denys@visp.net.lb>

The IP may point to ip_route_input(), but the entire top of the
--

To: David Miller <davem@...>
Cc: <netdev@...>, <linux-kernel@...>
Date: Friday, March 21, 2008 - 6:59 am

Here is one more, it's seems easy to reproduce, but seems it is same. But
maybe will be useful.

Mar 21 12:56:46 205.177.186.74 [ 31.387311] BUG: unable to handle kernel
Mar 21 12:56:46 205.177.186.74 paging request
Mar 21 12:56:46 205.177.186.74 at c013d19a
Mar 21 12:56:46 205.177.186.74 [ 31.387427] IP:
Mar 21 12:56:46 205.177.186.74 [<c0285798>] ip_route_input+0xa70/0xe56
Mar 21 12:56:46 205.177.186.74 [ 31.387505] Oops: 0003 [#1]
Mar 21 12:56:46 205.177.186.74 SMP
Mar 21 12:56:46 205.177.186.74
Mar 21 12:56:46 205.177.186.74 [ 31.387602] Modules linked in:
Mar 21 12:56:46 205.177.186.74 softdog
Mar 21 12:56:46 205.177.186.74 nf_nat_pptp
Mar 21 12:56:46 205.177.186.74 nf_nat_proto_gre
Mar 21 12:56:46 205.177.186.74 nf_conntrack_pptp
Mar 21 12:56:46 205.177.186.74 nf_conntrack_proto_gre
Mar 21 12:56:46 205.177.186.74 netconsole
Mar 21 12:56:46 205.177.186.74 configfs
Mar 21 12:56:46 205.177.186.74 hangcheck_timer
Mar 21 12:56:46 205.177.186.74 xt_tcpudp
Mar 21 12:56:46 205.177.186.74 ipt_TTL
Mar 21 12:56:46 205.177.186.74 ipt_ttl
Mar 21 12:56:46 205.177.186.74 xt_NOTRACK
Mar 21 12:56:46 205.177.186.74 iptable_raw
Mar 21 12:56:46 205.177.186.74 iptable_mangle
Mar 21 12:56:46 205.177.186.74 ifb
Mar 21 12:56:46 205.177.186.74 e1000e
Mar 21 12:56:46 205.177.186.74 em_nbyte
Mar 21 12:56:46 205.177.186.74 cls_tcindex
Mar 21 12:56:46 205.177.186.74 act_gact
Mar 21 12:56:46 205.177.186.74 cls_rsvp
Mar 21 12:56:46 205.177.186.74 sch_htb
Mar 21 12:56:46 205.177.186.74 cls_fw
Mar 21 12:56:46 205.177.186.74 act_mirred
Mar 21 12:56:46 205.177.186.74 em_u32
Mar 21 12:56:46 205.177.186.74 sch_red
Mar 21 12:56:46 205.177.186.74 sch_sfq
Mar 21 12:56:46 205.177.186.74 sch_tbf
Mar 21 12:56:46 205.177.186.74 sch_teql
Mar 21 12:56:46 205.177.186.74 cls_basic
Mar 21 12:56:46 205.177.186.74 act_police
Mar 21 12:56:46 205.177.186.74 sch_gred
Mar 21 12:56:46 205.177.186.74 act_pedit
Mar 21 12:56:46 205.177.186.74 sch_hfsc
Mar 21 12:56:46 205.177.186.74 cls_rsvp6
Mar 21 12:56:...

To: David Miller <davem@...>
Cc: <netdev@...>, <linux-kernel@...>
Date: Friday, March 21, 2008 - 6:54 am

Let me know if i can improve output to help debugging.
If possible it must be minimal risk to hang, cause router is in very
difficult to reach area.

--
Denys Fedoryshchenko
Technical Manager
Virtual ISP S.A.L.

--

To: <denys@...>
Cc: <netdev@...>, <linux-kernel@...>
Date: Friday, March 21, 2008 - 7:04 am

From: "Denys Fedoryshchenko" <denys@visp.net.lb>

Can you disable lockdep and see if the problem persists?

It's killing your routing performance anyways, I have no
idea why you have it enabled.
--

To: David Miller <davem@...>
Cc: <netdev@...>, <linux-kernel@...>
Date: Friday, March 21, 2008 - 8:46 pm

Here is panic without lockdep. Note - i am using FIB_TRIE.

Mar 22 02:42:23 205.177.186.74 [ 6.891998] BUG: unable to handle kernel
Mar 22 02:42:23 205.177.186.74 NULL pointer dereference
Mar 22 02:42:23 205.177.186.74 at 0000009f
Mar 22 02:42:23 205.177.186.74 [ 6.892094] IP:
Mar 22 02:42:23 205.177.186.74 [<c0276f0a>] ip_route_input+0x872/0xbd9
Mar 22 02:42:23 205.177.186.74 [ 6.892166] Oops: 0002 [#1]
Mar 22 02:42:23 205.177.186.74 SMP
Mar 22 02:42:23 205.177.186.74
Mar 22 02:42:23 205.177.186.74 [ 6.892258] Modules linked in:
Mar 22 02:42:23 205.177.186.74 netconsole
Mar 22 02:42:23 205.177.186.74 configfs
Mar 22 02:42:23 205.177.186.74 hangcheck_timer
Mar 22 02:42:23 205.177.186.74 xt_tcpudp
Mar 22 02:42:23 205.177.186.74 ipt_TTL
Mar 22 02:42:23 205.177.186.74 ipt_ttl
Mar 22 02:42:23 205.177.186.74 xt_NOTRACK
Mar 22 02:42:23 205.177.186.74 iptable_raw
Mar 22 02:42:23 205.177.186.74 iptable_mangle
Mar 22 02:42:23 205.177.186.74 ifb
Mar 22 02:42:23 205.177.186.74 e1000e
Mar 22 02:42:23 205.177.186.74 em_nbyte
Mar 22 02:42:23 205.177.186.74 cls_tcindex
Mar 22 02:42:23 205.177.186.74 act_gact
Mar 22 02:42:23 205.177.186.74 cls_rsvp
Mar 22 02:42:23 205.177.186.74 sch_htb
Mar 22 02:42:23 205.177.186.74 cls_fw
Mar 22 02:42:23 205.177.186.74 act_mirred
Mar 22 02:42:23 205.177.186.74 em_u32
Mar 22 02:42:23 205.177.186.74 sch_red
Mar 22 02:42:23 205.177.186.74 sch_sfq
Mar 22 02:42:23 205.177.186.74 sch_tbf
Mar 22 02:42:23 205.177.186.74 sch_teql
Mar 22 02:42:23 205.177.186.74 cls_basic
Mar 22 02:42:23 205.177.186.74 act_police
Mar 22 02:42:23 205.177.186.74 sch_gred
Mar 22 02:42:23 205.177.186.74 act_pedit
Mar 22 02:42:23 205.177.186.74 sch_hfsc
Mar 22 02:42:23 205.177.186.74 cls_rsvp6
Mar 22 02:42:23 205.177.186.74 sch_ingress
Mar 22 02:42:23 205.177.186.74 em_meta
Mar 22 02:42:23 205.177.186.74 em_text
Mar 22 02:42:23 205.177.186.74 act_ipt
Mar 22 02:42:23 205.177.186.74 sch_dsmark
Mar 22 02:42:23 205.177.186.74 sch_prio
Mar 22 02:42:23 205.177.186....

To: David Miller <davem@...>
Cc: <netdev@...>, <linux-kernel@...>
Date: Friday, March 21, 2008 - 11:23 am

I have very strange lockups on this machine, and i tried to catch them. But
seems it doesn't help me, till now lockdep catch only ifb false-positive.

I will try to compile and run now without lockdep.

--
Denys Fedoryshchenko
Technical Manager
Virtual ISP S.A.L.

--

Previous thread: Scalability requirements for sysv ipc (was: ipc: store ipcs into IDRs) by Manfred Spraul on Friday, March 21, 2008 - 5:41 am. (27 messages)

Next thread: Re: [PATCH 00/12] mm/x86: bootmem by Ingo Molnar on Friday, March 21, 2008 - 6:54 am. (1 message)