Author |
Message |
jam1401
|
Posted: Mon Sep 27, 2004 6:32 pm |
|
Joined: Sun Feb 15, 2004 5:17 pm
Posts: 5
|
Hi
I followed the instructions above everything seemed to work except for the speed-up by setting the hda to use DMA.
When I do a hdparm -d1 /dev/hda
I get
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted.
My system is a EPIA MII 12000, 1GB and a 120GB Samsung disk. Before I went through this process I did a hdparm -t /dev/hda1 and got a 40MB/sec now I can only get about 3 MB.
Anybody got any ideas where I screwed up...
|
|
Top |
|
 |
Xsecrets
|
Posted: Mon Sep 27, 2004 9:29 pm |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
are you running that command as root?
if so then you are not loading the proper ide driver. not that I have any clue what the proper driver is for an epia system.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
 |
jam1401
|
Posted: Tue Sep 28, 2004 7:52 am |
|
Joined: Sun Feb 15, 2004 5:17 pm
Posts: 5
|
Yes I am running the hdparm command as as root.
Did some poking around found some references that said I may have to compile the Viacxxxx driver into the kernel for DMA to work. Loading it as a module won't cut it. Checking the original knoppmyth config does have Via82cxxxx loaded in the kernel (CONFIG_BLK_DEV_VIA82CXXX=y) whereas the EPIA config shows loaded as a module.
Will try that today and report back....
|
|
Top |
|
 |
jam1401
|
Posted: Tue Sep 28, 2004 10:03 am |
|
Joined: Sun Feb 15, 2004 5:17 pm
Posts: 5
|
Rebuilding the kernel with the
CONFIG_BLK_DEV_VIA82CXXX=y
option works. Got the DMA working and hdparm -t /dev/hda reports 41MB/sec
|
|
Top |
|
 |
pete-edworthy
|
Posted: Wed Sep 29, 2004 6:43 am |
|
Joined: Sun Jan 04, 2004 3:25 pm
Posts: 49
Location:
Coventry England
|
Hi,
Sorry not checked the thread in a bit, as I can now watch tv
The DMA problem occurs if the module isn't loaded, thats what the
echo via82cxxx >> /etc/modules
is for, but kernel recompiles are always fun. It is only a module because compiling takes soo long I just compiled and packaged an extra module rather than go through it all.
The compile optimasation flags are from the epia howto. While loop unrolling would be bad, as a loop would fit in the cache and the unrolled look would require multiple extra cache fetches O3 includes inlinning of functions, which reduces cache misses and so should benefit the C3.
O3 doesn't unroll loops by default, and so I feel it is probably still the best choice.
Obviously testing would be the only way to tell as even on a program by program basis the winner will change.
|
|
Top |
|
 |
hushpc
|
Posted: Sat Oct 02, 2004 5:10 am |
|
Joined: Sat Oct 02, 2004 5:02 am
Posts: 2
|
Code: wget http://edworthy.homeip.net/kernel-doc-2.4.24-epia1_1_all.deb wget http://edworthy.homeip.net/kernel-headers-2.4.24-epia1_1_i386.deb wget http://edworthy.homeip.net/kernel-image-2.4.24-epia1_1_i386.deb wget http://edworthy.homeip.net/kernel-source-2.4.24-epia1_1_all.deb
#install packages dpkg -i kernel-*.deb
I'm trying to follow Petes instructions for my epiaMII + PVR350. However I cannot download the initial kernel debian packages since his server seems to be down.
Does anyone have a mirror?
If not, as an alternative I want to try to use the 2.4.25 kernel and apply the epia2 patch from kalf.org
http://epia.kalf.org/epia_kernel/patch-2.4.25-epia2.bz2
but in this case I would need to know what Peter changed in his epia1 .deb files...
Any help would be appreciated!
|
|
Top |
|
 |
pete-edworthy
|
Posted: Sat Oct 02, 2004 7:21 am |
|
Joined: Sun Jan 04, 2004 3:25 pm
Posts: 49
Location:
Coventry England
|
hi,
toasted my server  . I'll get its replacement up this weekend, but once thats done mirrors would be good.
|
|
Top |
|
 |
hushpc
|
Posted: Sat Oct 02, 2004 7:30 am |
|
Joined: Sat Oct 02, 2004 5:02 am
Posts: 2
|
sorry to hear that...  would be great if you get it back up. or email me the kernel config you used for your .debs
i can provide a mirror (once i have them  )
|
|
Top |
|
 |
pete-edworthy
|
Posted: Wed Oct 06, 2004 7:25 am |
|
Joined: Sun Jan 04, 2004 3:25 pm
Posts: 49
Location:
Coventry England
|
hi,
the replacement is up, feel free to mirror/download and modify/use
bye
Pete
|
|
Top |
|
 |
pete-edworthy
|
Posted: Mon Oct 11, 2004 6:53 am |
|
Joined: Sun Jan 04, 2004 3:25 pm
Posts: 49
Location:
Coventry England
|
Hi,
v0.16 seems to break the via cle266 decoding. I'm looking into it, but it looks like it will require a new video driver and Xserver, so for now stick with 0.15
bye
Pete
|
|
Top |
|
 |
jam1401
|
Posted: Wed Oct 20, 2004 10:40 am |
|
Joined: Sun Feb 15, 2004 5:17 pm
Posts: 5
|
I am having trouble getting live TV out of my EPIA M + PVR 250 hush box.
Followed all the instructions in this excellent post but found a few little wrinkles with my set-up.
Firstly it turned out that the PVR 250 shipped in my Hush PC included a new Tuner. So I had to use a patched version of Ivtv the version I am running is 0.1.10pre2-ck115i
Now tveeprom is recognizing the tuner correctly but I still can get live TV. The patches for Ivtv also suggest I need to patch the tuner in the kernel
see http://www.poptix.net/ivtv/Sep-2004/msg00773.html
There is a patch for tuner.h and tuner.c however If understand things correctly the EPIA kernel builds the tuner-3036 module which gets aliased to tuner.
I guess I am confused about the relationship between tuner-3036.o and tuner.o modules and if applying the patches for the new tuner will have any effect on my particular problem. Anyone got any ideas?
Currently doing an lsmod shows tuner-3036 and saa7115 as unused which I think is why I am not getting any TV out.
thanks for any help or pointers..
Jeff
|
|
Top |
|
 |
berts
|
Posted: Thu Oct 21, 2004 12:30 pm |
|
Joined: Thu Oct 21, 2004 12:00 pm
Posts: 4
Location:
Ridderkerk, Netherlands
|
pete-edworthy wrote: Hi,
v0.16 seems to break the via cle266 decoding. I'm looking into it, but it looks like it will require a new video driver and Xserver, so for now stick with 0.15
bye Pete
Hi Pete,
Does this mean that I should stick with Knoppmyth R4V4?
I have been playing a bit with R4V5 and would like to install it on my Epia 1000MHz with PVR250. R4V5 seems to be the obvious choice. However, if I will predictably run into problems with the CLE266 code I might be better off with R4V4.1.
I R4V4.1 is the best way to go, would the instructions on wiki ( http://knoppmythwiki.homelinux.org/inde ... therboards) apply?
Thanks, Bert
|
|
Top |
|
 |
sakya
|
Posted: Sat Oct 23, 2004 6:32 am |
|
Joined: Sat Oct 23, 2004 6:23 am
Posts: 4
|
Hi!
edworthy.homeip.net is down again.
Does anybody have the needed kernel-files or could give me a hint for a mirror?
Thx a lot!!
sakya
|
|
Top |
|
 |
jam1401
|
Posted: Mon Oct 25, 2004 3:24 pm |
|
Joined: Sun Feb 15, 2004 5:17 pm
Posts: 5
|
|
Top |
|
 |
pete-edworthy
|
Posted: Tue Oct 26, 2004 5:34 am |
|
Joined: Sun Jan 04, 2004 3:25 pm
Posts: 49
Location:
Coventry England
|
Hi,
R4V4.1 is the way to go for EPIA at the moment,
Sorry about my server... I'll sort it eventually dam isp has started cycling my ip every day even though I should be on a static address
Most of the IVTV kernel modules are actually built when IVTV is built, they are not included in the debs so if you use an updated IVTV the kernel modules will also be updated.
Sadly looking at the patch, tuner is part of the kernel distrib for some reason, probably part of V4l rather than IVTV. I'll add the patch tonight and put up a new set of debs. While I'm upto this any other requests?
IDE driver in kernel
latest IVTV patches for tuner
bye
Pete
Oh, and thanks jam1401 for the mirror
|
|
Top |
|
 |