View previous topic :: View next topic |
Author |
Message |
Karsten1973 Guru
Joined: 17 Dec 2004 Posts: 303 Location: Berlin, Germany
|
Posted: Tue Dec 21, 2004 8:24 pm Post subject: override with idebus=xx |
|
|
I find this message in my log and on my screen during boot:
Quote: | Dec 21 19:02:15 [kernel] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Dec 21 19:02:15 [kernel] VP_IDE: IDE controller at PCI slot 0000:00:11.1
Dec 21 19:02:15 [kernel] VP_IDE: chipset revision 6
|
I tried to start my kernel with ide=133, but to no avail. Googling for this message did not show up any results I could use. Any ideas here?
TIA, Karsten _________________ I could be arguing on my own time. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54799 Location: 56N 3W
|
Posted: Tue Dec 21, 2004 9:02 pm Post subject: |
|
|
Karsten1973,
You really don't want to do that.
Your PCI bus is 33MHz unless you have a server that has a 66MHz 64 bit PCI bus.
That message is quite normal. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Karsten1973 Guru
Joined: 17 Dec 2004 Posts: 303 Location: Berlin, Germany
|
Posted: Tue Dec 21, 2004 9:33 pm Post subject: |
|
|
are you sure? By using IDE and PIO modes I thought it would be the IDE controller for my harddisks. And they are not as fast as they should be, compared to the performance under windows. _________________ I could be arguing on my own time. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54799 Location: 56N 3W
|
Posted: Tue Dec 21, 2004 9:41 pm Post subject: |
|
|
Karsten1973,
Yes. I'm sure. Hopefully you are not using PIO modes. UDMA can be much faster, with less CPU involvement too.
Please run Code: | hdparm -i /dev/<your drive | > and
Code: | hdparm -tT /dev/<your drive> | and post the results. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
virtual Tux's lil' helper
Joined: 12 Aug 2004 Posts: 132 Location: Bergen
|
Posted: Wed Dec 22, 2004 12:12 am Post subject: |
|
|
Hi,
This works for me:
title=Gentoo Linux 2.6.9-nitro4
root (hd0,0)
kernel /kernel-2.6.9-nitro4 root=/dev/hda3 idebus=66 vga=795
I don't think the idebus parameter will allow numbers greater than 99 and 66 seems to be the highest workable value but it's a lot faster than 33 which is what you get if you don't use it. _________________ The roots of education are bitter but it's fruit is sweet. |
|
Back to top |
|
|
Karsten1973 Guru
Joined: 17 Dec 2004 Posts: 303 Location: Berlin, Germany
|
Posted: Wed Dec 22, 2004 8:30 am Post subject: |
|
|
I managed to turn my dma on, after a lot of problems:
Quote: | Hagen root # hdparm -i /dev/hda
/dev/hda:
Model=SAMSUNG SP1213N, FwRev=TL100-24, SerialNo=S00UJ10X602666
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234493056
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: (null):
* signifies the current active mode
Hagen root # hdparm -tT /dev/hda
/dev/hda:
Timing cached reads: 668 MB in 2.00 seconds = 333.38 MB/sec
Timing buffered disk reads: 150 MB in 3.01 seconds = 49.91 MB/sec
Hagen root # hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 120060444672, start = 0
Hagen root #
|
I am pretty sure that my old AOpen AX37 Pro Mainboard does not support a higher pci-bus speed. I thought that the number might be the FSB or IDE-Bus
Thanks all for your help, Karsten _________________ I could be arguing on my own time. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54799 Location: 56N 3W
|
Posted: Wed Dec 22, 2004 8:35 am Post subject: |
|
|
virtual,
Allow me to refer you to /usr/src/linux/Documentation/ide.txt which says Code: | "idebus=xx" : inform IDE driver of VESA/PCI bus speed in MHz,
where "xx" is between 20 and 66 inclusive,
used when tuning chipset PIO modes.
For PCI bus, 25 is correct for a P75 system,
30 is correct for P90,P120,P180 systems,
and 33 is used for P100,P133,P166 systems.
If in doubt, use idebus=33 for PCI.
As for VLB, it is safest to not specify it.
Bigger values are safer than smaller ones. |
Bigger values are safer because the kernel convertes the PCI bus speed into a number of wait states to use for the IDE access. A faster bus (frequency) will mean more wait states. So if you tell the kernel you have a faster PCI bus than you really have it will wait too long, in this case by a factor of two, which is safer than overclocking. Anyway, this is all academic becase it applies to PIO modes only and very few people should be using them. Even fewer will be using them with a real 66MHz PCI bus.
If Code: | hdparm -v /dev/<drive> | shows DMA is off and Code: | hdparm -d 1 /dev/<drive> | will not turn it on, you either have some very old componets in your system, that do not support DMA or your kernel is broken.
Theres lots of good reading in /usr/src/linux/Documentation _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Karsten1973 Guru
Joined: 17 Dec 2004 Posts: 303 Location: Berlin, Germany
|
Posted: Wed Dec 22, 2004 5:04 pm Post subject: |
|
|
actually, sometimes all you need to make dma work is turning the autodetection off in bios. _________________ I could be arguing on my own time. |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3374 Location: USA
|
Posted: Wed Dec 22, 2004 9:15 pm Post subject: |
|
|
NS makes a good point -- i fell into this same trap regarding the PCI bus speed message. don't feel bad about misinterpreting the message displayed as referring to the speed of the IDE interface instead of the frequency of the PCI bus. you're not the first person who's made that mistake! |
|
Back to top |
|
|
virtual Tux's lil' helper
Joined: 12 Aug 2004 Posts: 132 Location: Bergen
|
Posted: Wed Dec 22, 2004 11:53 pm Post subject: |
|
|
Hi,
Thanks for correcting me and pointing me in the right direction. _________________ The roots of education are bitter but it's fruit is sweet. |
|
Back to top |
|
|
|