minimyth: init failed -- don't know why

Help with booting MiniMyth

Moderator: Pablo

Post Reply
Grant_Edwards
Member
Posts: 19
Joined: Wed Mar 04, 2009 11:12 pm

minimyth: init failed -- don't know why

Post by Grant_Edwards » Wed Oct 28, 2009 3:33 am

Back in March I had 0.20.2-64 running on a Mac Mini, but I
didn't yet have a network setup that would connect it to the
backend. It did work when I temporarily set it up next
to my old backend.

Now that I do have my network setup, I can't get Minimyth to
work anymore. It boots OK and finds the rootfs, but mythtv
init fails and all I get is a login: prompt.

Since my backend has been upgraded to 0.21, I decided to give
up on my old install and try MM 0.21.0-70. I'm seeing the same
results.

The linux kernel boots fine, and the USB drive is recognized
and mounted, then I get a login prompt, but no X (and no Mythtv
frontend). I tried starting X manually, but it chokes on the
Xorg server config file because it contains the string
"@NVIDIA_TRUE@" or something like that. It also fails to start
the ssh server (which makes troubleshooting even more
difficult).

I've read and re-read the documents, but I'm unable to figure
out what has failed or what to do about it. Can somebody give
me a hint?

Here's the contents of my config file:

$ egrep -v '^[ \t]*(#|$)' minimyth.conf
MM_DHCP_HOST_NAME=mmyth
MM_DHCP_TCODE=America/Chicago
MM_DHCP_DOMAIN_NAME_SERVERS=192.168.1.2
MM_DHCP_NTP_SERVERS=192.168.1.2
MM_VIDEO_ASPECT_RATIO='16:9'
MM_VIDEO_DEINTERLACER='auto'
MM_X_OUTPUT_VGA='auto'
MM_X_MODE='1368x768'
MM_MASTER_SERVER=aleph
MM_THEME_NAME='Titivillus'
MM_THEMEOSD_NAME='Titivillus-OSD'
MM_SSH_SERVER_ENABLED='yes'


Here's the contents of /var/log/messages:

Oct 28 02:16:10 (none) syslog.info syslogd started: BusyBox v1.15.2
Oct 28 02:16:11 (none) daemon.info init: Entering runlevel: 5
Oct 28 02:16:11 (none) local0.info minimyth: configuring shared libraries ...
Oct 28 02:16:11 (none) local0.info minimyth: starting loopback network interface ...
Oct 28 02:16:11 (none) auth.notice portmap[247]: Only binding to LOOPBACK address!
Oct 28 02:16:11 (none) local0.info minimyth: configuring network interface ...
Oct 28 02:16:11 (none) local0.info minimyth: running DHCP client command '/sbin/udhcpc -S -p /var/run/udhcpc.pid -s /etc/udhcpc.script -i eth0 -q > /var/log/udhcpc 2>&1'.
Oct 28 02:16:11 (none) daemon.info udhcpc[259]: udhcpc (v1.15.2) started
Oct 28 02:16:11 (none) daemon.info udhcpc[259]: Sending discover...
Oct 28 02:16:14 (none) daemon.info udhcpc[259]: Sending discover...
Oct 28 02:16:14 (none) daemon.info udhcpc[259]: Sending select for 192.168.1.8...
Oct 28 02:16:14 (none) daemon.info udhcpc[259]: Lease of 192.168.1.8 obtained, lease time 43200
Oct 28 02:16:14 (none) local0.info minimyth: fetching configuration file ...
Oct 28 02:16:14 (none) local0.info minimyth: waiting for directory /minimyth to mount (30 second(s) left) ...
Oct 28 02:16:14 (none) local0.info minimyth: created mount point '/minimyth'.
Oct 28 02:16:14 (none) local0.info minimyth: mounted device '/dev/disk-minimyth' at mount point '/minimyth'.
Oct 28 02:16:15 (none) local0.info minimyth: fetching 'confro:/minimyth.conf': local file will be '/etc/minimyth.d/minimyth.conf'.
Oct 28 02:16:15 (none) local0.info minimyth: fetching 'confro:/minimyth.conf': URL 'file:/minimyth/conf/mmyth/minimyth.conf' not fetched (it may not exist).
Oct 28 02:16:15 (none) local0.info minimyth: fetching 'confro:/minimyth.conf': URL 'file:/minimyth/conf/default/minimyth.conf' fetched.
Oct 28 02:16:15 (none) local0.info minimyth: checking for obsolete variables ...
Oct 28 02:16:15 (none) local0.info minimyth: Processing DHCP override variables ...
Oct 28 02:16:15 (none) local0.info minimyth: configuring network interface ...
Oct 28 02:16:15 (none) local0.info minimyth: running DHCP client command '/sbin/udhcpc -S -p /var/run/udhcpc.pid -s /etc/udhcpc.script -i eth0 -r 192.168.1.8 > /var/log/udhcpc 2>&1'.
Oct 28 02:16:15 (none) daemon.info udhcpc[476]: udhcpc (v1.15.2) started
Oct 28 02:16:15 (none) daemon.info udhcpc[476]: Sending discover...
Oct 28 02:16:15 (none) daemon.info udhcpc[476]: Sending select for 192.168.1.8...
Oct 28 02:16:15 (none) daemon.info udhcpc[476]: Lease of 192.168.1.8 obtained, lease time 43200
Oct 27 21:16:16 (none) local0.info minimyth: Fetching firmware files ...
Oct 27 21:16:16 (none) local0.info minimyth: loading kernel modules (automatic) ...
Oct 27 21:16:17 (none) local0.info minimyth: loading kernel modules (manual) ...
Oct 27 21:16:17 (none) local0.info minimyth: processing configuration file ...
Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confro:/ssh_host_rsa_key': local file will be '/etc/ssh/ssh_host_rsa_key'.
Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confro:/ssh_host_rsa_key': URL 'file:/minimyth/conf/mmyth/ssh_host_rsa_key' not fetched (it may not exist).
Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confro:/ssh_host_rsa_key': URL 'file:/minimyth/conf/default/ssh_host_rsa_key' fetched.
Oct 27 21:16:17 (none) local0.info minimyth: fetched MiniMyth read-only configuration file '/ssh_host_rsa_key'
Oct 27 21:16:17 (none) local0.info minimyth: by fetching 'file:/minimyth/conf/default/ssh_host_rsa_key'
Oct 27 21:16:17 (none) local0.info minimyth: to local file '/etc/ssh/ssh_host_rsa_key'.
Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confro:/authorized_keys': local file will be '/etc/ssh/authorized_keys'.
Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confro:/authorized_keys': URL 'file:/minimyth/conf/mmyth/authorized_keys' not fetched (it may not exist).
Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confro:/authorized_keys': URL 'file:/minimyth/conf/default/authorized_keys' fetched.
Oct 27 21:16:17 (none) local0.info minimyth: fetched MiniMyth read-only configuration file '/authorized_keys'
Oct 27 21:16:17 (none) local0.info minimyth: by fetching 'file:/minimyth/conf/default/authorized_keys'
Oct 27 21:16:17 (none) local0.info minimyth: to local file '/etc/ssh/authorized_keys'.
Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confrw:/huludesktop.data': local file will be '/home/minimyth/.local/share/.huludesktop.data'.
Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confrw:/huludesktop.data': URL 'file:/minimyth/conf-rw/mmyth+huludesktop.data' not fetched (it may not exist).
Oct 27 21:16:17 (none) local0.err minimyth: failed to fetch MiniMyth read-write configuration file '/huludesktop.data'
Oct 27 21:16:17 (none) local0.warn minimyth: 'unknown audio device. assuming audio gain is '90'.
Oct 27 21:16:17 (none) local0.warn minimyth: 'unknown audio device. assuming audio device number is '0'.
Oct 27 21:16:17 (none) local0.warn minimyth: 'unknown audio card. assuming audio card number is '0'.
Oct 27 21:16:17 (none) local0.info minimyth: init failed. check '/var/log/messages' for further details.
Oct 28 02:16:17 (none) daemon.info init: no more processes left in this runlevel
Oct 27 21:18:11 (none) auth.info login[1385]: root login on 'tty1'

