LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-09-2004, 01:29 AM   #1
clergykid
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: Debian
Posts: 24

Rep: Reputation: 15
VIA chipset enabing DMA


OK, so I posted another thread asking for suggestions on improving my system performance with 64MB RAM. So upon further investigation in the various log files I realized that since switching to a VIA Apollo Pro 133A based motherboard, my hard drives no long have DMA mode enabled. Specifically, in /var/log/dmesg I get:

VP_IDE: Neither IDE port enabled (BIOS)

Now of course this is wrong, otherwise I wouldn't be able to boot into Linux in the first place!! This is with a new 2.6.7 kernel I just compiled. And yes, I did compile the chipset module as well as IDE options for DMA. The VIA82cxxx module is also installed and loaded.

Just to try things out I booted up a 2.4 kernel I had saved, basically the kernel that I installed off the Debian distro discs. That one worked no problem, DMA was enabled and everything.

So I have a couple of ideas as to why this is happening and I asm hoping people here can shed some light on this. First of all I have a problem with kernel modules at boot time; that is, in /var/log/messages I get a line that says:

No modules symbols loaded - Kernel modules not enabled.

With the 2.4 kernel I don't have this problem, and during bootup the system goes through a process of calculating kernel dependencies. I think this could be a problem because I think one of the issues is that the generic ide driver grabs control of the ide ports before the via driver, so I don't have access to control those ports and enable DMA afterwards. This could be completely wrong as I am not familiar with Linux details but regardless this is one issue that I would really want to get fixed.

The second thing is that before I had the driver for my old board built right into the kernel, and everything worked flawlessly back then. If I build the new VIA drivers into a new kernel, would that work?

As always I'm opened to any ideas that anyone may have, and would really appreciate some feedback on the points I raised, thanks!
 
Old 12-09-2004, 02:04 AM   #2
shmonkey
Member
 
Registered: Nov 2004
Location: UK
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
Well I would definately try compiling your chipset support into the kernel as you suggested (got to be worth a try !).

Regards

Shmonkey
 
Old 12-09-2004, 08:26 AM   #3
clergykid
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 15
Yeah, I'll try to compile the VIA chipset driver into the kernel if nothing else works. Ideally I'd like to get my modules working properly though. Any ideas as to why I get the

No modules loaded - Kernel modules not enabled

during boot? How can I build a kernel with modules such that it works properly?

Strange thing is that once it boots up I can still 'modprobe' or 'insmod' modules.
 
Old 12-09-2004, 08:40 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Umm... IIRC, it's a bad idea to have hard-drive related things complied as modules. If they're not built into the kernel, they get loaded later in the boot process, when they have to be read from the disc.

If the kernel needs a module to know how to talk to your hard drive, and the module is located on the hard drive, you're going to have trouble!

Besides, why would you want something compiled as a module if you know you're always going to need it?
 
Old 12-09-2004, 02:40 PM   #5
clergykid
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 15
Yeah, I know what you guys are saying. I agree that compiling the chipset in would be a good idea, and probably solve my DMA issues. But I would still like to get my other kernel modules working properly. The kernel doesn't detect any of my modules and hence doesn't install any during boot time. I have to 'insmod' everything on my own after logging in. This has goods and bads but I really wanna fix this issue before I run into other problems further down the road.

Anyone have any ideas? And how do I setup modprobe properly with kernel 2.6.7?
 
Old 12-10-2004, 03:02 AM   #6
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Have you added the modules you want to start on boot to the /etc/modules.autoload.d/kernel-2.6 file?

Incidentally, I've just recently switched to Gentoo, so I'm in the process of getting everything set up. I was dissapointed at how slow everything was going. And it refused to allow me to turn on DMA - same problem as you've got.

So last night, I recompiled the kernel properly, with the NVIDIA IDE driver enabled and every other IDE driver switched off. Then rebooted.

DMA is now enabled, and executables that were taking 12 seconds to load now only need 3. Not bad, eh?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DMA problem on chipset 915GM (Sonoma) unleashed Linux - Laptop and Netbook 4 01-09-2006 07:27 AM
DMA with a Via Chipset nogetfx Debian 2 07-11-2005 06:28 AM
DMA don't work chipset kt400 pike Linux - General 14 06-23-2005 02:05 AM
VIA chipset with 2.6.10 kernel possible? (no dma) yekibud Linux - Hardware 2 05-03-2005 10:49 AM
DMA on AMD Irongate chipset kdogksu Linux - Hardware 1 01-18-2005 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration