Re: CONFIG_VGACON_SOFT_SCROLLBACK crashes 2.6.17

From: Al Boldi
Date: Thu Jun 22 2006 - 13:35:12 EST


Antonino A. Daplas wrote:
> Al Boldi wrote:
> > Antonino A. Daplas wrote:
> >> Al Boldi wrote:
> >>> Enabling CONFIG_VGACON_SOFT_SCROLLBACK causes random fatal system
> >>> freezes.
> >>>
> >>> Especially, ping 10.1 -A easily causes a complete system hang during
> >>> scroll.
> >>>
> >>> Is there an easy way to fix this, other than disabling the option?
> >>
> >> I can't duplicate your problem. Did it ever work before?
> >
> > This option did not exist before 2.6.17.
>
> I meant if you tried any of the -rc kernels.

If -rc's were additive, I would probably use them. But they are not :(

> Anyway, can you try the patch below. It's a debugging patch and
> it will slow down the console.

Yes, that did the trick, although it screws-up concurrent console access.

What is surprising though, is that SOFT_SCROLLBACK is supposed to slow the
console down. It actually looks that it speeds things up, albeit at higher
CPU cost, by buffering screen updates.

This maybe hardware related. This machine has an onboard VIA/S3 UniChrome
chip, so I am thinking the CPU is dumping too fast for the chip to sync.

> If the system hang disappears, remove the line
>
> while (i--);

Hangs again.

> > BTW, is there any chance to patch your savagefb to support VIA/S3
> > UniChrome?
>
> If someone posts a patch to lkml or fbdev-devel, why not? But a separate
> driver is probably better as the 2 are very different.

VIA has a separate driver, couldn't this be merged with mainline?

Thanks!

--
Al

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