UbuntuThis forum is for the discussion of Ubuntu 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.
As it happens, I had exactly this problem. First, do
Code:
lspci
and look for a line that looks something like this:
Code:
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
So on my computer, the IDE controller is SiS5513. Then look in your kernel config (usually /usr/src/linux/.config) for a line with that in it, something like CONFIG_BLK_DEV_SIS5513=y. You want to set it to y, because then it doesn't have to be modprobe'd each time you want the DMA on (e.g. all the time). If it's not there, recompile your kernel so your chipset is supported. That should fix all problems.
First of all, if you haven't heard it before, it's not that hard to recompile a kernel. Really. It's pretty bizarre that you don't have a .config file in /usr/src/linux...Is it that you can't find /usr/src/linux, or that you're there and don't see the .config?
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
if there is no support for your motherboard chipset or ide controller built into your kernel, then dma will not work.
a file with a . in front like .config is hidden by the normal ls command. ls -a will show them.
I wonder if you could help me, now when you got your problem solved
I'm running ubuntu i386 as you, and can't find any .config files in my /usr/src/ directory.
Did you just specify a driver module to load, or did you do any more?
My chipset is a Nforce4, so I really don't know what to add in /etc/modules (if I have to add anything at all??)
And again, when I do a lspci I see this:
0000:00:06.0 IDE interface: nVidia Corporation: Unknown device 0053 (rev a2)
I really hope that any of you can help me - because my computer is running real slow when doing something 'demanding' from the harddrive(s).
I've been struggling with this for a few years. Searching web sites... cannot tell you how many sites I read to finally see that simple solution here. Compile the driver into the kernel! I remember issues with multiple nic's, but never thought about the chipset driver.
I've been stuck with this vt82c686c chipset for more than 2 years. Every now and then I would try again, fail, give up for a month or so, try again.... same old... I updated kernels hoping it was addressed in the driver, mentioned it numerous places, but noone knew what was causing it!
I recently picked up a DVD writer, and ran into choppy responses, and 1x speed burning DVDs. So I thought it was the drivers, tried a 3rd IDE card (nice thing about Linux, even Windows95/98 allowed 4 IDE controllers, NT however, would only two. LOL - I spoke to Windows Tech staff - Why Do You need more than 2 IDE controllers! I said I have 7 IDE devices moron .. anyway! ). Still no luck!
I chose to recompile the kernel, rebooted and viola!
The onboard IDE was ATA100 -AND- the DVD writer had DMA working!
I did a quick test - Bingo! The DVD Movie played nicely - no jumping.
I currently run Slackware 10.1 with a custom kernel. Since the vt82xxxx driver was a module, would placing it in rc.modules or module.conf have solved it as well or would it need to be added as an append option?
What also helped, I found another article that showed the generate-modprobe.conf foo 2.6 kernels. I must of overlooked this in the docs, I didn't realize modules.conf is decom'd in 2.6. I see it added "options ide-cd dma=1" which was good.
Oh well, off to see how well the burner works now. The player works great!
I'm running ubuntu i386 as you, and can't find any .config files in my /usr/src/ directory.
Sometimes the config file is location somewhere on the distro install disks. Otherwise, crank up "make menuconfig" in the /usr/src/linux dir and select all the options you want - takes a while to go thru all the menus. ie. Slackware includes the config file in the kernels/xxxx/ directory, same with RedHat. Run a find . -name "*config*" on your install cdrom or install dir to see if config files exist. copy this to the /usr/src/linux directory and rename it to .config - saves you some time, sets most of defaults - you can customize it to your liking now, just remember to save it for future updates. when I update to a new kernel, I always copy the .config to the next kernel source and run make menuconfig - when you save it, new entries for that version will be added. You can then scroll thru the menus selecting what you want.
Quote:
Did you just specify a driver module to load, or did you do any more?
My chipset is a Nforce4, so I really don't know what to add in /etc/modules (if I have to add anything at all??)
Looks like you will need to get a kernel version that either supports your new chipset amd8111 or patch an existing kernel with an amd74 patch for nVidia IDE. This is the 0053 device - its not in amd74 module, so its unknown.
Patching the kernel is not hard either - goto ftp.kernels.org and download the latest kernel. copy it to /usr/src, and then decompress it. its better to keep "linux" in the /usr/src as a symlink. Now just recreate the link: ln -s /usr/src/linux-2.6.12 linux
cd into the drivers/ide/pci directory - grep nVidia see if its in the amd74xxx module.
If it is, you are all set, just setup the config recompile and install the new kernel.
follow the docs in the kernels directory, it will walk you thru the compile.
Always remember to save .config before running make mrproper it will be wiped... I usually copy it as config-2.6.12 with the version appended to the file name and remove the leading dot so its not hidden - then copy it to a safe spot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.