Skip to contentSkip to conversation

backtraces when mounting ext2 with sync option.

DISCUSSION Dave Jones 2 participants 3 messages Jun 21, 2009 – Jun 22, 2009

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

I see this when I mount an ext2 usb stick with the -o sync option.

Dave

------------[ cut here ]------------
WARNING: at fs/fs-writeback.c:292 __writeback_single_inode+0x125/0x287()
Hardware name:  
Modules linked in: serio_raw pcspkr i2c_viapro 3c59x mii i2c_core usb_storage firewire_ohci via_velocity firewire_core crc_ccitt crc_itu_t ata_generic pata_acpi pata_via ext2 [last unloaded: scsi_wait_scan]
Pid: 938, comm: rc.sysinit Not tainted 2.6.30-6.fc12.i686.PAE #1
Call Trace:
 [<c04434a2>] warn_slowpath_common+0x75/0x9d
 [<c050399f>] ? __writeback_single_inode+0x125/0x287
 [<c04434eb>] warn_slowpath_null+0x21/0x35
 [<c050399f>] __writeback_single_inode+0x125/0x287
 [<c0503b27>] ? sync_inode+0x26/0x54
 [<c0503b31>] sync_inode+0x30/0x54
 [<dc8676a5>] ext2_sync_inode+0x35/0x4d [ext2]
 [<dc86c2db>] ext2_xattr_set2+0x3c1/0x4f4 [ext2]
 [<dc86c9cf>] ext2_xattr_set+0x5c1/0x615 [ext2]
 [<dc86dbe0>] ext2_init_security+0x58/0x88 [ext2]
 [<dc866fdb>] ext2_new_inode+0x808/0x94a [ext2]
 [<c059f262>] ? may_create+0xd3/0xee
 [<dc8696ac>] ext2_create+0x22/0xb0 [ext2]
 [<c04f1fc4>] vfs_create+0x84/0xaf
 [<c04f2c1c>] do_filp_open+0x250/0x68d
 [<c04fcd02>] ? alloc_fd+0x38/0xed
 [<c04fcd02>] ? alloc_fd+0x38/0xed
 [<c07f5789>] ? _spin_unlock+0x30/0x45
 [<c04fcd99>] ? alloc_fd+0xcf/0xed
 [<c04e5dfd>] do_sys_open+0x58/0xe0
 [<c04e5f02>] sys_open+0x31/0x4a
 [<c0409feb>] sysenter_do_call+0x12/0x38
---[ end trace 6db0eec1553c1cd8 ]---
------------[ cut here ]------------
WARNING: at fs/fs-writeback.c:317 __writeback_single_inode+0x1d3/0x287()
Hardware name:  
Modules linked in: serio_raw pcspkr i2c_viapro 3c59x mii i2c_core usb_storage firewire_ohci via_velocity firewire_core crc_ccitt crc_itu_t ata_generic pata_acpi pata_via ext2 [last unloaded: scsi_wait_scan]
Pid: 938, comm: rc.sysinit Tainted: G        W  2.6.30-6.fc12.i686.PAE #1
Call Trace:
 [<c04434a2>] warn_slowpath_common+0x75/0x9d
 [<c0503a4d>] ? __writeback_single_inode+0x1d3/0x287
 [<c04434eb>] warn_slowpath_null+0x21/0x35
 [<c0503a4d>] __writeback_single_inode+0x1d3/0x287
 [<c0503b31>] sync_inode+0x30/0x54
 [<dc8676a5>] ext2_sync_inode+0x35/0x4d [ext2]
 [<dc86c2db>] ext2_xattr_set2+0x3c1/0x4f4 [ext2]
 [<dc86c9cf>] ext2_xattr_set+0x5c1/0x615 [ext2]
 [<dc86dbe0>] ext2_init_security+0x58/0x88 [ext2]
 [<dc866fdb>] ext2_new_inode+0x808/0x94a [ext2]
 [<c059f262>] ? may_create+0xd3/0xee
 [<dc8696ac>] ext2_create+0x22/0xb0 [ext2]
 [<c04f1fc4>] vfs_create+0x84/0xaf
 [<c04f2c1c>] do_filp_open+0x250/0x68d
 [<c04fcd02>] ? alloc_fd+0x38/0xed
 [<c04fcd02>] ? alloc_fd+0x38/0xed
 [<c07f5789>] ? _spin_unlock+0x30/0x45
 [<c04fcd99>] ? alloc_fd+0xcf/0xed
 [<c04e5dfd>] do_sys_open+0x58/0xe0
 [<c04e5f02>] sys_open+0x31/0x4a
 [<c0409feb>] sysenter_do_call+0x12/0x38
