error: mount of 'MM_THEME_URL=hunt:themes/G.A.N.T..sfs' fail

Help with booting MiniMyth

Moderator: Pablo

Post Reply
steve_pd
New Member
Posts: 7
Joined: Mon Oct 01, 2007 9:13 am

error: mount of 'MM_THEME_URL=hunt:themes/G.A.N.T..sfs' fail

Post by steve_pd » Sun Jan 20, 2008 3:11 pm

As the subject says..

error: mount of 'MM_THEME_URL=hunt:themes/G.A.N.T..sfs' failed.

I'm running ram-minimyth-0.20.2-38b4 and the themes directory is sat happily in the /minimyth-0.20.2-38b4 tftp directory where it managed to load the kernel and rootfs files from.

I've tried a couple of themes and it says this for each.

I have:

MM_THEME_URL=auto

Commenting out the line doesn't fix.

The same theme config lines and directory structure worked for my last version of minimyth, and this was set up by following http://linpvr.org/minimyth/document-boo ... etwork-ram

Any suggestions would be appreciated. I've got my backend happily recording shows left, right and centre with the new multirec code, just can't play them :-P

Thanks,

Steve Daniels

steve_pd
New Member
Posts: 7
Joined: Mon Oct 01, 2007 9:13 am

Post by steve_pd » Sun Jan 20, 2008 4:41 pm

Update:

Got around that issue by sticking the themes on apache and referencing them directly.

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

Post by Pablo » Mon Jan 21, 2008 2:17 am

What are the contents of /etc/conf.d/dhcp on the frontend?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

brtab395
Member
Posts: 20
Joined: Fri Apr 29, 2005 8:50 pm
Contact:

Same Problem Here - I'll Bite

Post by brtab395 » Sun Feb 17, 2008 3:12 pm

I have this problem, too. The /etc/conf.d/dhcp contains the following:

MM_NETWORK_INTERFACE='eth0'
MM_TFTP_SERVER='192.168.0.71'
MM_TFTP_BOOT_URL='tftp://192.168.0.71/PXEClient/'

If the MM_THEME_NAME is set to 'default' and MM_THEMEOSD_NAME is set to 'default' it gets by the problem. But then it drops to an Invalid PC Mode

brtab395
Member
Posts: 20
Joined: Fri Apr 29, 2005 8:50 pm
Contact:

Issue Resolved

Post by brtab395 » Sun Feb 17, 2008 4:16 pm

I have found that not having a minimyth directory was causing the system to not come up. Creating a symlink to the existing directory got around this problem for me.

cd /tftpboot/PXEClient
ln -s ram-minimyth-svn15741-39b4 minimyth

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

Post by Pablo » Sun Feb 17, 2008 7:19 pm

What are the contents of your minimyth.conf file and your pxelinux.cfg file?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

brtab395
Member
Posts: 20
Joined: Fri Apr 29, 2005 8:50 pm
Contact:

Config Files

Post by brtab395 » Tue Feb 19, 2008 3:01 pm

[root@brumar PXEClient]# cat pxelinux.cfg/01-00-40-63-d4-22-4c
DEFAULT minimyth-ram

LABEL minimyth-ram
KERNEL ram-minimyth-svn15741-39b4/kernel
APPEND ro root=/dev/ram0 initrd=ram-minimyth-svn15741-39b4/rootfs ramdisk_size=64000

[root@brumar PXEClient]# cat conf/default/minimyth.conf
################################################################################
# minimyth.conf
#
# The required MiniMyth configuration file.
#
# For information on this file, see either
# <http>
# or
# <http>,
# where '{frontend}' is the IPv4 address or hostname of your MiniMyth frontend.
################################################################################

################################################################################
# The following line will fetch and include a file named 'minimyth-common.conf'
# from the MiniMyth read-only configuration directory. If you have multiple
# MiniMyth frontends with common configuration, then you can include this line
# in each 'minimyth.conf' file and put the common configuration in the file
# 'default/minimyth-common.conf'.
################################################################################
#mm_minimyth_conf_include minimyth-common.conf

