Bug 318 - kernel BUG at fs/xfs/support/debug.c:106
: kernel BUG at fs/xfs/support/debug.c:106
Status: RESOLVED DUPLICATE of bug 309
Product: XFS
Classification: Unclassified
Component: XFS kernel code
: 1.3.x
: Linux
: major
: ---
Assigned To: XFS power people
:
:
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-18 13:17 CST by Vincent
Modified: 2004-03-26 04:40 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent 2004-03-18 13:17:54 CST
The server is a dual Athlon server running on a Tyan board. Disk subsystem is
composed of multiple IDE drives using Linux-based software RAID.
I use the XFS version included in 2.6.4 Linux Kernel :

Linux version 2.6.4 (root@gabriela) (gcc version 2.95.4 20011002 (Debian
prerelease)) #1 SMP Mon Mar 15 16:53:58 EST 2004

OS is Debian 3.0 with all the security updates.

System is running a custom C data crunching application working on big files
100MB-10000MB files and a kernel-based NFS server.
I used 2.4.x kernel and ext3 on the same machine without ANY kernel panic for 1
year. 
I changed to XFS and 2.6.4 kernel in hope for higher performance since XFS is
known to be really good at playing with big files.

After 10 days of uptime, the server died during an intensive disk IO operation,
but was still answering to network pings.

Here is the last output from the machine : 

