[OpenAFS] Stack overflows on Red Hat 2.4.20 kernels

Steve Snodgrass ssnodgra@pheran.com
Thu, 4 Sep 2003 16:18:01 -0400


--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Aug 27, 2003 at 02:00:05PM -0400, Derrick J Brashear wrote:
> Can you build a module with --enable-debug-kernel so the stack trace is
> vageuly more correct?

OK, here's a dump with the debug module, though I can't see too much
difference.  How can you tell if debug was used or not?

This is from a Dell PowerEdge 2550 running the Red Hat 7.3 2.4.20-19.7smp
kernel.

-- 
Steve Snodgrass * ssnodgra@pheran.com * Network and Unix Guru(?) at Large
Geek Code: GCS d? s: a C++ U++++$ P+++ L++ w PS+ 5++ b++ DI+ D++ e++ r+++ y+*
"If you want to be somebody else, change your mind."  -Sister Hazel

--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dump20030904.txt"

2.4.20-19
[-- MARK -- Thu Sep  4 13:35:00 2003]
do_IRQ: stack overflow: 940
c02514e5 000003ac 00000000 e0c18a14 00000000 00000000 e0c18a14 c024a98c 
       e0c18a14 00000000 00000003 00000000 00000000 e0c18a14 00000000 da310018 
       e08f0018 ffffff11 e090c1f9 00000010 00000246 df394aa8 df394a00 e08fdfe0 
