Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-07-2004, 01:14 AM
|
#1
|
LQ Newbie
Registered: Dec 2003
Location: WA
Distribution: slackware 9.1
Posts: 18
Rep:
|
how to set system bus speed?
I've just installed a new distribution (slackware). One of the boot-up messages is:
"ide: Assuming 33 Mhz system bus speed for PIO modes; override with idebus=xx". It seems like this needs to be changed (not sure what "PIO modes" are though), but how? Haven't been able to find where idebus can be set.
|
|
|
01-07-2004, 06:09 AM
|
#2
|
Member
Registered: May 2001
Location: Germany, Süd-Baden
Distribution: Gentoo
Posts: 139
Rep:
|
(on linux-2.4) you can set idebus with idebus=66 as a kernel-paramter (in your bootloader config the same like hdd=ide-scsi) on bootup.
|
|
|
01-07-2004, 06:33 AM
|
#3
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
|
|
|
01-07-2004, 09:50 AM
|
#4
|
Senior Member
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246
Rep:
|
If it says it's assuming 33MHz then it's running at 33MHz. Edit /etc/lilo.conf and add a line near the top (the global section) that says: append="idebus=133"
Then re-run lilo.
|
|
|
01-07-2004, 04:43 PM
|
#5
|
LQ Newbie
Registered: Dec 2003
Location: WA
Distribution: slackware 9.1
Posts: 18
Original Poster
Rep:
|
I tried this and unfortunately it had no effect, still get the same message during boot. Tried both in the global section and the image section of lilo.conf, and setting to either 66 or 100. Any other ideas about how to set this?
|
|
|
01-07-2004, 04:52 PM
|
#6
|
LQ Newbie
Registered: Dec 2003
Location: WA
Distribution: slackware 9.1
Posts: 18
Original Poster
Rep:
|
Oops, correction - it does work, it just has to go in the image section (i.e. for a particular kernel) of lilo.conf, not the global section - I forgot to re-run lilo after the first try (in the global section).
Thanks for the help!
|
|
|
01-07-2004, 07:19 PM
|
#7
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
|
|
|
01-07-2004, 07:59 PM
|
#8
|
LQ Newbie
Registered: Dec 2003
Location: WA
Distribution: slackware 9.1
Posts: 18
Original Poster
Rep:
|
One other thing, it won't accept a 3-digit number, so you can't set "idebus=100" for example (it will be ignored). Perhaps the driver needs a new revision? Seems like maybe a lot of linux users with newer boxes aren't getting optimal performance currently.
Also I'm not certain that it won't work in the global section, I may have been using =100 when I tried that. But I know it works in the image section.
|
|
|
01-07-2004, 08:31 PM
|
#9
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
Well this is what I have in my Grub file.
title Gentoo
kernel (hd0,0)/bzImage.test3 root=/dev/hda9 acpi=off hdc=ide-scsi idebus=66 ide0=ata66
The last bit was suggested in dmesg so I tried it. The hdparm timings are the same, but it seems to be a bit faster, not sure though.
When I tried ide=133 it said it didn't like it and went back to 33. I bought a 133 bus mobo and hard drive and can't use it?
Confused. I'm on a mission now. Gone google(ing).
Later
|
|
|
01-07-2004, 08:54 PM
|
#10
|
LQ Newbie
Registered: Dec 2003
Location: WA
Distribution: slackware 9.1
Posts: 18
Original Poster
Rep:
|
Yes I just discovered that what finally seems to work on mine is "idebus=ata66" or "idebus=ata100" (i.e. it does not produce any error message during boot-up, haven't looked at disk timings) -- whereas using "idebus=66" does generates an error message that says it can't set it to 66000 (!) so it will use ata66. So maybe you should try "idebus=ata133".
|
|
|
01-07-2004, 09:51 PM
|
#11
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
Been googleing but most of what I find is dmesg for other problems.
Going to try that idebus=ata133 and see what happens.
Right back.
|
|
|
01-07-2004, 10:00 PM
|
#12
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
Well this is what I get.
ide_setup: idebus=ata133 -- BAD OPTION
I don't think it liked it. It does like the idebus=66 though.
I just wonder what the ide0=ata66 is suposed to mean.
Gone google(ing) again.
Later
|
|
|
01-07-2004, 10:21 PM
|
#13
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
I found this on a site.
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.
Sounds like 66 is the biggest. What gives?
Also found this.
Code:
"idex=autotune" : driver will attempt to tune interface speed
to the fastest PIO mode supported,
for all drives on this interface.
Not fully supported by all chipset types,
and quite likely to cause trouble with
older/odd IDE drives.
Still looking
Last edited by dalek; 01-07-2004 at 10:22 PM.
|
|
|
01-07-2004, 10:38 PM
|
#14
|
Member
Registered: Dec 2002
Location: Qc, Canada
Distribution: CRUX
Posts: 317
Rep:
|
idebus speed is not the FSB. it's the speed the ide controller runs off the pci bus.
Common modern day desktop with 32 bit pci run @ 33mhz.
High-end server boards with 64 bit pci 2.0 support run their bus @ 66 mhz [...66000hz ...!],
so unless you got one of those, I wouldn't bother.
Besides, thats just to set PIO speed while you all probably use DMA
|
|
|
01-07-2004, 10:50 PM
|
#15
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
Yeh found this little tid bit of info way down in dmesg:
Code:
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 p10 >
hdb: max request size: 128KiB
hdb: 60058656 sectors (30750 MB) w/2048KiB Cache, CHS=59582/16/63, UDMA(133)
/dev/ide/host0/bus0/target1/lun0: p1 p2 < p5 >
Now my NEW 80GB drive is supposed to be 133 too. Now what?
Later
Google(ing) again
|
|
|
All times are GMT -5. The time now is 05:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|