Re: ide taskfile and cdrom hang

From: Bartlomiej Zolnierkiewicz
Date: Mon Feb 02 2004 - 20:12:10 EST


On Tuesday 03 of February 2004 01:16, Mark Haverkamp wrote:
> On Mon, 2004-02-02 at 16:13, Bartlomiej Zolnierkiewicz wrote:
> > On Tuesday 03 of February 2004 00:52, Mark Haverkamp wrote:
> > > On Mon, 2004-02-02 at 15:37, Bartlomiej Zolnierkiewicz wrote:
> > > > On Monday 02 of February 2004 22:44, Mark Haverkamp wrote:
> > > > > On Mon, 2004-02-02 at 13:35, Bartlomiej Zolnierkiewicz wrote:
> > > > > > On Monday 02 of February 2004 21:45, Mark Haverkamp wrote:
> > > > > > > On Mon, 2004-02-02 at 11:45, Bartlomiej Zolnierkiewicz wrote:
> > > > > > > > On Monday 02 of February 2004 19:46, Mark Haverkamp wrote:
> > > > > > > > > On Sun, 2004-02-01 at 12:48, Bartlomiej Zolnierkiewicz
> > > > > > > > > wrote:
> > >
> > > [ ... ]
> > >
> > > > Now, can you comment out "(UDELAY(10))" printk and add printk for
> > > > "retries" variable after while {} loop. I thought there will be more
> > > > "(UDELAY(10))" messages - but I forgot about delay introduced by
> > > > printk() call :-).
> > > >
> > > > --bart
> > >
> > > I ran twice, got the same results:
> > >
> > > 1)
> > > hda: (WAIT_NOT_BUSY) status=0x50 retry 94
> > > hda: (CHECK_STATUS) status=0x50
> > > hda: (WAIT_NOT_BUSY) status=0x50 retry 94
> > > hda: (CHECK_STATUS) status=0x50
> >
> > Is this output for single 'cat /proc/ide/hda/identify' run?
> > There should be only one WAIT_NOT_BUSY and one CHECK_STATUS.
>
> I see two for each cat. Also, the 94 is the leftover number. So there
> were probably about 6 retries.

Yep, I need some caffeine or sleep :-).
Okay, so 6 retries were needed and the limit was 5.

Thanks,
--bart

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/