xfs
[Top] [All Lists]

kernel BUG at fs/xfs/support/debug.c:106!

To: linux-xfs@xxxxxxxxxxx
Subject: kernel BUG at fs/xfs/support/debug.c:106!
From: Mihai RUSU <dizzy@xxxxxxxxx>
Date: Wed, 10 Dec 2003 10:18:08 +0200 (EET)
Cc: linux-kernel@xxxxxxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

Another problem now, on another system. This one is a 2xP3 1.1 Ghz, 3 GB 
RAM, MB Intel SCB2, Adaptec 7899 Controller onboard having one 18 GB SCSI 
disk connected to it (for XFS external journal, swap and / partition which 
is on ext3), Mylex 170 RAID connected to external storage enclosure with 3 
x 70 GB SCSI RAID5. The kernel error message is:

ksymoops 2.4.9 on i686 2.6.0-test11.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.6.0-test11/ (default)
     -m /usr/src/linux/System.map (default)

Error (regular_file): read_ksyms stat /proc/ksyms failed
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Reading Oops report from the terminal
kernel BUG at fs/xfs/support/debug.c:106!
invalid operand: 0000 [#1]
CPU:    0
EIP:    0060:[<c0253058>]    Not tainted 
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: 00000000   ebx: f682e000   ecx: c2e437c8   edx: c038629c
esi: c0357380   edi: c043e2de   ebp: 00000000   esp: f682f9fc
ds: 007b   es: 007b   ss: 0068
Stack: c035744e c0358c36 c043e2a0 00000293 f682e000 15a2031f 00000000 c77ad810
       c021c8bc 00000000 c03625a0 e5a2a640 ef6d1220 000008d0 c0173089 ef6d1240
       00100100 f711ddc8 f7130800 ef6d1240 f682e000 f682e000 f71a1524 f682e000
Call Trace:
 [<c021c8bc>] xfs_iget_core+0x5ec/0x780
 [<c0173089>] alloc_inode+0xd9/0x190
 [<c0252977>] vn_initialize+0xc7/0xf0
 [<c021cbb0>] xfs_iget+0x160/0x1a0
 [<c023c639>] xfs_vget+0x79/0xf0
 [<c0252153>] vfs_vget+0x43/0x50
 [<c0251ab3>] linvfs_get_dentry+0x53/0x90
 [<c01c5fae>] find_exported_dentry+0x3e/0x880
 [<c01742e4>] iget_locked+0x74/0x100
 [<c01fdfdf>] xfs_bmbt_get_state+0x2f/0x40
 [<c01f520d>] xfs_bmap_do_search_extents+0x27d/0x410
 [<c0316f58>] udp_queue_rcv_skb+0x228/0x2c0
 [<c01f541b>] xfs_bmap_search_extents+0x7b/0x90
 [<c02d66d7>] alloc_skb+0x47/0xf0
 [<c01f6b54>] xfs_bmapi+0x2c4/0x1580
 [<c02d5c5b>] sock_alloc_send_pskb+0xcb/0x1e0
 [<c02d5d9f>] sock_alloc_send_skb+0x2f/0x40
 [<c02f4871>] ip_append_data+0x6c1/0x790
 [<c029d65f>] e100_prepare_xmit_buff+0x12f/0x230
 [<c029beaa>] e100_xmit_frame+0xda/0x120
 [<c02e7707>] qdisc_restart+0x17/0x260
 [<c02db192>] dev_queue_xmit+0x2c2/0x350
 [<c02f2fce>] ip_finish_output+0xee/0x220
 [<c0326dbb>] ipt_do_table+0x2eb/0x400
 [<c02f3c8d>] ip_fragment+0x2bd/0x720
 [<c01cf290>] exp_find_key+0x80/0xa0
 [<c02e6b44>] nf_hook_slow+0x104/0x160
 [<c01c6bad>] export_decode_fh+0x5d/0x79
 [<c01c9400>] nfsd_acceptable+0x0/0x140
 [<c01c98d6>] fh_verify+0x396/0x5a0
 [<c01c9400>] nfsd_acceptable+0x0/0x140
 [<c02f5670>] dst_output+0x0/0x30
 [<c01cafa4>] nfsd_open+0x44/0x160
 [<c01cb332>] nfsd_read+0x52/0x410
 [<c011cd7a>] __wake_up_common+0x3a/0x60
 [<c033e82a>] svcauth_unix_accept+0x28a/0x2b0
 [<c01d3261>] nfsd3_proc_read+0xd1/0x1b0
 [<c01c7378>] nfsd_dispatch+0xe8/0x1f0
 [<c033a0ec>] svc_process+0x4ec/0x67d
 [<c01c706f>] nfsd+0x23f/0x460
 [<c01c6e30>] nfsd+0x0/0x460
 [<c01072e9>] kernel_thread_helper+0x5/0xc
Code: 0f 0b 6a 00 56 8c 35 c0 83 c4 10 5b 5e 5f 5d c3 e8 63 9c ec


>>EIP; c0253058 <cmn_err+b8/d0>   <=====

>>ebx; f682e000 <_end+363e7a5c/3fbb7a5c>
>>ecx; c2e437c8 <_end+29fd224/3fbb7a5c>
>>edx; c038629c <log_wait+4/c>
>>esi; c0357380 <__func__.4+bc39/3767b>
>>edi; c043e2de <message+3e/100>
>>esp; f682f9fc <_end+363e9458/3fbb7a5c>

Trace; c021c8bc <xfs_iget_core+5ec/780>
Trace; c0173089 <alloc_inode+d9/190>
Trace; c0252977 <vn_initialize+c7/f0>
Trace; c021cbb0 <xfs_iget+160/1a0>
Trace; c023c639 <xfs_vget+79/f0>
Trace; c0252153 <vfs_vget+43/50>
Trace; c0251ab3 <linvfs_get_dentry+53/90>
Trace; c01c5fae <find_exported_dentry+3e/880>
Trace; c01742e4 <iget_locked+74/100>
Trace; c01fdfdf <xfs_bmbt_get_state+2f/40>
Trace; c01f520d <xfs_bmap_do_search_extents+27d/410>
Trace; c0316f58 <udp_queue_rcv_skb+228/2c0>
Trace; c01f541b <xfs_bmap_search_extents+7b/90>
Trace; c02d66d7 <alloc_skb+47/f0>
Trace; c01f6b54 <xfs_bmapi+2c4/1580>
Trace; c02d5c5b <sock_alloc_send_pskb+cb/1e0>
Trace; c02d5d9f <sock_alloc_send_skb+2f/40>
Trace; c02f4871 <ip_append_data+6c1/790>
Trace; c029d65f <e100_prepare_xmit_buff+12f/230>
Trace; c029beaa <e100_xmit_frame+da/120>
Trace; c02e7707 <qdisc_restart+17/260>
Trace; c02db192 <dev_queue_xmit+2c2/350>
Trace; c02f2fce <ip_finish_output+ee/220>
Trace; c0326dbb <ipt_do_table+2eb/400>
Trace; c02f3c8d <ip_fragment+2bd/720>
Trace; c01cf290 <exp_find_key+80/a0>
Trace; c02e6b44 <nf_hook_slow+104/160>
Trace; c01c6bad <export_decode_fh+5d/79>
Trace; c01c9400 <nfsd_acceptable+0/140>
Trace; c01c98d6 <fh_verify+396/5a0>
Trace; c01c9400 <nfsd_acceptable+0/140>
Trace; c02f5670 <dst_output+0/30>
Trace; c01cafa4 <nfsd_open+44/160>
Trace; c01cb332 <nfsd_read+52/410>
Trace; c011cd7a <__wake_up_common+3a/60>
Trace; c033e82a <svcauth_unix_accept+28a/2b0>
Trace; c01d3261 <nfsd3_proc_read+d1/1b0>
Trace; c01c7378 <nfsd_dispatch+e8/1f0>
Trace; c033a0ec <svc_process+4ec/67d>
Trace; c01c706f <nfsd+23f/460>
Trace; c01c6e30 <nfsd+0/460>
Trace; c01072e9 <kernel_thread_helper+5/c>

Code;  c0253058 <cmn_err+b8/d0>
00000000 <_EIP>:
Code;  c0253058 <cmn_err+b8/d0>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  c025305a <cmn_err+ba/d0>
   2:   6a 00                     push   $0x0
Code;  c025305c <cmn_err+bc/d0>
   4:   56                        push   %esi
Code;  c025305d <cmn_err+bd/d0>
   5:   8c 35 c0 83 c4 10         movl   %?,0x10c483c0
Code;  c0253063 <cmn_err+c3/d0>
   b:   5b                        pop    %ebx
Code;  c0253064 <cmn_err+c4/d0>
   c:   5e                        pop    %esi
Code;  c0253065 <cmn_err+c5/d0>
   d:   5f                        pop    %edi
Code;  c0253066 <cmn_err+c6/d0>
   e:   5d                        pop    %ebp
Code;  c0253067 <cmn_err+c7/d0>
   f:   c3                        ret    
Code;  c0253068 <cmn_err+c8/d0>
  10:   e8 63 9c ec 00            call   ec9c78 <_EIP+0xec9c78>

After this error happened, any process trying to access the XFS filesystem 
was hanged in D state (even a simple cd /mnt/xfs/dir).

I have attached the .config used for this kernel. More infos:
$ ./scripts/ver_linux 
Linux l 2.6.0-test11 #6 SMP Mon Dec 8 18:57:40 EET 2003 i686 Intel(R) 
Pentium(R) III CPU family      1133MHz GenuineIntel GNU/Linux

Gnu C                  3.2.3
Gnu make               3.80
util-linux             2.11z
mount                  2.11z
module-init-tools      implemented (heh, I'm not using modules anyways)
e2fsprogs              1.33
nfs-utils              1.0.6
Linux C Library        2.3.2
Dynamic linker (ldd)   2.3.2
Procps                 3.1.12
Net-tools              1.60
Kbd                    1.06
Sh-utils               5.0

$ xfs_info /mnt/xfs/
meta-data=/mnt/xfs               isize=256    agcount=35, agsize=1048576 blks
         =                       sectsz=512  
data     =                       bsize=4096   blocks=35830966, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=0
naming   =version 2              bsize=4096  
log      =external               bsize=4096   blocks=32768, version=1
         =                       sectsz=512   sunit=0 blks
realtime =none                   extsz=65536  blocks=0, rtextents=0

Thanks!

- -- 
Mihai RUSU                                    Email: dizzy@xxxxxxxxx
GPG : http://dizzy.roedu.net/dizzy-gpg.txt    WWW: http://dizzy.roedu.net
                       "Linux is obsolete" -- AST
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/1tbCPZzOzrZY/1QRAgwWAJ94Sy++UuwQdf7MrqmedL+ngYdxOwCbBoot
2f1W+gzRDzm1BlFZY/Uxo1Y=
=Q4Cs
-----END PGP SIGNATURE-----

Attachment: config-kernel
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>