Won't boot and can't telnet

Help with booting MiniMyth

Moderator: Pablo

Post Reply
Tom Brown
Member
Posts: 48
Joined: Wed Jan 10, 2007 9:25 am

Won't boot and can't telnet

Post by Tom Brown » Sun Feb 27, 2011 10:33 pm

I've been using MiniMyth for a few years. It worked great for a long time so I'm a little stale on the config.

Recently, I transferred all of my data from one RAID enclosure to a new larger enclosure. It didn't seem like a big deal and everything came back except my minimyth frontend. Odd.

The tftp server was part of the transfer.

... so I'm trying to figure it out. I think I've got DHCP working properly with a hand written dhcpd.conf and I've made sure it always sends the bootfile parameter, as per:

viewtopic.php?f=5&t=2261&p=11330

I made sure I only have a single DHCP server on the subnet too.


The system pxeboots fine and minimyth comes up. It goes through the init process to "Processing configuration file", crashes to a call trace dump for a fraction of a second, and reverts to the "processing configuration file..." GUI screen. It never proceeds from here. The progress bar is stalled under the "a" in "configuration".

I can't telnet into it at any point in the init stage. I can't warm boot it, either. I have to do a hard reset.

Any ideas of where to look? If I could get in with telnet, I might have a chance of figuring it out.

Tom Brown
Member
Posts: 48
Joined: Wed Jan 10, 2007 9:25 am

Re: Won't boot and can't telnet

Post by Tom Brown » Sun Feb 27, 2011 11:48 pm

I put in a slightly tailored minimyth.conf file from wikipedia and now it MiniMyth won't load at all. It just crashes after pxebooting.


Here are a couple of files:

pxelinux.cfg file:

Code: Select all

DEFAULT minimyth-ram

LABEL minimyth-ram
        KERNEL ram-minimyth-0.23.1-74/kernel
        APPEND ro root=/dev/ram0 ip=dhcp ramdisk_size=128000 initrd=ram-minimyth-0.23.1-74/rootfs

minimyth.conf

Code: Select all

################################################################################
# minimyth.conf
#
# The required MiniMyth configuration file.
#
# For information on this file, see either
# <http://minimyth.org/document.shtml>
# or
# <http://{minimyth}/document.shtml>,
# where '{minimyth}' is the IPv4 address or hostname of your MiniMyth system.
################################################################################ 
################################################################################
# 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 systems 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 configuration variables.
#
# MM_MINIMYTH_UPDATE_URL
# MM_MINIMYTH_BOOT_URL
# MM_MINIMYTH_FETCH_MINIMYTH_PM
################################################################################
#MM_MINIMYTH_BOOT_URL='http://tftp.home/minimyth/' 
################################################################################
# DHCP overrides configuration variables.
#
# MM_DHCP_ADDRESS
# MM_DHCP_BROADCAST
# MM_DHCP_SUBNET_MASK
# MM_DHCP_ROUTERS
# MM_DHCP_HOST_NAME
# MM_DHCP_DOMAIN_NAME
# MM_DHCP_DOMAIN_NAME_SERVERS
# MM_DHCP_NTP_SERVERS
# MM_DHCP_LOG_SERVERS
# MM_DHCP_TCODE
################################################################################
MM_DHCP_TCODE='America/Regina'
################################################################################
# Security configuration 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'
################################################################################
# Firmware configuration variables.
#
# MM_FIRMWARE_FILE_LIST
################################################################################ 
################################################################################
# ACPI configuration variables.
#
# MM_ACPI_EVENT_BUTTON_POWER
# MM_ACPI_VIDEO_FLAGS
################################################################################
################################################################################
# CPU configuration 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_GAIN
# MM_AUDIO_FETCH_ASOUND_CONF
# MM_AUDIO_FETCH_ASOUND_STATE
################################################################################
#MM_AUDIO_TYPE='digital'
################################################################################
# Video configuration variables.
#
# MM_VIDEO_ASPECT_RATIO
# MM_VIDEO_DECODER
# MM_VIDEO_DEINTERLACER
# MM_VIDEO_FONT_SCALE
# MM_VIDEO_PLAYBACK_PROFILE
# MM_VIDEO_RESIZE_ENABLED
################################################################################
MM_VIDEO_ASPECT_RATIO='16:9'
MM_VIDEO_DEINTERLACER='auto'
#MM_VIDEO_DECODER='xvmc-vld'
#MM_VIDEO_PLAYBACK_PROFILE='epia' 
################################################################################
# X configuration variables.
#
# MM_X_ENABLED
# MM_X_DRIVER
# 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_HDMI
# MM_X_OUTPUT_DVI
# MM_X_OUTPUT_VGA
# MM_X_OUTPUT_TV
# MM_X_TV_TYPE
# MM_X_TV_OUTPUT
# MM_X_TV_OVERSCAN
# MM_X_SYNC
# MM_X_REFRESH
# MM_X_RESOLUTION
# MM_X_MODELINE
# MM_X_MODE
# 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_XMODMAPRC
# MM_X_FETCH_XORG_CONF
################################################################################
#MM_X_DRIVER='openchome'
#MM_X_MODE='848x480Over'
MM_X_VNC_ENABLED='yes' 
MM_X_OUTPUT_VGA='auto'
#MM_X_OUTPUT_TV='auto'
#MM_X_TV_TYPE='PAL'
#MM_X_TV_OUTPUT='Composite' 
################################################################################
# Font configuration variables.
#
# MM_FONT_FILE_TTF_ADD
# MM_FONT_FILE_TTF_DELETE
################################################################################ 
################################################################################
# Myth master backend communication configuration variables.
#
# MM_MASTER_SERVER
# MM_MASTER_DBUSERNAME
# MM_MASTER_DBPASSWORD
# MM_MASTER_DBNAME
# MM_MASTER_WOL_ENABLED
# MM_MASTER_WOL_MAC
# MM_MASTER_WOLSQLRECONNECTWAITTIME
# MM_MASTER_WOLSQLCONNECTRETRY
# MM_MASTER_WOLSQLCOMMAND
# MM_MASTER_WOL_ADDITIONAL_DELAY
################################################################################
MM_MASTER_SERVER='172.16.1.66'
################################################################################
# Myth plugin configuration variables.
#
# MM_PLUGIN_INFORMATION_CENTER_ENABLED
# MM_PLUGIN_OPTICAL_DISK_ENABLED
# MM_PLUGIN_BROWSER_ENABLED
# MM_PLUGIN_DVD_ENABLED
# MM_PLUGIN_GALLERY_ENABLED
# MM_PLUGIN_GAME_ENABLED
# MM_PLUGIN_MUSIC_ENABLED
# MM_PLUGIN_NEWS_ENABLED
# MM_PLUGIN_PHONE_ENABLED
# MM_PLUGIN_STREAM_ENABLED
# MM_PLUGIN_VIDEO_ENABLED
# MM_PLUGIN_WEATHER_ENABLED
# MM_PLUGIN_ZONEMINDER_ENABLED
################################################################################
MM_PLUGIN_OPTICAL_DISK_ENABLED='no'
MM_PLUGIN_BROWSER_ENABLED='no'
MM_PLUGIN_GALLERY_ENABLED='yes'
MM_PLUGIN_GAME_ENABLED='no'   
MM_PLUGIN_MUSIC_ENABLED='no'  
MM_PLUGIN_NEWS_ENABLED='yes'   
MM_PLUGIN_PHONE_ENABLED='no'  
MM_PLUGIN_STREAM_ENABLED='no' 
MM_PLUGIN_VIDEO_ENABLED='yes' 
MM_PLUGIN_WEATHER_ENABLED='yes'
MM_PLUGIN_ZONEMINDER_ENABLED='no'
################################################################################
# Extras directory configuration variables.
#
# MM_EXTRAS_URL
################################################################################ 
################################################################################
# CODECs directory configuration variables.
#
# MM_CODECS_URL
################################################################################
MM_CODECS_URL="auto" 
################################################################################
# Adobe Flash Player configuration variables.
#
# MM_FLASH_URL
################################################################################
################################################################################
# Hulu Desktop configuration variables.
#
# MM_HULU_URL
# MM_HULU_REMOTE
# MM_HULU_STORE_HULUDESKTOP_DATA
################################################################################
################################################################################
# Theme configuration variables.
#
# MM_THEME_NAME
# MM_THEMEOSD_NAME
# MM_THEME_URL
# MM_THEMEOSD_URL
# MM_THEMECACHE_URL
# MM_THEME_FILE_MENU_ADD
################################################################################
#MM_THEMEOSD_NAME='Titivillus-OSD'
#MM_THEME_NAME='MythCenter-wide'
#MM_THEMEOSD_NAME='Retro-OSD' 
MM_THEME_NAME='metallurgy'
#MM_THEME_NAME='Arclight' 
#MM_THEME_NAME='metallurgy'
MM_THEMEOSD_NAME='BlackCurves-OSD'
MM_THEME_URL='auto'
MM_THEMEOSD_URL='auto'
MM_THEMECACHE_URL='auto'
################################################################################
# Remote media directory configuration variables.
#
# MM_MEDIA_TV_MOUNTPOINT
# MM_MEDIA_TV_URL
# MM_MEDIA_GALLERY_MOUNTPOINT
# MM_MEDIA_GALLERY_URL
# MM_MEDIA_GAME_MOUNTPOINT
# MM_MEDIA_GAME_URL
# MM_MEDIA_MUSIC_MOUNTPOINT
# MM_MEDIA_MUSIC_URL
# MM_MEDIA_VIDEO_MOUNTPOINT
# MM_MEDIA_VIDEO_URL
# MM_MEDIA_DVD_RIP_MOUNTPOINT
# MM_MEDIA_DVD_RIP_URL
# MM_MEDIA_GENERIC_LIST
################################################################################
#MM_MEDIA_GALLERY_URL="cifs://${MM_TFTP_SERVER}/pictures?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_GAME_URL="cifs://${MM_TFTP_SERVER}/games?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_MUSIC_URL="cifs://${MM_TFTP_SERVER}/music?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_VIDEO_URL="cifs://${MM_TFTP_SERVER}/videos?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_DVD_RIP_URL="nfs://${MM_TFTP_SERVER}/home/public/minimyth/themecache"
#MM_MEDIA_GALLERY_URL="nfs://mythtv:mythtv@192.168.1.90/storage/pictures"
#MM_MEDIA_VIDEO_URL="cifs://mythtv:mythtv@192.168.1.90/storage/videos"
#MM_MEDIA_DVD_RIP_URL="cifs://mythtv:mythtv@192.168.1.90/storage/temp"

