Skip to contentSkip to conversation

New: [pata_ali] ATAPI UltraDMA on secondary channel broken

Bug 12714 [email protected] 1 participant 2 messages Feb 15, 2009 – Feb 16, 2009 libata

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=12714

           Summary: [pata_ali] ATAPI UltraDMA on secondary channel broken
           Product: IO/Storage
           Version: 2.5
     KernelVersion: 2.6.27
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: blocking
          Priority: P1
         Component: IDE
        AssignedTo: [email protected]
        ReportedBy: [email protected]

Latest working kernel version: 2.6.24 (with libata)
Earliest failing kernel version: confirmed 2.6.27 (with libata), possibly 2.6.25
Distribution: Slackware 12.2
Hardware Environment:

00:12.0 IDE interface [0101]: ALi Corporation M5229 IDE [10b9:5229] (rev c7)

See http://bugzilla.kernel.org/show_bug.cgi?id=9904 for more hardware info.

Problem Description:

Linux 2.6.24 (Slackware 12.1) pata_ali driver worked reliable in ATAPI UltraDMA mode reading and writing media on both channels, beside the cable detection issue mentioned in bug #9904 (which occured only with this specific ASUS drive).

The 2.6.27 driver completely disables ATAPI DMA and the atapi_dma=1 modparm brings it back only on the primary channel.

pata_ali 0000:00:12.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 scsi3 : pata_ali
scsi4 : pata_ali
ata4: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
ata5: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xff08 irq 15 ata4.00: ATAPI: PIONEER DVD-RW DVR-212, 1.28, max UDMA/66 ata4.00: configured for UDMA/66
ata5.00: ATAPI: MATSHITADVD-RAM SW-9576S, AY0J, max UDMA/66 ata5.00: simplex DMA is claimed by other device, disabling DMA ata5.00: configured for PIO4

# hdparm -t /dev/sr1

/dev/sr1:
Timing buffered disk reads: 6 MB in 3.18 seconds = 1.89 MB/sec

So the secondary channel is completely unusable now with libata.

Also I see no sense in the atapi_dma switch and its default (off), because ATAPI DMA was fine on 2.6.24. There might be a tunable for buggy hardware, but this default (which does not work with modern DVD writers at all) is bogus and should be changed.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#1 lore raw

[Bug 12714] [pata_ali] ATAPI UltraDMA on secondary channel broken

http://bugzilla.kernel.org/show_bug.cgi?id=12714

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

         AssignedTo|[email protected] |[email protected]
          Component|IDE                         |Serial ATA
         Regression|0                           |1

------- Comment #1 from [email protected] 2009-02-15 16:51 ------- Reassigned to sata/pata, marked as a regression.

Signature · 4 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.