Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761063AbXEPQnw (ORCPT ); Wed, 16 May 2007 12:43:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756011AbXEPQnq (ORCPT ); Wed, 16 May 2007 12:43:46 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:36957 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753742AbXEPQnp (ORCPT ); Wed, 16 May 2007 12:43:45 -0400 Date: Wed, 16 May 2007 09:41:33 -0700 From: Andrew Morton To: Michal Piotrowski Cc: linux-kernel@vger.kernel.org, xfs-masters@oss.sgi.com Subject: Re: 2.6.22-rc1-mm1 Message-Id: <20070516094133.bec04e65.akpm@linux-foundation.org> In-Reply-To: <464B304C.5040104@googlemail.com> References: <20070515201914.16944e04.akpm@linux-foundation.org> <464B304C.5040104@googlemail.com> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4571 Lines: 79 On Wed, 16 May 2007 18:24:44 +0200 Michal Piotrowski wrote: > Andrew Morton napisaƂ(a): > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc1/2.6.22-rc1-mm1/ > > > > Almost every time when I try to run this script I hit a bug. I'm wondering why... > http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc1-mm1/test_mount_fs.sh > > [ 6666.713016] kernel BUG at /home/devel/linux-mm/include/linux/mm.h:288! static inline int put_page_testzero(struct page *page) { VM_BUG_ON(atomic_read(&page->_count) == 0); return atomic_dec_and_test(&page->_count); } > [ 6666.719690] invalid opcode: 0000 [#1] > [ 6666.723397] PREEMPT SMP > [ 6666.725999] Modules linked in: xfs loop pktgen ipt_MASQUERADE iptable_nat nf_nat autofs4 af_packet nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink iptable_filter ip_tables ip6t_REJECT xt_tcpudp ip6table_filter ip6_tables x_tables ipv6 binfmt_misc thermal processor fan container nvram snd_intel8x0 snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm evdev snd_timer snd soundcore intel_agp agpgart snd_page_alloc i2c_i801 ide_cd cdrom rtc unix > [ 6666.776026] CPU: 0 > [ 6666.776027] EIP: 0060:[] Not tainted VLI > [ 6666.776028] EFLAGS: 00010202 (2.6.22-rc1-mm1 #3) > [ 6666.788519] EIP is at put_page+0x44/0xee > [ 6666.792491] eax: 00000001 ebx: c549f728 ecx: c04b27e0 edx: 00000001 > [ 6666.799345] esi: 00000000 edi: 00000080 ebp: d067e9e0 esp: d067e9c8 > [ 6666.806208] ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068 > [ 6666.812104] Process mount (pid: 9419, ti=d067e000 task=d00a4070 task.ti=d067e000) > [ 6666.819486] Stack: d8980180 00000080 d067e9f0 d8980180 00000000 00000080 d067e9f0 fdc8eda3 > [ 6666.828103] fffffffc d8980180 d067ea20 fdc8f7ff fdc9b425 fdc96e5c 00080000 00000000 > [ 6666.836635] c549dfd0 00000200 ffffffff cd44b8e0 00002160 cd44b8e0 d067ea30 fdc78937 > [ 6666.845253] Call Trace: > [ 6666.847939] [] xfs_buf_free+0x41/0x61 [xfs] > [ 6666.853247] [] xfs_buf_get_noaddr+0x10c/0x118 [xfs] > [ 6666.859231] [] xlog_get_bp+0x65/0x69 [xfs] > [ 6666.864412] [] xlog_write_log_records+0x73/0x20d [xfs] > [ 6666.870654] [] xlog_clear_stale_blocks+0x153/0x15b [xfs] > [ 6666.877075] [] xlog_find_tail+0x3ca/0x43d [xfs] > [ 6666.882695] [] xlog_recover+0x14/0x9b [xfs] > [ 6666.887968] [] xfs_log_mount+0xad/0xf1 [xfs] > [ 6666.893332] [] xfs_mountfs+0x959/0xc4a [xfs] > [ 6666.898689] [] xfs_ioinit+0x26/0x2c [xfs] > [ 6666.903789] [] xfs_mount+0x2e5/0x358 [xfs] > [ 6666.908988] [] vfs_mount+0x1a/0x1e [xfs] > [ 6666.914035] [] xfs_fs_fill_super+0x76/0x1a2 [xfs] > [ 6666.919868] [] get_sb_bdev+0x105/0x143 > [ 6666.924652] [] xfs_fs_get_sb+0x21/0x27 [xfs] > [ 6666.930033] [] vfs_kern_mount+0x81/0xf1 > [ 6666.934887] [] do_mount+0x716/0x80d > [ 6666.939390] [] sys_mount+0x80/0xb5 > [ 6666.943824] [] syscall_call+0x7/0xb > [ 6666.948338] [] 0xb7fbe410 > [ 6666.951983] ======================= > [ 6666.955606] INFO: lockdep is turned off. > [ 6666.959633] Code: 3f 19 0b 00 85 c0 74 0c 89 d8 e8 1a fa ff ff e9 b9 00 00 00 31 d2 83 7b 04 00 0f 94 c2 b8 e0 27 4b c0 e8 1c 19 0b 00 85 c0 74 04 <0f> 0b eb fe 83 7b 04 00 75 11 c7 04 24 be 60 3f c0 e8 91 c6 fb > [ 6666.979608] EIP: [] put_page+0x44/0xee SS:ESP 0068:d067e9c8 > [ 6667.271984] XFS: Filesystem loop1 has duplicate UUID - can't mount > > ... > > [ 6670.074487] XFS: Filesystem loop1 has duplicate UUID - can't mount > [ 6670.240395] XFS: Filesystem loop1 has duplicate UUID - can't mount > [ 6670.350305] XFS: Filesystem loop1 has duplicate UUID - can't mount > [ 6670.458773] XFS: Filesystem loop1 has duplicate UUID - can't mount > > http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc1-mm1/mm-dmesg2 > http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc1-mm1/mm-config > Looks like XFS did a free of an already-freed page. There are a couple of likely suspects in git-xfs.patch. Does mainline do this? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/