Kernel Panic on boot after upgrade

Help with booting MiniMyth

Moderator: Pablo

rwillett
Member
Posts: 46
Joined: Sat Feb 18, 2006 8:31 pm

Kernel Panic on boot after upgrade

Post by rwillett » Sun May 04, 2008 11:21 am

I've just upgraded my backend end server to MythDora 5. This means I have also upgraded my Minimyth box to the ram-minimyth-0.21.0-48 release.

After going through the renamed change of names in minimyth.conf and changing ramdisk= to ramdisk_size= as well as increasing the ramdisk_size to 96000, I now get a kernel panic when booting.

It goes through the boot sequence and then panics on the "Configuring MythTV" section. It appears to be panicking on unionfs (or something to do with that).

I can't post logs of the panic as I don't have a minimyth box I can get into to get the error message.

I've looked through the various threads on this and can see somebody fixed it by changing the ramdisk parameter to ramdisk_size, it hasn't worked for me though.

I've also seen there was an newer test release to handle the unionfs panic. (http://linpvr.org/forum/viewtopic.php?p ... 0dbd499141)
but I can't see where to download the 48b1 version, I've been through all the directories on the download server and can see a nvidia later release, but am unclear as to whether this is the b1 version.

My front end hardware is an Epia M10000 board. It's been very stable and worked OK (until now).

Here's my pxelinux file

Code: Select all

DEFAULT minimyth

LABEL minimyth
    KERNEL kernel
    APPEND ro root=/dev/ram0 initrd=rootfs ramdisk_size=96000 MM_DHCP_HOST_NAME=minimyth1 MM_DEBUG=yes
The MM_DEBUG doesn't seem to do anything at this point.

I'm not sure what other information might but would be happy to post.

Any help gratefully received.

Rob.

[ Update: I have downloaded and tried the Nvidia release (ram-minimyth-0.21.0-48-nvidia-96.43.05) but still have the same problems ]

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

Post by Pablo » Sun May 04, 2008 4:37 pm

What MiniMyth version were you using previously?

How much memory is in your VIA EPIA M10000?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

rwillett
Member
Posts: 46
Joined: Sat Feb 18, 2006 8:31 pm

Post by rwillett » Sun May 04, 2008 5:12 pm

Pablo,

I was using 0.20.2-29 (RAM) version. I know it's old but everything worked so why change it. I only upgraded as I wanted something in Mythtv 0.21

I have 512MB of RAM. I have a funny feeling you're going to say I need 1GB with 0.21 :)

Rob

rwillett
Member
Posts: 46
Joined: Sat Feb 18, 2006 8:31 pm

Post by rwillett » Sun May 04, 2008 5:47 pm

I've just put 1GB of ram into my box and I have the same error.

There's a stack trace on the screen for a few seconds, the top of that says unionfs and then the screen switches back to the blue loading screen. I can't give you any more information as there's no to display.

Rob.

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

Post by Pablo » Sun May 04, 2008 6:43 pm

rwillett wrote:Pablo,

I was using 0.20.2-29 (RAM) version. I know it's old but everything worked so why change it. I only upgraded as I wanted something in Mythtv 0.21

I have 512MB of RAM. I have a funny feeling you're going to say I need 1GB with 0.21 :)

Rob
512 should be enough.

Is suspect that the problem is with the 2.6.25 kernel. Others have reported kernel oops with MiniMyth and the 2.6.25 kernel as well. There is a 2.6.25.1 kernel, but I am not sure that it will fix much. So, I am rebuilding MiniMyth with the 2.6.24.6 kernel. Once it is done, I will upload it.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

rwillett
Member
Posts: 46
Joined: Sat Feb 18, 2006 8:31 pm

Post by rwillett » Sun May 04, 2008 6:58 pm

Pablo,

Thanks. I noticed in a previous thread there was a -48b1 which had a unionfs fix. Any chance of uploading that, I can download and try that out.

Rob.

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

Post by Pablo » Sun May 04, 2008 8:05 pm

-48b1 is a beta release of -48. The newer unionfs found in -48b1 is in -48. While it fixed the problem on some systems, it does not appear to have fixed it on all systems.

You can download -47 from the release/old directory. It has the 2.6.24.4 kernel. In addition, once it is done building, I will upload a new version with the 2.6.24.6 kernel.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

rwillett
Member
Posts: 46
Joined: Sat Feb 18, 2006 8:31 pm

Post by rwillett » Sun May 04, 2008 8:22 pm

Thanks, I'll download it (I can see it now) and see how it goes.

Rob.

rwillett
Member
Posts: 46
Joined: Sat Feb 18, 2006 8:31 pm

Post by rwillett » Sun May 04, 2008 8:46 pm

Pablo,

The 48 beta works fine (as far as I can see).

Loaded up and startup first time.

Happy to beta the next version for you if it helps.

Rob.

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

Post by Pablo » Wed May 07, 2008 4:11 am

Could you give the just uploaded -49 a try? It has the 2.6.24.6 kernel rather than the 2.6.25 kernel.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

rwillett
Member
Posts: 46
Joined: Sat Feb 18, 2006 8:31 pm

Post by rwillett » Wed May 07, 2008 10:45 pm

Pablo,

Downloaded the -49 release.

It boots past the stage it crashed before which is great.

It scaled the themes, it did not use the theme cache and then I got the grey MythTV background but no icons.

Changed the config back to -47 release (confirmed that the right release was actually downloaded by the TFTP daemon), booted up Ok, themes downloaded and have the icons back on the screen.

Changed back to the -49 release, boots OK (checked -49 was actually downloaded), the themes are scaled, it does not pick up the theme cache. No icons, press any key and it drops into the telnet login.

Not sure what else I can do here? Happy to test specific ideas, just let me know.

Thanks,

