Quote Originally Posted by cesman
Quote Originally Posted by ScrollLock
2) 'Illegal instruction' when running mythtv-setup
After installing KnoppMyth on my VIA Epia 1000 board (Via C3 Ezra CPU) I try to run mythtv-setup according to the instructions. The blue wallpaper shows up briefly but then the program crashes, the console window shows an "Illegal Instruction" error message. Maybe KnoppMyth is compiled wrongly for this low-end CPU?
The kernel is the stock Knoppix kernel, I've been attempting to compile a custom kernel for R4, but am having problems. I actually don't plan to do anything specific for the EPIA until a few releases down the road.
The Knoppix part is not the problem, it is the MythTV application that is not suitable for the Via C3. I found the answer in the MythTV documentation:
Quote Originally Posted by MythTV documentation
If you've got a system with an AMD K6-2 or a VIA C3 processor, make the following change in the settings.pro file.

Look for
-march=pentiumpro
and replace it with
-march=i586
before you compile.
Recent AMD processors, like the Duron, Thunderbird and Athlon don't need this change.
Could you please add a warning in the readme file for users of those processors? Thanks.

Another small issue in the documentation: after the first bootup it says:
Quote Originally Posted by knoppmyth.txt
$su
#mkmythdir
#netcardconfig
#ln -sf /dev/scd0 /dev/dvd
#/etc/init.d/alsa-autoconfig
#tzconfig
#date (ensure the date is correct)
#/etc/cron.daily/mythtv-backend
#/etc/init.d/mythtv-backend restart
#exit
$mythtv-setup
Go thru the 4 steps. Leave directory to hold recordings and Live TV buffer as is. The partition scheme is designed to facilitate easy updates between releases of KnoppMyth. Once you've completed the 4 steps, exit the setup program.

$alsamixer
Set the line in to capture(move to it and <spacebar> and ensure it is muted(volume all the way down).
$su
#/etc/cron.daily/mythtv-backend
#/etc/init.d/mythtv-backend restart
#exit
$exit
The first two mythtv-backend are not necessary as they always fail due to setup information missing. One has to run mythtv-setup first, then the 2 mythtv-backend commands.

hope it helps, ScrollLock