Mar 17 22:38:01 gabriela kernel: ------------[ cut here ]------------
Mar 17 22:38:01 gabriela kernel: kernel BUG at fs/xfs/support/debug.c:106!
Mar 17 22:38:01 gabriela kernel: invalid operand: 0000 [#1]
Mar 17 22:38:01 gabriela kernel: SMP
Mar 17 22:38:01 gabriela kernel: CPU:    1
Mar 17 22:38:01 gabriela kernel: EIP:    0060:[_end+945977111/1069909120]    Not
tainted
Mar 17 22:38:01 gabriela kernel: EFLAGS: 00010246
Mar 17 22:38:01 gabriela kernel: EIP is at cmn_err+0x97/0xb0 [xfs]
Mar 17 22:38:01 gabriela kernel: eax: 00000040   ebx: 00000293   ecx: 000008fc 
 edx: c02ec264
Mar 17 22:38:01 gabriela kernel: esi: f89d6807   edi: f89e6d3e   ebp: 00000000 
 esp: c4cf5a74
Mar 17 22:38:01 gabriela kernel: ds: 007b   es: 007b   ss: 0068
Mar 17 22:38:01 gabriela kernel: Process nfsd (pid: 3410, threadinfo=c4cf4000
task=f288b980)
Mar 17 22:38:01 gabriela kernel: Stack: c037eca0 f6dff734 c4cf4000 f2e40d24
dd2c0660 f899f823 00000000 f89d1620
Mar 17 22:38:01 gabriela kernel:        cc4c1680 dd2c0640 dd2c0660 dd2c0640
c4cf4000 00000008 f6dff738 ee4c2550
Mar 17 22:38:01 gabriela kernel:        f899fc4c dd2c0640 f2e40c00 00000000
047578ce 00000000 00000008 c4cf5b24
Mar 17 22:38:01 gabriela kernel: Call Trace:
Mar 17 22:38:01 gabriela kernel:  [_end+945790115/1069909120]
xfs_iget_core+0x163/0x500 [xfs]
Mar 17 22:38:01 gabriela kernel:  [_end+945791180/1069909120]
xfs_iget+0x8c/0x160 [xfs]
Mar 17 22:38:01 gabriela kernel:  [_end+945906548/1069909120] xfs_vget+0x44/0xc0
[xfs]
Mar 17 22:38:01 gabriela kernel:  [_end+945974213/1069909120] vfs_vget+0x25/0x30
[xfs]
Mar 17 22:38:01 gabriela kernel:  [_end+945972696/1069909120]
linvfs_get_dentry+0x48/0x90 [xfs]
Mar 17 22:38:01 gabriela kernel:  [find_exported_dentry+61/1712]
find_exported_dentry+0x3d/0x6b0
Mar 17 22:38:01 gabriela kernel:  [nfsd_acceptable+207/224]
nfsd_acceptable+0xcf/0xe0
Mar 17 22:38:01 gabriela kernel:  [find_exported_dentry+154/1712]
find_exported_dentry+0x9a/0x6b0
Mar 17 22:38:01 gabriela kernel:  [udp_queue_rcv_skb+420/544]
udp_queue_rcv_skb+0x1a4/0x220
Mar 17 22:38:01 gabriela kernel:  [udp_rcv+338/848] udp_rcv+0x152/0x350
Mar 17 22:38:01 gabriela kernel:  [ip_local_deliver+164/336]
ip_local_deliver+0xa4/0x150
Mar 17 22:38:01 gabriela kernel:  [_end+945675809/1069909120]
xfs_bmbt_get_state+0x21/0x30 [xfs]
Mar 17 22:38:01 gabriela kernel:  [do_gettimeofday+30/192] do_gettimeofday+0x1e/0xc0
Mar 17 22:38:01 gabriela kernel:  [alloc_skb+60/224] alloc_skb+0x3c/0xe0
Mar 17 22:38:01 gabriela kernel:  [boomerang_rx+799/1056] boomerang_rx+0x31f/0x420
Mar 17 22:38:01 gabriela kernel:  [boomerang_interrupt+303/1008]
boomerang_interrupt+0x12f/0x3f0
Mar 17 22:38:02 gabriela kernel:  [sock_alloc_send_skb+28/48]
sock_alloc_send_skb+0x1c/0x30
Mar 17 22:38:02 gabriela kernel:  [ip_defrag+236/384] ip_defrag+0xec/0x180
Mar 17 22:38:02 gabriela kernel:  [ip_local_deliver+27/336]
ip_local_deliver+0x1b/0x150
Mar 17 22:38:02 gabriela kernel:  [ip_rcv+874/1036] ip_rcv+0x36a/0x40c
Mar 17 22:38:02 gabriela kernel:  [netif_receive_skb+305/368]
netif_receive_skb+0x131/0x170
Mar 17 22:38:02 gabriela kernel:  [process_backlog+137/288]
process_backlog+0x89/0x120
Mar 17 22:38:02 gabriela kernel:  [boomerang_start_xmit+634/784]
boomerang_start_xmit+0x27a/0x310
Mar 17 22:38:02 gabriela kernel:  [groups_free+59/80] groups_free+0x3b/0x50
Mar 17 22:38:02 gabriela kernel:  [export_decode_fh+102/110]
export_decode_fh+0x66/0x6e
Mar 17 22:38:02 gabriela kernel:  [nfsd_acceptable+0/224] nfsd_acceptable+0x0/0xe0
Mar 17 22:38:02 gabriela kernel:  [fh_verify+916/1360] fh_verify+0x394/0x550
Mar 17 22:38:02 gabriela kernel:  [nfsd_acceptable+0/224] nfsd_acceptable+0x0/0xe0
Mar 17 22:38:02 gabriela kernel:  [nfsd_open+44/352] nfsd_open+0x2c/0x160
Mar 17 22:38:02 gabriela kernel:  [nfsd_write+50/752] nfsd_write+0x32/0x2f0
Mar 17 22:38:02 gabriela kernel:  [do_softirq+108/208] do_softirq+0x6c/0xd0
Mar 17 22:38:02 gabriela kernel:  [smp_apic_timer_interrupt+323/336]
smp_apic_timer_interrupt+0x143/0x150
Mar 17 22:38:02 gabriela kernel:  [apic_timer_interrupt+26/32]
apic_timer_interrupt+0x1a/0x20
Mar 17 22:38:02 gabriela kernel:  [kfree+89/112] kfree+0x59/0x70
Mar 17 22:38:02 gabriela kernel:  [kfree_skbmem+23/32] kfree_skbmem+0x17/0x20
Mar 17 22:38:02 gabriela kernel:  [svcauth_unix_accept+540/688]
svcauth_unix_accept+0x21c/0x2b0
Mar 17 22:38:03 gabriela kernel:  [nfsd_proc_write+168/176]
nfsd_proc_write+0xa8/0xb0
Mar 17 22:38:03 gabriela kernel:  [nfsd_dispatch+225/403] nfsd_dispatch+0xe1/0x193
Mar 17 22:38:03 gabriela kernel:  [svc_process+875/1512] svc_process+0x36b/0x5e8
Mar 17 22:38:03 gabriela kernel:  [nfsd+492/864] nfsd+0x1ec/0x360
Mar 17 22:38:03 gabriela kernel:  [nfsd+0/864] nfsd+0x0/0x360
Mar 17 22:38:03 gabriela kernel:  [kernel_thread_helper+5/20]
kernel_thread_helper+0x5/0x14
Mar 17 22:38:03 gabriela kernel:
Mar 17 22:38:03 gabriela kernel: Code: 0f 0b 6a 00 ee 67 9d f8 90 5b 5e 5f 5d 59
c3 8d 76 00 8d bc
Comment 1 Christoph Hellwig 2004-03-26 02:40:08 CST
Known but not yet fixed issue with Linux 2.6

*** This bug has been marked as a duplicate of 309 ***