Call Trace:   [<e090c1f9>] ipt_do_table_Rsmp_0b1044f8 [ip_tables] 0x179 (0xdf394a8c))
[<e08fdfe0>] ip_conntrack_protocol_udp [ip_conntrack] 0x0 (0xdf394aa0))
[<e090e93b>] nulldevname.0 [ip_tables] 0x0 (0xdf394ab8))
[<c02032e0>] output_maybe_reroute [kernel] 0x0 (0xdf394ad8))
[<e09110ec>] ipt_local_out_hook [iptable_filter] 0x5c (0xdf394ae0))
[<e0911960>] packet_filter [iptable_filter] 0x0 (0xdf394af4))
[<c01f07fe>] nf_iterate [kernel] 0x2e (0xdf394afc))
[<c02032e0>] output_maybe_reroute [kernel] 0x0 (0xdf394b10))
[<c02032e0>] output_maybe_reroute [kernel] 0x0 (0xdf394b20))
[<c01f0b2f>] nf_hook_slow [kernel] 0xcf (0xdf394b24))
[<c02032e0>] output_maybe_reroute [kernel] 0x0 (0xdf394b40))
[<e09119cc>] ipt_ops [iptable_filter] 0x30 (0xdf394b48))
[<c0202b29>] ip_build_xmit [kernel] 0x2f9 (0xdf394b7c))
[<c02032e0>] output_maybe_reroute [kernel] 0x0 (0xdf394b94))
[<c01e9a9e>] dev_queue_xmit [kernel] 0x14e (0xdf394bac))
[<c021e53f>] udp_sendmsg [kernel] 0x3cf (0xdf394bd0))
[<c021e040>] udp_getfrag [kernel] 0x0 (0xdf394bd8))
[<c01ee218>] neigh_connected_output [kernel] 0x78 (0xdf394c28))
[<c02032f0>] ip_finish_output2 [kernel] 0x0 (0xdf394c48))
[<c02250c5>] inet_sendmsg [kernel] 0x35 (0xdf394c8c))
[<c01e23ec>] sock_sendmsg [kernel] 0x6c (0xdf394ca0))
[<e091df25>] tg3_start_xmit_4gbug [tg3] 0x175 (0xdf394cbc))
[<c02032f0>] ip_finish_output2 [kernel] 0x0 (0xdf394cf0))
[<e09dfcc6>] osi_NetSend [libafs-2.4.20-19.7-debug.mp] 0xb6 (0xdf394d04))
[<c01f3ac4>] qdisc_restart [kernel] 0x14 (0xdf394d38))
[<c02322a2>] packet_rcv_spkt [kernel] 0x1b2 (0xdf394d48))
[<c01e9a9e>] dev_queue_xmit [kernel] 0x14e (0xdf394d5c))
[<c01e5da8>] skb_clone [kernel] 0x78 (0xdf394d8c))
[<c01e9b47>] dev_queue_xmit [kernel] 0x1f7 (0xdf394dc4))
[<e09e2f54>] rxi_SendPacket [libafs-2.4.20-19.7-debug.mp] 0x144 (0xdf394de4))
[<c01ee218>] neigh_connected_output [kernel] 0x78 (0xdf394e08))
[<c02032f0>] ip_finish_output2 [kernel] 0x0 (0xdf394e28))
[<e09d7137>] rxi_SendList [libafs-2.4.20-19.7-debug.mp] 0x567 (0xdf394e44))
[<c02032f0>] ip_finish_output2 [kernel] 0x0 (0xdf394e5c))
[<e09d73bb>] rxi_SendXmitList [libafs-2.4.20-19.7-debug.mp] 0x21b (0xdf394e84))
[<e09d7c75>] rxi_Start [libafs-2.4.20-19.7-debug.mp] 0x7b5 (0xdf394ed4))
[<e09e8e17>] rxkad_PreparePacket [libafs-2.4.20-19.7-debug.mp] 0x117 (0xdf394f34))
[<e09e3b9a>] rxi_PrepareSendPacket [libafs-2.4.20-19.7-debug.mp] 0x18a (0xdf394f64))
[<e09dede5>] rxi_FlushWrite [libafs-2.4.20-19.7-debug.mp] 0x395 (0xdf394f94))
[<e09dd80f>] rxi_WriteProc [libafs-2.4.20-19.7-debug.mp] 0x69f (0xdf394fe4))
[<e09dbe77>] rxi_ReadProc [libafs-2.4.20-19.7-debug.mp] 0x97 (0xdf395004))
[<e09d8230>] rxi_KeepAliveEvent [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf39500c))
[<e09cfac1>] rx_NewCall [libafs-2.4.20-19.7-debug.mp] 0x6e1 (0xdf395034))
[<c02250c5>] inet_sendmsg [kernel] 0x35 (0xdf395058))
[<c01e23ec>] sock_sendmsg [kernel] 0x6c (0xdf39506c))
[<e09dc7d0>] rx_ReadProc32 [libafs-2.4.20-19.7-debug.mp] 0xe0 (0xdf395084))
[<e09e3f06>] xdrrx_getint32 [libafs-2.4.20-19.7-debug.mp] 0x16 (0xdf3950b4))
[<e0a186c0>] xdrrx_ops [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf3950c8))
[<e09e911b>] afs_xdr_u_int [libafs-2.4.20-19.7-debug.mp] 0x1b (0xdf3950d4))
[<e09c95c4>] xdr_AFSFetchStatus [libafs-2.4.20-19.7-debug.mp] 0x14 (0xdf3950f4))
[<e09cacd4>] RXAFS_FetchStatus [libafs-2.4.20-19.7-debug.mp] 0x64 (0xdf395114))
[<e0a186c0>] xdrrx_ops [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf39513c))
[<e09a0991>] afs_Conn [libafs-2.4.20-19.7-debug.mp] 0x1a1 (0xdf395154))
[<e0a189c0>] afs_global_lock [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf395164))
[<e09b75e0>] afs_FetchStatus [libafs-2.4.20-19.7-debug.mp] 0xe0 (0xdf395174))
[<e099ff94>] afs_GetCellStale [libafs-2.4.20-19.7-debug.mp] 0x34 (0xdf3951a4))
[<e09a0054>] afs_IsPrimaryCellNum [libafs-2.4.20-19.7-debug.mp] 0x24 (0xdf3951b4))
[<e09a0054>] afs_IsPrimaryCellNum [libafs-2.4.20-19.7-debug.mp] 0x24 (0xdf3951c4))
[<e09b7f4f>] afs_FindVCache [libafs-2.4.20-19.7-debug.mp] 0x35f (0xdf3951d4))
[<e09c76a2>] afs_GetVolume [libafs-2.4.20-19.7-debug.mp] 0x22 (0xdf3951e4))
[<e09dc4f6>] rxi_ReadProc [libafs-2.4.20-19.7-debug.mp] 0x716 (0xdf3951f0))
[<e09b5ebf>] afs_GetVCache [libafs-2.4.20-19.7-debug.mp] 0x3bf (0xdf395214))
[<e09a77d9>] afs_dir_GetBlob [libafs-2.4.20-19.7-debug.mp] 0x19 (0xdf395244))
[<e09a78ab>] FindItem [libafs-2.4.20-19.7-debug.mp] 0x5b (0xdf395264))
[<e09a75aa>] afs_dir_LookupOffset [libafs-2.4.20-19.7-debug.mp] 0x6a (0xdf395294))
[<e09c06aa>] afs_lookup [libafs-2.4.20-19.7-debug.mp] 0xa5a (0xdf3952b4))
[<e09eeb08>] afs_linux_dentry_revalidate [libafs-2.4.20-19.7-debug.mp] 0x138 (0xdf395384))
[<e09efcad>] afs_linux_permission [libafs-2.4.20-19.7-debug.mp] 0xcd (0xdf3953c8))
[<c0150bed>] cached_lookup [kernel] 0x2d (0xdf3953f4))
[<c01515ed>] link_path_walk [kernel] 0x79d (0xdf395404))
[<e09ac025>] osi_dnlc_enter [libafs-2.4.20-19.7-debug.mp] 0x1e5 (0xdf395480))
[<e0a1c6a8>] nameCache [libafs-2.4.20-19.7-debug.mp] 0x2648 (0xdf395484))
[<e09abfe8>] osi_dnlc_enter [libafs-2.4.20-19.7-debug.mp] 0x1a8 (0xdf395490))
[<e09c0e0e>] afs_lookup [libafs-2.4.20-19.7-debug.mp] 0x11be (0xdf3954b0))
[<e0a1c6a8>] nameCache [libafs-2.4.20-19.7-debug.mp] 0x2648 (0xdf3954c0))
[<c0132d22>] read_cache_page [kernel] 0x42 (0xdf395514))
[<c0132d95>] read_cache_page [kernel] 0xb5 (0xdf395520))
[<c0154582>] page_getlink [kernel] 0x22 (0xdf395544))
[<e09f00c0>] afs_symlink_filler [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf395550))
[<e09eeb99>] afs_linux_dentry_revalidate [libafs-2.4.20-19.7-debug.mp] 0x1c9 (0xdf395570))
[<c01547d8>] page_follow_link [kernel] 0x138 (0xdf395584))
[<e09efcad>] afs_linux_permission [libafs-2.4.20-19.7-debug.mp] 0xcd (0xdf3955b4))
[<e09eefa0>] afs_linux_lookup [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf3955d4))
[<c015176e>] link_path_walk [kernel] 0x91e (0xdf3955f0))
[<e09a77d9>] afs_dir_GetBlob [libafs-2.4.20-19.7-debug.mp] 0x19 (0xdf39561c))
[<e09a78ab>] FindItem [libafs-2.4.20-19.7-debug.mp] 0x5b (0xdf39563c))
[<e09ac025>] osi_dnlc_enter [libafs-2.4.20-19.7-debug.mp] 0x1e5 (0xdf39566c))
[<e0a1c750>] nameCache [libafs-2.4.20-19.7-debug.mp] 0x26f0 (0xdf395670))
[<e09abfe8>] osi_dnlc_enter [libafs-2.4.20-19.7-debug.mp] 0x1a8 (0xdf39567c))
[<e09c0e0e>] afs_lookup [libafs-2.4.20-19.7-debug.mp] 0x11be (0xdf39569c))
[<e0a1c750>] nameCache [libafs-2.4.20-19.7-debug.mp] 0x26f0 (0xdf3956ac))
[<c0132d22>] read_cache_page [kernel] 0x42 (0xdf395700))
[<c0132d95>] read_cache_page [kernel] 0xb5 (0xdf39570c))
[<c0154582>] page_getlink [kernel] 0x22 (0xdf395730))
[<e09f00c0>] afs_symlink_filler [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf39573c))
[<e09eeb99>] afs_linux_dentry_revalidate [libafs-2.4.20-19.7-debug.mp] 0x1c9 (0xdf39575c))
[<c01547d8>] page_follow_link [kernel] 0x138 (0xdf395770))
[<e09efcad>] afs_linux_permission [libafs-2.4.20-19.7-debug.mp] 0xcd (0xdf3957a0))
[<e09eefa0>] afs_linux_lookup [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf3957c0))
[<c015176e>] link_path_walk [kernel] 0x91e (0xdf3957dc))
[<e09a77d9>] afs_dir_GetBlob [libafs-2.4.20-19.7-debug.mp] 0x19 (0xdf395808))
[<e09a78ab>] FindItem [libafs-2.4.20-19.7-debug.mp] 0x5b (0xdf395828))
[<e09ac025>] osi_dnlc_enter [libafs-2.4.20-19.7-debug.mp] 0x1e5 (0xdf395858))
[<e0a1c7c0>] nameCache [libafs-2.4.20-19.7-debug.mp] 0x2760 (0xdf39585c))
[<e09abfe8>] osi_dnlc_enter [libafs-2.4.20-19.7-debug.mp] 0x1a8 (0xdf395868))
[<e09c0e0e>] afs_lookup [libafs-2.4.20-19.7-debug.mp] 0x11be (0xdf395888))
[<e0a1c7c0>] nameCache [libafs-2.4.20-19.7-debug.mp] 0x2760 (0xdf395898))
[<c0132d22>] read_cache_page [kernel] 0x42 (0xdf3958ec))
[<c0132d95>] read_cache_page [kernel] 0xb5 (0xdf3958f8))
[<c015a23c>] dput [kernel] 0x1c (0xdf395908))
[<c0154582>] page_getlink [kernel] 0x22 (0xdf39591c))
[<e09f00c0>] afs_symlink_filler [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf395928))
[<e09eeb99>] afs_linux_dentry_revalidate [libafs-2.4.20-19.7-debug.mp] 0x1c9 (0xdf395948))
[<c01547d8>] page_follow_link [kernel] 0x138 (0xdf39595c))
[<e09efcad>] afs_linux_permission [libafs-2.4.20-19.7-debug.mp] 0xcd (0xdf39598c))
[<c015176e>] link_path_walk [kernel] 0x91e (0xdf3959c8))
[<e09a77d9>] afs_dir_GetBlob [libafs-2.4.20-19.7-debug.mp] 0x19 (0xdf3959f4))
[<e09a78ab>] FindItem [libafs-2.4.20-19.7-debug.mp] 0x5b (0xdf395a14))
[<e09ac025>] osi_dnlc_enter [libafs-2.4.20-19.7-debug.mp] 0x1e5 (0xdf395a44))
[<e0a1c7f8>] nameCache [libafs-2.4.20-19.7-debug.mp] 0x2798 (0xdf395a48))
[<e09abfe8>] osi_dnlc_enter [libafs-2.4.20-19.7-debug.mp] 0x1a8 (0xdf395a54))
[<e09c0e0e>] afs_lookup [libafs-2.4.20-19.7-debug.mp] 0x11be (0xdf395a74))
[<e0a1c7f8>] nameCache [libafs-2.4.20-19.7-debug.mp] 0x2798 (0xdf395a84))
[<c0132d22>] read_cache_page [kernel] 0x42 (0xdf395ad8))
[<c0132d95>] read_cache_page [kernel] 0xb5 (0xdf395ae4))
[<c0154582>] page_getlink [kernel] 0x22 (0xdf395b08))
[<e09f00c0>] afs_symlink_filler [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf395b14))
[<e09eeb99>] afs_linux_dentry_revalidate [libafs-2.4.20-19.7-debug.mp] 0x1c9 (0xdf395b34))
[<c01547d8>] page_follow_link [kernel] 0x138 (0xdf395b48))
[<e09efcad>] afs_linux_permission [libafs-2.4.20-19.7-debug.mp] 0xcd (0xdf395b78))
[<e09eefa0>] afs_linux_lookup [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf395b98))
[<c015176e>] link_path_walk [kernel] 0x91e (0xdf395bb4))
[<e09a77d9>] afs_dir_GetBlob [libafs-2.4.20-19.7-debug.mp] 0x19 (0xdf395be0))
[<e09a78ab>] FindItem [libafs-2.4.20-19.7-debug.mp] 0x5b (0xdf395c00))
[<e09ac025>] osi_dnlc_enter [libafs-2.4.20-19.7-debug.mp] 0x1e5 (0xdf395c30))
[<e0a1c830>] nameCache [libafs-2.4.20-19.7-debug.mp] 0x27d0 (0xdf395c34))
[<e09abfe8>] osi_dnlc_enter [libafs-2.4.20-19.7-debug.mp] 0x1a8 (0xdf395c40))
[<e09c0e0e>] afs_lookup [libafs-2.4.20-19.7-debug.mp] 0x11be (0xdf395c60))
[<e0a1c830>] nameCache [libafs-2.4.20-19.7-debug.mp] 0x27d0 (0xdf395c70))
[<c0132d22>] read_cache_page [kernel] 0x42 (0xdf395cc4))
[<c0132d95>] read_cache_page [kernel] 0xb5 (0xdf395cd0))
[<c015a23c>] dput [kernel] 0x1c (0xdf395ce0))
[<c0154582>] page_getlink [kernel] 0x22 (0xdf395cf4))
[<e09f00c0>] afs_symlink_filler [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf395d00))
[<e09eeb99>] afs_linux_dentry_revalidate [libafs-2.4.20-19.7-debug.mp] 0x1c9 (0xdf395d20))
[<c01547d8>] page_follow_link [kernel] 0x138 (0xdf395d34))
[<e09efcad>] afs_linux_permission [libafs-2.4.20-19.7-debug.mp] 0xcd (0xdf395d64))
[<e09eefa0>] afs_linux_lookup [libafs-2.4.20-19.7-debug.mp] 0x0 (0xdf395d84))
[<c015176e>] link_path_walk [kernel] 0x91e (0xdf395da0))
[<c01e5d1e>] __kfree_skb [kernel] 0x11e (0xdf395dec))
[<e091b1e7>] tg3_enable_ints [tg3] 0x17 (0xdf395e00))
[<e09b8f40>] afs_CopyOutAttrs [libafs-2.4.20-19.7-debug.mp] 0x200 (0xdf395e18))
[<c01e5b9c>] kfree_skbmem [kernel] 0xc (0xdf395e30))
[<e09ecec2>] vcache2inode [libafs-2.4.20-19.7-debug.mp] 0x22 (0xdf395e48))
[<c01210ab>] do_softirq [kernel] 0x6b (0xdf395e68))
[<e09ee881>] afs_linux_revalidate [libafs-2.4.20-19.7-debug.mp] 0x171 (0xdf395ec8))
[<c015a23c>] dput [kernel] 0x1c (0xdf395ee4))
[<c015090e>] getname [kernel] 0x5e (0xdf395f0c))
[<c0151aab>] path_lookup [kernel] 0x1b (0xdf395f20))
[<c0151da4>] __user_walk [kernel] 0x24 (0xdf395f30))
[<c014dbd7>] vfs_stat [kernel] 0x17 (0xdf395f44))
[<c014e181>] sys_stat64 [kernel] 0x11 (0xdf395f70))
[<c0108be3>] system_call [kernel] 0x33 (0xdf395fc0))

--TB36FDmn/VVEgNH/--