Re: IDE disk runs just in DMA/33 with 2.6.20.2 on nVidia CK804 controller

2007-03-13 Thread Alan Cox
On Tue, 13 Mar 2007 13:13:12 +0100 (CET)
[EMAIL PROTECTED] wrote:

> Hi,
> I reported this also for 2.6.20 kernel.
> new libata with controller nVidia CK804 initializes the disk in DMA/33,
> with with 2.6.19.5 and previous the disk is correctly inizialized in 
> DMA/100.
> Tha cable is OK, and with older kernels the disks runs without troubles.

I have the pieces that fix all this, but not yet integrated into the main
tree. With 2.6.21rc3 you have 80 wire cables you may find that simply
hacking the driver to set ATA_CBL_PATA80 is sufficient, but maybe not.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: IDE disk runs just in DMA/33 with 2.6.20.2 on nVidia CK804 controller

2007-03-13 Thread Tejun Heo
[EMAIL PROTECTED] wrote:
> Hi,
> I reported this also for 2.6.20 kernel.
> new libata with controller nVidia CK804 initializes the disk in DMA/33,
> with with 2.6.19.5 and previous the disk is correctly inizialized in
> DMA/100.
> Tha cable is OK, and with older kernels the disks runs without troubles.
> 
> The sistem has two sata disks on nvidia CK804 controllers, and then a
> disk as primary master, and a dvd writer (DMA/33) as secondary master)

Cable detection on CK804 is basically broken at the moment.  It should
be fixed with Alan's acpi cable detection magic soon (maybe 2.6.21).

Thanks.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


IDE disk runs just in DMA/33 with 2.6.20.2 on nVidia CK804 controller

2007-03-13 Thread l . genoni

Hi,
I reported this also for 2.6.20 kernel.
new libata with controller nVidia CK804 initializes the disk in DMA/33,
with with 2.6.19.5 and previous the disk is correctly inizialized in 
DMA/100.

Tha cable is OK, and with older kernels the disks runs without troubles.

The sistem has two sata disks on nvidia CK804 controllers, and then a disk 
as primary master, and a dvd writer (DMA/33) as secondary master)


here is lspci -vxxx
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2) (prog-if 8a 
[Master SecP PriP])

Subsystem: Unknown device f043:815a
Flags: bus master, 66MHz, fast devsel, latency 0
I/O ports at f000 [size=16]
Capabilities: [44] Power Management version 2
00: de 10 53 00 05 00 b0 00 f2 8a 01 01 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 f0 00 00 00 00 00 00 00 00 00 00 43 f0 5a 81
30: 00 00 00 00 44 00 00 00 00 00 00 00 00 00 03 01
40: 43 f0 5a 81 01 00 02 00 00 00 00 00 00 00 00 00
50: 03 f0 01 00 00 00 00 00 a8 20 a8 20 22 00 20 20
60: 00 c0 00 c6 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 50 96 29 00 00 04 20 00 9e 4f 00
90: 00 00 02 30 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 10 ff ff ff 0a 11 30 07

00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev 
f3) (prog-if 85 [Master SecO PriO])

Subsystem: ASUSTeK Computer Inc. Unknown device 815a
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
I/O ports at 09f0 [size=8]
I/O ports at 0bf0 [size=4]
I/O ports at 0970 [size=8]
I/O ports at 0b70 [size=4]
I/O ports at d800 [size=16]
Memory at d5002000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
00: de 10 54 00 07 00 b0 00 f3 85 01 01 00 00 00 00
10: f1 09 00 00 f1 0b 00 00 71 09 00 00 71 0b 00 00
20: 01 d8 00 00 00 20 00 d5 00 00 00 00 43 10 5a 81
30: 00 00 00 00 44 00 00 00 00 00 00 00 0b 01 03 01
40: 43 10 5a 81 01 00 02 00 00 00 00 00 00 00 00 00
50: 17 00 00 15 00 00 00 00 a8 20 a8 20 66 00 20 20
60: 00 c0 00 c6 11 0c 00 00 08 0f 06 42 00 00 00 00
70: 2c 78 c4 40 01 10 00 00 01 10 00 00 20 00 20 00
80: 00 00 00 40 00 50 4a 7f 00 00 02 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 06 00 06 10 00 00 01 01
a0: 50 01 00 7c 00 00 00 00 00 00 00 00 33 bb aa 02
b0: 05 cc 84 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 0a 00 0a 00 08 00 02 a8
d0: 01 00 02 0d 42 00 00 00 00 00 00 00 0f 00 d0 87
e0: 01 00 02 0d 42 00 00 00 00 00 00 00 f7 e0 e2 01
f0: 00 00 00 00 00 00 00 00 00 ff ff ff 0f 36 32 07

00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev 
f3) (prog-if 85 [Master SecO PriO])

Subsystem: ASUSTeK Computer Inc. K8N4-E Mainboard
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
I/O ports at 09e0 [size=8]
I/O ports at 0be0 [size=4]
I/O ports at 0960 [size=8]
I/O ports at 0b60 [size=4]
I/O ports at c400 [size=16]
Memory at d5001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
00: de 10 55 00 07 00 b0 00 f3 85 01 01 00 00 00 00
10: e1 09 00 00 e1 0b 00 00 61 09 00 00 61 0b 00 00
20: 01 c4 00 00 00 10 00 d5 00 00 00 00 43 10 5a 81
30: 00 00 00 00 44 00 00 00 00 00 00 00 0a 01 03 01
40: 43 10 5a 81 01 00 02 00 00 00 00 00 00 00 00 00
50: 17 00 00 15 00 00 00 00 a8 20 a8 20 66 00 20 20
60: 00 c0 00 c6 11 0c 00 00 08 0f 06 42 00 00 00 00
70: 2c 78 c4 40 01 10 00 00 01 10 00 00 20 00 20 00
80: 00 00 00 40 00 a0 4a 7f 00 00 02 2c 00 00 00 00
90: 00 00 00 00 00 00 00 00 06 00 06 10 00 00 01 01
a0: 50 01 00 7c 00 00 00 00 00 00 00 00 33 bb aa 02
b0: 05 cc 84 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 0a 00 0a 00 08 00 02 a8
d0: 01 00 02 0d 42 00 00 00 00 00 00 00 ea 9f f6 80
e0: 01 00 02 0d 42 00 00 00 00 00 00 00 50 80 00 00
f0: 00 00 00 00 00 00 00 00 00 ff ff ff 11 3f 32 07

00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2) (prog-if 
01 [Subtractive decode])

Flags: bus master, 66MHz, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=128
I/O behind bridge: a000-afff
Memory behind bridge: d300-d4ff
Prefetchable memory behind bridge: 8800-880f
00: de 10 5c 00 07 01 a0 00 a2 01 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 05 05 80 a0 a0 80 a2
20: 00 d3 f0 d4 00 88 00 88 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 06
40: 00 00 07 00 01 00 02 00 07 00 00 00 00 00 44 01
50: 00 00 fe 7f 00 00 00 00 ff 1f ff 1f 00 00 00 00
60: 00 00 00 00 00 00