2006-03-03 21:58:50

by John Treubig

[permalink] [raw]
Subject: CDROM support for Promise 20269

I've been working on a problem with Promise 20269 PATA adapter under LibATA
that if I attach a CDROM drive, I can not see the drive. The message log
reports that the driver sees the device, but when I'm fully booted, there's
no device available. If I attach it to the motherboard IDE bus, I can
access it just fine. I've attached a copy of the boot log and you'll see
the motherboard CD/DVD and the one attached to the Promise. I suspect the
PDC driver isn't handling the CDrom. I'm currently running 2.6.15.

Best wishes,
John Treubig
VT Miltope


Attachments:
startup.txt (15.30 kB)

2006-03-03 23:25:04

by Robert Hancock

[permalink] [raw]
Subject: Re: CDROM support for Promise 20269

John Treubig wrote:
> I've been working on a problem with Promise 20269 PATA adapter under
> LibATA that if I attach a CDROM drive, I can not see the drive. The
> message log reports that the driver sees the device, but when I'm fully
> booted, there's no device available.

..

> [ 118.621489] scsi4 : pata_pdc2027x
> [ 118.643926] ata1(1): WARNING: ATAPI is disabled, device ignored.

Sounds like your problem there.. need to enable ATAPI in your
libata/PATA kernel configuration?

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/

2006-03-03 23:33:53

by Randy Dunlap

[permalink] [raw]
Subject: Re: CDROM support for Promise 20269

On Fri, 03 Mar 2006 17:25:54 -0600 Robert Hancock wrote:

> John Treubig wrote:
> > I've been working on a problem with Promise 20269 PATA adapter under
> > LibATA that if I attach a CDROM drive, I can not see the drive. The
> > message log reports that the driver sees the device, but when I'm fully
> > booted, there's no device available.
>
> ..
>
> > [ 118.621489] scsi4 : pata_pdc2027x
> > [ 118.643926] ata1(1): WARNING: ATAPI is disabled, device ignored.
>
> Sounds like your problem there.. need to enable ATAPI in your
> libata/PATA kernel configuration?

Please don't drop cc's etc. Just use reply-to-all.

For John: this means that you need to load libata with this option:
atapi_enabled=1
So if you build it into the kernel image, add this to the boot option:
libata.atapi_enabled=1
or if you load it as a module, just add: atapi_enabled=1
or you can edit the source file and change the variable to 1,
but that's the least preferable way IMO.

---
~Randy

2006-03-06 16:41:09

by John Treubig

[permalink] [raw]
Subject: Re: CDROM support for Promise 20269

Thanks Randy and Robert. Your suggestion fixed the problem.


From: "Randy.Dunlap" <[email protected]>
To: Robert Hancock <[email protected]>,
[email protected],[email protected]
CC: [email protected], scsi <[email protected]>
Subject: Re: CDROM support for Promise 20269
Date: Fri, 3 Mar 2006 15:35:17 -0800

On Fri, 03 Mar 2006 17:25:54 -0600 Robert Hancock wrote:

> John Treubig wrote:
> > I've been working on a problem with Promise 20269 PATA adapter under
> > LibATA that if I attach a CDROM drive, I can not see the drive. The
> > message log reports that the driver sees the device, but when I'm fully
> > booted, there's no device available.
>
> ..
>
> > [ 118.621489] scsi4 : pata_pdc2027x
> > [ 118.643926] ata1(1): WARNING: ATAPI is disabled, device ignored.
>
> Sounds like your problem there.. need to enable ATAPI in your
> libata/PATA kernel configuration?

Please don't drop cc's etc. Just use reply-to-all.

For John: this means that you need to load libata with this option:
atapi_enabled=1
So if you build it into the kernel image, add this to the boot option:
libata.atapi_enabled=1
or if you load it as a module, just add: atapi_enabled=1
or you can edit the source file and change the variable to 1,
but that's the least preferable way IMO.

---
~Randy