Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 7 Jul 2002 22:02:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 7 Jul 2002 22:02:18 -0400 Received: from p0013.as-l042.contactel.cz ([194.108.237.13]:2688 "EHLO ppc.vc.cvut.cz") by vger.kernel.org with ESMTP id ; Sun, 7 Jul 2002 22:02:17 -0400 Date: Mon, 8 Jul 2002 04:04:56 +0200 From: Petr Vandrovec To: Bartlomiej Zolnierkiewicz Cc: Zwane Mwaikambo , Martin Dalecki , Linux Kernel Subject: IDE94 lockup on lock_page or __wait_on_buffer Message-ID: <20020708020456.GA1144@ppc.vc.cvut.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1934 Lines: 70 On Sun, Jul 07, 2002 at 07:27:18PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Do you realise that 2.5.25 have IDE 93 and it should be fixed in IDE 96. > > BTW: know problem with 96 is broken ide_timer_expiry(). > Attached IDE 98 (or not) prepatch should fix it. Hello, there is something wrong with IDE94 :-( I'm starring at this problem for 6 hours, but I still cannot explain that. After applying IDE94 and simple booting with: Linux init=/bin/bash # bash < /dev/tty2 > /dev/tty2 2>&1 & # dd if=/dev/hdg of=/dev/null bs=4k # df system deadlocks. Call stack is either (when dd locks) __lock_page lock_page filemap_nopage (first call to lock_page, at line 1550) do_no_page handle_mm_fault do_page_fault error_code or (when bash dies while trying to start df) __wait_on_buffer __bread_slow __getblk ext2_get_inode ext2_read_inode ext2_lookup real_lookup do_lookup link_path_walk path_lookup __user_walk vfs_stat sys_stat64 syscall_call Probably IDE messes its request queue and forgets to execute some requests, or what's going on... None of running processes (2x bash, dd, keventd, ksoftirqd...) is executing IDE code when the deadlock happens. IDE channel in question is dead after deadlock occurs (hdparm -d 0 /dev/hde says channel busy after some timeout). Kernel is up, non-preemptible, running on 1GHz Athlon, one UDMA100 IDE (hde) and one UDMA33 IDE (hdg) connected to pdc20265, 512MB RAM. I did not notice any problem while using this patch for last 7 days on 450MHz PIII, two UDMA33 IDE connected to PIIX4, 640MB RAM. Problem occurs even with latest ide-98-pre. Thanks, Petr Vandrovec vandrove@vc.cvut.cz - 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/