From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel J Blueman Subject: [2.6.34-rc5] bad page state copying to/from HFS+ filesystem... Date: Sun, 25 Apr 2010 22:14:16 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 To: Linux Kernel , linux-fsdevel@vger.kernel.org Return-path: Received: from mail-yw0-f194.google.com ([209.85.211.194]:60784 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232Ab0DYVOR (ORCPT ); Sun, 25 Apr 2010 17:14:17 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: When copying data from a HFS+ filesystem to a freshly-created one, I experienced page state corruption [1]. I don't have access to the filesystem anymore, but can run some other filesystem tests if anyone is interested. Kernel is mainline 2.6.34-rc5 on x86-64. Thanks, Daniel --- [1] hfs: backup: 0,1953523120,244190389,3072 hfs: backup: 0,1953523120,244190389,3072 hfs: backup: 0,1953523120,244190389,3072 hfs: backup: 0,1953523120,244190389,3072 hfs: backup: 0,1953523120,244190389,3072 BUG: Bad page state in process cp pfn:37654 page:ffffea0000c1e260 count:0 mapcount:0 mapping:(null) index:0x0 page flags: 0x100000000000004(referenced) Pid: 3163, comm: cp Not tainted 2.6.34-020634rc5-generic #020634rc5 Call Trace: [] ? dump_page+0x44/0x60 [] bad_page+0x8f/0x110 [] ? try_get_mem_cgroup_from_mm+0x24/0x80 [] prep_new_page+0x133/0x150 [] get_page_from_freelist+0x1d5/0x460 [] __alloc_pages_nodemask+0xda/0x180 [] alloc_pages_current+0x8c/0xd0 [] __page_cache_alloc+0x6d/0x80 [] grab_cache_page_write_begin+0x7c/0xc0 [] block_write_begin+0x8c/0xf0 [] cont_write_begin+0x8c/0xd0 [] ? hfsplus_get_block+0x0/0x1a0 [hfsplus] [] hfsplus_write_begin+0x36/0x40 [hfsplus] [] ? hfsplus_get_block+0x0/0x1a0 [hfsplus] [] generic_perform_write+0xc1/0x1a0 [] generic_file_buffered_write+0x65/0xa0 [] __generic_file_aio_write+0x251/0x3f0 [] ? generic_file_aio_read+0xb9/0x1b0 [] generic_file_aio_write+0x5c/0xb0 [] do_sync_write+0xd5/0x120 [] ? security_file_permission+0x16/0x20 [] vfs_write+0xcc/0x1a0 [] sys_write+0x55/0x90 [] system_call_fastpath+0x16/0x1b Disabling lock debugging due to kernel taint -- Daniel J Blueman