Re: libata PATA drivers patch for 2.6.16-rc4

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

 



Francesco Biscani wrote:

Feb 20 22:06:17 kurtz ata2(0): WARNING: ATAPI is disabled, device ignored.
..
The CDROM on the second ide channel was not recognized (what's up with that WARNING?).

Dunno.  For some odd reason libata still doesn't want to handle ATAPI
devices out-of-the-box.  There's a boot/module option for it, though,
as well as this patch (attached).
--- linux.old/drivers/scsi/libata-core.c	2006-02-14 12:10:33.000000000 -0500
+++ linux/drivers/scsi/libata-core.c	2006-02-16 11:42:58.000000000 -0500
@@ -78,7 +78,7 @@
 static unsigned int ata_unique_id = 1;
 static struct workqueue_struct *ata_wq;
 
-int atapi_enabled = 0;
+int atapi_enabled = 1;
 module_param(atapi_enabled, int, 0444);
 MODULE_PARM_DESC(atapi_enabled, "Enable discovery of ATAPI devices (0=off, 1=on)");
 

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux