Ok here is what I did :
* I downloaded the 2.6.10 kernel from ubuntu packages (because I'm running Ubuntu on this machine).
* I ran menuconfig (make menuconfig) and leaved it with default config. Here is it : http://tfc.duke.free.fr/old/tmp/.config
(note that you can change the default arch to Pentium-M instead of i386).
* I applied this patch^Wwork-around manually : http://marc.theaimsgroup.com/?l=linu...2992832526&w=2
; but I could'nt add the line DECLARE_PIIX_DEV("ICH6M")
(kernel too old for that I suppose).
* I rebuild it (make, make modules_install, cp arch/i386/boot/bzImage /boot/vmLinuz-2.6.10, cp System.map /boot/System.map-2.6.10, mkinitrd -o /boot/initrd-2.6.10 2.6.10, edited /boot/grub/menu.lst to add my new kernel).
I rebooted and the DMA was working :-)
hdparm test with 2.6.10 :
Timing cached reads: 2568 MB in 2.00 seconds = 1282.91 MB/sec
Timing buffered disk reads: 8 MB in 3.41 seconds = 2.34 MB/sec
Timing cached reads: 3064 MB in 2.00 seconds = 1531.47 MB/sec
Timing buffered disk reads: 2 MB in 3.37 seconds = 607.81 kB/sec
hdparm test with 2.6.10 + PATCH :
Timing cached reads: 2144 MB in 2.00 seconds = 1072.16 MB/sec
Timing buffered disk reads: 86 MB in 3.02 seconds = 28.49 MB/sec
Timing cached reads: 3156 MB in 2.00 seconds = 1576.66 MB/sec
Timing buffered disk reads: 8 MB in 3.59 seconds = 2.23 MB/sec
I could play a DVD movie fine :-)
[/dev/hdc is hard disk, /dev/hdd is DVD drive, both PATA]
Now I will try to build a 2.6.12 kernel, using ata_piix where it should be properly fixed : according to http://www.forbiddenweb.org/viewtopic.php?id=39027
, there is just this little change to do :
You'll need to enable ATAPI support for ata_piix in
I will repost here latter for conclusions.
[edit: je me suis fait chier à écrire tout ça en anglais alors que tu parles français ! ;o)]