LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem with nvidiafb after compiling kernel (https://www.linuxquestions.org/questions/slackware-14/problem-with-nvidiafb-after-compiling-kernel-669355/)

donryanocero 09-11-2008 08:51 PM

Problem with nvidiafb after compiling kernel
 
I just compiled a new 2.6.26.5 kernel and seems to be working fine with the exception of the framebuffer. I changed the lilo.conf to VGA to get it to boot.

lsmod provides:

Quote:

Module Size Used by
vgastate 12672 0
snd_ca0106 35040 0
snd_rawmidi 20736 1 snd_ca0106
snd_ac97_codec 97568 1 snd_ca0106
snd_pcm 68996 2 snd_ca0106,snd_ac97_codec
snd_timer 22664 1 snd_pcm
snd 45748 5 snd_ca0106,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_timer
ac97_bus 5504 1 snd_ac97_codec
snd_page_alloc 11528 2 snd_ca0106,snd_pcm
dmesg gave me:

Quote:

i2c_core: Unknown symbol __i2c_board_list
i2c_core: Unknown symbol __i2c_first_dynamic_bus_num
i2c_core: Unknown symbol __i2c_board_lock
i2c_algo_bit: Unknown symbol i2c_add_numbered_adapter
i2c_algo_bit: Unknown symbol i2c_add_adapter
fb_ddc: Unknown symbol i2c_transfer
nvidiafb: Unknown symbol unregister_framebuffer
nvidiafb: Unknown symbol fb_videomode_to_var
nvidiafb: Unknown symbol fb_validate_mode
nvidiafb: Unknown symbol fb_ddc_read
nvidiafb: Unknown symbol i2c_bit_add_bus
nvidiafb: Unknown symbol cfb_copyarea
nvidiafb: Unknown symbol fb_pad_aligned_buffer
nvidiafb: Unknown symbol framebuffer_alloc
nvidiafb: Unknown symbol fb_find_best_mode
nvidiafb: Unknown symbol fb_destroy_modedb
nvidiafb: Unknown symbol fb_edid_to_monspecs
nvidiafb: Unknown symbol fb_get_mode
nvidiafb: Unknown symbol fb_videomode_to_modelist
nvidiafb: Unknown symbol fb_find_mode
nvidiafb: Unknown symbol i2c_del_adapter
nvidiafb: Unknown symbol fb_var_to_videomode
nvidiafb: Unknown symbol register_framebuffer
nvidiafb: Unknown symbol fb_alloc_cmap
nvidiafb: Unknown symbol cfb_imageblit
nvidiafb: Unknown symbol fb_set_suspend
nvidiafb: Unknown symbol fb_firmware_edid
nvidiafb: Unknown symbol fb_get_color_depth
nvidiafb: Unknown symbol cfb_fillrect
nvidiafb: Unknown symbol fb_parse_edid
nvidiafb: Unknown symbol fb_find_best_display
nvidiafb: Unknown symbol framebuffer_release
I tried to modprobe it and I get:

Quote:

WARNING: Error inserting i2c_core (/lib/modules/2.6.26.5/kernel/drivers/i2c/i2c-core.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting i2c_algo_bit (/lib/modules/2.6.26.5/kernel/drivers/i2c/algos/i2c-algo-bit.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting fb_ddc (/lib/modules/2.6.26.5/kernel/drivers/video/fb_ddc.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting nvidiafb (/lib/modules/2.6.26.5/kernel/drivers/video/nvidia/nvidiafb.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Any ideas / suggestions?

mjmwired 09-11-2008 09:11 PM

Perhaps you missed something in the config steps?
Where did you get your '.config' parameters?

donryanocero 09-11-2008 09:24 PM

I started with the initial .config from the previous kernel and then used menuconf.

donryanocero 09-13-2008 06:47 PM

oh well. the VGA one works okay i suppose. :-o

perhaps i'll try again with the VESA

Bruce Hill 09-13-2008 06:53 PM

This might not be related to your problem, but if you have the
proprietary Nvidia drivers installed for X, nvidiafb will not work.

T3slider 09-13-2008 06:54 PM

You need to recompile the nvidia proprietary drivers after each kernel upgrade. Did you do this? (If not, just run the install program again)

Woops, should have paid more attention. Bruce is correct -- if you use the nvidia proprietary drivers, nvidiafb conflicts with them and must NOT be loaded. If you compiled nvidiafb INTO your kernel (which I suspect you did), you may have problems. I would suggest either excluding it entirely or at least making it a module.

donryanocero 09-13-2008 07:54 PM

So i just recompiled with it as a module (I think I did this previously)
Anyways. In the past I've never had to do more than

make modules
make modules_install

and all my modules worked. more or less.

Now the only modules that show when i lsmod are those pertaining to my sound card.

I'm not using the proprietary drivers in addition to nvidiafb.

Bruce Hill 09-13-2008 08:42 PM

With 2.6 kernels it's "make" and "make modules_install". But you still
need to copy your new bzImage to your /boot directory. Anything
that you built-in will not show up in lsmod. You can always grep
your config to check for support:
Code:

zcat /proc/config.gz | grep -i nvidiafb
for instance.


All times are GMT -5. The time now is 04:41 AM.