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.
|
 |
05-02-2003, 06:48 PM
|
#1
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
33 MHz system bus -- override with idebus=
Apr 14 17:18:01 metatron kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Apr 14 17:18:01 metatron kernel: VP_IDE: IDE controller at PCI slot 00:11.1
Apr 14 17:18:01 metatron kernel: VP_IDE: chipset revision 6
Apr 14 17:18:01 metatron kernel: VP_IDE: not 100%% native mode: will probe irqs later
Apr 14 17:18:01 metatron kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Apr 14 17:18:01 metatron kernel: VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1
Apr 14 17:18:01 metatron kernel: ide0: BM-DMA at 0xbc00-0xbc07, BIOS settings: hda  MA, hdb  io
Apr 14 17:18:01 metatron kernel: ide1: BM-DMA at 0xbc08-0xbc0f, BIOS settings: hdc  MA, hdd  MA
Assuming 33MHz system bus... override with idebus
what does this mean? I have an ATA 133 mobo, cables, and HD... I checked them with hdparm and now with the 2.4.21 kernel (rc1 of course) the kernel is detecting them better and turnning on DMA but how do I get it to use 133. it looks like its only using 33 MHz?
please help... the children are starving.
hehe,
thanks in advance,
jpbarto
|
|
|
05-02-2003, 06:52 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
I would usually try replacing the cables as they are the most likely candidates for failure. Apart from that you may wish to chcek your BIOS settings are correct.
|
|
|
05-02-2003, 07:01 PM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Original Poster
Rep:
|
this is a dual boot box... how under windows do I check to see if 133 is running in M$? cause then I can be sure it's not a hardware issue...
|
|
|
05-02-2003, 07:14 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Try installing aida32:
http://www.aida32.hu/
I think it should be able to get the information you require under storage.
|
|
|
05-02-2003, 07:15 PM
|
#5
|
Member
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259
Rep:
|
STOP!!!
There's nothing wrong with your bus speed!
READ CAREFULLY
Quote:
Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
|
Now ask yourself, is my Blazowee ATA 133 hard drive running in PIO mode or DMA mode?
Quote:
I checked them with hdparm and now with the 2.4.21 kernel (rc1 of course) the kernel is detecting them better and turnning on DMA but how do I get it to use 133.
|
Good, so it's running in DMA mode. Now just use hdparm to tune it up if it needs it. It probably doesn't.
Run
# hdparm -Tt /dev/hda
and tell us what you get.
|
|
|
05-02-2003, 07:16 PM
|
#6
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
To change it in linux, you pass it to the kernel through the bootloader
idebus=<desired number>
|
|
|
05-02-2003, 07:33 PM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Original Poster
Rep:
|
PIO, DMA, URD, IOU, UOME, its all greek... well not really... DMA direct memory access... I know what that means but PIO I'm unfamiliar with.
hdparm results in
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.25 seconds =512.00 MB/sec
Timing buffered disk reads: 64 MB in 1.34 seconds = 47.76 MB/sec
thank you for all your help with this by the way... oh and is that decent time for an ATA 133 drive? I can't remember if its 5400 or 7200 rpm if that would alter the results at all?
|
|
|
05-02-2003, 07:34 PM
|
#8
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
Unless you're running a box with 66MHz/64bit PCI slots (doubtful) then overriding the pci bus speed will either crash you or at least do nothing at all. The PCI bus operates indepenantly of your FSB (front side bus) for your CPU and of your RAM i/o.
Look for a line like this
Code:
hda: 40132503 sectors (20548 MB) w/1900KiB Cache, CHS=39813/16/63, UDMA(66)
in your dmesg output (or you may have to grep through your boot.log). On my machine that line is telling me that my IDE drive is connected as a 66Mb/sec capable device.
ATA133 is a standard referring to the maximum bandwidth (in megebits per second) capability of your drive controller system. It's the theoretical maximum limit of bandwidth available to the IDE susbsystem and not for any one particular device. If you had a whole shwack of ATA133 devices operating at RAID-0 you may achieve this limit.
Your best bet is to determine that your drive is functioning to maximum throughput by playing with 'hdparm' and checking the DMA and 32bit settings (at least) for your drive. Try a search on this site for 'hdparm' and you'll find some fine examples.
|
|
|
05-02-2003, 07:46 PM
|
#9
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
# Hard drive tweak
Speeding up Linux Using hdparm
Not mentioned in the article:
UDMA 33/66/100. Add the -X option, and then this number i.e. (-X 69)
-X 33 ====> Multiword DMA
-X 66 ====> ATA-33 (UDMA2)
-X 68 ====> ATA-66 (UDMA4)
-X 69 ====> ATA-100 (UDMA 5)
# My settings
hdparm -X69 -d1 -u1 -m16 -c3 /dev/hda
My timings:
Code:
[root@tinwhistle root]# hdparm -Tt /dev/hd{a,a,a}
/dev/hda:
Timing buffer-cache reads: 128 MB in 2.35 seconds = 54.47 MB/sec
Timing buffered disk reads: 64 MB in 2.61 seconds = 24.52 MB/sec
/dev/hda:
Timing buffer-cache reads: 128 MB in 2.11 seconds = 60.66 MB/sec
Timing buffered disk reads: 64 MB in 2.55 seconds = 25.10 MB/sec
/dev/hda:
Timing buffer-cache reads: 128 MB in 2.22 seconds = 57.66 MB/sec
Timing buffered disk reads: 64 MB in 3.49 seconds = 18.34 MB/sec
[root@tinwhistle root]#
5400 RPM 2 MB cache drive.
Last edited by fancypiper; 05-02-2003 at 07:48 PM.
|
|
|
05-02-2003, 09:21 PM
|
#10
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Original Poster
Rep:
|
I did an hdparm -i on my hard drive. It reported an access speed of
udma0 udma1 udma2 udma3 udma4 udma5 *udma6
since the star was next to the udma6... does that mean its using udma at 6 (133)? right?
I'll check out the sites suggested and thanks for the info. however at this hour the time of beer and drinking is near.
later and good times to all,
jpbarto
|
|
|
05-02-2003, 09:27 PM
|
#11
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Yep. Newer kernels usually set the hdparm without tweaking by hand, I have found.
|
|
|
All times are GMT -5. The time now is 10:10 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
|
|