Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Aug 2014, 11:37
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
(FIXED) unresolved symbols building kernel modules
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
ntrel

Joined: 06 Oct 2005
Posts: 10

PostPosted: Fri 07 Oct 2005, 11:08    Post subject:  (FIXED) unresolved symbols building kernel modules  

Hi,
I've compiled 2 different kernel modules [with Puppy 1.0.5 and usr_devx.sfs], both of them seem to build fine, but when it's time to run depmod or modprobe them, I get unresolved symbol errors.
I'm trying to get the Conexant Riptide sound card working in Puppy - so I've built both a Linuxant OSS driver and an ALSA 1.0.10rc1 driver. (I realise the OSS one would fit Puppy better). I think that both of them are suffering from the same problem:

OSS:
Re-compilation and installation of RIPTIDE modules succeeded.
depmod: *** Unresolved symbols in /lib/modules/2.4.29/misc/riptideint.o
depmod: mem_map_R83874794
depmod: zone_table_R9eb2059e
depmod: init_mm_R13a8b1ff
depmod: *** Unresolved symbols in /lib/modules/2.4.29/misc/riptidelow.o
depmod: mem_map_R83874794
depmod: zone_table_R9eb2059e
depmod: init_mm_R13a8b1ff
depmod: *** Unresolved symbols in /lib/modules/2.4.29/misc/riptidesound.o
depmod: register_sound_dsp_R6d5fe6f4
depmod: no_llseek_Rd8d28fa3
depmod: register_sound_mixer_R7dcd8da8
depmod: mem_map_R83874794
depmod: zone_table_R9eb2059e
depmod: init_mm_R13a8b1ff
depmod: __pollwait_R13188e4e

ALSA:
# modprobe snd-riptide
Note: /etc/modules.conf is more recent than /lib/modules/2.4.29/modules.dep
/lib/modules/2.4.29/misc/snd-page-alloc.o: unresolved symbol vmalloc_to_page_R41573ff4
/lib/modules/2.4.29/misc/snd-page-alloc.o: unresolved symbol mem_map_R83874794
/lib/modules/2.4.29/misc/snd-page-alloc.o: unresolved symbol create_proc_entry_R2638bb49
/lib/modules/2.4.29/misc/snd-page-alloc.o: unresolved symbol zone_table_R9eb2059e
/lib/modules/2.4.29/misc/snd-page-alloc.o: unresolved symbol remove_proc_entry_Ra9ed6f89
/lib/modules/2.4.29/misc/snd-page-alloc.o: insmod /lib/modules/2.4.29/misc/snd-page-alloc.o failed
/lib/modules/2.4.29/misc/snd-page-alloc.o: insmod snd-riptide failed

Beforehand I setup a vanilla kernel-2.4.29 - ran make mrproper, copied the Puppy config file in /lib (this seems to have the puppy 1.0.4 suffix, not 1.0.5?) to .config before running make oldconfig, make dep. I didn't use the NTFS or squashfs patch - could this be the problem? Also i didn't actually build the kernel image as I guessed this might be unnecessary.

Any clues as to what I've done wrong?
Thanks,
ntrel

Last edited by ntrel on Sun 09 Oct 2005, 12:09; edited 1 time in total
Back to top
View user's profile Send private message 
ntrel

Joined: 06 Oct 2005
Posts: 10

PostPosted: Sun 09 Oct 2005, 12:08    Post subject: apply patches or use /usr/src/linux/  

Success!
I've now rebuilt the Linuxant Riptide OSS driver, and sound works. I'd overlooked that usr_devx.sfs contains /usr/src/linux somehow (when I was upgrading from 1.0.4 I had problems getting the sfs to mount - had to delete the old pup0 file).
I'm pretty sure the problem was that I hadn't patched the kernel - reading the updated info on Barry's site re: compiling kernel modules it seems obvious now - 'you must apply these patches!'.
Anyway, /usr/src/linux contains the include/ subdir but not drivers/ so I symlinked drivers/ from the full source I'd downloaded to /usr/src/linux/ - the OSS driver built with no unresolved symbols. (I guess the patches don't directly affect the sound driver headers). I've yet to rebuild ALSA.
For completeness, I've uploaded a .tar.gz of the OSS binary modules, attached to the 5th post on this thread:
http://www.murga.org/~puppy/viewtopic.php?t=2730&start=0&postdays=0&postorder=asc&highlight=
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0430s ][ Queries: 11 (0.0034s) ][ GZIP on ]