################################################################################
# MiniMyth variables.
#
# MM_MINIMYTH_BOOT_URL
# MM_MINIMYTH_FETCH_MINIMYTH_SCRIPT
################################################################################
#MM_MINIMYTH_BOOT_URL='tftp://192.168.0.71/ram-minimyth-svn15741-39b4/'

################################################################################
# MiniMyth update variables.
#
# MM_UPDATE_URL
################################################################################

################################################################################
# DHCP overrides variables.
#
MM_DHCP_HOST_NAME='epia2'
# MM_DHCP_DOMAIN_NAME
MM_DHCP_TCODE='America/New_York'
# MM_DHCP_DOMAIN_NAME_SERVERS
MM_DHCP_NTP_SERVERS='192.168.0.71'
# MM_DHCP_LOG_SERVERS
################################################################################

################################################################################
# Security variables.
#
# MM_SECURITY_ENABLED
# MM_SECURITY_USER_MINIMYTH_UID
# MM_SECURITY_USER_MINIMYTH_GID
# MM_SECURITY_FETCH_CREDENTIALS_CIFS
# MM_SECURITY_FETCH_CA_BUNDLE_CRT
################################################################################
#MM_SECURITY_ENABLED='yes'
#MM_SECURITY_FETCH_CREDENTIALS_CIFS='yes'
#MM_SECURITY_FETCH_CA_BUNDLE_CRT='yes'

################################################################################
# ACPI variables.
#
# MM_ACPI_EVENT_BUTTON_POWER
# MM_ACPI_VIDEO_FLAGS
################################################################################

################################################################################
# CPU variables.
#
# MM_CPU_FREQUENCY_GOVERNOR
# MM_CPU_FETCH_MICROCODE_DAT
################################################################################
#MM_CPU_FREQUENCY_GOVERNOR='userspace'

################################################################################
# Audio configuration variables.
#
# MM_AUDIO_TYPE
# MM_AUDIO_CARD_NUMBER
# MM_AUDIO_DEVICE_NUMBER
################################################################################
#MM_AUDIO_TYPE='digital'

################################################################################
# Video configurion variables.
#
# MM_VIDEO_ASPECT_RATIO
# MM_VIDEO_DEINTERLACER
# MM_VIDEO_FONT_SCALE
# MM_VIDEO_MPEG2_DECODER
# MM_VIDEO_RESIZE_ENABLED
################################################################################
#MM_VIDEO_ASPECT_RATIO='16x9'
#MM_VIDEO_DEINTERLACER='auto'

################################################################################
# X configuration variables.
#
# MM_X_ENABLED
# MM_X_RESTART_ON_SLEEP_ENABLED
# MM_X_WM_ENABLED
# MM_X_VNC_ENABLED
# MM_X_SCREENSAVER
# MM_X_SCREENSAVER_TIMEOUT
# MM_X_SCREENSAVER_HACK
# MM_X_MYTH_PROGRAM
# MM_X_OUTPUT_DVI
# MM_X_OUTPUT_VGA
MM_X_OUTPUT_VGA='auto'
# MM_X_OUTPUT_TV
# MM_X_TV_TYPE
# MM_X_TV_OUTPUT
#MM_X_TV_OUTPUT='S-Video'
# MM_X_TV_OVERSCAN
# MM_X_SYNC
# MM_X_REFRESH
# MM_X_RESOLUTION
#MM_X_RESOLUTION='1024x768'
# MM_X_MODELINE
# MM_X_MODE
MM_X_MODE='1024x768'
# MM_X_MODELINE_0
# MM_X_MODELINE_1
# MM_X_MODELINE_2
# MM_X_MODE_0
# MM_X_MODE_1
# MM_X_MODE_2
# MM_X_HACK_HIDE_BLUE_LINE_ENABLED
# MM_X_FETCH_XINITRC
# MM_X_FETCH_XORG_CONF
################################################################################

################################################################################
# Font configuration variables.
#
# MM_FONT_FILE_TTF_ADD
# MM_FONT_FILE_TTF_DELETE
################################################################################

################################################################################
# MythTV master backend communication configuration variables.
#
# MM_MASTER_SERVER
MM_MASTER_SERVER='192.168.0.71'
# MM_MASTER_DBUSERNAME
MM_MASTER_DBUSERNAME='mythtv'
# MM_MASTER_DBPASSWORD
MM_MASTER_DBPASSWORD='mythtv'
# MM_MASTER_DBNAME
MM_MASTER_DBNAME='mythconverg'
# MM_MASTER_WOL_ENABLED
# MM_MASTER_WOL_MAC
# MM_MASTER_WOLSQLRECONNECTWAITTIME
# MM_MASTER_WOLSQLCONNECTRETRY
# MM_MASTER_WOLSQLCOMMAND
# MM_MASTER_WOL_ADDITIONAL_DELAY
################################################################################

################################################################################
# Myth plugin configuration variables.
#
# MM_MYTHTV_OPTICAL_DISK_ENABLED
# MM_MYTHAUDIO_ENABLED
# MM_MYTHBROWSER_ENABLED
# MM_MYTHDVD_ENABLED
# MM_MYTHGALLERY_ENABLED
# MM_MYTHGAME_ENABLED
# MM_MYTHMUSIC_ENABLED
# MM_MYTHNEWS_ENABLED
# MM_MYTHPHONE_ENABLED
# MM_MYTHSTREAM_ENABLED
# MM_MYTHVIDEO_ENABLED
# MM_MYTHWEATHER_ENABLED
# MM_MYTHZONEMINDER_ENABLED
################################################################################

################################################################################
# Extras directory configuration variables.
#
# MM_EXTRAS_URL
################################################################################

################################################################################
# Codecs directory configuration variables.
#
# MM_CODECS_URL
################################################################################

################################################################################
# Theme configuration variables.
#
# MM_THEME_NAME
MM_THEME_NAME='blue'
# MM_THEMEOSD_NAME
MM_THEMEOSD_NAME='blueosd'
# MM_THEME_URL
#MM_THEME_URL='tftp://192.168.0.71/ram-minimyth-svn15741-39b4/
# MM_THEMEOSD_URL
#MM_THEMEOSD_URL='tftp://192.168.0.71/ram-minimyth-svn15741-39b4/
# MM_THEMECACHE_URL
################################################################################

################################################################################
# Remote media directory configuration variables.
#
# MM_MYTHAUDIO_MOUNTPOINT
# MM_MYTHAUDIO_URL
# MM_MYTHDVD_MOUNTPOINT
# MM_MYTHDVD_URL
# MM_MYTHGALLERY_MOUNTPOINT
# MM_MYTHGALLERY_URL
# MM_MYTHGAME_MOUNTPOINT
# MM_MYTHGAME_URL
# MM_MYTHMUSIC_MOUNTPOINT
# MM_MYTHMUSIC_URL
# MM_MYTHVIDEO_MOUNTPOINT
# MM_MYTHVIDEO_URL
################################################################################
#MM_MYTHAUDIO_URL="cifs://${MM_TFTP_SERVER}/music?credentials=/etc/cifs/credentials_cifs"
#MM_MYTHDVD_URL="nfs://${MM_TFTP_SERVER}/home/public/minimyth/themecache"
#MM_MYTHGALLERY_URL="cifs://${MM_TFTP_SERVER}/pictures?credentials=/etc/cifs/credentials_cifs"
#MM_MYTHGAME_URL="cifs://${MM_TFTP_SERVER}/games?credentials=/etc/cifs/credentials_cifs"
#MM_MYTHMUSIC_URL="cifs://${MM_TFTP_SERVER}/music?credentials=/etc/cifs/credentials_cifs"
#MM_MYTHVIDEO_URL="cifs://${MM_TFTP_SERVER}/videos?credentials=/etc/cifs/credentials_cifs"

