Re: [patch #2] vesafb: panning and palette changes using bios

Shawn Leas (sleas@ixion.honeywell.com)
Mon, 10 Aug 1998 17:48:57 -0500 (CDT)


On Mon, 10 Aug 1998, Gerd Knorr wrote:
> On Sun, 9 Aug 1998, Shawn Leas wrote:
>
> > On Sat, 8 Aug 1998, Gerd Knorr wrote:
> >
> > > On Fri, 7 Aug 1998, Alex Buell wrote:
> > >
> > > > > Next step ahead: vesafb uses the protected mode interface for palette
> > > > > changes too.
> > > >
> > > > Does it only does this on initialisation?
> > >
> > > No, for all palette changes. This should make gfx boards which have not
> > > the standard vga palette registers (MediaGX?) work with vesafb. Here is
> > > the patch (against vanilla 2.1.115).
> > >
> > > Gerd
> >
> > This patch causes me major oopsing... I have a ksymoops'ed, and raw, and
> > an strace of an offending zsh process that did it. Every time I tried to
> > do a history search, it oopsed. Sometimes oopsed maniacally on shutdown.
>
> What does vesafb say at startup?

Aug 9 19:10:46 cerebro kernel: vesafb_setup: option ypan
Aug 9 19:10:46 cerebro kernel: Console: colour dummy device 80x25
Aug 9 19:10:46 cerebro kernel: Calibrating delay loop... 232.65 BogoMIPS
Aug 9 19:10:46 cerebro kernel: Memory: 63328k/65536k available (732k kernel code, 392k reserved, 1032k data, 52k init)
Aug 9 19:10:46 cerebro kernel: POSIX conformance testing by UNIFIX
Aug 9 19:10:46 cerebro kernel: CPU: Intel Pentium II (Klamath) stepping 04
Aug 9 19:10:46 cerebro kernel: Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Aug 9 19:10:46 cerebro kernel: Checking 'hlt' instruction... OK.
Aug 9 19:10:46 cerebro kernel: mtrr: v1.22 (19980611) Richard Gooch (rgooch@atnf.csiro.au)
Aug 9 19:10:46 cerebro kernel: Swansea University Computer Society NET3.039 for Linux 2.1
Aug 9 19:10:46 cerebro kernel: Swansea University Computer Society TCP/IP for NET3.037
Aug 9 19:10:46 cerebro kernel: IP Protocols: ICMP, UDP, TCP
Aug 9 19:10:46 cerebro kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd9cc
Aug 9 19:10:46 cerebro kernel: PCI: Probing PCI hardware
Aug 9 19:10:46 cerebro kernel: Starting kswapd v 1.5
Aug 9 19:10:46 cerebro kernel: vesafb: framebuffer at 0xf6000000, mapped to 0xc4800000, size 4096k
Aug 9 19:10:46 cerebro kernel: vesafb: mode is 1024x768x8, linelength=1024, pages=4
Aug 9 19:10:46 cerebro kernel: vesafb: protected mode interface info at c000:4d86
Aug 9 19:10:46 cerebro kernel: vesafb: pmi: set display start = c00c4dad, set palette = c00c4e0f
Aug 9 19:10:46 cerebro kernel: vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da , memory =
Aug 9 19:10:46 cerebro kernel: vesafb: scrolling: ypan using protected mode interface, yres_virtual=4096
Aug 9 19:10:46 cerebro kernel: Console: switching to colour frame buffer device 128x48
Aug 9 19:10:46 cerebro kernel: fb0: VESA VGA frame buffer device

> > >>EIP: c018839f <write_chan+14f/1e8>
> > Trace: c011bc4e <handle_mm_fault+c2/148>
> > Trace: c0179839 <tty_write+10d/15c>
> > Trace: c018839f <write_chan+14f/1e8>
> > Trace: c0124f50 <sys_write+c0/124>
> > Trace: c010a9c0 <system_call+34/38>
>
> No fbcon here. Hmm, maybe the patch triggers some race in tty/console
> code?

I guess I have no special insight into this area. want me to do some
tests? I'd be quite willing.

-Shawn
<=========== America Held Hostage ===========>
Day 2028 for the poor and the middle class.
Day 2047 for the rich and the dead.
894 days remaining in the Raw Deal.
<============================================>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html