sergeant72
Member
Posts: 21
Joined: Sun Dec 14, 2008 7:09 pm

Re: minimyth: init failed -- don't know why

Post by sergeant72 » Wed Oct 28, 2009 5:19 am

Grant_Edwards wrote: Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confrw:/huludesktop.data': local file will be '/home/minimyth/.local/share/.huludesktop.data'.
Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confrw:/huludesktop.data': URL 'file:/minimyth/conf-rw/mmyth+huludesktop.data' not fetched (it may not exist).
Oct 27 21:16:17 (none) local0.err minimyth: failed to fetch MiniMyth read-write configuration file '/huludesktop.data'
Try setting MM_HULU_STORE_HULUDESKTOP_DATA to 'no' and MM_HULU_URL to 'none.
It's possible you have some other issues as well.

Regards

Grant_Edwards
Member
Posts: 19
Joined: Wed Mar 04, 2009 11:12 pm

Re: minimyth: init failed -- don't know why

Post by Grant_Edwards » Wed Oct 28, 2009 4:49 pm

Thanks, I'll give it a try. When reading the docs, I missed
the fact that that a hulu data file is required by default.

I'm still puzzled as to why my existing instll stopped working
after sitting idle for 6 months. It's connected to a
different display that it was originally and it's talking to a
different master backend. Would changing either the display or
the backend cause init to fail?

--
Grant

Grant_Edwards
Member
Posts: 19
Joined: Wed Mar 04, 2009 11:12 pm

Re: minimyth: init failed -- don't know why

Post by Grant_Edwards » Wed Oct 28, 2009 5:24 pm

Am I correct in assuming that the xorg.conf file is broken
because it's generated automagically during the minimyth
inititialization process and that process has aborted before it
got to the point where xorg.conf is generated?

Grant_Edwards
Member
Posts: 19
Joined: Wed Mar 04, 2009 11:12 pm

Re: minimyth: init failed -- don't know why

Post by Grant_Edwards » Mon Nov 02, 2009 5:11 pm

sergeant72 wrote:
Grant_Edwards wrote: Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confrw:/huludesktop.data': local file will be '/home/minimyth/.local/share/.huludesktop.data'.
Oct 27 21:16:17 (none) local0.info minimyth: fetching 'confrw:/huludesktop.data': URL 'file:/minimyth/conf-rw/mmyth+huludesktop.data' not fetched (it may not exist).
Oct 27 21:16:17 (none) local0.err minimyth: failed to fetch MiniMyth read-write configuration file '/huludesktop.data'
Try setting MM_HULU_STORE_HULUDESKTOP_DATA to 'no' and MM_HULU_URL to 'none.
It's possible you have some other issues as well.
The lack of a huludesktop.data file was causing the failure. I
had mistakenly assumed that such things were optional by default.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: minimyth: init failed -- don't know why

Post by Pablo » Tue Nov 03, 2009 4:05 pm

This was a bug. It should be fixed in version 71.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply