LinuxMCE Forums
May 20, 2013, 03:54:17 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Mythbackend start fails, no /proc/sys/dev/rtc/max-user-freq (solved)  (Read 624 times)
indulis
Veteran
***
Posts: 147


View Profile
« on: December 02, 2008, 11:56:52 pm »

Hi,

A trivial fix to help those that have rebuilt their kernels, and to improve robustness.  A change to /etc/init.d/mythtv-backend is required to check for the existence of /proc/sys/dev/rtc/max-user-freq before trying to write "1024" to it.

AAt least in kernel 2.6.27.4, the RTC emulation by the new HPET facility does not extend to putting a fake entry to match the old RTC in /proc/sys/dev

Instead, you have to use

echo 1024 >/proc/sys/dev/hpet/max-user-freq

The start script should check for the existence of both rte and hpet before it tries to write to them.  Because it does not, if the write fails the script fails completely (ie mythbackend does not start).

If this script is within the scope of LMCE (if not whose it is?) I am happy to code this and would like to get some help on how to get a patch generated once I've changed the script, and how to submit it for inclusion to LMCE.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!