Summary: | gentoo-sources 2.6.27-r7 cannot load uvesafb module | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Plero H <plero_hero> |
Component: | [OLD] Core system | Assignee: | Michal Januszewski (RETIRED) <spock> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | idl0r |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Plero H
2008-12-29 12:00:58 UTC
does this work for you? video=uvesafb:1280x1024-32,mtrr:3,ywrap It looks like the 'mode' option is still being used instead of (the correct) 'mode_option'. Try loading uvesafb manually: modprobe uvesafb mode_option=1280x1024 mtrr=3 scroll=ywrap. I tried loading uvesafb manually: modprobe uvesafb mode_option=1280x1024 mtrr=3 scroll=ywrap but it failed. @ idl0r I appended: video=uvesafb:1280x1024-32,mtrr:3,ywrap to kernel arguments but it didn't work either. I want to load uvesafb at boot time and set correct resolution for my monitor and since it requires v86d(not in genkernel yet) I compiled it as a module and load it when system boots. I don't use bootsplash or fbsplash. Also modinfo uvesafb: filename: /lib/modules/2.6.27-gentoo-r7/kernel/drivers/video/uvesafb.ko description: Framebuffer driver for VBE2.0+ compliant graphics boards author: Michal Januszewski <spock@gentoo.org> license: GPL depends: vermagic: 2.6.27-gentoo-r7 SMP mod_unload modversions parm: scroll:Scrolling mode, set to 'redraw', 'ypan', or 'ywrap' (scroll) parm: vgapal:Set palette using VGA registers (invbool) parm: pmipal:Set palette using PMI calls (bool) parm: mtrr:Memory Type Range Registers setting. Use 0 to disable. (uint) parm: blank:Enable hardware blanking (bool) parm: nocrtc:Ignore CRTC timings when setting modes (bool) parm: noedid:Ignore EDID-provided monitor limits when setting modes (bool) parm: vram_remap:Set amount of video memory to be used [MiB] (uint) parm: vram_total:Set total amount of video memoery [MiB] (uint) parm: maxclk:Maximum pixelclock [MHz], overrides EDID data (ushort) parm: maxhf:Maximum horizontal frequency [kHz], overrides EDID data (ushort) parm: maxvf:Maximum vertical frequency [Hz], overrides EDID data (ushort) parm: mode_option:Specify initial video mode as "<xres>x<yres>[-<bpp>][@<refresh>]" (charp) parm: vbemode:VBE mode number to set, overrides the 'mode' option (ushort) parm: v86d:Path to the v86d userspace helper. (string) I forgot to mention that in gentoo-sources-2.6.26-* I can load uvesafb module and it works flawlessly. (In reply to comment #3) > I tried loading uvesafb manually: modprobe uvesafb mode_option=1280x1024 mtrr=3 > scroll=ywrap > but it failed. Did you get the same 'module cannot load' error message when you tried this? Have you checked the kernel log to see if there are any error messages there? modprobe uvesafb mode_option=1280x1024 mtrr=3 scroll=ywrap FATAL: Error inserting uvesafb (/lib/modules/2.6.27-gentoo-r7/kernel/drivers/video/uvesafb.ko): Unknown symbol in module, or unknown parameter (see dmesg) dmesg: uvesafb: Unknown parameter `mode' Yes, it's the same error I ran some checks, and it looks like you have forgotten to run 'update-modules' after modifying /etc/modprobe.d/uvesafb. To confirm, run `update-modules` or try inserting the uvesafb module using `insmod` instead of `modprobe`. Please re-open the bug in case that doesn't fix the problem. I had already run 'update-modules' prior to reporting, but for some reason didn't work. After your suggestion I run 'update-modules -f' and it works fine now. Thanks |