l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2004 Jul 22 10:00

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: Knoppix dma (Re: [vox-tech] X crash, Mozilla)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Knoppix dma (Re: [vox-tech] X crash, Mozilla)



On Thu 22 Jul 04,  9:09 AM, Jonathan Stickel <jjstickel@sbcglobal.net> said:
> Mark K. Kim wrote:
> >On Wed, 21 Jul 2004, Jonathan Stickel wrote:
> >
> >
> >>Not sure why, but Knoppix doesn't use dma by default for ide devices;
> >>maybe because old hardware doesn't support dma and will hang.
> >
> >
> >Umm... are you sure?  I think it does not enable DMA only if it doesn't
> >recognize the IDE controller as one that supports DMA.  That's the default
> >behavior for Debian, RedHat, and Mandrake also.
> >
> 
> I'm very sure.  At least that's what I've found using Knoppix on several 
> "new" computers (>1ghz).  I have to enter "knoppix dma" or I get no dma 
> and it's very slow.  You can see the dma option (and others) by pushing 
> F2 at the boot prompt.
> 
> And it is surprising because I know DMA is on by default in all major 
> distributions and other linux boot cds I've tried.
> 
> Jonathan


this says that dma is not enabled by default ever:


http://www.knoppix.net/docs/index.php/FaqInstall

Q: Why is DMA disabled by default and how do i enable it 

A: Some chipsets and/or harddiscs are broken or buggy. Using DMA would
cause problems on such systems. If your system works properly with DMA,
you can enable it with it by typing "/sbin/hdparm -c3 -d1 -m16 -k1
/dev/hda" or by editing the "/etc/init.d/bootmisc.sh" startup script and
uncommenting the hdparm -qd1 /dev/hda line to have it permanently on at
reboot, if the line is not there add it. Read more:
http://linux.oreillynet.com/pub/a/linux/2000/06/29/hdparm.html




this says that dma is enabled once the kernel boots:


http://www.is.cs.cmu.edu/janus/hua.cgi/KnoppixHacking

After spending quite some time understanding the knoppix boot sequence,
it seems that DMA is not enabled for initrd & loading vmlinuz!!! And I'm
not sure whether initrd is doing anything really useful. Remove it from
lilo and be happy. DMA is enabled at only a very late stage. So I should
still expect a major speedup once I know how to enable DMA from the very
beginning.



perhaps the only time the system is certain to have dma enabled is when
the system is in an eigenstate of the dma operator?

pete

-- 
In theory, theory and practise are the same.  In practise, they aren't.
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!