Re: [PATCH] fbdev: Fix crash if fb_set_var() called before register_framebuffer()

From: Mario Gaucher
Date: Fri Nov 26 2004 - 22:25:33 EST



> The field info->modelist is initialized during register_framebuffer. This
> field is also referred to in fb_set_var(). Thus a call to fb_set_var()
> before register_framebuffer() will cause a crash. A few drivers do this,
> notably controlfb. (This might fix reports of controlfb crashing in
> powermacs).


this patch works well... I can now boot my PowerMac 7300 using
2.6.10-rc2-bk8 (that I got on kernel.org) with this patch...

but I still has some problem with my Matrox Millenium PCI card using
matroxfb driver... the kernel boot... but I get corrupted characters on
the console... X load ok and display ok...
It works really well with the onboard video (controlfb driver)

matroxfb driver works fine on 2.6.8

-
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/