MM_MEDIA_DVD_RIP_URL='nfs://server/tmp'
MM_MEDIA_GALLERY_URL='nfs://server/usr/local/data/media/Photography'
MM_MEDIA_MUSIC_URL='nfs://server/usr/local/data/media/Music'
MM_MEDIA_VIDEO_URL='nfs://server/usr/local/data/media/Video'

################################################################################
# Game configuration variables.
#
# MM_GAME_SAVE_ENABLED
# MM_GAME_SAVE_LIST
# MM_GAME_BIOS_ROOT
# MM_GAME_GAME_ROOT
################################################################################ 
################################################################################
# Bluetooth configuration variables.
#
# MM_BLUETOOTH_DEVICE_LIST
################################################################################ 
################################################################################
# Wii remote control configuration variables.
#
# MM_WIIMOTE_ADDRESS_0
# MM_WIIMOTE_ADDRESS_1
# MM_WIIMOTE_ADDRESS_2
# MM_WIIMOTE_ADDRESS_3
################################################################################ 
################################################################################
# LIRC configuration variables.
#
# MM_LIRC_AUTO_ENABLED
# MM_LIRC_DEVICE_BLACKLIST
# MM_LIRC_DRIVER
# MM_LIRC_DEVICE
# MM_LIRC_KERNEL_MODULE
# MM_LIRC_KERNEL_MODULE_OPTIONS
# MM_LIRC_IREXEC_ENABLED
# MM_LIRC_IRXEVENT_ENABLED
# MM_LIRC_IRXKEYS_ENABLED
# MM_LIRC_SLEEP_ENABLED
# MM_LIRC_WAKEUP_ENABLED
# MM_LIRC_FETCH_LIRCD_CONF
# MM_LIRC_FETCH_LIRCMD_CONF
# MM_LIRC_FETCH_LIRCRC
# MM_LIRC_FETCH_LIRCRC_MINIMYTH
# MM_LIRC_FETCH_LIRCRC_MYTHTV
# MM_LIRC_FETCH_LIRCRC_MPLAYER
# MM_LIRC_FETCH_LIRCRC_VLC
# MM_LIRC_FETCH_LIRCRC_XINE
################################################################################
MM_LIRC_DRIVER='lirc_serial'
#MM_LIRC_DEVICE='/dev/lirc0'
MM_LIRC_KERNEL_MODULE='lirc_serial'
MM_LIRC_KERNEL_MODULE_OPTIONS='irq=4 io=0x3f8'
MM_LIRC_FETCH_LIRCD_CONF='yes'
#MM_LIRC_FETCH_LIRCRC='yes'
MM_LIRC_FETCH_LIRCRC_MYTHTV='yes'
MM_LIRC_FETCH_LIRCRC_VLC='yes'
MM_LIRC_FETCH_LIRCRC_XINE='yes' 
################################################################################
# LCDPROC configuration variables.
#
# MM_LCDPROC_DRIVER
# MM_LCDPROC_DEVICE
# MM_LCDPROC_KERNEL_MODULE
# MM_LCDPROC_KERNEL_MODULE_OPTIONS
# MM_LCDPROC_FETCH_LCDD_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_AQUOS_ENABLED
# MM_EXTERNAL_AQUOS_DEVICE
# MM_EXTERNAL_AQUOS_PORT
# MM_EXTERNAL_AQUOS_POWER_ENABLED
# MM_EXTERNAL_AQUOS_VOLUME_ENABLED
# MM_EXTERNAL_AQUOS_INPUT
################################################################################
#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 server configuration variables.
#
# MM_SSH_SERVER_ENABLED
################################################################################
#MM_SSH_SERVER_ENABLED='yes'
################################################################################
# Cron configuration variables.
#
# MM_CRON_FETCH_CRONTAB
################################################################################
################################################################################
# Slave backend configuration variables.
#
# MM_BACKEND_ENABLED
# MM_BACKEND_DEBUG_LEVEL
################################################################################
################################################################################
# MiniMyth direct Myth database 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'

