Blank screen when using usplash and kernel >= 2.6.25
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Expired
|
High
|
|||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: linux-image-
The kernel that is going into Ubuntu 8.10 has a bug that (as far as I know hasn't been fixed in upstream 2.6.26). The problem is that when using a 2.6.25 or 2.6.26 kernel the screen blanks out when entering graphical mode after the boot splash (screen never comes back on). Also sometimes the computer will completely lock up in the middle of the boot splash. This problem is known to occur when using a Intel graphics card, the problem could effect other cards too (I haven't tested).
I've reported the bug (https:/
I've tested the 2.6.26 Ubuntu kernel and can verify that it does still has the bug.
-------
This commit introduced the bug
-------
commit 8f4d37ec073c17e
Author: Peter Zijlstra <email address hidden>
Date: Fri Jan 25 21:08:29 2008 +0100
sched: high-res preemption tick
Use HR-timers (when available) to deliver an accurate preemption tick.
The regular scheduler tick that runs at 1/HZ can be too coarse when nice level
are used. The fairness system will still keep the cpu utilisation 'fair' by
then delaying the task that got an excessive amount of CPU time but try to
minimize this by delivering preemption points spot-on.
The average frequency of this extra interrupt is sched_latency / nr_latency.
Which need not be higher than 1/HZ, its just that the distribution within the
sched_latency period is important.
Signed-off-by: Peter Zijlstra <email address hidden>
Signed-off-by: Ingo Molnar <email address hidden>
:040000 040000 ab225228500f7a1
f1742e1d225a72a
:040000 040000 25d85e4ef7a71b0
ae61510186b4fad
:040000 040000 9247cec7dd506c6
950832cc1dc4d30
-------
This commit fixed the bug
-------
commit 31656519e132f66
Author: Peter Zijlstra <email address hidden>
Date: Fri Jul 18 18:01:23 2008 +0200
sched, x86: clean up hrtick implementation
random uvesafb failures were reported against Gentoo:
http://
and Mihai Moldovan bisected it back to:
> 8f4d37ec073c17e
> commit 8f4d37ec073c17e
> Author: Peter Zijlstra <email address hidden>
> Date: Fri Jan 25 21:08:29 2008 +0100
>
> sched: high-res preemption tick
Linus suspected it to be hrtick + vm86 interaction and observed:
> Btw, Peter, Ingo: I think that commit is doing bad things. They aren't
> _incorrect_ per se, but they are definitely bad.
>
> Why?
>
> Using random _TIF_WORK_MASK flags is really impolite for doing
> "scheduling" work. There's a reason that arch/x86/
> special-cases the _TIF_NEED_RESCHED flag: we don't want to exit out of
> vm86 mode unnecessarily.
>
> See the "work_notifysig
> "save_v86_state()" thing etc etc.
Right, I never liked having to fiddle with those TIF flags. Initially I
needed it because the hrtimer base lock could not nest in the rq lock.
That however is fixed these days.
Currently the only reason left to fiddle with the TIF flags is remote
wakeups. We cannot program a remote cpu's hrtimer. I've been thinking
about using the new and improved IPI function call stuff to implement
hrtimer_
However that does require that smp_call_
from interrupt context - /me looks at the latest series from Jens - Yes
that does seem to be supported, good.
Here's a stab at cleaning this stuff up ...
Mihai reported test success as well.
Signed-off-by: Peter Zijlstra <email address hidden>
Tested-by: Mihai Moldovan <email address hidden>
Cc: Michal Januszewski <email address hidden>
Cc: Antonino Daplas <email address hidden>
Signed-off-by: Ingo Molnar <email address hidden>
:040000 040000 5ae152350652713
40d22771987dc58
:040000 040000 4dfe3c6abd244d2
3863e3311a21dc0
:040000 040000 236b2824be1c7cf
9f9779c89b781d8
Changed in linux: | |
status: | New → Confirmed |
Changed in linux: | |
status: | Unknown → Confirmed |
Changed in linux: | |
importance: | Unknown → High |
Changed in linux: | |
status: | Confirmed → Expired |
It seems that the commit that went into 2.6.27 can't be backported to .26. But, hrtick, what is causing the problem, can be disabled.
The patch to disable hrtick that applies on a vanila 2.6.26.2 kernel and should also apply to Ubuntu's kernel is below. That patch (or similar) should go into 2.6.26.3 or 2.6.26.4. See discussion here:
http:// lkml.org/ lkml/2008/ 8/19/311
-----------------
The hrtick implementation in 2.6.25 and .26 has been known to cause boot
problems with at least Intel GMA cards. see:
https:/ /bugs.freedeskt op.org/ show_bug. cgi?id= 15602 bugzilla. kernel. org/show_ bug.cgi? id=10892
http://
A full fix to hrtick went into 2.6.27 612584815f128c8 3976a9aaaef) ,
(31656519e132f6
but that fix is too intrusive to backport. Henceforth, we default to
disable hrtick.
Signed-off-by: Justin Madru <email address hidden>
Tested-by: Justin Madru <email address hidden>
Cc: Peter Zijlstra <email address hidden>
Cc: Ingo Molnar <email address hidden>
--- a/kernel/ sched_features. h sched_features. h FEAT(AFFINE_ WAKEUPS, 1) FEAT(CACHE_ HOT_BUDDY, 1) FEAT(SYNC_ WAKEUPS, 1) FEAT(DOUBLE_ TICK, 0) FEAT(NORMALIZED _SLEEPER, 1) FEAT(DEADLINE, 1)
+++ b/kernel/
@@ -4,7 +4,7 @@
SCHED_
SCHED_
SCHED_
-SCHED_FEAT(HRTICK, 1)
+SCHED_FEAT(HRTICK, 0)
SCHED_
SCHED_
SCHED_