Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Athlon XP 1700+
EpoX 8KHA+ (via KT266a chipset)
768MB PC2100 (kingston)
IDE Channel 1 (using ATA133 cable):
Master - IBM 40GB ATA100
Slave - Plextor 40/12/40A Burner
IDE Channel 2 (using ATA100 cable):
Master - Western Digital WD1200BB 120GB ATA100
Slave - Sony 16x DVD
The WD 120 is formatted at max capacity as FAT32, while the IBM is split in half... W2k Pro takes first half of drive, followed by /boot par, root par, and swap par. Gentoo's half gives swap 1GB and the rest goes to root par.
This is the problem, when I copy/move from drive to drive, I average 2-3MB/s! I started a 4GB move, and it started at 27MB/s for about 6 seconds then dropped to 3MB/s. Every once in a while it will bounce up to 6MB/s, but that's it. It takes me almost a minute and a half to move a 200MB file. I know it's not my hardware setup, because in W2K, I can move a 200MB file between the drives in 10-15 seconds, which is how it should be.
hdparm -Tt reports:
root@Logical yoyo # hdparm -Tt /dev/hdc
/dev/hdc:
Timing buffer-cache reads: 128 MB in 0.44 seconds =290.91 MB/sec
Timing buffered disk reads: 64 MB in 1.38 seconds = 46.38 MB/sec
root@Logical yoyo # hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.44 seconds =290.91 MB/sec
Timing buffered disk reads: 64 MB in 1.83 seconds = 34.97 MB/sec
hdparm -d shows same thing on both drives:
using_dma = 1 (on)
which kernel are you using? i have the same motherboard and there seemed to be some problems with the chipset, i think. in 2.4.18 copying large files sometimes even froze the system for a few seconds and the copying didn't go on in that time as well, 2.4.19 was better and 2.4.20 (all vanilla) works pretty fine for me.
Could it be possible that my round ATA133 cable is causing this slowdown? I have a 24" ATA133 cable on channel 0.
I've always read in the past that IDE cables have a maximum length of 18", and anything longer causes attenuation. Also, my IBM is at the very end of the cable, which means it's 24" from the mother board. This is something I haven't thought about till now.
Is it possible that the length of that cable is causeing my problems?
i have had the same or a similar problem.
have a look here: http://forums.gentoo.org/viewtopic.php?p=239841#239841
after disabling this validation bit setting some weeks ago (now i don't think that it is necessary) and carefully disabling all not necessary ide support in ide config things are working without a problem now. have a look at every help-text available there and in case of doubt follow recommendations.
i can post my kernel config if necessary though i only use vanilla-sources-2.4.21.
Thanks for the tip. It was not enabled, so I enabled it and recompiled my kernel. I will reboot to test it as soon as OpenOffice 1.1 finishes compiling, and post the results here.
And man does OpenOffice take a long time to compile! It's been going for over 12 hours now on an Athlon XP 1700+, and used up 2GB of disk space.
Nope, that kernel option made no difference. The thing that gets me is it's only when I try to copy between drives in the machine. I have two other machines on the LAN, and I can copy from them over the network @ 10MB/s to either drive. But when if I copy between the two drives it's stuck around 3-4MB. I'm going to try what taskara requested, as well as taking out the 24" IDE cable.
Ok, I disconnected both of my CD drives, and performed a copy test. Now drive to drive copy is between 10-30MB/s. Why would my CD drives be causing conflict? I did notice however, that hdparm gives me an error whenever I try to use it with my Plextor burner. Says something about not being compatible, or hdparm does not work with drive. I'll get the exact error when I hook my drives back up. Could that be the problem?
I should have known based on the fact that windows didn't have the same problem, that it was not my IDE cable length.
What can I do? I move LOTS of files between my hard drives, and 3MB/s is just not gonna cut it. And operating my system with no CD drives isn't gonna cut it either. Please help me out.
Sorry to bring this up, but I did not quite understand how you fixed your problem.
My problem is that when I am emerging files or when I am copying/moving the system almost freezes. The pointer does not move, I can not change desktops etc.
The hdparm -d gave
using_dma = 0 (off)
how can I change it to 4 (This is what I have in the Bios)
Can I do the same thing for the CD driver/Dvd
if you can't enable dma, it sounds like the driver for your ide controller is not compiled into your kernel, or you don't have dma for hard disks enabled.
check your kernel config again.
what is your ide controller?
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
I looked at the config file for the kernel
In the section IDE,ATA and Atari support, the following options are checked
Generic PCI bus-master DMA support
Use PCI-DMA by deafult when available
Is this what you were talking about?
How can I find the Ide-controler?