Tom's Hardware > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > Can't activate DMA mode for HDD on Linux

Can't activate DMA mode for HDD on Linux

Forum Linux/Free BSD : Linux/Free BSD General Discussion - Can't activate DMA mode for HDD on Linux

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

I recently built a new system based on the P4C800 board. I have a WD 200G UDMA hard drive connected via an 80-conductor IDE cable to the primary IDE channel, where it is the master (and the only drive). I have two OSes dual-bootable via LILO. Under Windows XP, the drive is run in UDMA mode 5, no problem. But, under Linux, the drive is not run in any DMA mode. Attempts to force it into DMA mode via the hdparms command result in an error message saying that I'm not allowed to set the DMA mode for that device.

I suspect a problem with the drivers for my motherboard. It's relatively new, whereas the Linux I'm running is RedHat 8.0. Anyone have any ideas?

P.S. I also have some trouble with the on-board LAN and audio devices. I downloaded drivers for those from Asus' web site and built them, but they seem to have issues. The LAN works, sort-of (I'm typing this now using it), but I end up having to run an insmod command and then ifconfig each time I reboot the OS, which is kind of a pain.

Thanks for any suggestions that might help.

Sponsored Links
Register or log in to remove.
- 0 +

Sounds like a kernel upgrade may help with the DMA problem - that's where the mainboard "drivers" live. 2.4.21 is out now.

If RedHat's setup tool doesn't know about the LAN driver, things won't be setup properly. It's been a while since I played with RedHat, so I can't give a HOW-TO. You'll probably have to edit one of the /etc/ files, maybe /etc/modules or /etc/sysconfig/something. There will be a file that tells it which module to load when it brings up eth0... If you can, try one of the RedHat IRC channels or irc.freenode.net. You should get a better answer there.

<i>Knock Knock, Neo</i>

Reply to poorboy
- 0 +

Nod, I agree with poorboy. Time to upgrade the kernel. With all of the new chipsets coming out so fast, it's almost impossible to keep up. And it is /etc/modules poorboy was right.

As far as the HD, I'd say the reason being is the old kernel there as well. It probably doesn't fully 'understand' disks over 120 GB or so...I'd update ASAP. I've read about a lot of DMA problems with certain HD's in Linux...the two most common were Maxtor and WD. I stick with IBM/Hitachi for my Linux box...some would consider that dumb, but I've never had any problems and I've tried over 20 distros of linux. Seems to me like I might not be so dumb afterall.

Insert_ending_here,
TKS

Reply to TKS
- 0 +

Have you downloaded all the errata updates for Redhat 8.0? Didn't that thing ship with like kenrel 2.4.9 because all kernels after that had new VM code that was untested and caused problems until up around 2.4.19. There was a ton of UDMA issues back then. The UDMA code is some of the most worked on code. I would fully patch your machine (which is a rule for all Redhat boxes right after installing) and try again.

Is it possible you can do a hdparm -i /dev/hdd for us and post the output?

Reply to SQLBoy
- 0 +

I haven't actually messed with redhat in a while but to fix your LAN problem, you have to define an alias to that module in /etc/modules.conf I think. I switched to Gentoo a while back and I'm very content with forgetting Redhat.

Reply to SQLBoy
Tom's Hardware > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > Can't activate DMA mode for HDD on Linux
Go to:

There are 1155 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them