lkml.org 
[lkml]   [2002]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectIDE and CDROM devices (was Re: [IDE bug] hdparm lockup)
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

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.029 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site