Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752844AbbG2N1S (ORCPT ); Wed, 29 Jul 2015 09:27:18 -0400 Received: from mail-io0-f175.google.com ([209.85.223.175]:34599 "EHLO mail-io0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750854AbbG2N1Q (ORCPT ); Wed, 29 Jul 2015 09:27:16 -0400 MIME-Version: 1.0 Date: Wed, 29 Jul 2015 09:27:16 -0400 X-Google-Sender-Auth: dAs1O-gpLNo2n3gQGaiUCszEiCw Message-ID: Subject: cgroup/loop Bad page state oops in Linux v4.2-rc3-136-g45b4b782e848 From: Josh Boyer To: Ming Lei , Tejun Heo , Johannes Weiner Cc: Jens Axboe , "Linux-Kernel@Vger. Kernel. Org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3923 Lines: 77 Hi All, We've gotten a report[1] that any of the upcoming Fedora 23 install images are all failing on 32-bit VMs/machines. Looking at the first instance of the oops, it seems to be a bad page state where a page is still charged to a group and it is trying to be freed. The oops output is below. Has anyone seen this in their 32-bit testing at all? Thus far nobody can recreate this on a 64-bit machine/VM. josh [1] https://bugzilla.redhat.com/show_bug.cgi?id=1247382 [ 9.026738] systemd[1]: Switching root. [ 9.036467] systemd-journald[149]: Received SIGTERM from PID 1 (systemd). [ 9.082262] BUG: Bad page state in process kworker/u5:1 pfn:372ac [ 9.083989] page:f3d32ae0 count:0 mapcount:0 mapping:f2252178 index:0x16a [ 9.085755] flags: 0x40020021(locked|lru|mappedtodisk) [ 9.087284] page dumped because: page still charged to cgroup [ 9.088772] bad because of flags: [ 9.089731] flags: 0x21(locked|lru) [ 9.090818] page->mem_cgroup:f2c3e400 [ 9.091862] Modules linked in: loop nls_utf8 isofs 8021q garp stp llc 8139too mrp 8139cp crc32_pclmul ata_generic crc32c_intel qxl syscopyarea sysfillrect sysimgblt drm_kms_helper serio_raw mii virtio_pci ttm pata_acpi drm scsi_dh_rdac scsi_dh_emc scsi_dh_alua sunrpc dm_crypt dm_round_robin linear raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor xor async_tx raid6_pq raid1 raid0 iscsi_ibft iscsi_boot_sysfs floppy iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi squashfs cramfs edd dm_multipath [ 9.104829] CPU: 0 PID: 745 Comm: kworker/u5:1 Not tainted 4.2.0-0.rc3.git4.1.fc23.i686 #1 [ 9.106987] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140709_153950- 04/01/2014 [ 9.109445] Workqueue: kloopd1 loop_queue_read_work [loop] [ 9.110982] c0d439a7 af8cdfed 00000000 f6cfbd1c c0aa22c9 f3d32ae0 f6cfbd40 c054e30a [ 9.113298] c0c6e4e0 f6dfc228 000372ac 00b13ce1 c0c7271d f2252178 00000000 f6cfbd60 [ 9.115562] c054eea9 f6cfbd5c 00000000 00000000 f3d32ae0 f3494000 40020021 f6cfbd8c [ 9.117848] Call Trace: [ 9.118738] [] dump_stack+0x41/0x52 [ 9.120034] [] bad_page.part.80+0xaa/0x100 [ 9.121461] [] free_pages_prepare+0x3b9/0x3f0 [ 9.122934] [] free_hot_cold_page+0x22/0x160 [ 9.124400] [] ? copy_to_iter+0x1af/0x2a0 [ 9.125750] [] ? mempool_free_slab+0x13/0x20 [ 9.126840] [] __free_pages+0x37/0x50 [ 9.127849] [] mempool_free_pages+0xd/0x10 [ 9.128908] [] mempool_free+0x26/0x80 [ 9.129895] [] bounce_end_io+0x56/0x80 [ 9.130923] [] bounce_end_io_read+0x32/0x40 [ 9.131973] [] bio_endio+0x56/0x90 [ 9.132953] [] blk_update_request+0x87/0x310 [ 9.134042] [] ? kvm_clock_read+0x17/0x20 [ 9.135103] [] ? sched_clock+0x8/0x10 [ 9.136100] [] blk_mq_end_request+0x16/0x60 [ 9.136912] [] __blk_mq_complete_request+0x9d/0xd0 [ 9.137730] [] blk_mq_complete_request+0x15/0x20 [ 9.138515] [] loop_handle_cmd.isra.23+0x5d/0x8c0 [loop] [ 9.139390] [] ? pick_next_task_fair+0xa63/0xbb0 [ 9.140202] [] loop_queue_read_work+0x10/0x12 [loop] [ 9.141043] [] process_one_work+0x145/0x380 [ 9.141779] [] worker_thread+0x39/0x430 [ 9.142524] [] ? process_one_work+0x380/0x380 [ 9.143303] [] kthread+0xa6/0xc0 [ 9.143936] [] ret_from_kernel_thread+0x21/0x30 [ 9.144742] [] ? kthread_worker_fn+0x130/0x130 [ 9.145529] Disabling lock debugging due to kernel taint -- 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/