From: Marc MERLIN Subject: Re: ext4 crash with 3.5.2 in ext4_ext_remove_space Date: Fri, 7 Sep 2012 08:19:42 -0700 Message-ID: <20120907151942.GA16562@merlins.org> References: <20120726033223.GA5884@thunk.org> <20120726065412.GB20315@merlins.org> <20120801053042.GG12695@merlins.org> <20120816075004.GE8802@merlins.org> <502CC2A2.4010506@shiftmail.org> <20120816175540.GH8802@merlins.org> <20120905165210.GD6955@merlins.org> <20120906042426.GC26051@merlins.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-ext4@vger.kernel.org To: =?utf-8?B?THVrw6HFoQ==?= Czerner Return-path: Received: from magic.merlins.org ([209.81.13.136]:48214 "EHLO mail1.merlins.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751217Ab2IGPTn convert rfc822-to-8bit (ORCPT ); Fri, 7 Sep 2012 11:19:43 -0400 Content-Disposition: inline In-Reply-To: <20120906042426.GC26051@merlins.org> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Wed, Sep 05, 2012 at 09:24:26PM -0700, Marc MERLIN wrote: > On Wed, Sep 05, 2012 at 01:50:54PM -0400, Luk=C3=A1=C5=A1 Czerner wro= te: > > Hi, > >=20 > > I believe that this has been fixed with v3.6-rc1-5-g89a4e48 and it > > was marked for stable release as well. >=20 > If that helps, it was indeed a single orphaned inode. After clearing = it,=20 > I was able to mount the partition without problems. >=20 > gargamel:~# e2fsck -y /dev/mapper/dshelf2-space > e2fsck 1.42.5 (29-Jul-2012) > /dev/mapper/dshelf2-space: recovering journal > Clearing orphaned inode 92668757 (uid=3D1002, gid=3D8, mode=3D0100660= , size=3D6574695342) > /dev/mapper/dshelf2-space: clean, 16987882/114098176 files, 426716110= /456392704 blocks Would you happen to have a link to the patch, I had this crash again, I= 'd like to check if it's in 3.5.3 or apply it myself to stop further crash= es. Thanks, Marc =20 > Cheers, > Marc >=20 > > -Lukas > >=20 > > On Wed, 5 Sep 2012, Marc MERLIN wrote: > >=20 > > > Date: Wed, 5 Sep 2012 09:52:10 -0700 > > > From: Marc MERLIN > > > To: linux-ext4@vger.kernel.org > > > Subject: ext4 crash with 3.5.2 in ext4_ext_remove_space > > >=20 > > > I get a crash when mounting a filesystem. > > > I'm making an image now with e2image -r before I run e2fsck on it= =2E > > >=20 > > > Is there anything else you'd like me to do? > > >=20 > > > [13090.175424] BUG: unable to handle kernel NULL pointer derefere= nce at 0000000000000028 > > > [13090.184897] IP: [] ext4_ext_remove_space+0x8= 3d/0xb51 > > > [13090.192927] PGD 1120d7067 PUD 1123ac067 PMD 0=20 > > > [13090.198469] Oops: 0000 [#1] PREEMPT SMP=20 > > > [13090.203508] CPU 1=20 > > > [13090.205368] Modules linked in:[13090.209508] ppdev lp tun aut= ofs4 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_me= mcpy async_tx sata_mv kl5kusb105 ftdi_sio keyspan nfsd nfs lockd fscach= e auth_rpcgss nfs_acl sunrpc ipt_REJECT xt_state xt_tcpudp xt_LOG iptab= le_mangle iptable_filter deflate ctr twofish_generic twofish_x86_64_3wa= y twofish_x86_64 twofish_common camellia_generic camellia_x86_64 serpen= t_sse2_x86_64 lrw serpent_generic xts gf128mul cast5 des_generic xcbc r= md160 sha512_generic crypto_null af_key xfrm_algo blowfish_generic blow= fish_x86_64 blowfish_common dm_crypt dm_mirror dm_region_hash dm_log ae= s_x86_64 fuse lm85 hwmon_vid dm_snapshot dm_mod iptable_nat ip_tables n= f_conntrack_ftp ipt_MASQUERADE nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 = x_tables nf_conntrack sg st snd_pcm_oss snd_mixer_oss snd_hda_codec_hdm= i snd_hda_codec_realtek rc_ati_x10 ati_remote rc_core pl2303 usbserial = i915 snd_hda_intel snd_cmipci snd_hda_codec gameport drm_kms_helper dr! > > m ! > > > snd_opl3_lib snd_mpu401_uart eeepc_wmi asus_wmi > > > i2c_algo_bit[13090.315877] sparse_keymap rfkill snd_hwdep snd_s= eq_midi acpi_cpufreq snd_seq_midi_event mperf kvm_intel kvm processor s= nd_seq snd_pcm pci_hotplug ehci_hcd wmi parport_pc xhci_hcd microcode b= utton video sata_sil24 parport snd_rawmidi snd_timer usbcore crc32c_int= el ghash_clmulni_intel i2c_i801 snd_seq_device cryptd evdev snd lpc_ich= mei i2c_core pcspkr snd_page_alloc thermal_sys usb_common soundcore co= retemp r8169 mii tpm_tis tpm tpm_bios [last unloaded: kl5kusb105] > > >=20 > > > [13090.370146] Pid: 9658, comm: mount Not tainted 3.5.2-amd64-pre= empt-noide-20120903 #1 System manufacturer System Product Name/P8H67-M = PRO > > > [13090.387559] RIP: 0010:[] [] ext4_ext_remove_space+0x83d/0xb51 > > > [13090.398254] RSP: 0018:ffff88012b4c7a18 EFLAGS: 00010246 > > > [13090.406241] RAX: 0000000000000000 RBX: ffff8800a41fb4e8 RCX: f= fff8800a41fb450 > > > [13090.416102] RDX: 0000000000000001 RSI: 0000000000000002 RDI: 0= 00000001b340000 > > > [13090.426003] RBP: ffff88012b4c7af8 R08: 000000001b340000 R09: f= fff88008ae6f6e0 > > > [13090.435920] R10: ffff880000000000 R11: 0000000000000000 R12: f= fff8801156e86f0 > > > [13090.445782] R13: 0000000000000000 R14: ffff8801156e86c0 R15: 0= 000000000000000 > > > [13090.455627] FS: 0000000000000000(0000) GS:ffff88013fa80000(00= 63) knlGS:00000000f75ae750 > > > [13090.466451] CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b > > > [13090.475010] CR2: 0000000000000028 CR3: 0000000115614000 CR4: 0= 0000000000407e0 > > > [13090.484921] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0= 000000000000000 > > > [13090.494802] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0= 000000000000400 > > > [13090.504649] Process mount (pid: 9658, threadinfo ffff88012b4c6= 000, task ffff88008d91c4c0) > > > [13090.515567] Stack: > > > [13090.520209] ffff88012b4c7a28 ffffffff81175f65 ffff88012b4c7a8= 8 ffffffff81179c44 > > > [13090.530426] ffff880100001000 00000000fffffff5 ffffffffa41fb43= 8 ffff8801156e8748 > > > [13090.540694] 00000000000a77ff ffff8800a41fb438 000000000800780= 0 ffff880122e67800 > > > [13090.551124] Call Trace: > > > [13090.556238] [] ? brelse+0xe/0x10 > > > [13090.564018] [] ? ext4_mark_iloc_dirty+0x51c= /0x581 > > > [13090.573175] [] ext4_ext_truncate+0xcd/0x179 > > > [13090.581856] [] ? __inode_wait_for_writeback= +0x67/0xa9 > > > [13090.591316] [] ext4_truncate+0x9c/0xdf > > > [13090.599434] [] ext4_evict_inode+0x1e9/0x2d6 > > > [13090.608273] [] evict+0xa8/0x162 > > > [13090.615846] [] iput+0x1b3/0x1bb > > > [13090.623284] [] ext4_fill_super+0x214b/0x256= b > > > [13090.631785] [] ? vsnprintf+0x1ce/0x421 > > > [13090.639778] [] ? set_blocksize+0x36/0x86 > > > [13090.647864] [] mount_bdev+0x14b/0x1ad > > > [13090.655707] [] ? ext4_calculate_overhead+0x= 247/0x247 > > > [13090.664876] [] ? alloc_vfsmnt+0xa6/0x198 > > > [13090.672989] [] ext4_mount+0x10/0x12 > > > [13090.680564] [] mount_fs+0x64/0x150 > > > [13090.687944] [] ? __alloc_percpu+0xb/0xd > > > [13090.695702] [] vfs_kern_mount+0x64/0xde > > > [13090.703435] [] do_kern_mount+0x48/0xda > > > [13090.711023] [] do_mount+0x6a1/0x704 > > > [13090.718294] [] ? memdup_user+0x38/0x60 > > > [13090.725767] [] ? strndup_user+0x36/0x4c > > > [13090.733260] [] compat_sys_mount+0x208/0x242 > > > [13090.741047] [] sysenter_dispatch+0x7/0x21 > > > [13090.748612] Code: ff 4c 63 65 b8 4d 6b e4 30 4c 03 65 b0 e9 fd= 00 00 00 48 63 55 b8 4c 6b e2 30 4c 03 65 b0 49 83 7c 24 20 00 75 0e 4= 9 8b 44 24 28 <48> 8b 40 28 49 89 44 24 20 49 8b 44 24 18 48 85 c0 75 2= 2 49 8b=20 > > > [13090.772841] RIP [] ext4_ext_remove_space+0x= 83d/0xb51 > > > [13090.781438] RSP > > > [13090.786758] CR2: 0000000000000028 > > > [13090.804674] ---[ end trace 880c73500bb7f09f ]--- > > > [13090.810808] Kernel panic - not syncing: Fatal exception > > > [13090.817346] panic occurred, switching back to text console > > > [13090.824556] Rebooting in 20 seconds.. > > > [13110.758740] ACPI MEMORY or I/O RESET_REG. > > >=20 > >=20 >=20 > --=20 > "A mouse is a device used to point at the xterm you want to type in" = - A.S.R. > Microsoft is to operating systems .... > .... what McDonalds is to gourm= et cooking > Home page: http://marc.merlins.org/ --=20 "A mouse is a device used to point at the xterm you want to type in" - = A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet= cooking Home page: http://marc.merlins.org/ =20 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html