| View previous topic :: View next topic |
| Author |
Message |
neraath n00b

Joined: 20 Aug 2004 Posts: 10 Location: Aggieland, TX
|
Posted: Sat Sep 09, 2006 10:02 pm Post subject: RESOLVED: Genkernel Gensplash Woes |
|
|
Okay, I've been all over this forum trying to get this to work, but I have had no such luck.
I just installed Gentoo 2006.1 using a LiveCD (but doing manual installation as opposed to the GUI installer). After configuring my own kernel and everything I was able to reboot and get in just fine to Gentoo.
The problems began when I started trying to get Gensplash working. I have had nothing but problems. My first issues were resolved, to say the least, through finding out that you cannot have nvidia framebuffer support compiled at the same time as vesafb-tng support compiled.
But past that, I cannot get any initrd loaded! Either by using genkernel or compiling my own kernel and then using splash_geninitramfs - both fail when trying to mount the root disk.
So, let's get some crucial things out of the way:
Kernel versions attempted:
- gentoo-sources-2.6.15-r1
- gentoo-sources-2.6.17-r7
udev Version: 087-r1
genkernel Version: 3.4.0-r1
/boot/grub/grub.conf:
| Code: |
title=Gentoo Linux 2.6.15-gentoo-r1 - Manual
root (hd0,0)
kernel /kernel-2.6.15-gentoo-r1 root=/dev/hda3 video=vesafb:1280x1024-32@60,mtrr:3 splash=silent,theme:livecd-2006.1 console=tty1
initrd /fbsplash-livecd-2006.1-1280x1024
title=Gentoo Linux 2.6.17-gentoo-r7 - Manual
root (hd0,0)
kernel (hd0,0)/kernel-2.6.17-gentoo-r7 root=/dev/hda3 video=vesafb:1280x1024-32@60,mtrr:3 splash=silent,theme:livecd-2006.1 quiet CONSOLE=/dev/tty1
initrd /fbsplash-livecd-2006.1-1280x1024
title=Gentoo Linux 2.6.17-gentoo-r7 - Genkernel
root (hd0,0)
kernel (hd0,0)/kernel-genkernel-x86-2.6.17-gentoo-r7 udev root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 video=vesafb:1280x1024-32@60,mtrr:3 splash=verbose,theme:livecd-2006.1 console=tty1
initrd (hd0,0)/initramfs-genkernel-x86-2.6.17-gentoo-r7
|
/etc/fstab:
| Code: |
/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 / reiserfs noatime,notail 0 1
/dev/hda2 none swap sw 0 0
proc /proc proc defaults 0 0
|
The reason I know this isn't the kernel at fault is that I can dynamically change the parameters from grub and just remove the initrd line from all the kernels (except genkernel built kernels - haven't tried them) and the kernel will boot just fine. Framebuffer works fine, but obviously since I can't load the initrd file, the gensplash doesn't load.
So, let's talk about error messages. First, for my built kernel, the errors it gives are something like:
| Code: |
VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)
|
I've seen this all over the place in the forums, but none of the relevant solutions have worked for me (trust me - I've tried all of them because I've been at this for 8 hours today already).
Then, if I'm trying to boot the genkernel built kernel, I get something that I'm totally not expecting:
| Code: |
>> Loading modules
>> Activating devfs
mount: Mounting devfs on /dev failed: No such device
/init: /init: 216: devfsd: not found
>> Determining root device...
!! Block device /dev/hda3 is not a valid root device...
!! The root block device is unspecified or not detected.
Please specify a device to boot, or "shell" for a shell...
|
devfs? WTF? I know that devfs has been gotten rid of a LONG time ago. The one thing I'm still trying to figure out if it's udev that's supposed to be loaded or this new mdev stuff. *shrugs* Regardless, I know I haven't specified devfs to load ANYWHERE.
So, as you can probably tell, this problem has been really aggravating me - so, I turn to the forums for help. If anybody has any helpful suggestions or has been through this (or knows if this is a bug by now) I would greatly appreciate your help. _________________ Christopher Weldon
President and CEO
Cerberus Interactive, Inc.
cweldon@cerberusonline.com
Last edited by neraath on Thu Sep 14, 2006 11:44 pm; edited 1 time in total |
|
| Back to top |
|
 |
Nick C Guru

Joined: 18 Mar 2005 Posts: 526 Location: Portsmouth, England
|
Posted: Sun Sep 10, 2006 2:15 am Post subject: |
|
|
Cant suggest much other than trying some alterations so you grub.conf is similar to mine (which is working with splashutils and the kernel fb splash).
Remove the mtrr:3 so its just mtrr and also after splash=silent add fadein.
Sorry, thats all i have to offer, doubt it will work but it might be worth a try _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net |
|
| Back to top |
|
 |
neraath n00b

Joined: 20 Aug 2004 Posts: 10 Location: Aggieland, TX
|
Posted: Mon Sep 11, 2006 2:29 am Post subject: |
|
|
*bump* Does anyone have any suggestions for this? Has anyone tried updating their versions of genkernel and/or gensplash and can get this to occur? _________________ Christopher Weldon
President and CEO
Cerberus Interactive, Inc.
cweldon@cerberusonline.com |
|
| Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7301 Location: Groton, Massachusetts USA
|
Posted: Mon Sep 11, 2006 3:39 am Post subject: Re: Genkernel Gensplash Woes |
|
|
| neraath wrote: | | Code: | | VFS: Cannot open root device "hda3" or unknown-block(0,0) |
I've seen this all over the place in the forums, but none of the relevant solutions have worked for me |
The first step is to use "lspci" to see what IDE controller chipset you have.
Next, select the apropriate IDE chipset when configuring the kernel.
Finally, compile, install, and boot your new kernel.
This method will work ... or at least give you a different error message.
EDIT : This part doesn't make any sense, though.
| neraath wrote: | | The reason I know this isn't the kernel at fault is that I can dynamically change the parameters from grub and just remove the initrd line from all the kernels (except genkernel built kernels - haven't tried them) and the kernel will boot just fine. |
|
|
| Back to top |
|
 |
Snoozz Tux's lil' helper

Joined: 01 Feb 2006 Posts: 76
|
Posted: Mon Sep 11, 2006 12:20 pm Post subject: |
|
|
It has absolutely nothing to do with the kernel config. It's a fucking strange problem that I also have.
Try to change the name of the theme in grub.conf to something that doesn't exist (might sound strange, just try it).
When you do that you can boot properly (but without a splash theme :s).
I don't know how the fuck this can happen, but I'm also booting without a splashtheme right now, becaus I can't get it working :s |
|
| Back to top |
|
 |
neraath n00b

Joined: 20 Aug 2004 Posts: 10 Location: Aggieland, TX
|
Posted: Thu Sep 14, 2006 8:07 pm Post subject: |
|
|
Yea, tonight I'm going to try to run genkernel again, only without specifying the gensplash flag, and see what happens. If everything boots okay without the gensplash, I'll try a new splash theme and see what happens. If same problem occurs, I'll be trying to revert to a previous revision of splashutils. I'll update this once I've figured out what it is. _________________ Christopher Weldon
President and CEO
Cerberus Interactive, Inc.
cweldon@cerberusonline.com |
|
| Back to top |
|
 |
neraath n00b

Joined: 20 Aug 2004 Posts: 10 Location: Aggieland, TX
|
Posted: Thu Sep 14, 2006 10:53 pm Post subject: |
|
|
Okay, this is just for my reference later, but another error that I'm getting when I use a custom-built kernel and am trying to use one of the initramfs builds created by splash_geninitramfs, I get the following error on boot:
| Code: |
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
|
_________________ Christopher Weldon
President and CEO
Cerberus Interactive, Inc.
cweldon@cerberusonline.com |
|
| Back to top |
|
 |
neraath n00b

Joined: 20 Aug 2004 Posts: 10 Location: Aggieland, TX
|
Posted: Thu Sep 14, 2006 11:09 pm Post subject: |
|
|
Okay, I've confirmed where the bug is. It's not in genkernel nor is it in splashutils - rather the bug is in the splash-themes-livecd builds (both 2006.1 and 2006.0 confirmed buggy thus far).
I can get the gentoo and emergence splash themes to boot with the appropriate splash screens, but both the 2006.1 and 2006.0 result in the error in my most recent post.
Here's another error I get when I try to force the splash_manager to use one of the livecd builds:
| Code: |
root# splash_manager --theme=livecd-2006.1 --cmd=set --tty=1
Not a JPEG File: starts with 0x89 0x50
|
and upon further looking, there is no *.jpg files in the /etc/splash/livecd-2006.1/images/ directory! There are jpg files in the /etc/splash/emergence/images and /etc/splash/gentoo/images directories, so what happened between then and 2006.0 and 2006.1?
Also, let's try doing a demo:
| Code: |
root# splash_manager -c demo -t livecd-2006.1 -m s --steps=100
Not a JPEG file: starts with 0x89 0x50
|
I'm opening a bug right now. _________________ Christopher Weldon
President and CEO
Cerberus Interactive, Inc.
cweldon@cerberusonline.com |
|
| Back to top |
|
 |
neraath n00b

Joined: 20 Aug 2004 Posts: 10 Location: Aggieland, TX
|
Posted: Thu Sep 14, 2006 11:17 pm Post subject: |
|
|
Bug is 147626 _________________ Christopher Weldon
President and CEO
Cerberus Interactive, Inc.
cweldon@cerberusonline.com |
|
| Back to top |
|
 |
neraath n00b

Joined: 20 Aug 2004 Posts: 10 Location: Aggieland, TX
|
Posted: Thu Sep 14, 2006 11:43 pm Post subject: RESOLVED: Genkernel Gensplash Woes |
|
|
Okay, I've officially determined what was going on. I didn't have "png" set in my USE flags, and since I realized that there were no JPG images in the livecd diretories, I figured that might be what happened to it. Thus, as soon as I added png to my USE flags and recompiled splash utils, it worked! _________________ Christopher Weldon
President and CEO
Cerberus Interactive, Inc.
cweldon@cerberusonline.com |
|
| Back to top |
|
 |
bucky28 n00b

Joined: 21 Jul 2006 Posts: 1
|
Posted: Tue Sep 19, 2006 6:01 pm Post subject: |
|
|
I had the same problem on a KDE-based system, a Gnome system seemed to already have png in the USE flags. Thanks for finding the solution!
Dennis |
|
| Back to top |
|
 |
CyD Tux's lil' helper

Joined: 23 Jul 2004 Posts: 117
|
Posted: Wed Oct 04, 2006 2:07 pm Post subject: |
|
|
| Bingo! Thanks guys, adding png support to splashutils was my prob as well with a fresh 2006.1 install as well. |
|
| Back to top |
|
 |
thedangerouscrew Tux's lil' helper


Joined: 03 Nov 2004 Posts: 98
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|