И в винде, и в линуксе всё остаётся по-прежнему.
Что пока не пробовалось (последняя надежда) - заменить шлейф udma33 на udma66. Но винда ведь и так работает...
Похожие темы:
SLED10: не удается включить DMA для DVDRW
Решено: CD/DVD и FC6
Далее куски логов.
Код: Выделить всё
$ uname -a
Linux cehost 2.6.24-ARCH #1 SMP PREEMPT Sun Mar 30 11:40:06 CEST 2008 i686 Celeron (Coppermine) GenuineIntel GNU/Linux
Кусок dmesg
Код: Выделить всё
ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xd008 irq 15
ata1.00: ATA-7: ST3160812A, 3.AAJ, max UDMA/100
ata1.00: 312581808 sectors, multi 16: LBA48
ata1.00: configured for UDMA/66
ata2.00: ATAPI: Optiarc DVD RW AD-5200A, 1.01, max UDMA/66
ata2.00: configured for UDMA/66
scsi 0:0:0:0: Direct-Access ATA ST3160812A 3.AA PQ: 0 ANSI: 5
scsi 1:0:0:0: CD-ROM Optiarc DVD RW AD-5200A 1.01 PQ: 0 ANSI: 5
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
Код: Выделить всё
dmesg | grep -i via
ACPI: RSDP 000F6760, 0014 (r0 VIA692)
ACPI: RSDT 0FFF3000, 0028 (r1 VIA692 AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 0FFF3040, 0074 (r1 VIA692 AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 0FFF30C0, 2082 (r1 VIA692 AWRDACPI 1000 MSFT 100000C)
PCI: VIA PCI bridge detected. Disabling DAC.
PCI: Disabling Via external APIC routing
pata_via 0000:00:07.1: version 0.3.3
scsi0 : pata_via
scsi1 : pata_via
parport_pc: VIA 686A/8231 detected
parport_pc: VIA parallel port: io=0x378, irq=7
agpgart: Detected VIA Apollo Pro 133 chipset
PCI: VIA VLink IRQ fixup for 0000:00:07.2, from 9 to 11
PCI: VIA VLink IRQ fixup for 0000:00:07.3, from 9 to 11
Код: Выделить всё
$ dmesg | grep -i dma
DMA 0 -> 4096
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
ata1: PATA max UDMA/66 cmd 0x1f0 ctl 0x3f6 bmdma 0xd000 irq 14
ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xd008 irq 15
ata1.00: ATA-7: ST3160812A, 3.AAJ, max UDMA/100
ata1.00: configured for UDMA/66
ata2.00: ATAPI: Optiarc DVD RW AD-5200A, 1.01, max UDMA/66
ata2.00: configured for UDMA/66
[ab_arch@cehost ~]$ hdparm -i /dev/sr0
/dev/sr0:
Model=Optiarc DVD RW AD-5200A , FwRev=1.01 , SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 *udma4
AdvancedPM=no
* signifies the current active mode
Код: Выделить всё
# hdparm -I /dev/sr0
/dev/sr0:
ATAPI CD-ROM, with removable media
Model Number: Optiarc DVD RW AD-5200A
Firmware Revision: 1.01
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(cannot be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 *udma3 udma4
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
Power Management feature set
PACKET command feature set
DEVICE_RESET command
NOP cmd
HW reset results:
CBLID- above Vih
Device num = 0
[root@cehost ~]# hdparm -X mdma2 /dev/sr0
/dev/sr0:
setting xfermode to 34 (multiword DMA mode2)
SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
HDIO_DRIVE_CMD(setxfermode) failed: Input/output error
Код: Выделить всё
ata2: port is slow to respond, please be patient (Status 0xd1)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting link
ata2.00: configured for UDMA/66
ata2: EH complete
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: cmd a0/01:00:00:00:fc/00:00:00:00:00/a0 tag 0 dma 129024 in
cdb 28 00 00 10 0e 61 00 00 3f 00 00 00 00 00 00 00
res 40/00:03:00:00:08/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata2.00: status: { DRDY }
ata2: port is slow to respond, please be patient (Status 0xd1)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting link
ata2.00: configured for UDMA/66
ata2: EH complete
ata2.00: limiting speed to UDMA/44:PIO4
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: cmd a0/01:00:00:00:fc/00:00:00:00:00/a0 tag 0 dma 129024 in
cdb 28 00 00 10 0e 61 00 00 3f 00 00 00 00 00 00 00
res 40/00:03:00:00:08/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata2.00: status: { DRDY }
ata2: port is slow to respond, please be patient (Status 0xd1)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting link
ata2.00: configured for UDMA/44
sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 1:0:0:0: [sr0] Sense Key : 0xb [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
72 0b 00 00 00 00 00 0e 09 0c 00 00 00 03 00 00
00 00 00 08 a0 40
sr 1:0:0:0: [sr0] ASC=0x0 ASCQ=0x0
end_request: I/O error, dev sr0, sector 4209028
printk: 56 messages suppressed.
Buffer I/O error on device sr0, logical block 1052257
Buffer I/O error on device sr0, logical block 1052258
Buffer I/O error on device sr0, logical block 1052259
Buffer I/O error on device sr0, logical block 1052260
Buffer I/O error on device sr0, logical block 1052261
Buffer I/O error on device sr0, logical block 1052262
Buffer I/O error on device sr0, logical block 1052263
Buffer I/O error on device sr0, logical block 1052264
Buffer I/O error on device sr0, logical block 1052265
Buffer I/O error on device sr0, logical block 1052266
ata2: EH complete