On Wed, 2007-05-30 at 19:01 +0300, Tero Roponen wrote: > On Wed, 30 May 2007, Andrew Morton wrote: > > > On Wed, 30 May 2007 15:02:49 +0300 (EEST) Tero Roponen wrote: > > > > > On Wed, 30 May 2007, Pekka Enberg wrote: > > > > > > > On 5/30/07, Tero Roponen wrote: > [root@terrop ~]# cat oops.c > #include > #include > #include > #include > > int main(void) > { > struct fb_var_screeninfo fbinfo; > int fd = open("/dev/fb0", O_RDWR); > if (fd < 0) > return 1; > > /* Get screeninfo */ > ioctl(fd, FBIOGET_VSCREENINFO, &fbinfo); > > /* Change depth from current 16 to 24. */ > fbinfo.bits_per_pixel = 24; > ioctl(fd, FBIOPUT_VSCREENINFO, &fbinfo); > > return 0; > } > > So this seems to be a framebuffer error. It's a fb_setcolreg() bug in neofb. Try this patch? Tony