Results 11 to 17 of 17
In that case then.. dma is allready enabled and the boot message is wrong? also if this is the case why might i not be able to chang eht e ...
- 01-24-2004 #11Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
In that case then.. dma is allready enabled and the boot message is wrong? also if this is the case why might i not be able to chang eht e dma status with hdparm in gentoo while i could in suse?
- 01-25-2004 #12Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Well, that's the way it seems. The difference between SuSE and Gentoo might just be the different kernels.
To be sure, though, test your disk's transfer speed:
Code:hdparm -Tt /dev/hdb
- 01-26-2004 #13Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
# hdparm -Tt /dev/hdb
/dev/hdb:
Timing buffer-cache reads: 1016 MB in 2.00 seconds = 508.00 MB/sec
Timing buffered disk reads: 8 MB in 3.39 seconds = 2.36 MB/sec
this is normal/good/bad?
- 01-27-2004 #14Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
That is very bad. Your hard drive is probably capable of speeds ten times higher. I guess DMA isn't on after all.
However, I have identified the only opportunities that the kernel returns EPERM when enabling DMA. If you're with me, we'll walk them through one by one - there are three of them. Could you begin be posting the contents of your /proc/ide/hdb/identify?
- 11-19-2006 #15Just Joined!
- Join Date
- Nov 2006
- Posts
- 2
DDDD you hdd information even 4counts of serial number is the same as mine
D so i think i can post the /proc/ide/hdb/identify content
i have the same problem on gentoo linux... all kernel drivers are enabled but dma doesnt working... exactly with the same model as user "variant" have..Code:0040 3fff c837 0010 8856 022a 003f 0000 0000 0000 5330 4745 4a31 474c 3330 3236 3039 2020 2020 2020 0003 4000 0004 4256 3130 302d 3337 5341 4d53 554e 4720 5350 3136 3534 4e20 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 8010 0000 2f00 4000 0200 0200 0007 3fff 0001 003f bfc1 000f 0000 ffff 0fff 0000 0007 0003 0078 0078 00f0 0078 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00fe 0021 746b 7f61 4023 7469 7c01 4023 043f 002c 002c 0000 fffe 6b00 fe00 0000 0000 0000 0000 0000 9eb0 12a1 0000 0000 0000 0000 0000 0000 5000 0f00 1b30 2609 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0021 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0003 0000 0000 0000 0000 6320 3132 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 003f 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 a7a5
update: people saying that in most case in kernel everybody forgetting to set a driver NOT as a module... but mine is built ok..
I have no idea what else i can do I have even set an UDMA and MDMA but no speed up at all =/
- 05-06-2007 #16Just Joined!
- Join Date
- May 2007
- Posts
- 1
Same as me here!! Please help us guys!!
# lspci
Already did as belows:Code:00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
http://www.linux.com/howtos/DVD-Play...WTO/x383.shtml
1. Download a recent kernel --> Done, my kernel is 2.6.21.1
2. Under "ATA/IDE/MFM/RLL support", select "IDE, ATA, and ATAPI Block devices" and enable "Generic PCI bus-master DMA support" and "Use DMA by default when available". --> Done, I set enabled "generic/default IDE chipset support" and "Generic PCI IDE Chipset Support" even I tried set enabled "Enable DMA only for disks" The others, is default.
One questions:
My current setting is disabled, is this should be disabled or enabled
"Support for SATA (deprecated; conflicts with libata SATA driver)" ???
3. On the same page there are several dozen chipset-specific DMA drivers, set to your relevant chipset --> Done, I set enabled "Intel PIIXn chipsets support"
All set enabled to BUILT IN, but NO RESULT AT ALL !! still :
and then :Code:/dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off)
#make --> compile kernel, it says "bzimage is ready."
#make install --> invoke install.sh to rename and replace the old linux to a new one ( bzimage )
#make modules
#make modules_install
#reboot
but, still no result.
My extra effort:
Under "Serial ATA (prod) and Parallel ATA (experimental) drivers" I set enabled "AHCI SATA support" and "Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support" and even " and even "Generic ATA support"
But still no result..what is wrong?? PLEASE...oh no, LINUX !!
My other extra effort:
Found in http://www.spinics.net/lists/linux-ide/msg04732.html
I edit ata_piix.c at linux-2.6.21.1/drivers/ata/ata_pixx.c, then I set the same as belows:
the same as the website I given, but when I compile I got error on this line ".present_shift = 4," , so I just put it back. I noticed that there is on line not included in ata_piix.c kernel 2.6.21.1Code:static const struct piix_map_db ich6m_map_db = { .mask = 0x3, .port_enable = 0x5, .present_shift = 4, .map = { /* PM PS SM SS MAP */ { P0, P2, RV, RV }, /* 00b */ { RV, RV, RV, RV }, { IDE, IDE, P1, P3 }, /* 01b */ { P0, P2, IDE, IDE }, /* 10b */ { RV, RV, RV, RV }, }, };
I dont understand by the way, and anyway already got errors on ".present_shift = 4," I delete this, put RV RV RV stuff as above and then compile the kernel without this line. Still no result!!!Code:{ RV, RV, RV, RV }, { IDE, IDE, P1, P3 }, /* 01b */
Look at these:
See? 1.30MB/sec.....I am gonna crazy!!Code:# hdparm -tT /dev/hda /dev/hda: Timing cached reads: 4564 MB in 2.00 seconds = 2282.73 MB/sec Timing buffered disk reads: 4 MB in 3.07 seconds = 1.30 MB/sec
Please guys!!
THANK YOU!!
- 07-05-2007 #17Just Joined!
- Join Date
- Nov 2006
- Posts
- 2
I'm facing the same problem with DMA.
Is there any solution available yet? Apart from compiling the kernel.


Reply With Quote
