Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel upgrade - bootsplash broken
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 443
Location: Canberra Australia

PostPosted: Sat Jul 09, 2005 1:18 pm    Post subject: Kernel upgrade - bootsplash broken Reply with quote

I recently upgraded from linux-2.6.11-gentoo-r6 to linux-2.6.12-gentoo-r4 (amd64). I used "make oldconfig" to configure the new kernel with the same settings as the old one. I've used the recipe described in http://gentoo-wiki.com/HOWTO_Framebuffer:Bootsplash:Grubsplash.

Relevant lines in /boot/grub/grub.conf are:

title Testing
root (hd0,5)
kernel (hd0,5)/usr/src/linux/arch/x86_64/boot/bzImage root=/dev/hda6 video=vesafb:ywrap,mtrr vga=0x317 splash=silent,theme:emergence
initrd (hd0,5)/boot/fbsplash-emergence-1024x768

And relevant lines in my kernel config are:

#
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SOFT_CURSOR=y
# CONFIG_FB_MACMODES is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
CONFIG_FB_VESA_STD=y
# CONFIG_FB_VESA_TNG is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_VIRTUAL is not set
#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set

#
# Logo configuration
#
# CONFIG_LOGO is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
CONFIG_FB_SPLASH=y

Can anybody help?
Back to top
View user's profile Send private message
St. Joe
Apprentice
Apprentice


Joined: 13 Apr 2005
Posts: 242
Location: USA

PostPosted: Sat Jul 09, 2005 2:35 pm    Post subject: Reply with quote

Read in this THREAD for more information.
_________________
For every hammer there is a nail.
For every nail there is a thumb.
Back to top
View user's profile Send private message
nonox
n00b
n00b


Joined: 29 Dec 2004
Posts: 22
Location: Argentina

PostPosted: Sat Jul 09, 2005 8:34 pm    Post subject: Reply with quote

reemerge splashutils:

Code:

# emerge -vat splashutils


make again the fbsplash

Code:

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


reboot.

The problem is that your splashutils is linked to your old kernel, the same happens with your fbsplash. So you need to update your splashutils to be linked to your new kernel and regen your fbsplash :) (this is obviusly, if you remade the linux symlink)

Code:

# rm -rf /usr/src/linux
# ln -s /usr/src/linux-2.6.12-gentoo-r4 /usr/src/linux


if you didn't this, everything i said doesn't going to work

good luck.
Back to top
View user's profile Send private message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Sat Jul 09, 2005 10:41 pm    Post subject: Reply with quote

I've had a similar issue (upgraded from 2.6.11-gentoo-r10 to 2.6.12-gentoo-r4, used make oldconfig, broken fbsplash). While I expect your solution to work, I've upgraded my kernel many times, from a 2.6.9 Gentoo through 2.6.10 and 2.6.11 Custom Kernels (love-sources, nitro-sources) to 2.6.11 Gentoo sources without ever running into this problem before. Why is it required now for the switch to 2.6.12?
_________________
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Back to top
View user's profile Send private message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 443
Location: Canberra Australia

PostPosted: Sat Jul 09, 2005 10:47 pm    Post subject: Reply with quote

Thanks. Thought it would be something like that.

Maybe I should add something to the wiki.
Back to top
View user's profile Send private message
jecouch66
n00b
n00b


Joined: 15 Jul 2004
Posts: 8

PostPosted: Sun Jul 10, 2005 1:20 am    Post subject: Reply with quote

Arainach wrote:
Why is it required now for the switch to 2.6.12?


From the emerge:
* If you upgrade your kernel from pre-2.6.12 to 2.6.12 or higher, please
* make sure that you remerge this package and rebuild your initrds. You
* can use the splash_geninitramfs script to do that.

* It is required that you add 'quiet CONSOLE=/dev/tty1' to your kernel
* command line parameters.

* After these modifications, the relevant part of the kernel command
* line might look like:
* splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1

* The sample Gentoo themes (emergence, gentoo) have been removed from the
* core splashutils package. To get some themes you might want to emerge:
* media-gfx/splash-themes-livecd
* media-gfx/splash-themes-gentoo

Soooo..I would suggest that something was changed in the way splash is handled and that's why it's different this time. I have never had to do so before either.
_________________
You don't have to agree with me, but it's quicker...
Back to top
View user's profile Send private message
St. Joe
Apprentice
Apprentice


Joined: 13 Apr 2005
Posts: 242
Location: USA

PostPosted: Sun Jul 10, 2005 2:53 am    Post subject: Reply with quote

jecouch66 wrote:

From the emerge:
* If you upgrade your kernel from pre-2.6.12 to 2.6.12 or higher, please
* make sure that you remerge this package and rebuild your initrds. You
* can use the splash_geninitramfs script to do that.

* It is required that you add 'quiet CONSOLE=/dev/tty1' to your kernel
* command line parameters.

* After these modifications, the relevant part of the kernel command
* line might look like:
* splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1

* The sample Gentoo themes (emergence, gentoo) have been removed from the
* core splashutils package. To get some themes you might want to emerge:
* media-gfx/splash-themes-livecd
* media-gfx/splash-themes-gentoo


Heh. I first read this when I decided to re-emerge the splashutils pkg, but during the initial upgrade it all took place with an 'emerge -u world' session, so I never even noticed this very important information. It just scrolled by on its way to the next package.

Not a good thing. :)
_________________
For every hammer there is a nail.
For every nail there is a thumb.
Back to top
View user's profile Send private message
jecouch66
n00b
n00b


Joined: 15 Jul 2004
Posts: 8

PostPosted: Sun Jul 10, 2005 3:19 am    Post subject: Reply with quote

St. Joe wrote:
It just scrolled by on its way to the next package. Not a good thing. :)


You are excactly right; I didn't see it the first time either. I was only hoping to explain why it had to be done this time. I love this forum...so easy to get answers. But I've been working on the whole splash thing tonight and have got it working great now. Funny how following directions helps. LOL.

I was also getting the "Couldn't load font file" and "Couldn't load 0 pnt font from (null)" error messages, using the emergence theme. I switched to the livecd then and it didnt happen. Turned out that the emergence theme put the luxisri.ttf file in /etc/splash and didn't include the line text_font=luxisri.ttf in the theme. So, I copied the font file there, edited the theme to add the text_font message, re-ran splash_geninitramfs and that problem went right away. I guess I should have seen that ages ago when the first line said "Couldn't load font file"...but the other parts of the message made it seem something other than it was. At least, it makes me feel better to think so..:oops: . I decided to stick with the livecd theme anyway as the theme looks great, and I don't like the 'Gentoo 2004.0' at the bottom in the emergence theme.
_________________
You don't have to agree with me, but it's quicker...


Last edited by jecouch66 on Tue Jul 12, 2005 7:25 am; edited 2 times in total
Back to top
View user's profile Send private message
nonox
n00b
n00b


Joined: 29 Dec 2004
Posts: 22
Location: Argentina

PostPosted: Tue Jul 12, 2005 3:05 am    Post subject: Reply with quote

wiki updated :p
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Thu Jul 14, 2005 4:49 pm    Post subject: Reply with quote

Arainach wrote:
I've had a similar issue (upgraded from 2.6.11-gentoo-r10 to 2.6.12-gentoo-r4, used make oldconfig, broken fbsplash). While I expect your solution to work, I've upgraded my kernel many times, from a 2.6.9 Gentoo through 2.6.10 and 2.6.11 Custom Kernels (love-sources, nitro-sources) to 2.6.11 Gentoo sources without ever running into this problem before. Why is it required now for the switch to 2.6.12?

there has been a persistent problem with frambuffer screenblanking from kernel versions 2.6.9 to 2.6.11. i have had a bug report open on this in bugzilla for months.

Spock closed the bug, citing that a patch would be incorporated into the 2.6.12 kernels. although the patch was supposed to fix the problem, i have given up and i stopped using the testing branch kernels. as a result i've become a little bit out of the loop on my own bug report.

it would seem that the fixes that were implemented may have induced a change in the kernel's behavior such that the other packages also needed to be rebuilt. although i don't have any firm data on this, it would appear that the reason that you have to rebuild now, when you haven't had to rebuild after kernel upgrades in the past, is because the FB screenblanking fix applied in the 2.6.12 kernel has rendered it significantly different from 2.6.9 through 2.6.11.

of course, i could be totally wrong about this. i just wanted to offer this information to see if it agrees with anyone else's observations.

at any rate it seems like the kernel/FB problems may not have been fully eradicated yet. i've given up on trailblazing in this area, so i'm sticking with 2.6.11 while others blaze the trail.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Fri Jul 15, 2005 1:11 pm    Post subject: Reply with quote

St. Joe wrote:
Read in this THREAD for more information.

Moved to dups.

(If you think this isn't a dup.. feel free to drop me a pm..)
_________________
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
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