LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2004, 08:17 AM   #1
Zamolxis
LQ Newbie
 
Registered: Dec 2003
Location: Bucharest, Romania
Distribution: Gentoo
Posts: 24

Rep: Reputation: 15
kernel 2.6.1 module compilation problems


ok, I have a problem with kernel 2.6.1. I run make menuconfig, edit the options, save, then make bzImage. It all runs fine. I place the newly created bzImage and System.map into /boot, then go back and do make modules then make modules_install. Make modules is working fine, no errors. But make modules_install does not. When it runs 'depmod -a' a lot of failed dependencies show up. I though i forgot to include some essential modules, but no, that was't the problem. Below is an excerpt of the output of make modules_install. Sorry for the size of the text.

I mention that I have searched all over the net for someone who had the same problem, but I couldn't find anything. I guess I am doing something wrong, but I don't know what. Could anyone enlighten me, please?

root@zamolxis:/cos/kit/_os/linux-2.6.1# make modules_install
Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/post-halloween-2.5.txt
INSTALL drivers/net/3c59x.ko
INSTALL drivers/net/dummy.ko
INSTALL fs/fat/fat.ko
INSTALL fs/msdos/msdos.ko
INSTALL fs/ntfs/ntfs.ko
INSTALL sound/pci/ac97/snd-ac97-codec.ko
INSTALL sound/drivers/snd-dummy.ko
INSTALL sound/core/oss/snd-mixer-oss.ko
INSTALL sound/drivers/mpu401/snd-mpu401-uart.ko
INSTALL sound/core/snd-page-alloc.ko
INSTALL sound/core/oss/snd-pcm-oss.ko
INSTALL sound/core/snd-pcm.ko
INSTALL sound/core/snd-rawmidi.ko
INSTALL sound/core/snd-rtctimer.ko
INSTALL sound/core/seq/snd-seq-device.ko
INSTALL sound/core/seq/snd-seq-dummy.ko
INSTALL sound/core/seq/snd-seq-midi-event.ko
INSTALL sound/core/seq/snd-seq-midi.ko
INSTALL sound/core/seq/oss/snd-seq-oss.ko
INSTALL sound/core/seq/snd-seq.ko
INSTALL sound/core/snd-timer.ko
INSTALL sound/pci/snd-via82xx.ko
INSTALL sound/core/snd.ko
INSTALL sound/soundcore.ko
INSTALL fs/vfat/vfat.ko
INSTALL drivers/char/agp/via-agp.ko
INSTALL drivers/ide/pci/via82cxxx.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.1; fi
depmod: *** Unresolved symbols in /lib/modules/2.6.1/kernel/fs/msdos/msdos.ko
depmod: fat_scan
depmod: fat_dir_empty
depmod: fat_add_entries
depmod: fat_notify_change
depmod: fat_date_unix2dos
depmod: fat_build_inode
depmod: fat_detach
depmod: fat_attach
depmod: fat_new_dir
depmod: fat_fill_super
depmod: *** Unresolved symbols in /lib/modules/2.6.1/kernel/fs/vfat/vfat.ko
depmod: fat_scan
depmod: fat_dir_empty
depmod: fat_add_entries
depmod: fat__get_entry
depmod: fat_notify_change
depmod: fat_date_unix2dos
depmod: fat_build_inode
depmod: fat_search_long
depmod: fat_detach
depmod: fat_attach
depmod: fat_new_dir
depmod: fat_fill_super
depmod: *** Unresolved symbols in /lib/modules/2.6.1/kernel/sound/core/oss/snd-mixer-oss.ko
depmod: snd_cards
depmod: snd_ctl_notify
depmod: snd_info_get_line
depmod: snd_register_oss_device
depmod: snd_card_file_remove
depmod: snd_kcalloc
depmod: snd_info_free_entry
depmod: snd_ctl_find_id
depmod: snd_card_file_add
depmod: snd_info_create_card_entry
depmod: snd_oss_info_register
depmod: snd_mixer_oss_notify_callback
depmod: snd_iprintf
depmod: snd_info_register
depmod: snd_kmalloc_strdup
depmod: snd_unregister_oss_device
depmod: snd_info_get_str
depmod: snd_info_unregister
depmod: *** Unresolved symbols in /lib/modules/2.6.1/kernel/sound/core/oss/snd-pcm-oss.ko
depmod: snd_pcm_hw_refine
depmod: snd_pcm_playback_ready
depmod: snd_pcm_hw_param_value_max
depmod: snd_info_get_line
depmod: snd_register_oss_device
depmod: snd_pcm_format_set_silence
depmod: snd_card_file_remove
depmod: snd_pcm_hw_constraints_init
depmod: _snd_pcm_hw_params_any
depmod: snd_pcm_format_width
depmod: snd_pcm_build_linear_format
depmod: snd_kcalloc
depmod: _snd_pcm_hw_param_setinteger
depmod: snd_pcm_open_substream
depmod: snd_info_free_entry
depmod: snd_card_file_add
depmod: snd_info_create_card_entry
depmod: snd_pcm_lib_writev
depmod: snd_pcm_kernel_playback_ioctl
depmod: snd_pcm_kernel_capture_ioctl
depmod: snd_pcm_lib_readv
depmod: snd_oss_info_register
depmod: snd_pcm_devices
depmod: snd_task_name
depmod: snd_pcm_release_substream
depmod: snd_pcm_lib_write
depmod: snd_pcm_capture_ready
depmod: snd_pcm_hw_constraints_complete
depmod: snd_pcm_format_physical_width
depmod: snd_pcm_format_unsigned
depmod: snd_pcm_lib_read
depmod: snd_pcm_kernel_ioctl
depmod: snd_iprintf
depmod: snd_pcm_format_big_endian
depmod: snd_pcm_notify
depmod: snd_pcm_format_linear
depmod: snd_info_register
depmod: snd_pcm_format_signed
depmod: _snd_pcm_hw_param_min
depmod: snd_pcm_stop
depmod: snd_kmalloc_strdup
depmod: snd_pcm_hw_param_mask
depmod: snd_pcm_hw_param_set
depmod: snd_mixer_oss_ioctl_card
depmod: snd_pcm_hw_param_value_min
depmod: _snd_pcm_hw_param_set
depmod: snd_pcm_mmap_data
depmod: snd_pcm_hw_param_near
depmod: snd_unregister_oss_device
depmod: snd_info_get_str
depmod: snd_info_unregister
depmod: snd_pcm_format_silence_64
...

...and it goes on. Every modules has failed dependencies.

Last edited by Zamolxis; 01-16-2004 at 10:02 AM.
 
Old 01-16-2004, 08:32 AM   #2
king30
LQ Newbie
 
Registered: Jan 2004
Posts: 10

Rep: Reputation: 0
Try to do make install (it will install new kernel for you) intead of doing it manualy.
 
Old 01-16-2004, 08:47 AM   #3
clar77
Member
 
Registered: May 2002
Location: Baltimore,MD
Distribution: RH8.0 FC1/2.6.1 MacOsX 10.3
Posts: 53

Rep: Reputation: 15
Have you installed the new module tools package ? 2.6.x series kernels are different in where the modules.conf file is placed/named, I had big problems until I installed the new package.
 
Old 01-16-2004, 10:27 AM   #4
Zamolxis
LQ Newbie
 
Registered: Dec 2003
Location: Bucharest, Romania
Distribution: Gentoo
Posts: 24

Original Poster
Rep: Reputation: 15
It was my fault after all. The answer was in front of me. module-init-tools. Now make modules_install works properly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
Kernel Module compilation and running imransadat Programming 3 03-04-2005 06:56 AM
Installing irda module - problem during kernel compilation hobz Linux - General 3 07-08-2004 01:34 PM
kernel module compilation zbrox Linux - Software 1 01-28-2004 03:31 PM
Kernel compilation, what module did I missed ? Kocil Linux - Software 7 08-10-2003 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:59 AM.

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