From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id DC9D77F6A for ; Sat, 19 Jul 2014 16:02:40 -0500 (CDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay1.corp.sgi.com (Postfix) with ESMTP id BC2CC8F8049 for ; Sat, 19 Jul 2014 14:02:40 -0700 (PDT) Received: from login.slnx.de (login.slnx.de [144.76.43.250]) by cuda.sgi.com with ESMTP id 2bRKcfj45H8NUDwe for ; Sat, 19 Jul 2014 14:02:38 -0700 (PDT) Date: Sat, 19 Jul 2014 23:02:45 +0200 From: Andre Noll Subject: Re: assert in xfs_log_commit_cil Message-ID: <20140719210245.GL17283@slnx.de> References: <20140124193702.GM26064@sgi.com> <20140124222017.GB26397@dastard> MIME-Version: 1.0 In-Reply-To: <20140124222017.GB26397@dastard> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3765920030536050996==" Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: Ben Myers , xfs@oss.sgi.com --===============3765920030536050996== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L/Qt9NZ8t00Dhfad" Content-Disposition: inline --L/Qt9NZ8t00Dhfad Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 25, 09:20, Dave Chinner wrote: > > I hit this assertion on one of my test boxes today: > >=20 > > [1167966.151275] XFS: Assertion failed: !list_empty(&cil->xc_cil), file= : /root/xfs/fs/xfs/xfs_log_cil.c, line: 636 >=20 > I suppose that can happen if we are committing a transaction that > has no dirty objects in it. But that can't happen from > xfs_setfilesize(). That implies memory corruption or that someone has > busted rwsem behaviour. >=20 > > [1167966.162659] ------------[ cut here ]------------ > > [1167966.168021] kernel BUG at /root/xfs/fs/xfs/xfs_message.c:107! > > [1167966.168026] invalid opcode: 0000 [#4] SMP > > [1167966.168081] Modules linked in: xfs(OF) ext2(F) dm_flakey(F) crc32c= (F) libcrc32c(F) autofs4(F) cpufreq_conservative(F) cpufreq_userspace(F) cp= ufreq_powersave(F) microcode(F) fuse(F) loop(F) dm_mod(F) joydev(F) hid_gen= eric(F) usbhid(F) hid(F) ehci_pci(F) ehci_hcd(F) iTCO_wdt(F) iTCO_vendor_su= pport(F) ipv6(F) usbcore(F) sg(F) igb(F) isci(F) sr_mod(F) pcspkr(F) mptctl= (F) cdrom(F) libsas(F) usb_common(F) ioatdma(F) ptp(F) i2c_i801(F) lpc_ich(= F) mfd_core(F) pps_core(F) dca(F) rtc_cmos(F) acpi_cpufreq(F) wmi(F) button= (F) mgag200(F) ttm(F) drm_kms_helper(F) drm(F) i2c_algo_bit(F) sysimgblt(F)= sysfillrect(F) i2c_core(F) syscopyarea(F) sd_mod(F) crc_t10dif(F) crct10di= f_common(F) mpt2sas(F) raid_class(F) scsi_dh_emc(F) scsi_dh_rdac(F) scsi_dh= _alua(F) scsi_dh_hp_sw(F) scsi_dh(F) thermal(F) sata_nv(F) processor(F) pii= x(F) mptsas(F) mptscsih(F) scsi_transport_sas(F) mptbase(F) megaraid_sas(F)= ide_generic(F) ide_core(F) fan(F) thermal_sys(F) hwmon(F) ext3(F) jbd(F) m= bcache(F) edd(F)=20 > at > > a_piix(F) ahci(F) libahci(F) libata(F) scsi_mod(F) [last unloaded: scs= i_debug] > > [1167966.168102] CPU: 10 PID: 13005 Comm: kworker/10:3 Tainted: GF = D IO 3.13.0-rc2-0.9-default #28 >=20 > That's a rather heavily tainted kernel you are testing there. FWIW, I'm also seeing this on an untainted 3.14.11 kernel: [95004.073063] XFS: Assertion failed: !list_empty(&cil->xc_cil), file: fs/x= fs/xfs_log_cil.c, line: 647 [95004.073068] ------------[ cut here ]------------ [95004.073079] WARNING: CPU: 5 PID: 13368 at fs/xfs/xfs_message.c:99 xfs_lo= g_commit_cil+0x371/0x5a0() [95004.073081] Modules linked in: af_packet [95004.073087] CPU: 5 PID: 13368 Comm: kworker/5:4 Not tainted 3.14.11 #18 [95004.073088] Hardware name: Supermicro H8DG6/H8DGi/H8DG6/H8DGi, BIOS 2.0b= 03/01/2012 [95004.073094] Workqueue: xfs-data/dm-1 xfs_end_io [95004.073096] 0000000000000000 ffffffff81760b6c ffffffff815b37a1 00000000= 00000000 [95004.073098] ffffffff8103c3f2 ffff880fe098b900 ffff881e6fcb0d00 ffff880f= e098b900 [95004.073100] ffff881e6fcb0dd8 ffff8823bc512600 ffffffff81262db1 00000000= 00000000 [95004.073103] Call Trace: [95004.073110] [] ? dump_stack+0x41/0x51 [95004.073114] [] ? warn_slowpath_common+0x82/0xb0 [95004.073117] [] ? xfs_log_commit_cil+0x371/0x5a0 [95004.073120] [] ? xfs_trans_commit+0xcb/0x2c0 [95004.073123] [] ? xfs_end_io+0x6c/0xe0 [95004.073126] [] ? process_one_work+0x13e/0x3b0 [95004.073129] [] ? worker_thread+0x109/0x350 [95004.073131] [] ? manage_workers.isra.28+0x2c0/0x2c0 [95004.073134] [] ? kthread+0xbc/0xe0 [95004.073136] [] ? kthread_freezable_should_stop+0x60/0= x60 [95004.073139] [] ? ret_from_fork+0x7c/0xb0 [95004.073141] [] ? kthread_freezable_should_stop+0x60/0= x60 [95004.073142] ---[ end trace b591fe6842af909e ]--- Any hints? Andre --=20 The only person who always got his work done by Friday was Robinson Crusoe --L/Qt9NZ8t00Dhfad Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlPK3PUACgkQWto1QDEAkw+B2wCfVVA/SNLrYe8b3MX2yDzZ+CVr IxIAnRidVel7Xxv+51khmlAhi3Pnskqv =DWrS -----END PGP SIGNATURE----- --L/Qt9NZ8t00Dhfad-- --===============3765920030536050996== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs --===============3765920030536050996==--