[mythtv-users] Problem with boot time system lockup on new install of Mythbuntu 12.04

Mike Perkins mikep at randomtraveller.org.uk
Tue Apr 15 16:12:44 UTC 2014


On 15/04/14 16:01, Hika van den Hoven wrote:
> Hoi Craig,
>
> Tuesday, April 15, 2014, 4:27:18 PM, you wrote:
>
>> On Tue, Apr 15, 2014 at 9:19 AM, Hika van den Hoven <hikavdh at gmail.com> wrote:
>>> Hoi Craig,
>>>
>>> It could well be that your system initialisation is to slow for some
>>> of the deamons. I'm surprised you had a deamon for a usb device in the
>>> boot runlevel. Try moving all deamons in the boot level not essential
>>> for basic system initialisation to the default level. So giving your
>>> system more time to initialise.
>>>
>> Hika, I don't understand what you mean about the boot runlevel.  The
>> device daemon script is stored in /etc/init.d/iguanaIR, but that is
>> referenced by a link in /etc/rc2.d/S##iguanaIR that points to
>> /etc/init.d/iguanaIR.  The script doesn't get started until the system
>> is entering runlevel 2.  Does that clarify the misunderstanding?
>
>> --
>> Craig.
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>
>
> If I am correct with the naming on your system S means the
> boot/sysinit runlevel,one of the numbered is the default multiuser
> runlevel. But you can find that convention on internet. On my (gentoo)
> system they are more friendly named boot and default.
> When a system boots it first runs the scripts/services in the sysinit
> level then in the boot level resulting in a basically functional
> system. Then the default or also called multiuser level ( there also
> is a singleuser lever for debugging etc) is run. If I remember
> correctly the scripts start with a two digit number, organising the
> order of execution.
> My guess is one of your services in the bootlevel needs some driver
> being initialised properly first, which sometimes isn't. The crashing
> service won't probably show on your init screen, so you could mark out
> the ones already having showed up at the moment of the crash.
> One solution would be moving the drivers in kernel, making them
> initialise faster, but that means compiling a new kernel.
> Usually usb and asb devices are last to initialise and any service
> depending on them being present should not run in the bootlevel.
>
Not in this case. He clearly states he is running scripts in rc2.d which means 
runlevel 2, which happens after all rcS.d scripts are run. The S is prepended to 
scripts in the rcn.d directories to indicate start scripts; the stop scripts are 
prepended with a K.

-- 

Mike Perkins



More information about the mythtv-users mailing list