################################################################################
# Game configuration variables.
#
# MM_GAME_SAVE_ENABLE
# MM_GAME_SAVE_LIST
# MM_GAME_BIOS_ROOT
# MM_GAME_GAME_ROOT
################################################################################

################################################################################
# LIRC configuration variables.
#
# MM_LIRC_AUTO_ENABLED
# MM_LIRC_DRIVER
# MM_LIRC_REMOTE
# MM_LIRC_DEVICE
# MM_LIRC_KERNEL_MODULE
# MM_LIRC_KERNEL_MODULE_OPTIONS
# MM_LIRC_IREXEC_ENABLED
# MM_LIRC_SLEEP_ENABLED
# MM_LIRC_WAKEUP_ENABLED
# MM_LIRC_FETCH_LIRCD_CONF
# MM_LIRC_FETCH_LIRCRC
################################################################################

################################################################################
# LCDPROC configuration variables.
#
# MM_LCDPROC_DRIVER
# MM_LCDPROC_FETCH_LIRCD_CONF
################################################################################

################################################################################
# External equipment control configuration variables.
#
# MM_EXTERNAL_POWER_OFF
# MM_EXTERNAL_POWER_ON
# MM_EXTERNAL_VOLUME_DOWN
# MM_EXTERNAL_VOLUME_UP
# MM_EXTERNAL_VOLUME_MUTE
################################################################################
#MM_EXTERNAL_POWER_OFF='
# /usr/bin/irsend <television> KEY_POWEROFF ;
# /usr/bin/irsend <receiver> KEY_POWEROFF'
#MM_EXTERNAL_POWER_ON='
# /usr/bin/irsend <television> KEY_POWERON ;
# /usr/bin/irsend <receiver> KEY_POWERON'
#MM_EXTERNAL_VOLUME_DOWN='
# /usr/bin/irsend <receiver> KEY_VOLUMEDOWN'
#MM_EXTERNAL_VOLUME_UP='
# /usr/bin/irsend <receiver> KEY_VOLUMEUP'
#MM_EXTERNAL_VOLUME_MUTE='
# /usr/bin/irsend <receiver> KEY_MUTE'

################################################################################
# SSH remote command execution configuration variables.
#
# MM_SSH_REMOTE_ENABLED
# MM_SSH_REMOTE_HOST
# MM_SSH_REMOTE_PORT
# MM_SSH_REMOTE_USER
################################################################################
#MM_SSH_REMOTE_ENABLED='yes'

################################################################################
# SSH server configuration variables.
#
# MM_SSH_SERVER_ENABLED
################################################################################
#MM_SSH_SERVER_ENABLED='yes'

################################################################################
# Cron configuration variables.
#
# MM_CRON_FETCH_CRONTAB
################################################################################

################################################################################
# MiniMyth Myth frontend configuration variables.
#
# MM_MYTHDB_JUMPPOINTS_{key}
# MM_MYTHDB_KEYBINDINGS_{key}
# MM_MYTHDB_SETTINGS_{key}
################################################################################
#MM_MYTHDB_JUMPPOINTS_MythGallery='MythGallery~Alt+G'
#MM_MYTHDB_JUMPPOINTS_Play_music='Play music~Alt+M'
#MM_MYTHDB_JUMPPOINTS_MythStream='MythStream~Alt+S'
#MM_MYTHDB_JUMPPOINTS_TV_Recording_Playback='TV Recording Playback~Alt+T'
#MM_MYTHDB_JUMPPOINTS_MythVideo='MythVideo~Alt+V'

#MM_MYTHDB_KEYBINDINGS_Music_FFWD='Music~FFWD~)'
#MM_MYTHDB_KEYBINDINGS_Music_RWND='Music~RWND~('
#MM_MYTHDB_KEYBINDINGS_Stream_FULLSCREEN='Stream~FULLSCREEN~W'
#MM_MYTHDB_KEYBINDINGS_TV_Playback_SEEKFFWD='TV Playback~SEEKFFWD~),Right'
#MM_MYTHDB_KEYBINDINGS_TV_Playback_SEEKRWND='TV Playback~SEEKRWND~(,Left'

#MM_MYTHDB_SETTINGS_GalleryMoviePlayerCmd='GalleryMoviePlayerCmd~xine -pfhq --no-splash --loop=loop'
#MM_MYTHDB_SETTINGS_VCDPlayerCommand='VCDPlayerCommand~xine -pfhq --no-splash --loop=loop vcd://'
#MM_MYTHDB_SETTINGS_VideoDefaultPlayer='VideoDefaultPlayer~xine -pfhq --no-splash --loop=loop'

Bruce

Spulit
Contributor
Posts: 181
Joined: Tue Dec 30, 2008 5:54 pm

Post by Spulit » Tue Dec 30, 2008 5:58 pm

Any help on this?

I've just downloaded the latest minimyth version, installed it on a harddrive and I'm booting it locally. I came up with this same error.
One thing that I must mention is that I needed to insert MM_MINIMYTH_BOOT_URL=file:/minimyth/ in the boot line in order to minimyth to correctly find the minimyth.conf in conf/default/

Thanks

EDIT: I noticed that if I use MM_THEME_NAME='default' I get no error since the files of that theme are already in /usr/share/mythtv/themes/default. However, I will get an error when trying to mount the OSD theme. If I try with the G.A.N.T theme, for example, the folder /usr/share/mythtv/themes/G.A.N.T is created but is empty. This happens with any other theme I choose.

EDIT2: After inspecting the perl init files, it seems that the MiniMyth.pm perl module has a bug in the url_mount() function. This function is called by mythtv.pm in /etc/rc.d/init. When that function receives a url like hunt:themes/G.A.N.T.sfs it enters the case in line 1379 (if $url_ext1 eq 'sfs') and it seems that the logic inside this case is not what to be expected to mount the theme in /usr/share/mythtv/themes. Of course, I'm a newbie in minimyth and I'm not a perl expert, so probably this has nothing to do with this strange behaviour...

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

Post by Pablo » Thu Jan 01, 2009 7:55 pm

Spulit wrote:Any help on this?

I've just downloaded the latest minimyth version, installed it on a harddrive and I'm booting it locally. I came up with this same error.
One thing that I must mention is that I needed to insert MM_MINIMYTH_BOOT_URL=file:/minimyth/ in the boot line in order to minimyth to correctly find the minimyth.conf in conf/default/
The fact that you needed to add MM_MINIMYTH_BOOT_URL=file:/minimyth/ means that MiniMyth is not detecting your local boot.

If you do not set MM_MINIMYTH_BOOT_URL, what are the values of MM_KERNEL_IMAGE, MM_ROOTFS_IMAGE and MM_ROOTFS_TYPE[/code]
from /etc/conf.d/core, and the value of MM_NETWORK_INTERFACE, MM_TFTP_SERVER, MM_TFTP_BOOT_URL from /etc/conf.d/dhcp?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Spulit
Contributor
Posts: 181
Joined: Tue Dec 30, 2008 5:54 pm

Post by Spulit » Fri Jan 02, 2009 11:21 am

Pablo wrote:The fact that you needed to add MM_MINIMYTH_BOOT_URL=file:/minimyth/ means that MiniMyth is not detecting your local boot.
Well, I honestly don't know why, but that was the only solution I came up with in order to get Minimyth booting. The /minimyth folder was there and correctly mounted, but the system kept on hanging during the boot displaying an error saying that it couldn't find the minimyth.conf file.
But now that you asked for, I removed the MM_MINIMYTH_BOOT_URL from the syslinux.cfg file and guess what? The system didn't pop up any error about not finding the configuration file!! Weird... However, the error about not being able to mount the theme is still there...