---[ end trace 6db0eec1553c1cd9 ]---
------------[ cut here ]------------
WARNING: at fs/fs-writeback.c:292 __writeback_single_inode+0x125/0x287()
Hardware name:  
Modules linked in: serio_raw pcspkr i2c_viapro 3c59x mii i2c_core usb_storage firewire_ohci via_velocity firewire_core crc_ccitt crc_itu_t ata_generic pata_acpi pata_via ext2 [last unloaded: scsi_wait_scan]
Pid: 36, comm: plymouthd Tainted: G        W  2.6.30-6.fc12.i686.PAE #1
Call Trace:
 [<c04434a2>] warn_slowpath_common+0x75/0x9d
 [<c050399f>] ? __writeback_single_inode+0x125/0x287
 [<c04434eb>] warn_slowpath_null+0x21/0x35
 [<c050399f>] __writeback_single_inode+0x125/0x287
 [<c0503b27>] ? sync_inode+0x26/0x54
 [<c0503b31>] sync_inode+0x30/0x54
 [<dc8676a5>] ext2_sync_inode+0x35/0x4d [ext2]
 [<dc86c2db>] ext2_xattr_set2+0x3c1/0x4f4 [ext2]
 [<dc86c9cf>] ext2_xattr_set+0x5c1/0x615 [ext2]
 [<dc86dbe0>] ext2_init_security+0x58/0x88 [ext2]
 [<dc866fdb>] ext2_new_inode+0x808/0x94a [ext2]
 [<c059f262>] ? may_create+0xd3/0xee
 [<dc8696ac>] ext2_create+0x22/0xb0 [ext2]
 [<c04f1fc4>] vfs_create+0x84/0xaf
 [<c04f2c1c>] do_filp_open+0x250/0x68d
 [<c04fcd02>] ? alloc_fd+0x38/0xed
 [<c04fcd02>] ? alloc_fd+0x38/0xed
 [<c07f5789>] ? _spin_unlock+0x30/0x45
 [<c04fcd99>] ? alloc_fd+0xcf/0xed
 [<c04e5dfd>] do_sys_open+0x58/0xe0
 [<c04e5f02>] sys_open+0x31/0x4a
 [<c0409feb>] sysenter_do_call+0x12/0x38
---[ end trace 6db0eec1553c1cda ]---
------------[ cut here ]------------
WARNING: at fs/fs-writeback.c:317 __writeback_single_inode+0x1d3/0x287()
Hardware name:  
Modules linked in: serio_raw pcspkr i2c_viapro 3c59x mii i2c_core usb_storage firewire_ohci via_velocity firewire_core crc_ccitt crc_itu_t ata_generic pata_acpi pata_via ext2 [last unloaded: scsi_wait_scan]
Pid: 36, comm: plymouthd Tainted: G        W  2.6.30-6.fc12.i686.PAE #1
Call Trace:
 [<c04434a2>] warn_slowpath_common+0x75/0x9d
 [<c0503a4d>] ? __writeback_single_inode+0x1d3/0x287
 [<c04434eb>] warn_slowpath_null+0x21/0x35
 [<c0503a4d>] __writeback_single_inode+0x1d3/0x287
 [<c0503b31>] sync_inode+0x30/0x54
 [<dc8676a5>] ext2_sync_inode+0x35/0x4d [ext2]
 [<dc86c2db>] ext2_xattr_set2+0x3c1/0x4f4 [ext2]
 [<dc86c9cf>] ext2_xattr_set+0x5c1/0x615 [ext2]
 [<dc86dbe0>] ext2_init_security+0x58/0x88 [ext2]
 [<dc866fdb>] ext2_new_inode+0x808/0x94a [ext2]
 [<c059f262>] ? may_create+0xd3/0xee
 [<dc8696ac>] ext2_create+0x22/0xb0 [ext2]
 [<c04f1fc4>] vfs_create+0x84/0xaf
 [<c04f2c1c>] do_filp_open+0x250/0x68d
 [<c04fcd02>] ? alloc_fd+0x38/0xed
 [<c04fcd02>] ? alloc_fd+0x38/0xed
 [<c07f5789>] ? _spin_unlock+0x30/0x45
 [<c04fcd99>] ? alloc_fd+0xcf/0xed
 [<c04e5dfd>] do_sys_open+0x58/0xe0
 [<c04e5f02>] sys_open+0x31/0x4a
 [<c0409feb>] sysenter_do_call+0x12/0x38
---[ end trace 6db0eec1553c1cdb ]---
#1 lore raw
Quoted 6 lines · Dave Jones

I see this when I mount an ext2 usb stick with the -o sync option.

Dave

------------[ cut here ]------------
WARNING: at fs/fs-writeback.c:292 __writeback_single_inode+0x125/0x287()

292: WARN_ON(inode->i_state & I_NEW);

Quoted 1 line
WARNING: at fs/fs-writeback.c:317 __writeback_single_inode+0x1d3/0x287()

317: WARN_ON(inode->i_state & I_NEW);

http://marc.info/?l=linux-fsdevel&m=124393728021298&w=2

Nick already sent a patch to fix this.

Cheers,
Jeff

author
#2 lore raw
Quoted 11 lines · Jeff Moyer
Quoted 6 lines · Dave Jones

I see this when I mount an ext2 usb stick with the -o sync option.

Dave

------------[ cut here ]------------
WARNING: at fs/fs-writeback.c:292 __writeback_single_inode+0x125/0x287()

292: WARN_ON(inode->i_state & I_NEW);

Quoted 7 lines
Quoted 1 line
WARNING: at fs/fs-writeback.c:317 __writeback_single_inode+0x1d3/0x287()

317: WARN_ON(inode->i_state & I_NEW);

http://marc.info/?l=linux-fsdevel&m=124393728021298&w=2

Nick already sent a patch to fix this.

Ah cool. Looks like one for -stable.

Dave