Bug 629143 - Assertion failure in ext3_put_super() at fs/ext3/super.c:426: "list_empty(&sbi->s_orphan)"
Summary: Assertion failure in ext3_put_super() at fs/ext3/super.c:426: "list_empty(&sb...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.8
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Josef Bacik
QA Contact: Igor Zhang
URL:
Whiteboard:
: 628795 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-01 04:25 UTC by Lachlan McIlroy
Modified: 2018-11-14 17:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-16 16:04:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to fix problem, ported from BZ588599. (2.21 KB, patch)
2010-09-02 06:10 UTC, Lachlan McIlroy
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0263 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 4.9 kernel security and bug fix update 2011-02-16 15:14:55 UTC

Description Lachlan McIlroy 2010-09-01 04:25:54 UTC
Description of problem:
This looks to be the same problem fixed in RHEL5 in BZ588599.

sb orphan head is 13
sb_info orphan list:
  inode loop0:13 at 00000100111466c8: mode 100644, nlink 1, next 15
  inode loop0:15 at 0000010011146d58: mode 100644, nlink 1, next 0
Assertion failure in ext3_put_super() at fs/ext3/super.c:426: "list_empty(&sbi->s_orphan)"
----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at super:426
invalid operand: 0000 [1] SMP 
CPU 1 
Modules linked in: loop md5 ipv6 parport_pc lp parport autofs4 i2c_dev i2c_core sunrpc ds yenta_socket pcmcia_core cpufreq_powersave ide_dump scsi_dump diskdump zlib_deflate button battery ac uhci_hcd virtio_pci virtio_ring virtio snd_ens1370 snd_rawmidi snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_ak4531_codec snd soundcore 8139cp mii floppy dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod sym53c8xx scsi_transport_spi sd_mod scsi_mod
Pid: 15129, comm: umount Not tainted 2.6.9-89.0.28.ELsmp
RIP: 0010:[<ffffffffa0079622>] <ffffffffa0079622>{:ext3:ext3_put_super+439}
RSP: 0018:000001001b971e58  EFLAGS: 00010216
RAX: 000000000000005e RBX: 000001001cff1160 RCX: ffffffff803f6fe8
RDX: ffffffff803f6fe8 RSI: 0000000000000246 RDI: ffffffff803f6fe0
RBP: 000001001cff0000 R08: ffffffff803f6fe8 R09: 000001001cff1160
R10: 0000000100000000 R11: ffffffff8011f688 R12: 0000000000000000
R13: 000001001f888400 R14: 0000000000000000 R15: 0000000000611b50
FS:  0000002a95574b00(0000) GS:ffffffff80504f80(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000007fbffff826 CR3: 000000001fc48000 CR4: 00000000000006e0
Process umount (pid: 15129, threadinfo 000001001b970000, task 000001001e7f8030)
Stack: ffffffffa007946b 0000000000000000 000001001f888400 ffffffffa008f3c0 
       000001001f888400 ffffffff80181ac1 000001001e7c06c0 000001001f888400 
       ffffffffa008f280 ffffffff801828e3 
Call Trace:<ffffffffa007946b>{:ext3:ext3_put_super+0} <ffffffff80181ac1>{generic_shutdown_super+198} 
       <ffffffff801828e3>{kill_block_super+13} <ffffffff801819e2>{deactivate_super+95} 
       <ffffffff8019838e>{sys_umount+925} <ffffffff80185013>{sys_newstat+17} 
       <ffffffff80110e09>{error_exit+0} <ffffffff801102de>{system_call+126} 
       

Code: 0f 0b db 21 08 a0 ff ff ff ff aa 01 49 8b bd 10 01 00 00 31 
RIP <ffffffffa0079622>{:ext3:ext3_put_super+439} RSP <000001001b971e58>

Version-Release number of selected component (if applicable):
kernel-2.6.9-89.0.28.ELsmp

How reproducible:
Using the test case from BZ588599 it took about 24 hours to hit the problem.

Comment 1 Lachlan McIlroy 2010-09-02 06:10:24 UTC
Created attachment 442544 [details]
Patch to fix problem, ported from BZ588599.

This is the same patch that fixed BZ588599 with one subtle difference in the comments in ext3_direct_IO().

Comment 2 Eric Sandeen 2010-09-02 16:09:20 UTC
Josef, do you mind shepherding this one since you had bug #588599 ?

Thanks,
-Eric

Comment 3 Josef Bacik 2010-09-09 15:40:04 UTC
*** Bug 628795 has been marked as a duplicate of this bug. ***

Comment 4 Josef Bacik 2010-09-09 15:41:28 UTC
Lachlan,

Do you want to post the patch or do you want me to?  Either way is good for me.

Comment 5 RHEL Program Management 2010-09-09 15:59:18 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 7 Vivek Goyal 2010-10-04 13:42:26 UTC
Committed in 89.38.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/

Comment 12 errata-xmlrpc 2011-02-16 16:04:17 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0263.html


Note You need to log in before you can comment on or make changes to this bug.