Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757150AbXJ2KcT (ORCPT ); Mon, 29 Oct 2007 06:32:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753128AbXJ2KcF (ORCPT ); Mon, 29 Oct 2007 06:32:05 -0400 Received: from ppsw-2.csi.cam.ac.uk ([131.111.8.132]:42548 "EHLO ppsw-2.csi.cam.ac.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752451AbXJ2KcE (ORCPT ); Mon, 29 Oct 2007 06:32:04 -0400 X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ From: Anton Altaparmakov To: Mike Galbraith In-Reply-To: <1193638086.7409.21.camel@Homer.simpson.net> Subject: Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang References: <1193638086.7409.21.camel@Homer.simpson.net> Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Date: Mon, 29 Oct 2007 10:31:59 +0000 Cc: LKML , linux-ntfs-dev@lists.sourceforge.net X-Mailer: Apple Mail (2.912) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2572 Lines: 61 Hi, On 29 Oct 2007, at 06:08, Mike Galbraith wrote: > I've stumbled across a 2.6.22->2.6.23 regression. First md5sum access > of an empty NTFS file leads to kernel I/O error gripe, a second access > leaves md5sum hung. 2.6.22.10 has no trouble accessing this file. > > Looking at the 22->23 diff, I don't see a quick and dirty stab > candidate, and since I'm preparing for a 5 week separation from my box > , I doubt I'll have time to do a bisect. /me punts. > > root@Homer: md5sum '/windows/C/Dokumente und Einstellungen/All Users/ > Anwendungsdaten/Microsoft/Network/Connections/Pbk/rasphone.pbk' > md5sum: /windows/C/Dokumente und Einstellungen/All Users/ > Anwendungsdaten/Microsoft/Network/Connections/Pbk/rasphone.pbk: > Input/output error > > [ 228.551859] NTFS-fs error (device hda1): > ntfs_read_compressed_block(): ntfs_map_runlist() failed. Cannot read > compression block. > > [ 401.721890] md5sum D eee53d64 0 7249 7019 > [ 401.727155] eee53d78 00200082 00000002 eee53d64 eee53d5c > 00000000 e9b006b0 e9b00700 > [ 401.735469] 5f6b3463 c0677060 c067a080 e9b00860 c180d080 > 00000000 c180d080 c180d108 > [ 401.743991] 00000001 00200086 e9b006e0 00200086 f79ca640 > eee53d94 0000b4d3 00200202 > [ 401.752514] Call Trace: > [ 401.755155] [] io_schedule+0x1e/0x28 > [ 401.759711] [] sync_page+0x34/0x3f > [ 401.764102] [] __wait_on_bit_lock+0x40/0x63 > [ 401.769281] [] __lock_page+0x54/0x5c > [ 401.773845] [] do_generic_mapping_read+0x236/0x4e7 > [ 401.779629] [] generic_file_aio_read+0xff/0x198 > [ 401.785138] [] do_sync_read+0xd0/0x106 > [ 401.789873] [] vfs_read+0x89/0x11d > [ 401.794266] [] sys_read+0x3d/0x64 > [ 401.798569] [] syscall_call+0x7/0xb > [ 401.803039] ======================= Could you post the complete dmesg output, please? Nothing related has changed in the NTFS driver between 2.6.22.10 and 2.6.23 so I expect something else to be at fault here. Could you post your .config as well, please? Best regards, Anton -- Anton Altaparmakov (replace at with @) Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK Linux NTFS maintainer, http://www.linux-ntfs.org/ - 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/