Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119268 - gensplash: early silent fbsplash not working in 2.6.15
Summary: gensplash: early silent fbsplash not working in 2.6.15
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords: Inclusion
: 121508 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-17 02:26 UTC by TGL
Modified: 2006-02-07 21:23 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
2.6.15-fbsplash-fix_drivers_Makefile_order.patch (2.6.15-fbsplash-fix_drivers_Makefile_order.patch,827 bytes, patch)
2006-01-17 02:27 UTC, TGL
Details | Diff
dmesg.diff (dmesg.diff,4.13 KB, text/plain)
2006-01-25 05:06 UTC, TGL
Details
boot hang kernel config (.config,39.31 KB, text/plain)
2006-02-02 20:17 UTC, Karl Tomlinson
Details
boot hang gentoo-sources-2.6.15-r2 config (.config,38.87 KB, text/plain)
2006-02-04 19:07 UTC, Karl Tomlinson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2006-01-17 02:26:31 UTC
Hi spock,

Using fbsplash-0.9.2-r5-2.6.15-rc1.patch (from 2.6.15-archck1, and with radeonfb), i couldn't get the silent splash screen work during the early steps of the boot process: it was briefly appearing, but immediatly disappearring, and then reappearing much later (when the progress bar starts moving). It seems to be because of the order in which FB and AGP drivers get initialized. It can be fixed by reordering them in drivers/Makefile (move char/ before video/), like it was actually done in your previous patches.

The issue and the attached fix has been confirmed by several users on f.g.o, with various kernel patchsets (gentoo-sources, suspend2-sources), and has been included in archck2:
https://forums.gentoo.org/viewtopic-p-3033279.html#3033279
https://forums.gentoo.org/viewtopic-t-423405.html
https://forums.gentoo.org/viewtopic-p-3036902.html#3036902
Comment 1 TGL 2006-01-17 02:27:09 UTC
Created attachment 77325 [details, diff]
2.6.15-fbsplash-fix_drivers_Makefile_order.patch
Comment 2 Henrik Brix Andersen 2006-01-22 15:01:12 UTC
I can confirm that the patch works here.

Daniel, can we have this patch included in genpatches until the fbsplash patch gets updated?
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-01-22 15:28:21 UTC
I know from speakup that messing with the order in this file sometimes brings unexpected results. Would prefer confirmation from Michal first.
Comment 4 TGL 2006-01-25 05:05:36 UTC
Because of the speakup issue Daniel has reported, I have tried to make some more specific changes, moving only char/agp/ before video/ but keeping other char drivers at their original place. Unfortunatly, in this setup the silent splash also disappears as soon as it has appeared. So my original diagnostic is wrong: it seems that AGP coming too late is not the cause of this issue, and I don't know what a less intrusive fix could be...

I will attach the significant part of a diff beetween the dmesg outputs of a kernel without this patch (with broken silent fbsplash) and with this patch (with working silent fbsplash), in case it can give you ideas.
Comment 5 TGL 2006-01-25 05:06:38 UTC
Created attachment 78067 [details]
dmesg.diff

The diff i talked about in comment #4.
Comment 6 TGL 2006-01-25 09:49:56 UTC
Hadn't thought of that before, but if the problem is with speakup only, a solution could be to remove the "speakup/" target from drivers/char/Makefile, and to add "char/speakup/" directly in drivers/Makefile instead, at a suitable place (where "char/" currently is).
Comment 7 MAL 2006-01-26 08:57:48 UTC
I'm not sure if it's the same symptom, but having just upgraded from gentoo-sources-2.6.14-r5 to gentoo-sources-2.6.15-r1 without any config changes, early silent fbsplash stopped working.  Also, general framebuffer speed is slow.
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2006-02-01 07:23:42 UTC
Hello,
I confirm that 2.6.15 + K_GENPATCHES_VER="5" solves this issue.
Validated against suspend2-sources.
Comment 9 Karl Tomlinson 2006-02-02 20:13:35 UTC
501_fbsplash-early-splash-fix.patch (i.e. attachment 77325 [details, diff]) is genpatches 5 is preventing my system from booting with suspend2-sources-2.6.15-r5.

The last message I see is:

  Freeing unused kernel memory: 596k freed

It then looks like the display begins to scroll because the result is that this message appears twice at the bottom of the display.
The system then hangs and MagicSysRq does nothing.

I'm not using fbsplash.
Comment 10 Karl Tomlinson 2006-02-02 20:17:09 UTC
Created attachment 78777 [details]
boot hang kernel config
Comment 11 Henrik Brix Andersen 2006-02-03 01:35:04 UTC
(In reply to comment #9)
> 501_fbsplash-early-splash-fix.patch (i.e. attachment 77325 [details, diff] [edit]) is genpatches 5 is
> preventing my system from booting with suspend2-sources-2.6.15-r5.

Please try to reproduce this with latest gentoo-sources (2.6.15-r2).
Comment 12 Michal Januszewski (RETIRED) gentoo-dev 2006-02-04 01:58:23 UTC
*** Bug 121508 has been marked as a duplicate of this bug. ***
Comment 13 Michal Januszewski (RETIRED) gentoo-dev 2006-02-04 12:34:51 UTC
For what it's worth, I had a closer look at this problem and decided that moving char/ before video/ in the Makefile is the only reasonable way to make it work. 
Comment 14 jeffery palmer 2006-02-04 13:22:08 UTC
When will this be part of the general fbsplash patch for the gentoo-sources?

For now the current gentoo-sources tree is suffering from this problem.
Comment 15 jeffery palmer 2006-02-04 17:24:24 UTC
My mistake for not reading all my email, spock had responded:

Fortunately, no digging should be needed anymore :) The problem is fixed in
2.6.15-r2.
Comment 16 Daniel Drake (RETIRED) gentoo-dev 2006-02-04 17:41:47 UTC
fixed in genpatches 2.6.15 and in the new 2.6.16-rc1 patch
Comment 17 Karl Tomlinson 2006-02-04 19:07:38 UTC
Created attachment 78912 [details]
boot hang gentoo-sources-2.6.15-r2 config

gentoo-sources 2.6.15-r2 and -r3 hang on boot also.

I did not apply any kernel patches and used the kernel's default initramfs.

The last line I see is

  VFS: mounted root (reiserfs filesystem) readonly

repeated, apparently just as radeonfb first begins to scroll (but there are plenty of other things happening at that time).
Comment 18 TGL 2006-02-04 19:29:10 UTC
Karl: gentoo-sources 2.6.14 was also using this Makefile reordering (checked on -r7), so i wonder: does it hang too?
Comment 19 Michal Januszewski (RETIRED) gentoo-dev 2006-02-05 01:52:46 UTC
Karl: since your problem seems to be related with scrolling somehow, you might want to try booting with the 'quiet' option in your kernel command line.
Comment 20 Karl Tomlinson 2006-02-05 09:15:37 UTC
TGL: good point.  2.6.14 was working well with this reordering.

Michal: quiet sounds a good way to determine whether scrolling is the issue.
I'll try to remember that next time I reboot.
Comment 21 Karl Tomlinson 2006-02-07 21:23:00 UTC
'quiet' enabled the system to boot fine, and then the fb scrolled successfully.

I've opened Bug 122074 for this issue as it could be quite unrelated to the patch in this bug.