Tom Brown
Member
Posts: 48
Joined: Wed Jan 10, 2007 9:25 am

Re: Won't boot and can't telnet

Post by Tom Brown » Mon Feb 28, 2011 12:00 am

I tried a minimyth.conf file that had nothing but:

Code: Select all

MM_X_OUTPUT_VGA='auto'
It crashed straight to a call trace.

Does this mean something is wrong with my DHCP configuration?

Tom Brown
Member
Posts: 48
Joined: Wed Jan 10, 2007 9:25 am

Re: Won't boot and can't telnet

Post by Tom Brown » Mon Feb 28, 2011 4:23 am

OK, I don't know what's going on with my copy of minimyth-0.23.1-73 but I got hold of a fresh copy of minimyth-0.23.1-76. Now, I get the blue MiniMyth GUI screen.

It hangs at "configuring network interface (one shot)".

hmmm....

Tom Brown
Member
Posts: 48
Joined: Wed Jan 10, 2007 9:25 am

Re: Won't boot and can't telnet

Post by Tom Brown » Mon Feb 28, 2011 6:22 am

I was able to solve the "configuring network interface" issue by disabling one of the NICs. It would seem, dual NICs confused it.

I apologize for the unnecessary forum chatter.

Thanks for a great system. :)

Post Reply