xfs
[Top] [All Lists]

current CVS tree is unable to mount XFS FS on x86_64

To: linux-xfs@xxxxxxxxxxx
Subject: current CVS tree is unable to mount XFS FS on x86_64
From: Jan Derfinak <ja@xxxxxxxxxxxx>
Date: Sun, 15 May 2005 14:35:15 +0200 (CEST)
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hello.

I upgraded my kernel code to current XFS CVS and kernel is no longer able to
mount xfs FS. 2.6.11.9 from kernel.org works without problem.
Platform is x86_64.
XFS_VERSION_STRING "SGI-XFS CVS-2005-05-14_05:00_UTC"
I enabled all debug options in kernel config (see attached .config.gz).
Please ask me if you need additional information.

jan

Kernel output after mount:
slab error in cache_free_debugcheck(): cache `xfs_bmap_free_item': double free, 
or memory outside object was overwritten

Call Trace:<ffffffff8016bf07>{cache_free_debugcheck+295} 
<ffffffff8016c4d7>{kmem_cache_free+55} 
       <ffffffff8028f598>{xfs_mountfs+1208} 
<ffffffff802b26bd>{xfs_setsize_buftarg_flags+61} 
       <ffffffff8029b628>{xfs_mount+1560} 
<ffffffff802af700>{linvfs_fill_super+0} 
       <ffffffff802b0914>{vfs_mount+164} 
<ffffffff802af791>{linvfs_fill_super+145} 
       <ffffffff80198b72>{sget+2626} <ffffffff801969f0>{set_bdev_super+0} 
       <ffffffff80199525>{get_sb_bdev+293} <ffffffff8016dcd4>{__kmalloc+196} 
       <ffffffff801991a5>{do_kern_mount+181} <ffffffff801ba974>{do_mount+2580} 
       <ffffffff80120177>{do_page_fault+1175} 
<ffffffff8016f1a7>{pagevec_lookup+23} 
       <ffffffff80170722>{invalidate_mapping_pages+242} 
<ffffffff8010e535>{error_exit+0} 
       <ffffffff801b78b7>{copy_mount_options+183} 
<ffffffff801baa87>{sys_mount+151} 
       <ffffffff8010dbb2>{system_call+126} 
ffff81001de0d370: redzone 1: 0x170fc2a5, redzone 2: 0xffff81000000000a.
XFS mounting filesystem hda6
slab error in cache_free_debugcheck(): cache `xfs_bmap_free_item': double free, 
or memory outside object was overwritten

Call Trace:<ffffffff8016bf07>{cache_free_debugcheck+295} 
<ffffffff8016c4d7>{kmem_cache_free+55} 
       <ffffffff8028ab9c>{xlog_find_zeroed+268} 
<ffffffff8028ad3b>{xlog_find_head+59} 
       <ffffffff8028b1dc>{xlog_find_tail+60} 
<ffffffff8028b5e0>{xlog_recover+32} 
       <ffffffff80281dcc>{xfs_log_mount+268} 
<ffffffff8028e9b0>{xfs_initialize_perag+80} 
       <ffffffff8028f8b1>{xfs_mountfs+2001} 
<ffffffff802b26bd>{xfs_setsize_buftarg_flags+61} 
       <ffffffff8029b628>{xfs_mount+1560} 
<ffffffff802af700>{linvfs_fill_super+0} 
       <ffffffff802b0914>{vfs_mount+164} 
<ffffffff802af791>{linvfs_fill_super+145} 
       <ffffffff80198b72>{sget+2626} <ffffffff801969f0>{set_bdev_super+0} 
       <ffffffff80199525>{get_sb_bdev+293} <ffffffff8016dcd4>{__kmalloc+196} 
       <ffffffff801991a5>{do_kern_mount+181} <ffffffff801ba974>{do_mount+2580} 
       <ffffffff80120177>{do_page_fault+1175} 
<ffffffff8016f1a7>{pagevec_lookup+23} 
       <ffffffff80170722>{invalidate_mapping_pages+242} 
<ffffffff8010e535>{error_exit+0} 
       <ffffffff801b78b7>{copy_mount_options+183} 
<ffffffff801baa87>{sys_mount+151} 
       <ffffffff8010dbb2>{system_call+126} 
ffff81001de0d1c0: redzone 1: 0x170fc2a5, redzone 2: 0xa.
slab error in cache_free_debugcheck(): cache `xfs_bmap_free_item': double free, 
or memory outside object was overwritten

Call Trace:<ffffffff8016bf07>{cache_free_debugcheck+295} 
<ffffffff8016c4d7>{kmem_cache_free+55} 
       <ffffffff8028aa6c>{xlog_find_verify_cycle+284} 
<ffffffff8028aeec>{xlog_find_head+492} 
       <ffffffff8028b1dc>{xlog_find_tail+60} 
<ffffffff8028b5e0>{xlog_recover+32} 
       <ffffffff80281dcc>{xfs_log_mount+268} 
<ffffffff8028e9b0>{xfs_initialize_perag+80} 
       <ffffffff8028f8b1>{xfs_mountfs+2001} 
<ffffffff802b26bd>{xfs_setsize_buftarg_flags+61} 
       <ffffffff8029b628>{xfs_mount+1560} 
<ffffffff802af700>{linvfs_fill_super+0} 
       <ffffffff802b0914>{vfs_mount+164} 
<ffffffff802af791>{linvfs_fill_super+145} 
       <ffffffff80198b72>{sget+2626} <ffffffff801969f0>{set_bdev_super+0} 
       <ffffffff80199525>{get_sb_bdev+293} <ffffffff8016dcd4>{__kmalloc+196} 
       <ffffffff801991a5>{do_kern_mount+181} <ffffffff801ba974>{do_mount+2580} 
       <ffffffff80120177>{do_page_fault+1175} 
<ffffffff8016f1a7>{pagevec_lookup+23} 
       <ffffffff80170722>{invalidate_mapping_pages+242} 
<ffffffff8010e535>{error_exit+0} 
       <ffffffff801b78b7>{copy_mount_options+183} 
<ffffffff801baa87>{sys_mount+151} 
       <ffffffff8010dbb2>{system_call+126} 
ffff81001de0d190: redzone 1: 0x170fc2a5, redzone 2: 0xa.
slab error in cache_free_debugcheck(): cache `xfs_bmap_free_item': double free, 
or memory outside object was overwritten

Call Trace:<ffffffff8016bf07>{cache_free_debugcheck+295} 
<ffffffff8016c4d7>{kmem_cache_free+55} 
       <ffffffff8028a938>{xlog_find_verify_log_record+568} 
       <ffffffff8028b01a>{xlog_find_head+794} 
<ffffffff8028b1dc>{xlog_find_tail+60} 
       <ffffffff8028b5e0>{xlog_recover+32} 
<ffffffff80281dcc>{xfs_log_mount+268} 
       <ffffffff8028e9b0>{xfs_initialize_perag+80} 
<ffffffff8028f8b1>{xfs_mountfs+2001} 
       <ffffffff802b26bd>{xfs_setsize_buftarg_flags+61} 
<ffffffff8029b628>{xfs_mount+1560} 
       <ffffffff802af700>{linvfs_fill_super+0} 
<ffffffff802b0914>{vfs_mount+164} 
       <ffffffff802af791>{linvfs_fill_super+145} <ffffffff80198b72>{sget+2626} 
       <ffffffff801969f0>{set_bdev_super+0} <ffffffff80199525>{get_sb_bdev+293} 
       <ffffffff8016dcd4>{__kmalloc+196} <ffffffff801991a5>{do_kern_mount+181} 
       <ffffffff801ba974>{do_mount+2580} <ffffffff80120177>{do_page_fault+1175} 
       <ffffffff8016f1a7>{pagevec_lookup+23} 
