Re: libata: CD and dvd devices not recognized

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



YUP wrote:
> Hi Albert,
> 
> I confirm that windows can read data from this drive. Autoplay works
> too. Even more, after I inserted dist into cdrom drive nero-info showed
> speed 52X:
> 
> Drive Information
> ------------------
> Drive                      : E-IDE    CD-ROM 56X/AKH
> Type                       : CD-ROM Drive
> Firmware Version           : A80
> Buffer Size                : 192 KB
> Date                       : ?
> Serial Number
> Vendor Specific            :
> Drive Letter               : D:\
> Location                   : 1:1
> Mechanism                  : Tray
> Read Speed                 : 52 , 40 , 32 , 24 , 16 , 8 , 4  X
> Write Speed                :  n/a
> 
> Read CD Text               : No
> Return C2 Pointers         : No
> Read CD-R                  : Yes
> Read CD-RW                 : Yes
> Read DVD-ROM               : No
> Read DVD-RAM               : No
> Read DVD-R                 : No
> Read DVD-RW                : No
> Read DVD-R DL              : No
> Read DVD+R                 : No
> Read DVD+RW                : No
> Read DVD+R DL              : No
> Read BD-ROM                : No
> Read BD-R                  : No
> Read BD-RE                 : No
> Read HD DVD-ROM            : No
> Read HD DVD-R              : No
> Read HD DVD-RW             : No
> Read HD-BURN               : No
> Read Digital Audio         : Yes
> Read CD+G                  : No
> Read VideoCD               : Yes
> 
> I tried to start linux box with inserted cd into drive but it didn't help.
> 

I don't know how windows works with it? Maybe uses polling to deal
with the lost irq?

Could you please keep the AOpen drive connected to the Promise adapter,
disconnect the HP drive from the Intel controller,
apply the attached patch, together with the previous debug patch and
{ "CD-ROM 56X/AKH", NULL,    ATA_HORKAGE_NODMA } DMA blacklist, and see if it helps.

Thanks.

--
albert

--- linux-2.6.20.3-ori/drivers/ata/pata_pdc2027x.c	2007-03-14 02:27:08.000000000 +0800
+++ linux-2.6.20.3-mod/drivers/ata/pata_pdc2027x.c	2007-03-17 18:40:49.000000000 +0800
@@ -214,7 +214,7 @@ static struct ata_port_info pdc2027x_por
 	{
 		.sht		= &pdc2027x_sht,
 		.flags		= ATA_FLAG_NO_LEGACY | ATA_FLAG_SLAVE_POSS |
-		                  ATA_FLAG_MMIO,
+		                  ATA_FLAG_MMIO | ATA_FLAG_PIO_POLLING,
 		.pio_mask	= 0x1f, /* pio0-4 */
 		.mwdma_mask	= 0x07, /* mwdma0-2 */
 		.udma_mask	= ATA_UDMA5, /* udma0-5 */
@@ -224,7 +224,7 @@ static struct ata_port_info pdc2027x_por
 	{
 		.sht		= &pdc2027x_sht,
 		.flags		= ATA_FLAG_NO_LEGACY | ATA_FLAG_SLAVE_POSS |
-                        	  ATA_FLAG_MMIO,
+                        	  ATA_FLAG_MMIO | ATA_FLAG_PIO_POLLING,
 		.pio_mask	= 0x1f, /* pio0-4 */
 		.mwdma_mask	= 0x07, /* mwdma0-2 */
 		.udma_mask	= ATA_UDMA6, /* udma0-6 */

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux