2001-11-18 23:49:31

by Ingo Saitz

[permalink] [raw]
Subject: Debugging (?) output in 2.4.14 breaks radeon framebuffer

MoiN

On bootup when the kernel activates the framebuffer console all
its revious messages remain on the screen, the tux logo is
displayed in the top corner and all remaining boot messages are
printed in one line over the belly of the pinguin. After bootup
all other consoles are working correctly and I can clean up the
mess on the first console by logging in and running "reset".

The last line displayed before linux activates the framebuffer is

radeonfb: ref_clk=2700, ref_div=60, xclk=16000 from BIOS

The next for lines, which are printk()d in radeon_write_mode():

CRTC_H_TOTAL_DISP = 0x4f0063, H_SYNC = 0x8c02a2
CRTC_V_TOTAL_DISP = 0x1df020c, V_SYNC = 0x8201ea
PPLL_DIV_3 = 0x301bf, PPLL_REF_DIV = 0x3c
DDA_CONFIG = 0x108032f, DDA_ON_OFF = 0x3e85924

seem to be the offending ones, because they are printed on the
screen _during_ the setup of the registers. Commenting them out
(see attached patch) does revert to a working console in
framebuffer mode.

My system: I have a Radeon (QD) SDR 32MB on AGP and a PII Celeron
533MHz on Intel LX Board (Elitegroup P6LX-A+)

Ingo
--
/* So there I am, in the middle of my `netfilter-is-wonderful' talk in
* Sydney, and someone asks `What happens if you try to enlarge a 64k
* packet here?'. I think I said something eloquent like `fuck'. */
-- net/ipv4/netfilter/ip_nat_ftp.c in linux 2.3.99-pre2


Attachments:
(No filename) (1.34 kB)
radeon-bf.diff (533.00 B)
Download all attachments