Subject: Re: The radeon framebuffer device panics init (on i386)
To: Vincent <10.50@free.fr>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 12/19/2006 15:50:53
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 19, 2006, at 15:35, Vincent wrote:

> Ok, I patched the file in order to not call radeon_loadbios when the 
> option flag RADEON_BIOS_INIT is inactive. It works. At least, very 
> partly: the system goes up fine, but I lose any video output at the 
> time the radeonfb driver is attached, so I assume the code, founding 
> no suitable BIOS (the patch I wrote sets cf->cf_biossz to 0) makes 
> (wrong) guesses about the default configuration.

Maybe it just picks a video mode your panel(?) doesn't like.

> Is there a way to compare this dmesg log to the Xorg.log and 
> especially the output of the radeon driver?

Well, look at the xorg logfile.

> radeonfb0: port 0: physical 1024x768 60Hz
> radeonfb0: port 1: physical 1024x768 60Hz

There's a #define at the beginning of radeonfb.c which sets a default 
video mode which is going to be used when there's no information about 
the display available - should be "1024x768@60". The mode must be one 
defined in src/sys/dev/videomodes/videomodes.c - maybe try a few others 
that more closely match whatever your display likes.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRYhQrcpnzkX8Yg2nAQJc6Af/Ul8ZsJBT1C1sjnJlTQ3RCbZjawUfPvFu
ABdH6zQCnpFl2F4onqAVlUjgRiovmeUTkWU+xmIcTatQay8/VHm93cAYJR/dMpuR
6mqFTPu/0wgDCXHaJOLzi5IjIPNA90Gc5JSMeLluQXXWDD+DYTYnjubDbVCeJAQu
0cULi9E65azhZ1bQG0Yd5L8EsTJpWwLKinmjkZ5IgZMJfKRIWyjpLtExMCn+cxu2
rpOBVh6ugz7Hp3aB2GXkNRfCeUqM3ZqBdLst4i0vYMGN3AQMGfGC6mB5s6yMY1bl
cFD3L7dGZlD06EZU6Yz7iRoBTOXmdnMZ/R+GXAlLtviZhP77DaoK6Q==
=cXU9
-----END PGP SIGNATURE-----