lkml.org 
[lkml]   [2006]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: libata PATA drivers patch for 2.6.16-rc4
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)");
\
 
 \ /
  Last update: 2006-02-20 23:15    [from the cache]
©2003-2011 Jasper Spaans