<ffffffff80170722>{invalidate_mapping_pages+242} 
       <ffffffff8010e535>{error_exit+0} 
<ffffffff801b78b7>{copy_mount_options+183} 
       <ffffffff801baa87>{sys_mount+151} <ffffffff8010dbb2>{system_call+126} 
       
ffff81001de0d190: redzone 1: 0x170fc2a5, redzone 2: 0xa.
XFS assertion failed: list_empty(&bp->pb_hash_list), file: 
fs/xfs/linux-2.6/xfs_buf.c, line: 349
----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at debug:56
invalid operand: 0000 [1] 
CPU 0 
Modules linked in: ohci1394 ieee1394 emu10k1_gp gameport i2c_nforce2 i2c_core 
evdev ehci_hcd forcedeth dm_mod
Pid: 2517, comm: mount Not tainted 2.6.11
RIP: 0010:[<ffffffff802b5e7a>] <ffffffff802b5e7a>{assfail+26}
RSP: 0018:ffff81001cfcf918  EFLAGS: 00010292
RAX: 0000000000000061 RBX: ffff81001de0d1c8 RCX: 0000000000000150
RDX: 0000000000000000 RSI: 0000000000038afc RDI: ffffffff804e6d40
RBP: 0000000000000001 R08: 00000000000927bf R09: 0000000000000002
R10: 00000000ffffffff R11: 0000000000000000 R12: ffff81001e4b1af8
R13: 000000000000010f R14: ffff81001de0d1c8 R15: 0000000000002580
FS:  00002aaaaade4700(0000) GS:ffffffff80596d00(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00002aaaaac501d0 CR3: 000000001dbd1000 CR4: 00000000000006e0
Process mount (pid: 2517, threadinfo ffff81001cfce000, task ffff810001989070)
Stack: ffff81001e4b1af8 ffffffff802b3c3e 000000000000010f 0000000000000000 
       0000000000002580 ffffffff8028b135 000000001d244b3c ffff81001cfcf9f8 
       ffffffffffffffff 0000000000001192 
Call Trace:<ffffffff802b3c3e>{pagebuf_free+78} 
<ffffffff8028b135>{xlog_find_head+1077} 
       <ffffffff8028b1dc>{xlog_find_tail+60} 
<ffffffff8028b5e0>{xlog_recover+32} 
       <ffffffff80281dcc>{xfs_log_mount+268} 
<ffffffff8028e9b0>{xfs_initialize_perag+80} 
       <ffffffff8028f8b1>{xfs_mountfs+2001} 
<ffffffff802b26bd>{xfs_setsize_buftarg_flags+61} 
       <ffffffff8029b628>{xfs_mount+1560} 
<ffffffff802af700>{linvfs_fill_super+0} 
       <ffffffff802b0914>{vfs_mount+164} 
<ffffffff802af791>{linvfs_fill_super+145} 
       <ffffffff80198b72>{sget+2626} <ffffffff801969f0>{set_bdev_super+0} 
       <ffffffff80199525>{get_sb_bdev+293} <ffffffff8016dcd4>{__kmalloc+196} 
       <ffffffff801991a5>{do_kern_mount+181} <ffffffff801ba974>{do_mount+2580} 
       <ffffffff80120177>{do_page_fault+1175} 
<ffffffff8016f1a7>{pagevec_lookup+23} 
       <ffffffff80170722>{invalidate_mapping_pages+242} 
<ffffffff8010e535>{error_exit+0} 
       <ffffffff801b78b7>{copy_mount_options+183} 
<ffffffff801baa87>{sys_mount+151} 
       <ffffffff8010dbb2>{system_call+126} 

Code: 0f 0b 6e 58 42 80 ff ff ff ff 38 00 48 83 c4 08 c3 66 66 90 
RIP <ffffffff802b5e7a>{assfail+26} RSP <ffff81001cfcf918>
 

-- 

Attachment: .config.gz
Description: application/gunzip

<Prev in Thread] Current Thread [Next in Thread>