View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 64 posts ] 
Go to page Previous  1, 2, 3, 4, 5  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Mon Sep 27, 2004 6:32 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Mon Sep 27, 2004 9:29 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Tue Sep 28, 2004 7:52 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Tue Sep 28, 2004 10:03 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Sep 29, 2004 6:43 am 
Offline
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 :wink:

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
 Profile  
 
PostPosted: Sat Oct 02, 2004 5:10 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sat Oct 02, 2004 7:21 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sat Oct 02, 2004 7:30 am 
Offline
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 :wink: )


Top
 Profile  
 
 Post subject: upagain
PostPosted: Wed Oct 06, 2004 7:25 am 
Offline
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
 Profile  
 
 Post subject: v 0.16
PostPosted: Mon Oct 11, 2004 6:53 am 
Offline
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
 Profile  
 
 Post subject: Tuner questions
PostPosted: Wed Oct 20, 2004 10:40 am 
Offline
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
 Profile  
 
 Post subject: Re: v 0.16
PostPosted: Thu Oct 21, 2004 12:30 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sat Oct 23, 2004 6:32 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Mon Oct 25, 2004 3:24 pm 
Offline
Joined: Sun Feb 15, 2004 5:17 pm
Posts: 5
I have mirrored the debs on my site

http://www.themorganfamily.net/mythepia

I will try and keep track of any updates


Top
 Profile  
 
 Post subject: updates
PostPosted: Tue Oct 26, 2004 5:34 am 
Offline
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 :cry:

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
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 64 posts ] 
Go to page Previous  1, 2, 3, 4, 5  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 36 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu