public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] fbsplash starting after local and not during boot
@ 2006-02-16 19:50 Marco Calviani
  2006-02-17  7:20 ` Uwe Thiem
  0 siblings, 1 reply; 16+ messages in thread
From: Marco Calviani @ 2006-02-16 19:50 UTC (permalink / raw
  To: gentoo-user

Hi list,
  i've followed this how http://gentoo-wiki.com/HOWTO_fbsplash to have
a framebuffer splash under gentoo. I've added "splash" to the boot
runlevel; however the framebuffer images start only in the default
runlevel.

# rc-status boot
..
..
splash
..
..


This is the GRUB entries:

title=Gentoo Linux 2.6.14-gentoo-r5-fb
root (hd0,0)
kernel /boot/kernel-2.6.14-gentoo-r5-fb root=/dev/hda3
video=vesafb:ywrap,mtrr,1024x768-32@60
splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1
initrd=/fbsplash-2.6.14-emergence-1024x768

Many thanks in advance,
MC

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-16 19:50 [gentoo-user] fbsplash starting after local and not during boot Marco Calviani
@ 2006-02-17  7:20 ` Uwe Thiem
  2006-02-17  8:15   ` Marco Calviani
  2006-02-17 18:58   ` [gentoo-user] " Simon Kellett
  0 siblings, 2 replies; 16+ messages in thread
From: Uwe Thiem @ 2006-02-17  7:20 UTC (permalink / raw
  To: gentoo-user

On 16 February 2006 21:50, Marco Calviani wrote:
> Hi list,
>   i've followed this how http://gentoo-wiki.com/HOWTO_fbsplash to have
> a framebuffer splash under gentoo. I've added "splash" to the boot
> runlevel; however the framebuffer images start only in the default
> runlevel.
>
> # rc-status boot
> ..
> ..
> splash
> ..
> ..
>
>
> This is the GRUB entries:
>
> title=Gentoo Linux 2.6.14-gentoo-r5-fb
> root (hd0,0)
> kernel /boot/kernel-2.6.14-gentoo-r5-fb root=/dev/hda3
> video=vesafb:ywrap,mtrr,1024x768-32@60
> splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1
> initrd=/fbsplash-2.6.14-emergence-1024x768

Change the "kernel line" to:

kernel /boot/kernel-2.6.14-gentoo-r5-fb root=/dev/ram0 init=linuxrc 
ramdisk=8192 real_root=/dev/hda3 quiet video=vesafb:ywrap,mtrr,1024x768-32@60 
splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1

That should do it.

Precaution: Create a *new* grub entry for testing first. ;-)

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17  7:20 ` Uwe Thiem
@ 2006-02-17  8:15   ` Marco Calviani
  2006-02-17  8:58     ` Uwe Thiem
  2006-02-17 18:58   ` [gentoo-user] " Simon Kellett
  1 sibling, 1 reply; 16+ messages in thread
From: Marco Calviani @ 2006-02-17  8:15 UTC (permalink / raw
  To: gentoo-user

Hi Uwe,

> Change the "kernel line" to:
>
> kernel /boot/kernel-2.6.14-gentoo-r5-fb root=/dev/ram0 init=linuxrc
> ramdisk=8192 real_root=/dev/hda3 quiet video=vesafb:ywrap,mtrr,1024x768-32@60
> splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1

 unfortunately with these options i'm getting a "nice" kernel panic.
Why is it necessary to insert this command line?

root=/dev/ram0 init=linuxrc ramdisk=8192 real_root=/dev/hda3

Best regards,
MC

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17  8:15   ` Marco Calviani
@ 2006-02-17  8:58     ` Uwe Thiem
  2006-02-17  9:16       ` Marco Calviani
  2006-02-17 18:25       ` Richard Fish
  0 siblings, 2 replies; 16+ messages in thread
From: Uwe Thiem @ 2006-02-17  8:58 UTC (permalink / raw
  To: gentoo-user; +Cc: Marco Calviani

On 17 February 2006 10:15, Marco Calviani wrote:
> Hi Uwe,
>
> > Change the "kernel line" to:
> >
> > kernel /boot/kernel-2.6.14-gentoo-r5-fb root=/dev/ram0 init=linuxrc
> > ramdisk=8192 real_root=/dev/hda3 quiet
> > video=vesafb:ywrap,mtrr,1024x768-32@60
> > splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1
>
>  unfortunately with these options i'm getting a "nice" kernel panic.
> Why is it necessary to insert this command line?
>
> root=/dev/ram0 init=linuxrc ramdisk=8192 real_root=/dev/hda3

It makes sure the splash screen start as early as possible (don't forget the 
"quiet" option). On my systems, it starts immediately after the kernel and 
the initrd are loaded.

Kernel panic ... hm ...

How did you generate your initrd? Maybe, it doesn't contain "linuxrc" which 
does all the magic before it hands over to the real init process.

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17  8:58     ` Uwe Thiem
@ 2006-02-17  9:16       ` Marco Calviani
  2006-02-17 10:07         ` Uwe Thiem
  2006-02-17 18:25       ` Richard Fish
  1 sibling, 1 reply; 16+ messages in thread
From: Marco Calviani @ 2006-02-17  9:16 UTC (permalink / raw
  To: gentoo-user

Hi Uwe,

> It makes sure the splash screen start as early as possible (don't forget the
> "quiet" option). On my systems, it starts immediately after the kernel and
> the initrd are loaded.
>
> Kernel panic ... hm ...
>
> How did you generate your initrd? Maybe, it doesn't contain "linuxrc" which
> does all the magic before it hands over to the real init process.

i've created the initrd as indicated in the howto mentioned above, that is with:

# splash_geninitramfs -g /boot/fbsplash-emergence-1024x768 -v -r
1024x768 emergence

MC

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17  9:16       ` Marco Calviani
@ 2006-02-17 10:07         ` Uwe Thiem
  2006-02-17 11:10           ` Marco Calviani
  0 siblings, 1 reply; 16+ messages in thread
From: Uwe Thiem @ 2006-02-17 10:07 UTC (permalink / raw
  To: gentoo-user

On 17 February 2006 11:16, Marco Calviani wrote:
> Hi Uwe,
>
> > It makes sure the splash screen start as early as possible (don't forget
> > the "quiet" option). On my systems, it starts immediately after the
> > kernel and the initrd are loaded.
> >
> > Kernel panic ... hm ...
> >
> > How did you generate your initrd? Maybe, it doesn't contain "linuxrc"
> > which does all the magic before it hands over to the real init process.
>
> i've created the initrd as indicated in the howto mentioned above, that is
> with:
>
> # splash_geninitramfs -g /boot/fbsplash-emergence-1024x768 -v -r
> 1024x768 emergence

Try:
genkernel --gensplash=emergence --gensplash-res=1024x768 initrd

genkernel puts all those nifty little things in your initrd. You could add 
"--menuconfig" if you want to check your kernel options.

Look up the exact name of the generated initrd in /boot and adjust your grub 
entry accordingly.

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17 10:07         ` Uwe Thiem
@ 2006-02-17 11:10           ` Marco Calviani
  2006-02-17 13:46             ` Uwe Thiem
  0 siblings, 1 reply; 16+ messages in thread
From: Marco Calviani @ 2006-02-17 11:10 UTC (permalink / raw
  To: gentoo-user

Hi Uwe,

> Try:
> genkernel --gensplash=emergence --gensplash-res=1024x768 initrd
>
> genkernel puts all those nifty little things in your initrd. You could add
> "--menuconfig" if you want to check your kernel options.
>
> Look up the exact name of the generated initrd in /boot and adjust your grub
> entry accordingly.

the fact is that i didn't use genkernel to build my actual kernel. I
think it is not possible to use in the way you told me......

regards,
MC

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17 11:10           ` Marco Calviani
@ 2006-02-17 13:46             ` Uwe Thiem
  2006-02-17 15:35               ` Marco Calviani
  0 siblings, 1 reply; 16+ messages in thread
From: Uwe Thiem @ 2006-02-17 13:46 UTC (permalink / raw
  To: gentoo-user

On 17 February 2006 13:10, Marco Calviani wrote:
> Hi Uwe,
>
> > Try:
> > genkernel --gensplash=emergence --gensplash-res=1024x768 initrd
> >
> > genkernel puts all those nifty little things in your initrd. You could
> > add "--menuconfig" if you want to check your kernel options.
> >
> > Look up the exact name of the generated initrd in /boot and adjust your
> > grub entry accordingly.
>
> the fact is that i didn't use genkernel to build my actual kernel. I
> think it is not possible to use in the way you told me......

Yes, it is. You can use genkernel to create your initrd without haven used it 
for the kernel itself.

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17 13:46             ` Uwe Thiem
@ 2006-02-17 15:35               ` Marco Calviani
  2006-02-17 16:42                 ` Etaoin Shrdlu
  2006-02-17 21:58                 ` Uwe Thiem
  0 siblings, 2 replies; 16+ messages in thread
From: Marco Calviani @ 2006-02-17 15:35 UTC (permalink / raw
  To: gentoo-user

Hi Uwe,

> Yes, it is. You can use genkernel to create your initrd without haven used it
> for the kernel itself.

i would like to thank you very much for your help. Effectively the
system is working now. Thanks again.

Since we're here and you're expert in this field, i would like to ask
you if, like me, you experience problem in deleting the
/etc/splash/default symlink:

# rm -rf default/
rm: cannot remove `default/': Not a directory

How is it possible?

MC

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17 15:35               ` Marco Calviani
@ 2006-02-17 16:42                 ` Etaoin Shrdlu
  2006-02-18 10:07                   ` Marco Calviani
  2006-02-17 21:58                 ` Uwe Thiem
  1 sibling, 1 reply; 16+ messages in thread
From: Etaoin Shrdlu @ 2006-02-17 16:42 UTC (permalink / raw
  To: gentoo-user

On Friday 17 February 2006 16:35, Marco Calviani wrote:

> Since we're here and you're expert in this field, i would like to ask
> you if, like me, you experience problem in deleting the
> /etc/splash/default symlink:
>
> # rm -rf default/
> rm: cannot remove `default/': Not a directory
>
> How is it possible?

Well, the message is correct. Look:

# rm -rf default/
rm: cannot remove `default/': Not a directory
# rm -rf default
#

If you include the trailing slash, rm thinks that you are asking it to 
delete a directory, which "default" is not (it's a symlink).
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17  8:58     ` Uwe Thiem
  2006-02-17  9:16       ` Marco Calviani
@ 2006-02-17 18:25       ` Richard Fish
  1 sibling, 0 replies; 16+ messages in thread
From: Richard Fish @ 2006-02-17 18:25 UTC (permalink / raw
  To: gentoo-user

On 2/17/06, Uwe Thiem <uwix@iway.na> wrote:
> Kernel panic ... hm ...
>
> How did you generate your initrd? Maybe, it doesn't contain "linuxrc" which
> does all the magic before it hands over to the real init process.

He could also be using an initramfs (which is preferable to an initrd
today, because it is available even earlier) which uses an "init"
script.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* [gentoo-user] Re: fbsplash starting after local and not during boot
  2006-02-17  7:20 ` Uwe Thiem
  2006-02-17  8:15   ` Marco Calviani
@ 2006-02-17 18:58   ` Simon Kellett
  2006-02-17 22:11     ` Uwe Thiem
  1 sibling, 1 reply; 16+ messages in thread
From: Simon Kellett @ 2006-02-17 18:58 UTC (permalink / raw
  To: gentoo-user

Uwe Thiem <uwix@iway.na> writes:

> kernel /boot/kernel-2.6.14-gentoo-r5-fb root=/dev/ram0 init=linuxrc 
> ramdisk=8192 real_root=/dev/hda3 quiet video=vesafb:ywrap,mtrr,1024x768-32@60 
> splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1

As a side issue: for kernel versions from 2.6.13 onwards you must
specify the mtrr mode: eg "mtrr:2". IIRC the default is off !!

-- 
Simon Kellett,        |   Gentoo Linux, Fvwm, Firefox 
Darmstadt, Germany    |              Xemacs, Vm, Gnus

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17 15:35               ` Marco Calviani
  2006-02-17 16:42                 ` Etaoin Shrdlu
@ 2006-02-17 21:58                 ` Uwe Thiem
  2006-02-17 23:03                   ` Manuel McLure
  1 sibling, 1 reply; 16+ messages in thread
From: Uwe Thiem @ 2006-02-17 21:58 UTC (permalink / raw
  To: gentoo-user

On 17 February 2006 17:35, Marco Calviani wrote:
> Hi Uwe,
>
> > Yes, it is. You can use genkernel to create your initrd without haven
> > used it for the kernel itself.
>
> i would like to thank you very much for your help. Effectively the
> system is working now. Thanks again.

Congratulations!

>
> Since we're here and you're expert in this field, i would like to ask
> you if, like me, you experience problem in deleting the
> /etc/splash/default symlink:
>
> # rm -rf default/
> rm: cannot remove `default/': Not a directory

Now, this is interesting and intriguing. ;-)

First of all, what filesystem are you using? Ext2/ext3?

Secondly, would you please do a "ls -ld default" from the same place you did 
the "rm"? And, of course, post the output? I have an idea what this might be 
about.

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Re: fbsplash starting after local and not during boot
  2006-02-17 18:58   ` [gentoo-user] " Simon Kellett
@ 2006-02-17 22:11     ` Uwe Thiem
  0 siblings, 0 replies; 16+ messages in thread
From: Uwe Thiem @ 2006-02-17 22:11 UTC (permalink / raw
  To: gentoo-user

On 17 February 2006 20:58, Simon Kellett wrote:
> Uwe Thiem <uwix@iway.na> writes:
> > kernel /boot/kernel-2.6.14-gentoo-r5-fb root=/dev/ram0 init=linuxrc
> > ramdisk=8192 real_root=/dev/hda3 quiet
> > video=vesafb:ywrap,mtrr,1024x768-32@60
> > splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1
>
> As a side issue: for kernel versions from 2.6.13 onwards you must
> specify the mtrr mode: eg "mtrr:2". IIRC the default is off !!

Must? I don't, and it is working.

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17 21:58                 ` Uwe Thiem
@ 2006-02-17 23:03                   ` Manuel McLure
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel McLure @ 2006-02-17 23:03 UTC (permalink / raw
  To: gentoo-user

On 17 February 2006 17:35, Marco Calviani wrote:
>Since we're here and you're expert in this field, i would like to ask
>you if, like me, you experience problem in deleting the
>/etc/splash/default symlink:
>
># rm -rf default/
>rm: cannot remove `default/': Not a directory

Remove the trailing / :

# rm -rf default

That will delete the symlink.

-- 
Manuel A. McLure KE6TAW <manuel@mclure.org> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] fbsplash starting after local and not during boot
  2006-02-17 16:42                 ` Etaoin Shrdlu
@ 2006-02-18 10:07                   ` Marco Calviani
  0 siblings, 0 replies; 16+ messages in thread
From: Marco Calviani @ 2006-02-18 10:07 UTC (permalink / raw
  To: gentoo-user

Thanks Etaoin,
    this has solved another issue. And another thing is learnt......

> # rm -rf default/
> rm: cannot remove `default/': Not a directory
> # rm -rf default
> #
>
> If you include the trailing slash, rm thinks that you are asking it to
> delete a directory, which "default" is not (it's a symlink).

Regards,
MC

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2006-02-18 10:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16 19:50 [gentoo-user] fbsplash starting after local and not during boot Marco Calviani
2006-02-17  7:20 ` Uwe Thiem
2006-02-17  8:15   ` Marco Calviani
2006-02-17  8:58     ` Uwe Thiem
2006-02-17  9:16       ` Marco Calviani
2006-02-17 10:07         ` Uwe Thiem
2006-02-17 11:10           ` Marco Calviani
2006-02-17 13:46             ` Uwe Thiem
2006-02-17 15:35               ` Marco Calviani
2006-02-17 16:42                 ` Etaoin Shrdlu
2006-02-18 10:07                   ` Marco Calviani
2006-02-17 21:58                 ` Uwe Thiem
2006-02-17 23:03                   ` Manuel McLure
2006-02-17 18:25       ` Richard Fish
2006-02-17 18:58   ` [gentoo-user] " Simon Kellett
2006-02-17 22:11     ` Uwe Thiem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox