LinHES Forums
http://forum.linhes.org/

Kernel Recompile
http://forum.linhes.org/viewtopic.php?f=14&t=2258
Page 1 of 1

Author:  dardack [ Wed Aug 25, 2004 5:01 pm ]
Post subject:  Kernel Recompile

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?

Author:  Xsecrets [ Wed Aug 25, 2004 7:23 pm ]
Post subject: 

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.

Author:  dardack [ Wed Aug 25, 2004 7:53 pm ]
Post subject: 

Where am i copying the config file to?

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

Author:  Xsecrets [ Wed Aug 25, 2004 8:47 pm ]
Post subject: 

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.

Author:  dardack [ Thu Aug 26, 2004 2:45 pm ]
Post subject: 

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?

Author:  cesman [ Thu Aug 26, 2004 2:53 pm ]
Post subject: 

Boot off the cd.
mount -o rw /dev/hda1 /mnt/hda1
cp /path/to/what/i/want /mnt/hda1/where/i/want/it

Author:  dardack [ Sun Aug 29, 2004 10:55 am ]
Post subject: 

thanks cesman. gonna compile now to see if it works.

Author:  dardack [ Thu Sep 02, 2004 6:30 pm ]
Post subject: 

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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/