mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Haverkamp <markh@osdl.org>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Cliff White <cliffw@osdl.org>
Subject: Re: ide taskfile and cdrom hang
Date: Mon, 02 Feb 2004 16:16:24 -0800	[thread overview]
Message-ID: <1075767384.13805.9.camel@markh1.pdx.osdl.net> (raw)
In-Reply-To: <200402030113.49852.bzolnier@elka.pw.edu.pl>

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.
> 
> > 2)
> > 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
> 
> Wow, 94 retries vs. limit of 5 previously.

The 94 is the leftover number. Retry started at 100 and was decremented
in the status check loop. So there were probably about 6 retries.


> 
> Please also check if  'hdparm -Istdin</proc/ide/hda/identify'
> returns correct information now.

# hdparm  -Istdin</proc/ide/hda/identify
 
ATAPI CD-ROM, with removable media
        Model Number:       CD-224E
        Serial Number:
        Firmware Revision:  1.5A
Standards:
        Likely used CD-ROM ATAPI-1
Configuration:
        DRQ response: 50us.
        Packet size: 12 bytes
Capabilities:
        Cmd overlap, LBA, IORDY(can be disabled)
        Buffer size: 128.0kB
        Overlap support: 896us to release bus. 115us to clear BSY after SERVICE
cmd.
        DMA: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns


Plus:

hda: (WAIT_NOT_BUSY) status=0x50 retry 94
hda: (CHECK_STATUS) status=0x50

on the console.


> 
> Thanks,
> --bart

I see two for each cat.  Also, the 94 is the leftover number. So there
were probably about 6 retries.

Mark.
-- 
Mark Haverkamp <markh@osdl.org>


  reply	other threads:[~2004-02-03  0:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-30 22:36 Mark Haverkamp
2004-02-01 20:48 ` Bartlomiej Zolnierkiewicz
2004-02-02 18:46   ` Mark Haverkamp
2004-02-02 19:45     ` Bartlomiej Zolnierkiewicz
2004-02-02 20:45       ` Mark Haverkamp
2004-02-02 21:35         ` Bartlomiej Zolnierkiewicz
2004-02-02 21:44           ` Mark Haverkamp
2004-02-02 23:37             ` Bartlomiej Zolnierkiewicz
2004-02-02 23:52               ` Mark Haverkamp
2004-02-03  0:13                 ` Bartlomiej Zolnierkiewicz
2004-02-03  0:16                   ` Mark Haverkamp [this message]
2004-02-03  1:09                     ` Bartlomiej Zolnierkiewicz
     [not found] <1075502193.26342.61.camel@markh1.pdx.osdl.net.suse.lists.linux.kernel>
2004-01-31  0:46 ` Andi Kleen

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=1075767384.13805.9.camel@markh1.pdx.osdl.net \
    --to=markh@osdl.org \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=cliffw@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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®