xfs
[Top] [All Lists]

XFS bug

To: linux-xfs@xxxxxxxxxxx
Subject: XFS bug
From: Rahul Jain <rjain@xxxxxxxx>
Date: Wed, 31 Jan 2001 03:29:41 -0600
Reply-to: rahul@xxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.12i
On a CVS checkout of xfs-2.4-linux compiled with gcc 2.95.3 (in debian sid),
with -march=k6 added to the compilation flags, I ran the fsstress test program,
and after some time, recieved the following error:

=====

Jan 31 02:26:40 photino kernel: XFS assertion failed: tp->t_blk_res_used <= 
tp->t_blk_res, file: xfs_trans.c, line: 335
Jan 31 02:26:41 photino kernel: kernel BUG at debug.c:48!
Jan 31 02:26:41 photino kernel: invalid operand: 0000
Jan 31 02:26:41 photino kernel: CPU:    0
Jan 31 02:26:42 photino kernel: EIP:    0010:[assfail+42/48]
Jan 31 02:26:42 photino kernel: EFLAGS: 00010282
Jan 31 02:26:42 photino kernel: eax: 0000001a   ebx: c65836e0   ecx: c0310588   
edx: c0310588
Jan 31 02:26:42 photino kernel: esi: fffffff1   edi: 00000000   ebp: c6611c78   
esp: c6611b3c
Jan 31 02:26:42 photino kernel: ds: 0018   es: 0018   ss: 0018
Jan 31 02:26:42 photino kernel: Process page_daemon (pid: 1811, 
stackpage=c6611000)
Jan 31 02:26:42 photino kernel: Stack: c02d25d7 c02d26ae 00000030 c01c3126 
c02cbf20 c02cbd76 0000014f c6611c78 
Jan 31 02:26:42 photino kernel:        fffffff1 c016a6da c65836e0 00000004 
fffffff1 c7da6dd8 00000001 c016d018 
Jan 31 02:26:42 photino kernel:        c6611c78 c7da6c00 00044c91 00000000 
c6611c78 c6611dc0 c6611dc0 c7da6c00 
Jan 31 02:26:42 photino kernel: Call Trace: [xfs_trans_mod_sb+322/680] 
[xfs_alloc_ag_vextent+606/632] [xfs_alloc_vextent+552/1256] 
[xfs_bmap_alloc+5617/6524] [_page_buf_page_apply+263/280] 
[xfs_mod_incore_sb+30/40] [xfs_bmapi+1974/5984] 
Jan 31 02:26:43 photino kernel:        [xlog_state_release_iclog+265/280] 
[<fffe0005>] [xfs_strategy+1683/2600] [create_buffers+96/432] 
[free_shortage+25/176] [balance_dirty_state+57/92] [balance_dirty+11/28] 
[linvfs_pb_bmap+154/164] 

=====

I had to ctrl-c from the fsstress process to stop it at that point, since it
seem hung, and running it again managed to lock my X session (presumably
waiting to use some files on /var, my XFS partition (and I have /tmp ->
/var/tmp/tmp)). Using magic sysrq, I managed to sync, umount, and reboot, and
it seems that everything carried on fine, except for some string of nulls in
/var/log/messages in the error message I included above. Fortunately,
/var/log/syslog also had a copy of the same error message.

And so, I'll end my rambling. Feel free to ask any questions, and thanks to all
the XFS team members and to SGI for making it possible for me to use such an
advanced and powerful filesystem on my desktop computer. Here's to a quick
maturation of the Linux port! :)

-- 
-> -/-                       - Rahul Jain -                       -\- <-
-> -\- http://linux.rice.edu/~rahul -=- mailto:rahul-jain@xxxxxxx -/- <-
-> -/- "I never could get the hang of Thursdays." - HHGTTG by DNA -\- <-
|--|--------|--------------|----|-------------|------|---------|-----|-|
   Version 11.423.999.220020101.23.50110101.042
   (c)1996-2000, All rights reserved. Disclaimer available upon request.

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