mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Zwane Mwaikambo <zwane@linuxpower.ca>,
	Martin Dalecki <dalecki@evision-ventures.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: IDE94 lockup on lock_page or __wait_on_buffer
Date: Mon, 8 Jul 2002 04:04:56 +0200	[thread overview]
Message-ID: <20020708020456.GA1144@ppc.vc.cvut.cz> (raw)
In-Reply-To: <Pine.SOL.4.30.0207071915310.1945-200000@mion.elka.pw.edu.pl>

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 &
<change to vt2>
# dd if=/dev/hdg of=/dev/null bs=4k
<change back to vt1>
# 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



  parent reply	other threads:[~2002-07-08  2:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-07 10:53 ata_special_intr, ide_do_drive_cmd deadlock Zwane Mwaikambo
2002-07-07 10:39 ` Thunder from the hill
2002-07-07 12:25   ` Zwane Mwaikambo
2002-07-07 16:55 ` Bartlomiej Zolnierkiewicz
2002-07-07 17:17   ` Zwane Mwaikambo
2002-07-07 17:25     ` Zwane Mwaikambo
2002-07-07 17:27       ` Bartlomiej Zolnierkiewicz
2002-07-07 18:00         ` Zwane Mwaikambo
2002-07-08  2:04         ` Petr Vandrovec [this message]
2002-07-07 17:40       ` Bartlomiej Zolnierkiewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020708020456.GA1144@ppc.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=dalecki@evision-ventures.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zwane@linuxpower.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®