[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6.8 Kernel Problem with Stable



On Fri, Jan 27, 2006 at 11:46:21PM -0600, D wrote:
> The system has an onboard ATI RAGE card.
> 
> I'd like to to use the atyfb for the console.
> 
> The one problem I'm hacing I can't send the options for resolution
> to the driver.
> 
> I can't seem to be able to send options to the driver.
> 
> It ships as a module.
> 
> So I looked to see what options it will take:
> # modinfo atyfb
> filename: /lib/modules/2.6.8-2-686-smp/kernel/drivers/video/aty/atyfb.ko
> license:        GPL
> vermagic:       2.6.8-2-686-smp SMP preempt 686 gcc-3.3
> depends:        cfbfillrect,cfbimgblt,cfbcopyarea
> 
> 
> So there are no options I can send it.
> 
> Is there a way around this besides compiling my own kernel with it
> compiled in?
> 
> This would appear to me to make the atyfb unusable unless the defaults
> are what you want.

Hi,

I have an old ATI Mach64 PCI card in my server, so it's not the same
which you have, but it also uses atyfb.

I have compiled it into the kernel, so I pass the options to it as kernel
parameters in grub's menu.lst.

Anyway, according to the 2.6.15 source, the resolution is set with mode
option:
MODULE_PARM_DESC(mode, "Specify resolution as \"<xres>x<yres>[-<bpp>][@<refresh>]\" ");

So, of course you need to load the atyfb (and fbcon) module with initrd,
so it is available early in the boot. To pass the options to atyfb, just
edit a file in the /etc/modprobe.d/ directory (name it for example
video). Put a line:

options atyfb mode=1024x768-8@75

in it. Of course use the resolution/bpp/refresh you want.

HTH,
Simo
-- 
:r ~/.signature

Attachment: signature.asc
Description: Digital signature


Reply to: