[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150309163534.GA25955@atrey.karlin.mff.cuni.cz>
Date: Mon, 9 Mar 2015 17:35:34 +0100
From: Petr Janecek <janecek@....cz>
To: linux-kernel@...r.kernel.org
Subject: __might_sleep warning on 3.19.1
Hello,
I got these warnings once during startup. The fs is on lvm on
raid1. The second one is from 3.19.0, same machine.
[ 50.618516] WARNING: CPU: 1 PID: 1029 at kernel/sched/core.c:7326 __might_sleep+0xa6/0xb0()
[ 50.626867] do not call blocking ops when !TASK_RUNNING; state=2 set at [<ffffffff81085c6b>] prepare_to_wait+0x2b/0xa0
[ 50.637561] Modules linked in: xt_multiport iptable_filter ip_tables x_tables cn dummy bridge stp llc xfs libcrc32c coretemp kvm_intel kvm iTCO_wdt iTCO_vendor_support evdev psmouse serio_raw microcode tpm_infineon tpm_tis i7core_edac tpm edac_core i2c_i801 button acpi_cpufreq lpc_ich mfd_core i2c_core processor thermal_sys hwmon_vid loop ipmi_watchdog ipmi_si ipmi_poweroff ipmi_devintf ipmi_msghandler fuse autofs4 btrfs xor raid6_pq dm_mod raid1 md_mod sg sd_mod hid_generic usbhid hid e1000e ptp crc32c_intel ahci libahci libata ehci_pci scsi_mod ehci_hcd usbcore pps_core usb_common
[ 50.690864] CPU: 1 PID: 1029 Comm: freshclam Not tainted 3.19.1 #70
[ 50.697139] Hardware name: Supermicro X8SIL/X8SIL, BIOS 1.1 05/27/2010
[ 50.703677] ffffffff8179714d ffff88023002b248 ffffffff814f6643 ffff88023fc4ee90
[ 50.711166] ffff88023002b298 ffff88023002b288 ffffffff81049bc5 ffff880230025460
[ 50.718676] ffffffff817af773 00000000000006f6 0000000000000000 ffff880233880000
[ 50.726177] Call Trace:
[ 50.728634] [<ffffffff814f6643>] dump_stack+0x4c/0x65
[ 50.733775] [<ffffffff81049bc5>] warn_slowpath_common+0x85/0xc0
[ 50.739778] [<ffffffff81049c41>] warn_slowpath_fmt+0x41/0x50
[ 50.745530] [<ffffffff81085c6b>] ? prepare_to_wait+0x2b/0xa0
[ 50.751274] [<ffffffff81085c6b>] ? prepare_to_wait+0x2b/0xa0
[ 50.757031] [<ffffffff8106ded6>] __might_sleep+0xa6/0xb0
[ 50.762433] [<ffffffff8128281b>] generic_make_request_checks+0x2b/0x400
[ 50.769133] [<ffffffff8108eabd>] ? trace_hardirqs_on_caller+0x15d/0x200
[ 50.775837] [<ffffffff8108eb6d>] ? trace_hardirqs_on+0xd/0x10
[ 50.781667] [<ffffffff81282c03>] generic_make_request+0x13/0x120
[ 50.787769] [<ffffffffa02ac5e8>] raid1_unplug+0x108/0x160 [raid1]
[ 50.793961] [<ffffffff81287502>] blk_flush_plug_list+0xa2/0x240
[ 50.799962] [<ffffffff8108eb6d>] ? trace_hardirqs_on+0xd/0x10
[ 50.805798] [<ffffffff814f8a60>] ? bit_wait_timeout+0x80/0x80
[ 50.811630] [<ffffffff814f81fd>] io_schedule+0x7d/0x150
[ 50.816944] [<ffffffff814f8a8f>] bit_wait_io+0x2f/0x50
[ 50.822169] [<ffffffff814f861f>] __wait_on_bit+0x5f/0x90
[ 50.827572] [<ffffffff814f8a60>] ? bit_wait_timeout+0x80/0x80
[ 50.833406] [<ffffffff814f86bd>] out_of_line_wait_on_bit+0x6d/0x80
[ 50.839672] [<ffffffff81086030>] ? autoremove_wake_function+0x40/0x40
[ 50.846227] [<ffffffff811b07df>] __wait_on_buffer+0x3f/0x50
[ 50.851882] [<ffffffff811f6140>] ext4_wait_block_bitmap.part.10+0xc0/0xd0
[ 50.858773] [<ffffffff811f6169>] ext4_wait_block_bitmap+0x19/0x20
[ 50.864950] [<ffffffff81230b53>] ext4_mb_init_cache+0x203/0x780
[ 50.864955] [<ffffffff81120609>] ? lru_cache_add+0x9/0x10
[ 50.864957] [<ffffffff812311ee>] ext4_mb_init_group+0x11e/0x210
[ 50.864962] [<ffffffff812317ab>] ext4_mb_load_buddy+0x32b/0x370
[ 50.864964] [<ffffffff81233c50>] ext4_mb_find_by_goal+0x90/0x2e0
[ 50.864966] [<ffffffff8122f964>] ? ext4_mb_normalize_request.constprop.28+0x2e4/0x580
[ 50.864967] [<ffffffff8122fc40>] ? ext4_mb_use_preallocated.constprop.27+0x40/0x350
[ 50.864969] [<ffffffff8123463d>] ext4_mb_regular_allocator+0x5d/0x460
[ 50.864971] [<ffffffff8122fb35>] ? ext4_mb_normalize_request.constprop.28+0x4b5/0x580
[ 50.864978] [<ffffffff8122f964>] ? ext4_mb_normalize_request.constprop.28+0x2e4/0x580
[ 50.864982] [<ffffffff8122fc40>] ? ext4_mb_use_preallocated.constprop.27+0x40/0x350
[ 50.864985] [<ffffffff81236490>] ext4_mb_new_blocks+0x480/0x600
[ 50.864987] [<ffffffff8122aedd>] ext4_ext_map_blocks+0x62d/0xeb0
[ 50.864990] [<ffffffff811fe7b3>] ext4_map_blocks+0x133/0x560
[ 50.864993] [<ffffffff81201b30>] ext4_writepages+0x560/0xdb0
[ 50.864996] [<ffffffff8111e1cc>] do_writepages+0x1c/0x30
[ 50.865000] [<ffffffff81112721>] __filemap_fdatawrite_range+0x51/0x60
[ 50.865003] [<ffffffff811127c7>] filemap_flush+0x17/0x20
[ 50.865005] [<ffffffff811ff4b1>] ext4_alloc_da_blocks+0x41/0x90
[ 50.865007] [<ffffffff8120ca6c>] ext4_rename+0x62c/0x880
[ 50.865011] [<ffffffff8108e931>] ? mark_held_locks+0x71/0xa0
[ 50.865014] [<ffffffff814f9f8e>] ? mutex_lock_nested+0x22e/0x3b0
[ 50.865016] [<ffffffff8120ccd8>] ext4_rename2+0x18/0x40
[ 50.865019] [<ffffffff81189472>] vfs_rename+0x3a2/0x7e0
[ 50.865020] [<ffffffff8118c560>] SYSC_renameat2+0x5b0/0x620
[ 50.865023] [<ffffffff814fd911>] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 50.865025] [<ffffffff81085b28>] ? remove_wait_queue+0x48/0x50
[ 50.865028] [<ffffffff8104cb98>] ? do_wait+0x198/0x2c0
[ 50.865030] [<ffffffff8108eabd>] ? trace_hardirqs_on_caller+0x15d/0x200
[ 50.865033] [<ffffffff812b774b>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 50.865035] [<ffffffff8118d859>] SyS_rename+0x19/0x20
[ 50.865037] [<ffffffff814fe212>] system_call_fastpath+0x12/0x17
[ 53.415429] WARNING: CPU: 1 PID: 1378 at kernel/sched/core.c:7326 __might_sleep+0xa6/0xb0()
[ 53.423830] do not call blocking ops when !TASK_RUNNING; state=2 set at [<ffffffff814f8915>] wait_for_completion_io+0xa5/0x130
[ 53.435250] Modules linked in: xt_multiport iptable_filter ip_tables x_tables cn dummy bridge stp llc xfs libcrc32c coretemp kvm_intel kvm iTCO_wdt iTCO_vendor_support evdev microcode psmouse i7core_edac serio_raw edac_core tpm_infineon tpm_tis tpm acpi_cpufreq processor button thermal_sys lpc_ich i2c_i801 mfd_core i2c_core hwmon_vid loop ipmi_watchdog ipmi_si ipmi_poweroff ipmi_devintf ipmi_msghandler fuse autofs4 btrfs xor raid6_pq dm_mod raid1 md_mod sg sd_mod hid_generic usbhid hid e1000e ptp crc32c_intel ahci libahci libata ehci_pci ehci_hcd scsi_mod pps_core usbcore usb_common
[ 53.488348] CPU: 1 PID: 1378 Comm: accounts-daemon Not tainted 3.19.0 #69
[ 53.495205] Hardware name: Supermicro X8SIL/X8SIL, BIOS 1.1 05/27/2010
[ 53.501835] ffffffff8179711d ffff8800bd377668 ffffffff814f63d3 ffff88023fc4ee90
[ 53.509308] ffff8800bd3776b8 ffff8800bd3776a8 ffffffff81049b85 ffff8800bd377728
[ 53.516845] ffffffff817af743 00000000000006f6 0000000000000000 ffff880233889000
[ 53.524328] Call Trace:
[ 53.526776] [<ffffffff814f63d3>] dump_stack+0x4c/0x65
[ 53.531955] [<ffffffff81049b85>] warn_slowpath_common+0x85/0xc0
[ 53.537973] [<ffffffff81049c01>] warn_slowpath_fmt+0x41/0x50
[ 53.543735] [<ffffffff814f8915>] ? wait_for_completion_io+0xa5/0x130
[ 53.550171] [<ffffffff814f8915>] ? wait_for_completion_io+0xa5/0x130
[ 53.556623] [<ffffffff8106de86>] __might_sleep+0xa6/0xb0
[ 53.562066] [<ffffffff8128263b>] generic_make_request_checks+0x2b/0x400
[ 53.568758] [<ffffffff8108ea4d>] ? trace_hardirqs_on_caller+0x15d/0x200
[ 53.575465] [<ffffffff8108eafd>] ? trace_hardirqs_on+0xd/0x10
[ 53.581359] [<ffffffff81282a23>] generic_make_request+0x13/0x120
[ 53.587488] [<ffffffffa02ed5e8>] raid1_unplug+0x108/0x160 [raid1]
[ 53.593737] [<ffffffff81287322>] blk_flush_plug_list+0xa2/0x240
[ 53.599777] [<ffffffff8108eafd>] ? trace_hardirqs_on+0xd/0x10
[ 53.605712] [<ffffffff814f82d2>] io_schedule_timeout+0x82/0x100
[ 53.611747] [<ffffffff814fd6cb>] ? _raw_spin_unlock_irq+0x2b/0x40
[ 53.617934] [<ffffffff814f8937>] wait_for_completion_io+0xc7/0x130
[ 53.624245] [<ffffffff81075750>] ? wake_up_state+0x10/0x10
[ 53.629835] [<ffffffff8128e14f>] __blkdev_issue_zeroout+0x1ef/0x220
[ 53.636244] [<ffffffff8128e241>] blkdev_issue_zeroout+0xc1/0xd0
[ 53.642402] [<ffffffff8108f298>] ? __lock_acquire+0x488/0xc80
[ 53.648251] [<ffffffff81225067>] ext4_ext_zeroout.isra.32+0x47/0x60
[ 53.654608] [<ffffffff8122a105>] ext4_ext_handle_unwritten_extents+0x715/0xcb0
[ 53.661977] [<ffffffff8106de31>] ? __might_sleep+0x51/0xb0
[ 53.667547] [<ffffffff8122a859>] ext4_ext_map_blocks+0x189/0xeb0
[ 53.673653] [<ffffffff811fe5c3>] ext4_map_blocks+0x133/0x560
[ 53.679396] [<ffffffff81201708>] ? ext4_writepages+0x328/0xdb0
[ 53.685406] [<ffffffff8122d72e>] ? __ext4_journal_start_sb+0x7e/0x100
[ 53.691990] [<ffffffff81201940>] ext4_writepages+0x560/0xdb0
[ 53.697736] [<ffffffff8111e02c>] do_writepages+0x1c/0x30
[ 53.703173] [<ffffffff81112581>] __filemap_fdatawrite_range+0x51/0x60
[ 53.709723] [<ffffffff81112668>] filemap_write_and_wait_range+0x28/0x70
[ 53.716433] [<ffffffff811f9002>] ext4_sync_file+0xf2/0x370
[ 53.722056] [<ffffffff811ad45c>] do_fsync+0x4c/0x80
[ 53.727055] [<ffffffff811ad70b>] SyS_fsync+0xb/0x10
[ 53.732119] [<ffffffff814fdfd2>] system_call_fastpath+0x12/0x17
Regards,
Petr
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists