LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-11-2008, 08:51 PM   #1
donryanocero
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Rep: Reputation: 0
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?
 
Old 09-11-2008, 09:11 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Perhaps you missed something in the config steps?
Where did you get your '.config' parameters?
 
Old 09-11-2008, 09:24 PM   #3
donryanocero
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I started with the initial .config from the previous kernel and then used menuconf.
 
Old 09-13-2008, 06:47 PM   #4
donryanocero
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
oh well. the VGA one works okay i suppose. :-o

perhaps i'll try again with the VESA
 
Old 09-13-2008, 06:53 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
This might not be related to your problem, but if you have the
proprietary Nvidia drivers installed for X, nvidiafb will not work.
 
Old 09-13-2008, 06:54 PM   #6
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
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.

Last edited by T3slider; 09-13-2008 at 06:56 PM.
 
Old 09-13-2008, 07:54 PM   #7
donryanocero
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 09-13-2008, 08:42 PM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem compiling v4l-dvb-kernel w/ 2.6.25.7 kernel - Fedora 9 SD-user Linux - Kernel 3 10-11-2008 10:49 AM
Compiling kernel problem Ashkan_s Linux - Software 1 08-06-2008 11:14 PM
Problem in compiling a char device driver formerly for kernel 2.4 on kernel 2.6 payretep Linux - Newbie 6 09-24-2007 05:43 AM
nvidia and nvidiafb combination konsolebox Linux - Kernel 22 08-02-2006 04:02 PM
compiling kernel problem --- Kernel panic: unable to mount root fs ........ anthonymts123 Linux - General 5 07-31-2006 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration