Summary: | DMA doesn't work on acer aspire 9410 with ICH7 chipset (82801G) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ewoud Canniere <alcoholica666> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dmesg with ata_piix enabled
dmesg with blk_dev_piix enabled kernel 2.6.20 with ata_piix enabled .config of 2.6.20 kernel dmesg of previous posted config |
Description
Ewoud Canniere
2007-02-08 17:23:45 UTC
*** Bug 165950 has been marked as a duplicate of this bug. *** Please define "doesn't work" and post dmesg attachments from the configurations you have tried Created attachment 109747 [details]
dmesg with ata_piix enabled
Created attachment 109782 [details]
dmesg with blk_dev_piix enabled
Leviathan alcoholica # hdparm -d 1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
Do i have to put some more information or is this enough? Greetz, Ewoud Please try ata_piix on 2.6.20 without the generic IDE driver compiled into the kernel, and post new dmesg here if the problem still exists. Created attachment 111257 [details]
kernel 2.6.20 with ata_piix enabled
This is the output of dmesg with the ata_piix option enabled in the 2.6.20 kernel.
It still doesn't work when i try to hdparm -d1 /dev/hda. Also Use DMA by default is selected in my kernel.
Greetz,
Ewoud
You still have the generic IDE driver in your kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Probing IDE interface ide0... hda: WDC WD1200UE-22KVT0, ATA DISK drive [...] ata_piix 0000:00:1f.2: version 2.00ac7 ata: 0x1F0 IDE port busy ata: conflict with ide0 Created attachment 111294 [details]
.config of 2.6.20 kernel
Created attachment 111296 [details] dmesg of previous posted config DMA still doesn't work. I know it's a known issue because i googled around a time ago and i found this: http://www.spinics.net/lists/linux-ide/msg04732.html but I thought it would be fixed in the 2.6.20 kernel release. Thanks for helping me with this problem by the way. What can i do now? Ewoud You still have the generic IDE driver in your kernel CONFIG_IDE_GENERIC=y (In reply to comment #11) > You still have the generic IDE driver in your kernel > > CONFIG_IDE_GENERIC=y > Well when i don't select that option I get a kernel panic. Something about VFS. Your hard disk will have moved to sda (In reply to comment #13) > Your hard disk will have moved to sda > But in my fstab everything is hda and in grub.conf also is root=/dev/hda3 and when i ls /dev/ i don't have an sd[anything]. How should i fix this then? and should BLK_DEV_GENERIC be on or off? Thanx Your disk will move to sda as soon as the ata_piix driver activates. This will not happen in your current kernel as ata_piix is overruled by the generic driver. It will happen as soon as your new kernel boots. If you want to switch between the slow generic IDE kernel and the ata_piix-enabled one, then you can modify fstab to use the persistent names in /dev/disk and you can create a separate grub entry for each kernel. I ran this: Leviathan alcoholica # hdparm -tT /dev/sda /dev/sda: Timing cached reads: 4220 MB in 2.00 seconds = 2112.23 MB/sec Timing buffered disk reads: 120 MB in 3.04 seconds = 39.41 MB/sec are these normal times? And do i have to enable BLK_DEV_GENERIC? what is thhhe difference between IDE_GENERIC and BLK_DEV_GENERIC anyway. I think the problem is fixed then if these reading times are normal. Thanx for helping. Those look OK. You can disable the old ATA/IDE code in entirity now. |