All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: Marcin Dalecki <dalecki@evision.ag>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: IDE and CDROM devices (was Re: [IDE bug] hdparm lockup)
Date: Thu, 25 Jul 2002 12:23:12 +0200	[thread overview]
Message-ID: <1A90171BA8@vcnet.vc.cvut.cz> (raw)

On 25 Jul 02 at 9:38, Marcin Dalecki wrote:
> Andrew Morton wrote:
> > 
> > /dev/hdc:
> >  HDIO_GETGEO_BIG failed: Invalid argument
> >  (what's this?)
> 
> Please don't call every bug out there IDE. Thanks.
> Becouse this one is acutally most likely due to the ioctl() handling
> changes between 27 and 28...

Any plans to fix 'hdparm -I /dev/atapi-cdrom-device' I reported to
you and Bartolomiej at the end of June? ide_*_taskfile
sets REQ_SPECIAL, but ide-cd calls cdrom_end_request(drive, rq, 1) 
on all such requests without looking at them or without trying to
execute them. This forces hdparm -I to think that ATA identify
suceeded and returned all zeroes:

/dev/hdd:

removable ATA device, with non-removable media
Standards:
        Likely used: 1
Configuration:
        Logical               max current
        cylinders             0   0
        heads                 0   0
        ...
Capabilities:
        no IORDY
        Cannot perform double-word IO
        r/w/ multiple sector transfer: not supported
        DMA: not supported
        PIO: pio0        

while 'hdparm -i' correctly reports that it is Toshiba DVD device
supporting IORDY, pio0-4, sdma0-2, mdma0-2, udma0-2, according
to ATA2-ATA5.
                                                Thanks,
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                    

                 reply	other threads:[~2002-07-25 10:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1A90171BA8@vcnet.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=dalecki@evision.ag \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.