mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dan Merillat <harik@chaos.ao.net>
To: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: radeonfb bug: text ends up scrolling in the middle of t
Date: Tue, 20 Nov 2001 12:19:16 -0500	[thread overview]
Message-ID: <200111201719.fAKHJGYR000699@vulpine.ao.net> (raw)


"Petr Vandrovec" writes:
> On 19 Nov 01 at 23:38, Dan Merillat wrote:
> > > they'll shed some light on the problem.
> > 
> > Yes, yes.  The boot messages are normal, and typing 'reset' once I login 
> > restores normal console.  The code that sets up a scrolling window below tu
x
> > is well, missing the mark.
> > 
> > Tux looks like he's about 5 lines high, so lines 1-3 are tux, 4 is the one
> > line of scroll, 5 is his feet, and 6-30 is the previous kernel boot
> > messages.
> 
> It is known problem. At least known to me. After reboot and typing 'reset'
> type 'dmesg' and then look for 'Console: switching to colour frame buffer 
> device...'. Above that message you'll find couple of radeon messages - 
> and you have to remove all printed during register_framebuffer() from
> driver source - it looks to me like that '#if 1'-ed code in radeon_write_code
> is suspect.

Bingo, that does it exactly.

> You must not do any output during register framebuffer. If you'll output
> one line, I believe that it will still work, but if you'll do more, 
> kernel output is catched in upper Tux window instead of in the bottom half 
> of screen. And if you'll print really much of info during 
> register_framebuffer, kernel will die...

Well, that's a good reason to get this patch into the 2.4.15-final, then.


--- radeonfb.c.orig	Tue Nov 20 12:08:54 2001
+++ radeonfb.c	Tue Nov 20 12:09:24 2001
@@ -2347,7 +2347,7 @@
 	OUTREG(CRTC_OFFSET, 0);
 	OUTREG(CRTC_OFFSET_CNTL, 0);
 	OUTREG(CRTC_PITCH, mode->crtc_pitch);
-#if 1
+#if 0
 	printk("CRTC_H_TOTAL_DISP = 0x%x, H_SYNC = 0x%x\n",
 		mode->crtc_h_total_disp, mode->crtc_h_sync_strt_wid);
 	printk("CRTC_V_TOTAL_DISP = 0x%x, V_SYNC = 0x%x\n",

             reply	other threads:[~2001-11-20 17:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-20 17:19 Dan Merillat [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-11-20 12:14 Petr Vandrovec

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=200111201719.fAKHJGYR000699@vulpine.ao.net \
    --to=harik@chaos.ao.net \
    --cc=VANDROVE@vc.cvut.cz \
    --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

all inboxes | Powered by JetHome®