Re: Assertion failure in journal_flush()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

We encountered a problem by chance today, a kernel bug which causes the 
following error:

  Assertion failure in journal_fl sh() at journal.c:1310: 
    "!journal->j_running_transaction"
  kernel BUG at journal.c:1310!

This happened while remounting an ext3 filesystem read-only. We often do 
this and haven't seen this bug before, so I suspect some kind of race.

It appears to be related to a message posted to this list in January 2002 
by Carsted Otte 
[https://listman.redhat.com/pipermail/ext3-users/2002-January/002572.html].

I noticed the repeat_lock patch given by Stephen Tweedie later in that 
thread. I don't have the original source used to build this kernel 
(2.4.19-FW25), but it appears that the patch has been applied in 2.4.20 at 
least, so this may not be the same problem.

The full decoded oops is attached. Currently we have no way to reproduce 
this problem.

Cheers, Chris.
-- 
   ___ __     _
 / __// / ,__(_)_  | Chris Wilson -- UNIX Firewall Lead Developer |
/ (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
\ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |
ksymoops 2.4.4 on i686 2.4.18-19.7.x.  Options used
     -V (default)
     -k ksyms (specified)
     -l modules (specified)
     -o /lib/modules/2.4.18-19.7.x/ (default)
     -m System.map (specified)

Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/drivers/net/ppp_mppe.o for module ppp_mppe has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/sched/cls_u32.o for module cls_u32 has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/sched/sch_htb.o for module sch_htb has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipx/ipx.o for module ipx has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ip_queue.o for module ip_queue has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipsec/ipsec.o for module ipsec has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/drivers/net/ppp_async.o for module ppp_async has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/drivers/net/ppp_generic.o for module ppp_generic has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/packet/af_packet.o for module af_packet has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/drivers/net/eepro100.o for module eepro100 has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/drivers/usb/usb-uhci.o for module usb-uhci has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/drivers/usb/usbcore.o for module usbcore has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/drivers/isdn/hisax/hisax.o for module hisax has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/drivers/isdn/isdn.o for module isdn has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/drivers/net/slhc.o for module slhc has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ipt_LOG.o for module ipt_LOG has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ipt_limit.o for module ipt_limit has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ipt_owner.o for module ipt_owner has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ipt_REJECT.o for module ipt_REJECT has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ipt_multiport.o for module ipt_multiport has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ipt_MASQUERADE.o for module ipt_MASQUERADE has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ipt_state.o for module ipt_state has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ip_nat_ftp.o for module ip_nat_ftp has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ip_conntrack_pptp.o for module ip_conntrack_pptp has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ip_conntrack_proto_gre.o for module ip_conntrack_proto_gre has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ip_conntrack_irc.o for module ip_conntrack_irc has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ip_conntrack_ftp.o for module ip_conntrack_ftp has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/iptable_nat.o for module iptable_nat has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ip_conntrack.o for module ip_conntrack has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/iptable_mangle.o for module iptable_mangle has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/iptable_filter.o for module iptable_filter has changed since load
Warning (expand_objects): object /lib/modules/2.4.19-FW25/kernel/net/ipv4/netfilter/ip_tables.o for module ip_tables has changed since load
Warning (compare_maps): mismatch on symbol zeroes  , ipsec says c8940e00, /lib/modules/2.4.19-FW25/kernel/net/ipsec/ipsec.o says c8940d00.  Ignoring /lib/modules/2.4.19-FW25/kernel/net/ipsec/ipsec.o entry

Assertion failure in journal_flush() at journal.c:1310: "!journal->j_running_transaction"
kernel BUG at journal.c:1310!
invalid operand: 0000
CPU:    0
EIP:    0010:[<c016423a>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010292
eax: 0000005d   ebx: 00000019   ecx: 00000001   edx: 00000001
esi: c7ef4a00   edi: 00000000   ebp: c5360000   esp: c535ded4
ds: 0018   es: 0018   ss: 0018
Process mount (pid: 524, stackpage=c535d000)
Stack: c0223d80 c022217d c02220b2 0000051e c0226f60 c7ef4800 c7788400 c535df64
       c015dad1 c7ef4a00 c7ef4800 c015dda9 c7ef4800 c7788400 c02482a0 c7ef4844
       c7ef4800 c0138a2d c7ef4800 c535df38 c5360000 c7ef4834 c7ef4800 c01495d5
Call Trace:    [<c015dad1>] [<c015dda9>] [<c0138a2d>] [<c01495d5>] [<c0149af5>]
  [<c014999f>] [<c0149efc>] [<c0108c43>]
Code: 0f 0b 1e 05 b2 20 22 c0 83 c4 14 8b 56 30 85 d2 74 29 68 80

>>EIP; c016423a <journal_flush+ca/1b0>   <=====
Trace; c015dad1 <ext3_mark_recovery_complete+11/50>
Trace; c015dda9 <ext3_remount+b9/130>
Trace; c0138a2d <do_remount_sb+bd/f0>
Trace; c01495d5 <do_remount+85/b0>
Trace; c0149af5 <do_mount+f5/190>
Trace; c014999f <copy_mount_options+4f/b0>
Trace; c0149efc <sys_mount+7c/c0>
Trace; c0108c43 <system_call+33/40>
Code;  c016423a <journal_flush+ca/1b0>
00000000 <_EIP>:
Code;  c016423a <journal_flush+ca/1b0>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  c016423c <journal_flush+cc/1b0>
   2:   1e                        push   %ds
Code;  c016423d <journal_flush+cd/1b0>
   3:   05 b2 20 22 c0            add    $0xc02220b2,%eax
Code;  c0164242 <journal_flush+d2/1b0>
   8:   83 c4 14                  add    $0x14,%esp
Code;  c0164245 <journal_flush+d5/1b0>
   b:   8b 56 30                  mov    0x30(%esi),%edx
Code;  c0164248 <journal_flush+d8/1b0>
   e:   85 d2                     test   %edx,%edx
Code;  c016424a <journal_flush+da/1b0>
  10:   74 29                     je     3b <_EIP+0x3b> c0164275 <journal_flush+105/1b0>
Code;  c016424c <journal_flush+dc/1b0>
  12:   68 80 00 00 00            push   $0x80


33 warnings issued.  Results may not be reliable.

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux