View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Kernel Recompile
PostPosted: Wed Aug 25, 2004 5:01 pm 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
Bare with me as i'm adequate with linux but by no means an expert. And i've never really compiled a kernel before.

Ok, so i have an SIS 305 or something video card with tv-out. For some reason it doesn't work in linux but with Thomas Winischhofer's (http://www.winischhofer.net/linuxsisvga.shtml) sis driver it works great. But one thing about the tv-out port is it doesn't display the text when booting up. It displays two white triangles. From Thomas i gather that this is due to how the kernel handles the frame buffer. He's written a sis frambuffer but it has to be compiled into the kernel. So i undertook this the other day and compiled the kernel with his frame buffer in it. It worked up until the kernel was missing stuff in it's boot up. I looked up the error message on google (escapes me now) and it had something to do with modules not being installed. So i was wondering, obviously i didn't select things that i needed to, is there a program to run to gather the information from your current kernel, select what you need and just change what you have to for the sis frambuffer? Or a listing in detail of what i have to select for the KnoppMyth kernel.

Or out of curiousity the sis frambuffer is installed by overwritting certain .c and .h files for sis. Is it possible that R5 have this already?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 7:23 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
to get the same config as knoppmyth you need to change to the kernel source dir usually /usr/src/linux/ and cp /boot/config-kernel-version .config the file won't be config-kernel-version it will actually have numbers and letters in it, but keeping it generic it will work for any distro not just knoppmyth. then you should run make oldconfig then your kernel will be configured with the same options that the binary kernel was compiled with.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 7:53 pm 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
Where am i copying the config file to?

BTW thanks i'll try this out this weekend when i have time.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 8:47 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
that's why I said cd into your kernel source. you'll notice a space in the command I have that will make it copy to a file called .config in the current directory.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 26, 2004 2:45 pm 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
my um tar ball with the source, um i have seemed to have deleted it by mistake. Is there a way to extract it from the cd?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 26, 2004 2:53 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Boot off the cd.
mount -o rw /dev/hda1 /mnt/hda1
cp /path/to/what/i/want /mnt/hda1/where/i/want/it

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 29, 2004 10:55 am 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
thanks cesman. gonna compile now to see if it works.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 02, 2004 6:30 pm 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
I recompiled the kernel and rebooted, the frame buffer worked, but all i got was a black screen when trying to watch live tv, and the lircd doest work, lircd runs but if i try to run irw or mythtv it shuts back down. I don't know what i have to do to get these things to work with the new kernel. I ran make oldconfig, and it went fine. anyways any help?

btw i'm using a pvr 250.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu