Re: Xorg crash at first start

From: Dave Airlie
Date: Thu Dec 04 2008 - 23:27:52 EST


On Fri, Dec 5, 2008 at 12:26 AM, Cédric Godin <cedric@xxxxxxxxxx> wrote:
> Hello,
>
> With the v2.6.28-rc7-105-gfeaf384 kernel, when booting my compaq with
> attached config, the screen switches in graphical mode but then switches
> back in textual mode with an 'irq10 nobody cared' error in dmesg (attached).
>
> If I restart kdm by hand, all is ok (i have my kdm) but the error yet
> appears in dmesg (at each X start in fact).
>
> I bisected the problem (git bisect log attached) and found the following
> commit as "culprit" :
>
> commit 52440211dcdc52c0b757f8b34d122e11b12cdd50
> Author: Keith Packard <keithp@xxxxxxxxxx>
> Date: Tue Nov 18 09:30:25 2008 -0800
>
> drm: move drm vblank initialization/cleanup to driver load/unload
>
> drm vblank initialization keeps track of the changes in driver-supplied
> frame counts across vt switch and mode setting, but only if you let
> it by
> not tearing down the drm vblank structure.
>
> Signed-off-by: Keith Packard <keithp@xxxxxxxxxx>
> Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>
>
> Reverting it brings back my X screen at first start.

Just for testing, can you try without using vesafb....

so remove the vga= line from the commandline or build the kernel
without vesafb support.

Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/