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

Re: SATA DVD support under 2.6.15



When booted using the options that produced the dmesg output that you
sent, what is the output of the following commands?

cdrecord -scanbus
cdrecord dev=ATAPI: -scanbus
cdrecord dev=ATA: -scanbus

Robert

On Wed, 2006-02-08 at 22:15 -0700, Stefan Srdic wrote:
> hi,   I've recently installed Etch on my Toshiba Satallite M40. The
> installation was a little rough, I had to manipulate the modules in
> expert mode in order for the installation to detect my DVD drive and
> complete the installation.
> 
> Since the installation I've had to compile a new kernel along with a few
> patches in order to get my network card and MMC/SD controller to
> function. So far everything works except for my DVD drive.
> 
> >From what I've read on the net, libata.h needs to be edited in order to
> support ATAPI. I've tried to define a thing or two in libata.h with no
> success:
> 
> #undef ATA_ENABLE_PATA          /* define to enable PATA support in some
>                                  * low-level drivers */
> #undef ATAPI_ENABLE_DMADIR      /* enables ATAPI DMADIR bridge support */
> 
> Changed to:
> 
> #define ATA_ENABLE_PATA          /* define to enable PATA support in some
>                                  * low-level drivers */
> #define ATAPI_ENABLE_DMADIR      /* enables ATAPI DMADIR bridge support */
> 
> 
> 
> I've even tried to pass the arguments libata.atapi_enable=1 and
> atapi_enable=1 to the kernel through lilo with no success. So far, the
> best that I could manage was this:
> libata version 1.20 loaded.
> ata_piix 0000:00:1f.2: version 1.05
> ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
> ACPI: PCI Interrupt 0000:00:1f.2[B] -> Link [LNKD] -> GSI 11 (level,
> low) -> IRQ 11
> PCI: Setting latency timer of device 0000:00:1f.2 to 64
> ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x1100 irq 14
> ata1: dev 0 cfg 49:2f00 82:746b 83:7d09 84:6023 85:7468 86:3c09 87:6023
> 88:203f
> ata1: dev 0 ATA-6, max UDMA/100, 195371568 sectors: LBA48
> ata1(0): applying bridge limits
> ata1: dev 0 configured for UDMA/100
> scsi0 : ata_piix
>   Vendor: ATA       Model: TOSHIBA MK1031GA  Rev: AA20
>   Type:   Direct-Access                      ANSI SCSI revision: 05
> ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x1108 irq 15
> ata2: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000
> 88:0407
> ata2: dev 0 ATAPI, max UDMA/33
> ata2(0): applying bridge limits
> ata2: dev 0 configured for UDMA/33
> scsi1 : ata_piix
> ata2(0): WARNING: ATAPI is disabled, device ignored.
> SCSI device sda: 195371568 512-byte hdwr sectors (100030 MB)
> SCSI device sda: drive cache: write back
> SCSI device sda: 195371568 512-byte hdwr sectors (100030 MB)
> SCSI device sda: drive cache: write back
>  sda: sda1 sda2 < sda5 >
> sd 0:0:0:0: Attached scsi disk sda
> sd 0:0:0:0: Attached scsi generic sg0 type 0
>  
> Can sombody please help me enable ATAPI devices under libata, I've only
> found outdated documentation that is irrelavent for my kernel version.
> 
> Thanks
> 
> 



Reply to: