View previous topic :: View next topic |
Author |
Message |
liutom n00b
Joined: 30 Sep 2004 Posts: 51
|
Posted: Thu Jan 08, 2009 10:11 am Post subject: CF Card instead of HDD (can only use UDMA2) |
|
|
Hello,
I use a CF to IDE adaptor an use 2 32 GB CF-Cards
These Cards are capable to do UDMA 4(!)
When i boot the kernel say something about "no 80pin cabel connected so max UDMA Mode = 2"
I don´t have any cabel connected - the adapter is directly connected...
So is there a option to force the kerel to use UDMA 4 ???
Thanx alot!
Liu |
|
Back to top |
|
|
Dairinin n00b
Joined: 03 Feb 2008 Posts: 64 Location: MSK, RF
|
Posted: Thu Jan 08, 2009 12:55 pm Post subject: |
|
|
from drivers/ide/ide.c
Code: | module_param_call(ignore_cable, ide_set_ignore_cable, NULL, NULL, 0);
MODULE_PARM_DESC(ignore_cable, "ignore cable detection");
|
|
|
Back to top |
|
|
liutom n00b
Joined: 30 Sep 2004 Posts: 51
|
Posted: Thu Jan 08, 2009 2:39 pm Post subject: |
|
|
hey thanx alot !!!
... but i don´t understand exactly - so is it right to:
1.) make menuconfig
edit like i want to...
2.) edit kerneldirectory... /drivers/ide/ide.c
insert your code (where in the file?)
3.) compile kernel
make && make install
BUT - i don´t have modules aktivated!!!
can i compile this direktly in the kernel???
THANK you for your answer!!! |
|
Back to top |
|
|
Dairinin n00b
Joined: 03 Feb 2008 Posts: 64 Location: MSK, RF
|
Posted: Thu Jan 08, 2009 5:07 pm Post subject: |
|
|
From kernel docs for ide:
Quote: | To force ignoring cable detection (this should be needed only if you're using
short 40-wires cable which cannot be automatically detected - if this is not
a case please report it as a bug instead) use "ignore_cable" kernel parameter:
* "ide_core.ignore_cable=[interface_number]" boot option if IDE is built-in
(i.e. "ide_core.ignore_cable=1" to force ignoring cable for "ide1")
|
Open /boot/grub/grub.conf, find your kernel load string (smth. like "kernel /bzImage-2.6.27-gentoo-r7 root=/dev/sda6") and add "ide_core.ignore_cable=x" where x is port number of your adapter (shown in dmesg).
This does not aply to libata, only to classic ide. |
|
Back to top |
|
|
liutom n00b
Joined: 30 Sep 2004 Posts: 51
|
Posted: Thu Jan 08, 2009 9:13 pm Post subject: |
|
|
!!! PERFECT !!!
performance boosts from 18 MB/sec to 45 MB/sec !
Great, Thanx again !!! |
|
Back to top |
|
|
|