public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Kloiber <ckloiber@rochester.rr.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] VESA framebuffer w/ MTRR locks 2.4.0 on init
Date: Fri, 05 Jan 2001 11:31:23 -0500	[thread overview]
Message-ID: <3A55F6DB.24041B4C@rochester.rr.com> (raw)
In-Reply-To: <E14EZMf-0007vp-00@the-village.bc.nu>

Alan Cox wrote:
> 
> > 1)  The amount of video memory is being incorrectly reported my the VESA call
> > used in arch/i386/video.S (INT 10h AX=4f00h).  My Dell Inspiron 3200 (NeoMagic
> > video) returns that it has 31 64k blocks of video memory, instead of the
> > correct 32.  This means that vesafb thinks that I've got 1984k of video ram,
> 
> You have 31. The last one is used for audio buffering
> 
> > 2)  When the vesafb goes to mtrr_add its range (with the incorrect 1984k size)
> > mtrr_add fails with -EINVAL.  The code in vesafb_init then goes into a while
> > loop with no exit, as each size mtrr fails.
> >                  while (mtrr_add(video_base, temp_size, MTRR_TYPE_WRCOMB,
> > 1)==-EINVAL) {
> >                          temp_size >>= 1;
> >                  }
> 
> Ok that one is the bug.

Possibly related symptoms:

kernel 2.4.0-ac1 compiled with gcc version 2.96 20000731 (Red Hat Linux
7.0)

last 2 lines in dmesg output:
mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x1000000
mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x1000000

cat /proc/mtrr
reg00: base=0x00000000 (   0MB), size= 256MB: write-back, count=1
reg01: base=0xd8000000 (3456MB), size=  16MB: write-combining, count=1
reg05: base=0xd0000000 (3328MB), size=  64MB: write-combining, count=1
 

My video card is Voodoo3/3000/AGP and my motherboard is an MSI-6330
(Athlon Tbird 800)
I am experiencing text console video corruption. In tdfxfb mode or
regular vesafb it looks like a horizontal line of color pixels that
grows, in 'regular' text mode I get flashing characters or the font
degrades into unreadable mess. X is fine.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-01-05 16:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-05 15:54 [PATCH] VESA framebuffer w/ MTRR locks 2.4.0 on init Bryan Mayland
2001-01-05 16:05 ` Alan Cox
2001-01-05 16:31   ` Chris Kloiber [this message]
2001-01-05 21:16     ` Steven Walter
2001-01-06  1:12     ` David Wragg
2001-01-06  9:47     ` Gerd Knorr
2001-01-05 16:48   ` Bryan Mayland
2001-01-05 16:54     ` Alan Cox
2001-01-05 17:33       ` Gerd Knorr
2001-01-05 21:40         ` Bryan Mayland
2001-01-05 21:48           ` Alan Cox
2001-01-05 22:01             ` Bryan Mayland
2001-01-06  1:20   ` [PATCH] VESA framebuffer w/MTRR " David Wragg
2001-01-06 17:08     ` Bryan Mayland
2001-01-06 19:23       ` Alan Cox
2001-01-06 17:28     ` Framebuffer as a module Bryan Mayland
     [not found]       ` <002501c07819$21343900$fd1942c3@bluescreen>
2001-01-06 20:04         ` Bryan Mayland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A55F6DB.24041B4C@rochester.rr.com \
    --to=ckloiber@rochester.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox