It is currently Tue, 14 Jul 2020 00:05:28 GMT



 
Author Message
 matroxfb dies when you try to use secondary head in 2.5.x
Hi Linus,
   please apply this to 2.5.20. James introduced bad bug which
causes NULL pointer dereference as soon as you'll try to use
secondary head because of screen_base is not initialized
(it is initialized on wrong head).
                                Thanks,
                                        Petr Vandrovec
                                        vandr...@vc.cvut.cz

diff -urdN linux/drivers/video/matrox/matroxfb_crtc2.c linux/drivers/video/matrox/matroxfb_crtc2.c
--- linux/drivers/video/matrox/matroxfb_crtc2.c Mon Jun  3 01:44:45 2002
+++ linux/drivers/video/matrox/matroxfb_crtc2.c Fri Jun  7 23:03:07 2002
@@ -383,7 +383,7 @@
                chgvar = 0;
        p->var = *var;
        /* cmap */
-       ACCESS_FBINFO(fbcon.screen_base) = vaddr_va(m2info->video.vbase);
+       m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase);
        p->visual = visual;
        p->ypanstep = 1;
        p->ywrapstep = 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at   http://www.**-**.com/
Please read the FAQ at   http://www.**-**.com/



 Wed, 24 Nov 2004 08:20:07 GMT   
 
   [ 1 post ] 

Similar Threads

1. Secondary Gateway for Secondary Network Card using Secondary IP's

2. Secondary Gateway for Secondary Network Card using Secondary IP's

3. Xsun dies when running a multi-headed X display on my Sparc 20

4. Newbie question:pppd died when try to connect to internet

5. telnet tries, but dies (hangs)

6. Mouse dies after trying to start PPP

7. PC-NFS, printing, bannerpage. die.die.die

8. Zombie die die die

9. /ethan die,die,die

10. 3c59x died when trying out 2.5.69


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software