Linux - HardwareThis 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.
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.
Hi all,
I recently performed a complete system reinstall, backing up my files/settings/etc from my RH9.0 and freshly installed Fedora Core 1. Since i saved my old gnome settings, my userinterface is still the same, but i'm experiencing some strangeness.. Here's the most annoying:
First, some specs:
Asus P4C800 Deluxe
P4 3.0 GHz
512 DDR x2
Seagate SATA drives x2 (in RAID)
OEM drive 120GB ATA 100 (?)
Fedora Core 1, kernel: 2.4.22-1.2174.nptl
I've noticed (it's hard not to notice) that when I copy files from my SATA drives to the p-ata drive, the cpu gets extremely bogged down. Cpu monitor (gkrellm) shows 99-100% usage, except when file read takes place, where it shows 80-85% usage. GNOME becomes entirely unresponsive except for brief instances when the system is reading the file from the s-ata drives. Even without X running, the result is the same. It's most noticeable when copying large files, of course, but i still notice a slight catch/hang (about 0.5 - 1 second) after copying a file of 5MB. There is invariably a delay after the file is done copying while the system seems to try to catch up. As far as i've observed, it's been somewhat proportional to the file size. Copying a 600MB disk image, for eg, results in a post-copy hang of about 10 seconds.
Copying from one partition to another on my s-ata drive is seamless. No hangs/delays. I just tested copying from p-ata to p-ata, same partition, and the hanging annoyance came back. So it's definitely something to do with that.
I had no such problem in RH9, so I imagine this has something to do with Fedora's kernel modules or some other hardware-affecting configuration setting.
I'm not sure what else to post. Is there something I need to enable in the kernel config? I did (being lazy) a full "everything" install of Fedora, so I imagine most of the required modules/etc would have been built and installed.
I've seen this asked many times in many places, but all without a clear solution, if any. It seems there is a BIOS setting for this, but i'm not yet sure (about to find out).. anyway, I'd appreciate any help!! I will try to post a clear definition of the solution, if i find one.
add that command for dma to a startup script and restart and see if it takes effect ...
if it doesn't then your chipset is probably not compiled into the kernel, and that will have to be your next step ...
I wasn't sure if it would make any difference when the command was run. I installed a script in /etc/rc3.d/S99hdparmthing, with the hdparm command as its contents. Checked /var/log/messages, and the same error message was there.
The chipset on my mobo is Intel 875P MCH or Intel ICH5. I'm not sure which one controls the IDE or SATA interfaces. I tried grepping for the names inside the kernel source directory, to see if the required module description or something might come up, but there was none. I'm confused as to why i would need to recompile my kernel for this to work, since it ran fine in RH9. But then, things do change.
I haven't been able to find out what kernel module i need to enable.. can someone point me in the right direction?
This is the kernel source as updated through yum/up2date on Fedora. All the default configs have this set to "y", so I don't know why it's not working. Is there a way to find out if the kernel I'm running is actually compiled with this?
I have four Seagate 80gb SATA drives....and so far two of them have failed and been replaced under warranty, needless to say my main drive is now a WD200gb SATA.
Well, I finally got my drives to work with DMA. I think I know why there is never any clear answer online anywhere. Or maybe there is, but I couldnt' find them. Anyway, I decided to go the route of compiling a kernel, which seemed to be the only way to get this to work. I rolled up a 2.4.25 kernel. I figured since it's the most stable version to date, I can't lose. So after way too many reboots, I finally had everything compiled or module-ed. Now my drives work great, like they should have in the first place.
I've run into this under certain chipsets when they were compiled as modules. Compiling them directly into the kernel and rebooting with said new kernel solved it for me, allowing me to turn on dma.. Hope this works for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.