Pablo wrote:If you do not set MM_MINIMYTH_BOOT_URL, what are the values of MM_KERNEL_IMAGE, MM_ROOTFS_IMAGE and MM_ROOTFS_TYPE[/code]
from /etc/conf.d/core, and the value of MM_NETWORK_INTERFACE, MM_TFTP_SERVER, MM_TFTP_BOOT_URL from /etc/conf.d/dhcp?
MM_KERNEL_IMAGE=''
MM_ROOTFS_IMAGE=''
MM_ROOTFS_TYPE='squashfs'

MM_NETWORK_INTERFACE='eth0'
MM_TFTP_SERVER='10.0.0.101'
MM_TFTP_BOOT_URL='tftp://10.0.0.101/ploplinux/'

I must mention that I do not use any TFTP server since I'm using local boot.
Did you check up that part of the code in MiniMyth.pm?

Thanks

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

Post by Pablo » Fri Jan 02, 2009 1:23 pm

Spulit wrote:MM_KERNEL_IMAGE=''
MM_ROOTFS_IMAGE=''
MM_ROOTFS_TYPE='squashfs'
The empty value for MM_ROOTFS_IMAGE is the problem. I am not sure why it would be empty as syslinux provided a value for initrd (on which MM_ROOTFS_IMAGE is based) in the past. Could you let me know the contents of /etc/conf.d/boot, the output of

Code: Select all

cat /proc/cmdline
as well as the version of syslinux that you are using?

To work around the problem, you can provide URLs rather than letting MiniMyth guess them. You can do this using MM_THEME_URL and MM_THEMEOSD_URL. A value such as 'file:/minimyth/themes/G.A.N.T.sfs' should work.
MM_NETWORK_INTERFACE='eth0'
MM_TFTP_SERVER='10.0.0.101'
MM_TFTP_BOOT_URL='tftp://10.0.0.101/ploplinux/'

I must mention that I do not use any TFTP server since I'm using local boot.
As mentioned in the location of configuration files section, MiniMyth assumes that you are network booting when it finds a boot file name in the DHCP offer message. Apparently, your DHCP server is configured to provide this client with a boot file name. Setting MM_MINIMYTH_BOOT_URL on the boot line causes MiniMyth to ignore MM_TFTP_BOOT_URL, which is why it solves the problem. That is one of the reasons MM_MINIMYTH_BOOT_URL exists. However, it is better to fix the DHCP configuration, assuming you have access to it.
Did you check up that part of the code in MiniMyth.pm?
I looked at it. However, I do not see anything wrong with the code. The code is somewhat opaque because of its use of unionfs to make the resulting mount read-write. In order to do this, it fetches the squashfs image, mounts the squashfs image at a mount point other than the final mount mount, unifies this mount point with a writable directory and mounts it at the final mount point.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Spulit
Contributor
Posts: 181
Joined: Tue Dec 30, 2008 5:54 pm

Post by Spulit » Mon Jan 05, 2009 11:18 am

Pablo wrote:
Spulit wrote:MM_KERNEL_IMAGE=''
MM_ROOTFS_IMAGE=''
MM_ROOTFS_TYPE='squashfs'
The empty value for MM_ROOTFS_IMAGE is the problem. I am not sure why it would be empty as syslinux provided a value for initrd (on which MM_ROOTFS_IMAGE is based) in the past. Could you let me know the contents of /etc/conf.d/boot, the output of

Code: Select all

cat /proc/cmdline
as well as the version of syslinux that you are using?
I'm using syslinux 2:3.63. In /etc/conf.d/boot I have:
MM_INIT_TYPE='perl'
MM_MINIMYTH_BOOT_URL='file:/minimyth/'

The result of cat /proc/cmdline:
ro root=/dev/ram0 ramdisk_size=96000 MM_MINIMYTH_BOOT_URL=file:/minimyth/

Pablo wrote:To work around the problem, you can provide URLs rather than letting MiniMyth guess them. You can do this using MM_THEME_URL and MM_THEMEOSD_URL. A value such as 'file:/minimyth/themes/G.A.N.T.sfs' should work.
Thanks! That solved my problem!

Post Reply