Rob.

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

Post by Pablo » Thu May 08, 2008 12:31 am

Do you have a saved themecache file saved? If so, can you delete it and try again.

Can you telnet in as user 'minimyth', kill X (if it is running), run 'xinit' and look at the output?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

rwillett
Member
Posts: 46
Joined: Sat Feb 18, 2006 8:31 pm

Post by rwillett » Thu May 08, 2008 8:58 am

Pablo,

Deleted all the theme caches.

X died the moment I press a key!

Here's the output from Xinit

Code: Select all

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval.  It should work with any VNC viewer.  Try it by running:

    x11vnc -ncache 10 ...

more info: http://www.karlrunge.com/x11vnc/#faq-client-caching

2008-05-08 08:40:22.287 Using runtime prefix = /usr, libdir = /usr/lib
2008-05-08 08:40:22.955 DPMS is disabled.
2008-05-08 08:40:22.958 Empty LocalHostName.
2008-05-08 08:40:22.958 Using localhost value of minimyth1
2008-05-08 08:40:22.959 Testing network connectivity to 192.168.0.20
2008-05-08 08:40:22.999 New DB connection, total: 1
2008-05-08 08:40:23.008 Connected to database 'mythconverg' at host: 192.168.0.20
2008-05-08 08:40:23.013 Closing DB connection named 'DBManager0'
2008-05-08 08:40:23.016 Primary screen 0.
2008-05-08 08:40:23.020 Connected to database 'mythconverg' at host: 192.168.0.20
2008-05-08 08:40:23.023 Using screen 0, 720x576 at 0,0
2008-05-08 08:40:23.044 New DB connection, total: 2
2008-05-08 08:40:23.046 Connected to database 'mythconverg' at host: 192.168.0.20
2008-05-08 08:40:23.050 mythfrontend version: 0.21.20080304-1 www.mythtv.org
2008-05-08 08:40:23.051 Enabled verbose msgs:  important general
2008-05-08 08:40:23.642 Primary screen 0.
2008-05-08 08:40:23.643 Using screen 0, 720x576 at 0,0
2008-05-08 08:40:23.647 Switching to square mode (G.A.N.T)
2008-05-08 08:40:23.712 Using the Qt painter
2008-05-08 08:40:23.720 JoystickMenuClient Error: Joystick disabled - Failed to read /home/minimyth/.mythtv/joystickmenurc
2008-05-08 08:40:23.721 lirc init success using configuration file: /home/minimyth/.mythtv/lircrc
2008-05-08 08:40:26.000 Loading from: /usr/share/mythtv/themes/G.A.N.T/base.xml
2008-05-08 08:40:26.190 Loading from: /usr/share/mythtv/themes/default/base.xml
2008-05-08 08:40:26.361 Registering Internal as a media playback plugin.
2008-05-08 08:40:26.529 Failed to run 'cdrecord --scanbus'
2008-05-08 08:40:26.538 Failed to run 'cdrecord --scanbus -dev=ATA'
2008-05-08 08:40:26.546 Failed to run 'cdrecord --scanbus -dev=ATAPI'
2008-05-08 08:40:26.632 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
SIP listening on IP Address 192.168.0.122:5060 NAT address 192.168.0.122
SIP: Cannot register; proxy, username or password not set
2008-05-08 08:40:26.884 NetworkControl: Listening for remote connections on port 6546 of address 127.0.0.1
QFile::open: No file name specified
2008-05-08 08:40:28.479 MythThemedMenuPrivate: Couldn't read menu file mainmenu.xml
I think I know what the problem is, I have a modified mainmenu.xml (I never use the Mythbox as a live TV system and hence have removed that option), I use minimyth.script to put my moded mainmenu.xml into the 'right' place and I suspect that the new system is not handling the move correctly.

Code: Select all

. /etc/rc.d/functions

mm_confro_get mainmenu.xml /usr/share/mythtv/mainmenu.xml
I did update the mm command to mm_confro_get as per instructions for the -47 release.

I removed the minimth.script file and then discovered it needs to be present, perhaps a check is needed here for the minimyth.script file?

Anyway put a simple (empty) minimyth.script file back in, rebooted and it works OK.

I then saved the theme cache (minimyth1+themecaches+G.A.N.T.630.466.sfs appeared in my tftp rw directory), rebooted, the saved theme caches were downloaded quickly and the main menu appears.

So the main problem now seems to be that the modified mainmenu.xml is not being set properly which may be my fault. Have I done this wrong, moving the mainmenu.xml works in -47 release.

Hope this helps, things are looking better.

Just ask if you need any more help. No problems in testing new releases.

Thanks,

Rob.

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

Post by Pablo » Thu May 08, 2008 4:03 pm

Sorry about that.

It appears that I broke things when I changed MiniMyth so that it would run minimyth.script earlier in the init sequence. For now, changing your init script to

Code: Select all

. /etc/rc.d/functions
. /etc/minimyth.d/minimyth.conf

mm_confro_get mainmenu.xml /usr/share/mythtv/mainmenu.xml
should work around the problem.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

rwillett
Member
Posts: 46
Joined: Sat Feb 18, 2006 8:31 pm

Post by rwillett » Thu May 08, 2008 4:33 pm

Pablo,

When you say the init script exactly which script do you mean? Do you mean the minimyth.script file?

If you mean this I will try this when I get back home. On the road at the moment so no access to home system, so will update Friday evening.

It's no big deal if that's the problem.

I only got rid of two options, Live TV as channel changing on DVB was really, really, really, really slow and CD/DVD as I don't have a player on Minimyth box. Since I want to make things as simple as possible for the the other half, this made sense, now things seem to work better I may leave them on and see how it goes.

I'll let you know if this fixes the problems.

Thanks,

Rob.

Post Reply