Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66504 - module-init-tools-3.0-r2 doesn't regenerate modprobe.conf with USE=no-old-linux
Summary: module-init-tools-3.0-r2 doesn't regenerate modprobe.conf with USE=no-old-linux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 35067 72526 75767 77227 (view as bug list)
Depends on: 48736
Blocks:
  Show dependency tree
 
Reported: 2004-10-06 03:14 UTC by Stuart Shelton
Modified: 2007-01-10 14:22 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
generate-modprobe.conf.patch (generate-modprobe.conf.patch,506 bytes, patch)
2005-01-24 09:50 UTC, Paul Pacheco
Details | Diff
modules-update.patch (modules-update.patch,3.19 KB, patch)
2005-02-09 18:06 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2004-10-06 03:14:31 UTC
... when USE="no-old-linux" is used to remove the old modutils.

I have a couple of systems running entirely on 2.6, so (if I'm understanding the intended purpose correctly) this is just what the "no-old-linux" option is designed for.

However, after mergeing the build with this option, modules-update no longer works.  This is because the /sbin/generate-modprobe.conf relies on still having the old modutils tools around to generate the file.

I've also tried using this on a brand new system I'm installing from scratch, so it shouldn't be due to legacy files/components on my machine.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-10-06 12:41:20 UTC
Mike, could you please look at this?
Comment 2 tuXXer 2004-11-08 01:29:16 UTC
Same problem here,

when running update-modules with module-init-tools and no-old-linux I get the message "Could not generate modprobe.conf", without "no-old-linux" no problem. I think this is because modprobe.conf is generated with the old modutils tools.

This problem leads to further problems, e.g. when using alsa-utils. alsa-utils reading the content of modprobe.conf for determine the custom configuration for the sound cards. When using "no-old-linux" no modprobe.conf is generated alsa-utils could not find a configuration and loads all drivers, which leads on my system to no sound.

Hope you could fix this problem. 
Comment 3 Georgi Georgiev 2004-11-20 12:16:30 UTC
The problem is that /sbin/generate-modprobe.conf complains "Cannot find old version of modproble. Giving up." It seems that the old versions are indeed required :-/
Comment 4 SpanKY gentoo-dev 2004-11-26 19:55:28 UTC
*** Bug 72526 has been marked as a duplicate of this bug. ***
Comment 5 André Terpstra 2004-12-13 01:22:43 UTC
The problem still exists, when is a solution to be expected? And, what are the effects of temporarily canceling no-old-linux?
Comment 6 John Mylchreest (RETIRED) gentoo-dev 2004-12-13 09:43:28 UTC
Just to go over something quickly, what version of kernel sources are you using?
Comment 7 Bharath Ramesh 2004-12-13 13:46:29 UTC
I am facing the same problem. I am running gentoo-dev-sources-2.6.9-r6
Comment 8 Stuart Shelton 2004-12-13 13:58:25 UTC
IIRC I was on about 2.6.7 when I spotted this, but it's been a problem though 2.6.9-r9 - so I think it's fair to assume that it affects the 2.6.x kernels, at least.

*However* I don' think this is at all a kernel problem - the /sbin/generate-modprobe.conf script looks for modprobe.old (which doesn't exist if no-old-linux is specified) and then, failing that, looks for mdoprobe.

However, it then tries to work out modprobe's version with "modprobe -V 2>/dev/null | grep -q 'modprobe version'".  The current version of modprobe returns "module-init-tools version 3.0" when run with "-V", so this test fails too.

It may just be this logic which is wrong, but TBH I'm not confident that if something this simple is incorrect with the new version, that the output of "modprobe -c" is actually what is wanted.

Having said that, it could be as simple as replacing "grep -q 'modprobe version'" with 'grep -Eq "modprobe version|module-init-tools version"' - anyone?
Comment 9 SpanKY gentoo-dev 2004-12-13 14:43:29 UTC
yes, kernel version has nothing to do with this

current modules-update cant parse the output of the new depmod, so if you install module-init-tools with USE=no-old-linux, you'll hit this bug
Comment 10 John Nilsson 2004-12-14 03:54:58 UTC
Reading through the manpages it is my understanding that modprobe.conf is optional and also deprecates modules.conf modules.d, correct?

So just deleting those files and not worry about it anymore is an acceptable aproach?
Comment 11 tuXXer 2004-12-26 14:37:08 UTC
When this means, that module-update works with "no-old-linux" => no problem...
Comment 12 SpanKY gentoo-dev 2004-12-27 06:57:42 UTC
*** Bug 75767 has been marked as a duplicate of this bug. ***
Comment 13 Eric Shattow 2004-12-27 18:42:18 UTC
i'm running into this bug too.  'no-old-linux' in my USE, kernel gentoo-dev-sources-2.6.10-r1.    AFAIK the 3.1 version of sys-apps/module-init-tools provides for a '-c' dump config option that is different than the old one perhaps?

:/
Comment 14 Eric Shattow 2004-12-27 18:48:25 UTC
update on my previous comment.   for me, making a symlink from /sbin/modprobe -> /sbin/modprobe.old was enough of a workaround.  again, this is with module-init-tools 3.1

maybe throw a symlink in the module-init-tools ebuild to make a legacy symlink for those of us using 'no-old-linux' in USE
Comment 15 tuXXer 2004-12-29 04:55:36 UTC
The symlink solving the problem with "Could not generate modprobe.conf", but  I'm running then into an other problem: The content of modprobe.conf is different from the one created with "-no-old-linux" module-init-tools.

Content of modprobe.conf with "-no-old-linux":
==============================================
### This file is automatically generated by modules-update
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modules.d and read
# the manpage for modules-update.
#
### modules-update: start processing /etc/modules.d/aliases
# Aliases to tell insmod/modprobe which modules to use

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off            # Unix
# alias net-pf-2 off            # IPv4
# alias net-pf-3 off            # Amateur Radio AX.25
# alias net-pf-4 off            # IPX
# alias net-pf-5 off            # DDP / appletalk
# alias net-pf-6 off            # Amateur Radio NET/ROM
# alias net-pf-9 off            # X.25
# alias net-pf-10 off           # IPv6
# alias net-pf-11 off           # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off           # Acorn Econet

alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81     bttv
alias char-major-108    ppp_generic
alias /dev/ppp          ppp_generic
alias tty-ldisc-3       ppp_async
alias tty-ldisc-14      ppp_synctty
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0   loop_gen
alias loop-xfer-3       loop_fish2
alias loop-xfer-gen-10  loop_gen
alias cipher-2          des
alias cipher-3          fish2
alias cipher-4          blowfish
alias cipher-6          idea
alias cipher-7          serp6f
alias cipher-8          mars6
alias cipher-11         rc62
alias cipher-15         dfc2
alias cipher-16         rijndael
alias cipher-17         rc5

# Support for i2c and lm_sensors
alias char-major-89    i2c-dev

# Old nvidia support ...
alias char-major-195 NVdriver
alias /dev/nvidiactl char-major-195

### modules-update: end processing /etc/modules.d/aliases

### modules-update: start processing /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.2 2004/07/18 03:40:55 dragonheart Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-cmipci
alias snd-card-1 snd-virmidi
##  OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=2

# User defined
options snd-cmipci fm_port=0x388 mpu_port=0x300

### modules-update: end processing /etc/modules.d/alsa

### modules-update: start processing /etc/modules.d/fcdsl
# Options for AVM FRITZ!Card DSL cards
# Correct these settings with the output from drdsl -n
options fcdsl VPI=1 VCI=32 VCC=1

### modules-update: end processing /etc/modules.d/fcdsl

### modules-update: start processing /etc/modules.d/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc

### modules-update: end processing /etc/modules.d/i386

### modules-update: start processing /etc/modules.d/nvidia
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195

# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!! For more
# option see /usr/share/doc/nvidia-kernel-1.0.6629-r1/README.gz
#
#   To enable Side Band Adressing:  NVreg_EnableAGPSBA=1
#
#   To enable Fast Writes: NVreg_EnableAGPFW=1
#
# To enable both for instance, uncomment following line:
#
#options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1


### modules-update: end processing /etc/modules.d/nvidia

### modules-update: start processing /etc/modules.d/ppp
alias char-major-108    ppp_generic
alias /dev/ppp          ppp_generic
alias tty-ldisc-3       ppp_async
alias tty-ldisc-13      n_hdlc
alias tty-ldisc-14      ppp_synctty
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate
alias net-pf-24         pppoe
alias ppp-compress-18 ppp_mppe_mppc

### modules-update: end processing /etc/modules.d/ppp

### modules-update: start processing /etc/modules.d/svgalib
probeall  /dev/svga  svgalib_helper

### modules-update: end processing /etc/modules.d/svgalib


Content of modprobe.conf with "+no-old-linux":
==============================================
### This file is automatically generated by modules-update
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at /etc/modules.conf and read
# the manpage for modules-update.
#
alias char-major-195-* nvidia
alias pci:v000010DEd*sv*sd*bc03sc00i00* nvidia
alias pci:v00001131d00005402sv00001244sd00000F00bc*sc*i* fcdsl
alias pci:v000013F6d00000100sv*sd*bc*sc*i* snd_cmipci
alias pci:v000013F6d00000101sv*sd*bc*sc*i* snd_cmipci
alias pci:v000013F6d00000111sv*sd*bc*sc*i* snd_cmipci
alias pci:v000013F6d00000112sv*sd*bc*sc*i* snd_cmipci
alias pci:v000010B9d00000111sv*sd*bc*sc*i* snd_cmipci
alias sound-service-?-1 snd_seq_oss
alias sound-service-?-8 snd_seq_oss
alias sound-service-?-3 snd_pcm_oss
alias sound-service-?-12 snd_pcm_oss
alias sound-service-?-0 snd_mixer_oss
alias char-major-116-* snd
alias char-major-116-* snd
alias symbol:snd_ctl_new snd
alias symbol:snd_power_wait snd
alias symbol:snd_pcm_hw_param_value_max snd_pcm
alias symbol:snd_card_free snd
alias symbol:snd_seq_autoload_unlock snd_seq_device
alias symbol:snd_info_unregister snd
alias symbol:snd_seq_device_unregister_driver snd_seq_device
alias symbol:snd_rawmidi_drain_output snd_rawmidi
alias symbol:snd_ctl_unregister_ioctl snd
alias symbol:snd_timer_global_new snd_timer
alias symbol:snd_ctl_add snd
alias symbol:snd_pcm_format_unsigned snd_pcm
alias symbol:snd_device_new snd
alias symbol:snd_pcm_hw_constraint_list snd_pcm
alias symbol:snd_virmidi_receive snd_seq_virmidi
alias symbol:snd_info_get_str snd
alias symbol:snd_pcm_hw_constraint_msbits snd_pcm
alias symbol:snd_midi_event_reset_encode snd_seq_midi_event
alias symbol:cap_task_reparent_to_init commoncap
alias symbol:snd_pcm_format_size snd_pcm
alias symbol:cap_inode_setxattr commoncap
alias symbol:snd_opl3_create snd_opl3_lib
alias symbol:snd_pcm_playback_ready snd_pcm
alias symbol:snd_seq_kernel_client_dispatch snd_seq
alias symbol:snd_pcm_open_substream snd_pcm
alias symbol:snd_device_free snd
alias symbol:snd_pcm_hw_constraints_complete snd_pcm
alias symbol:snd_pcm_period_elapsed snd_pcm
alias symbol:cap_capable commoncap
alias symbol:snd_timer_interrupt snd_timer
alias symbol:snd_pcm_hw_param_first snd_pcm
alias symbol:snd_pcm_new snd_pcm
alias symbol:snd_midi_channel_init snd_seq_midi_emul
alias symbol:snd_opl3_timer_new snd_opl3_lib
alias symbol:snd_rawmidi_transmit_empty snd_rawmidi
alias symbol:snd_timer_open snd_timer
alias symbol:snd_interval_muldivk snd_pcm
alias symbol:snd_unregister_oss_device snd
alias symbol:snd_pcm_lib_ioctl snd_pcm
alias symbol:snd_component_add snd
alias symbol:snd_iprintf snd
alias symbol:snd_pcm_new_stream snd_pcm
alias symbol:snd_rawmidi_info_select snd_rawmidi
alias symbol:snd_timer_global_register snd_timer
alias symbol:snd_pcm_sgbuf_ops_page snd_pcm
alias symbol:cap_ptrace commoncap
alias symbol:snd_seq_kernel_client_write_poll snd_seq
alias symbol:snd_seq_device_new snd_seq_device
alias symbol:snd_seq_create_kernel_client snd_seq
alias symbol:snd_midi_event_init snd_seq_midi_event
alias symbol:snd_midi_event_decode snd_seq_midi_event
alias symbol:snd_ctl_notify snd
alias symbol:snd_pcm_hw_constraint_step snd_pcm
alias symbol:snd_card_set_dev_pm_callback snd
alias symbol:snd_pcm_devices snd_pcm
alias symbol:cap_task_post_setuid commoncap
alias symbol:snd_pcm_format_physical_width snd_pcm
alias symbol:snd_timer_system_resolution snd_timer
alias symbol:snd_pcm_lib_preallocate_pages_for_all snd_pcm
alias symbol:snd_rawmidi_kernel_open snd_rawmidi
alias symbol:snd_mixer_oss_ioctl_card snd_mixer_oss
alias symbol:snd_pcm_lib_preallocate_free_for_all snd_pcm
alias symbol:snd_unregister_device snd
alias symbol:lirc_unregister_plugin lirc_dev
alias symbol:snd_pcm_capture_ready snd_pcm
alias symbol:snd_pcm_hw_constraint_ratdens snd_pcm
alias symbol:cap_bprm_set_security commoncap
alias symbol:snd_card_new snd
alias symbol:snd_pcm_lib_readv snd_pcm
alias symbol:snd_verbose_printk snd
alias symbol:snd_pcm_hw_constraints_init snd_pcm
alias symbol:snd_opl3_new snd_opl3_lib
alias symbol:snd_timer_resolution snd_timer
alias symbol:snd_pcm_hw_rule_add snd_pcm
alias symbol:snd_free_pages snd_page_alloc
alias symbol:snd_card_file_remove snd
alias symbol:snd_interval_ratnum snd_pcm
alias symbol:snd_malloc_pages snd_page_alloc
alias symbol:snd_hwdep_new snd_hwdep
alias symbol:snd_pcm_link_rwlock snd_pcm
alias symbol:snd_rawmidi_set_ops snd_rawmidi
alias symbol:snd_timer_stop snd_timer
alias symbol:snd_midi_event_encode_byte snd_seq_midi_event
alias symbol:_snd_pcm_hw_param_min snd_pcm
alias symbol:snd_register_device snd
alias symbol:snd_rawmidi_info snd_rawmidi
alias symbol:snd_seq_instr_free_use snd_seq_instr
alias symbol:snd_card_pci_resume snd
alias symbol:snd_remove_proc_entry snd
alias symbol:snd_cards snd
alias symbol:snd_pcm_format_signed snd_pcm
alias symbol:cap_capset_check commoncap
alias symbol:snd_timer_start snd_timer
alias symbol:snd_pcm_notify snd_pcm
alias symbol:_snd_pcm_hw_param_set snd_pcm
alias symbol:snd_rawmidi_transmit_ack snd_rawmidi
alias symbol:snd_interval_div snd_pcm
alias symbol:snd_dma_reserve_buf snd_page_alloc
alias symbol:snd_midi_channel_alloc_set snd_seq_midi_emul
alias symbol:snd_seq_expand_var_event snd_seq
alias symbol:snd_mpu401_uart_new snd_mpu401_uart
alias symbol:snd_midi_event_resize_buffer snd_seq_midi_event
alias symbol:snd_card_register snd
alias symbol:snd_pcm_hw_param_value_min snd_pcm
alias symbol:snd_interval_mulkdiv snd_pcm
alias symbol:snd_pcm_release_substream snd_pcm
alias symbol:snd_opl3_regmap snd_opl3_lib
alias symbol:snd_ctl_new1 snd
alias symbol:snd_device_free_all snd
alias symbol:snd_pcm_lib_free_pages snd_pcm
alias symbol:snd_card_disconnect snd
alias symbol:snd_midi_process_event snd_seq_midi_emul
alias symbol:snd_rawmidi_drop_output snd_rawmidi
alias symbol:snd_pcm_hw_param_near snd_pcm
alias symbol:snd_dma_free_pages snd_page_alloc
alias symbol:snd_ctl_remove_id snd
alias symbol:snd_pcm_set_sync snd_pcm
alias symbol:snd_info_create_card_entry snd
alias symbol:snd_pcm_capture_poll snd_pcm
alias symbol:snd_request_card snd
alias symbol:snd_seq_kernel_client_ctl snd_seq
alias symbol:snd_pcm_format_set_silence snd_pcm
alias symbol:snd_pcm_format_little_endian snd_pcm
alias symbol:cap_bprm_secureexec commoncap
alias symbol:snd_pcm_format_width snd_pcm
alias symbol:snd_mixer_oss_notify_callback snd
alias symbol:snd_seq_kernel_client_enqueue_blocking snd_seq
alias symbol:snd_seq_root snd
alias symbol:snd_pcm_format_big_endian snd_pcm
alias symbol:snd_ecards_limit snd
alias symbol:snd_midi_event_no_status snd_seq_midi_event
alias symbol:snd_rawmidi_new snd_rawmidi
alias symbol:snd_timer_global_unregister snd_timer
alias symbol:snd_info_get_line snd
alias symbol:snd_register_oss_device snd
alias symbol:snd_pcm_capture_empty snd_pcm
alias symbol:snd_midi_channel_set_clear snd_seq_midi_emul
alias symbol:snd_pcm_playback_data snd_pcm
alias symbol:snd_seq_event_port_detach snd_seq
alias symbol:snd_ctl_remove snd
alias symbol:snd_pcm_release snd_pcm
alias symbol:snd_create_proc_entry snd
alias symbol:snd_dma_alloc_pages_fallback snd_page_alloc
alias symbol:snd_ctl_register_ioctl snd
alias symbol:snd_dma_get_reserved_buf snd_page_alloc
alias symbol:snd_timer_new snd_timer
alias symbol:_snd_pcm_hw_param_setinteger snd_pcm
alias symbol:snd_mpu401_uart_interrupt snd_mpu401_uart
alias symbol:snd_timer_notify snd_timer
alias symbol:snd_rawmidi_transmit_peek snd_rawmidi
alias symbol:snd_midi_event_reset_decode snd_seq_midi_event
alias symbol:snd_card_proc_new snd
alias symbol:snd_task_name snd
alias symbol:snd_ctl_rename_id snd
alias symbol:snd_pcm_suspend snd_pcm
alias symbol:snd_card_set_pm_callback snd
alias symbol:snd_timer_continue snd_timer
alias symbol:snd_card_file_add snd
alias symbol:snd_pcm_lib_mmap_iomem snd_pcm
alias symbol:snd_midi_event_new snd_seq_midi_event
alias symbol:snd_info_create_module_entry snd
alias symbol:snd_opl3_hwdep_new snd_opl3_lib
alias symbol:snd_pcm_hw_constraint_integer snd_pcm
alias symbol:snd_dma_alloc_pages snd_page_alloc
alias symbol:snd_card_pci_suspend snd
alias symbol:snd_seq_event_port_attach snd_seq
alias symbol:snd_rawmidi_kernel_write snd_rawmidi
alias symbol:snd_pcm_kernel_capture_ioctl snd_pcm
alias symbol:snd_seq_delete_kernel_client snd_seq
alias symbol:snd_pcm_kernel_ioctl snd_pcm
alias symbol:snd_info_free_entry snd
alias symbol:snd_pcm_set_ops snd_pcm
alias symbol:snd_pcm_lib_malloc_pages snd_pcm
alias symbol:snd_seq_instr_find snd_seq_instr
alias symbol:copy_from_user_toio snd
alias symbol:snd_timer_close snd_timer
alias symbol:snd_seq_instr_list_free snd_seq_instr
alias symbol:snd_pcm_hw_params snd_pcm
alias symbol:snd_pcm_build_linear_format snd_pcm
alias symbol:snd_pcm_lib_preallocate_free snd_pcm
alias symbol:snd_rawmidi_kernel_release snd_rawmidi
alias symbol:snd_pcm_hw_constraint_minmax snd_pcm
alias symbol:snd_midi_event_free snd_seq_midi_event
alias symbol:snd_pcm_hw_constraint_ratnums snd_pcm
alias symbol:snd_pcm_hw_param_mask snd_pcm
alias symbol:snd_rawmidi_input_params snd_rawmidi
alias symbol:snd_virmidi_new snd_seq_virmidi
alias symbol:cap_vm_enough_memory commoncap
alias symbol:snd_pcm_lib_read snd_pcm
alias symbol:snd_pcm_format_silence_64 snd_pcm
alias symbol:_snd_pcm_hw_param_setempty snd_pcm
alias symbol:snd_pcm_start snd_pcm
alias symbol:snd_pcm_lib_buffer_bytes snd_pcm
alias symbol:snd_pcm_hw_param_last snd_pcm
alias symbol:snd_seq_autoload_lock snd_seq_device
alias symbol:snd_pcm_lib_period_bytes snd_pcm
alias symbol:snd_pcm_hw_refine snd_pcm
alias symbol:copy_to_user_fromio snd
alias symbol:snd_seq_fm_init snd_ainstr_fm
alias symbol:snd_pcm_hw_param_set snd_pcm
alias symbol:lirc_register_plugin lirc_dev
alias symbol:snd_seq_device_load_drivers snd_seq_device
alias symbol:snd_pcm_hw_constraint_pow2 snd_pcm
alias symbol:cap_bprm_apply_creds commoncap
alias symbol:snd_interval_ratden snd_pcm
alias symbol:snd_midi_event_encode snd_seq_midi_event
alias symbol:snd_seq_instr_event snd_seq_instr
alias symbol:snd_pcm_limit_hw_rates snd_pcm
alias symbol:snd_rawmidi_drain_input snd_rawmidi
alias symbol:snd_midi_channel_free_set snd_seq_midi_emul
alias symbol:snd_pcm_subformat_name snd_pcm
alias symbol:snd_pcm_stop snd_pcm
alias symbol:snd_rawmidi_receive snd_rawmidi
alias symbol:snd_seq_kernel_client_enqueue snd_seq
alias symbol:snd_kmalloc_strdup snd
alias symbol:cap_inode_removexattr commoncap
alias symbol:cap_capset_set commoncap
alias symbol:snd_major snd
alias symbol:snd_opl3_init snd_opl3_lib
alias symbol:snd_interval_refine snd_pcm
alias symbol:snd_ctl_find_numid snd
alias symbol:snd_rawmidi_kernel_read snd_rawmidi
alias symbol:snd_seq_instr_list_free_cond snd_seq_instr
alias symbol:cap_capget commoncap
alias symbol:snd_info_register snd
alias symbol:_snd_pcm_hw_params_any snd_pcm
alias symbol:snd_pcm_kernel_playback_ioctl snd_pcm
alias symbol:snd_opl3_reset snd_opl3_lib
alias symbol:snd_pcm_mmap_data snd_pcm
alias symbol:snd_device_register snd
alias symbol:snd_ctl_find_id snd
alias symbol:snd_seq_device_register_driver snd_seq_device
alias symbol:snd_rawmidi_transmit snd_rawmidi
alias symbol:snd_seq_set_queue_tempo snd_seq
alias symbol:snd_pcm_open snd_pcm
alias symbol:snd_interval_list snd_pcm
alias symbol:snd_midi_channel_init_set snd_seq_midi_emul
alias symbol:snd_pcm_format_linear snd_pcm
alias symbol:snd_seq_instr_list_new snd_seq_instr
alias symbol:snd_pcm_format_name snd_pcm
alias symbol:snd_pcm_suspend_all snd_pcm
alias symbol:snd_pcm_lib_write snd_pcm
alias symbol:snd_oss_info_register snd
alias symbol:snd_pcm_playback_poll snd_pcm
alias symbol:snd_rawmidi_output_params snd_rawmidi
alias symbol:snd_card_free_in_thread snd
alias symbol:snd_pcm_lib_preallocate_pages snd_pcm
alias symbol:cap_syslog commoncap
alias symbol:snd_timer_global_free snd_timer
alias symbol:snd_pcm_lib_writev snd_pcm
alias symbol:snd_opl3_interrupt snd_opl3_lib
alias symbol:snd_ctl_free_one snd
alias symbol:snd_seq_dump_var_event snd_seq
alias symbol:snd_timer_pause snd_timer

Therefore it is impossible to start e.g. alsa, I'm getting then following message:

 * Loading ALSA drivers...
 * Could not detect custom ALSA settings.  Loading all detected alsa drivers.
 *   Loading: snd_cmipci...                                                                                                             [ ok ]
 *   Loading: snd-seq-oss...                                                                                                            [ ok ]
 *   Loading: snd-pcm-oss...                                                                                                            [ ok ]
 * Restoring Mixer Levels                                                                                                               [ ok ]
Comment 16 tuXXer 2004-12-29 05:16:18 UTC
Well an addition to my last post. modprobe.conf with -no-old-linux was wrong it is like:

### This file is automatically generated by modules-update
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at /etc/modules.conf and read
# the manpage for modules-update.
#
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout
alias binfmt-332 iBCS
alias binfmt--310 binfmt_java
alias block-major-1-* rd
alias block-major-2-* floppy
alias block-major-3-* ide-probe-mod
alias block-major-7-* loop
alias block-major-8-* sd_mod
alias block-major-9-* md
alias block-major-11-* sr_mod
alias block-major-13-* xd
alias block-major-15-* cdu31a
alias block-major-16-* gscd
alias block-major-17-* optcd
alias block-major-18-* sjcd
alias block-major-20-* mcdx
alias block-major-22-* ide-probe-mod
alias block-major-23-* mcd
alias block-major-24-* sonycd535
alias block-major-25-* sbpcd
alias block-major-26-* sbpcd
alias block-major-27-* sbpcd
alias block-major-29-* aztcd
alias block-major-32-* cm206
alias block-major-33-* ide-probe-mod
alias block-major-34-* ide-probe-mod
alias block-major-37-* ide-tape
alias block-major-44-* ftl
alias block-major-46-* pcd
alias block-major-47-* pf
alias block-major-56-* ide-probe-mod
alias block-major-57-* ide-probe-mod
alias block-major-58-* lvm-mod
alias block-major-88-* ide-probe-mod
alias block-major-89-* ide-probe-mod
alias block-major-90-* ide-probe-mod
alias block-major-91-* ide-probe-mod
alias block-major-93-* nftl
alias block-major-113-* viocd
alias char-major-4-* serial
alias char-major-5-* serial
alias char-major-6-* lp
alias char-major-9-* st
alias char-major-10-0 busmouse
alias char-major-10-2 msbusmouse
alias char-major-10-3 atixlmouse
alias char-major-10-130 wdt
alias char-major-10-131 wdt
alias char-major-10-135 rtc
alias char-major-10-139 openprom
alias char-major-10-144 nvram
alias char-major-10-157 applicom
alias char-major-10-175 agpgart
alias char-major-10-184 microcode
alias char-major-10-200 tun
alias char-major-10-250 hci_vhci
alias char-major-13-* input
alias char-major-13-0 joydev
alias char-major-13-32 mousedev
alias char-major-14-* soundcore
alias char-major-19-* cyclades
alias char-major-20-* cyclades
alias char-major-21-* sg
alias char-major-22-* pcxx
alias char-major-23-* pcxx
alias char-major-27-* zftape
alias char-major-34-* scc
alias char-major-35-* tclmidi
alias char-major-36-* netlink
alias char-major-37-* ide-tape
alias char-major-48-* riscom8
alias char-major-49-* riscom8
alias char-major-57-* esp
alias char-major-58-* esp
alias char-major-63-* kdebug
alias char-major-90-* mtdchar
alias char-major-96-* pt
alias char-major-97-* pg
alias char-major-99-* ppdev
alias char-major-107-* 3dfx
alias char-major-108-* ppp_generic
alias char-major-109-* lvm-mod
alias char-major-161-* ircomm-tty
alias char-major-171-* raw1394
alias char-major-195-* nvidia
alias char-major-200-* vxspec
alias char-major-206-* osst
alias char-major-216-* rfcomm
alias dos msdos
alias dummy0 dummy
alias dummy1 dummy
alias iso9660 isofs
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias md-personality-7 multipath
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-15 af_key
alias net-pf-17 af_packet
alias net-pf-31 bluez
alias netalias-2 ip_alias
alias irlan0 irlan
alias irda-dongle-0 tekram
alias irda-dongle-1 esi
alias irda-dongle-2 actisys
alias irda-dongle-3 actisys
alias irda-dongle-4 girbil
alias irda-dongle-5 litelink
alias irda-dongle-6 airport
alias irda-dongle-7 old_belkin
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alias plip0 plip
alias plip1 plip
alias tunl0 ipip
alias cipcb0 cipcb
alias cipcb1 cipcb
alias cipcb2 cipcb
alias cipcb3 cipcb
alias ppp0 ppp
alias ppp1 ppp
alias slip0 slip
alias slip1 slip
alias tty-ldisc-1 slip
alias tty-ldisc-3 ppp_async
alias tty-ldisc-11 irtty
alias tty-ldisc-14 ppp_synctty
alias tty-ldisc-15 hci_uart
alias ppp-compress-18 ppp_mppe_mppc
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias parport_lowlevel parport_pc
alias usbdevfs usbcore
alias xfrm-type-2-50 esp4
alias xfrm-type-2-51 ah4
alias xfrm-type-2-108 ipcomp
alias xfrm-type-10-50 esp6
alias xfrm-type-10-51 ah6
alias xfrm-type-10-108 ipcomp6
alias cipher_null crypto_null
alias digest_null crypto_null
alias compress_null crypto_null
alias sha384 sha512
alias char-major-81-* bttv
alias /dev/ppp ppp_generic
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
alias char-major-89-* i2c-dev
alias /dev/nvidiactl nvidia
alias char-major-116-* snd
alias snd-card-0 snd-cmipci
alias snd-card-1 snd-virmidi
alias sound-slot-0 snd-cmipci
alias sound-slot-1 snd-virmidi
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias binfmt-0064 binfmt_aout
alias tty-ldisc-13 n_hdlc
alias net-pf-24 pppoe
options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
options snd cards_limit=2
options snd-cmipci fm_port=0x388 mpu_port=0x300
options fcdsl VPI=1 VCI=32 VCC=1
install binfmt-0000 /bin/true
install char-major-10 /bin/true
install char-major-10-1 /bin/true
install /dev/svga /sbin/modprobe svgalib_helper; /bin/true
install dummy0 /sbin/modprobe -o dummy0 --ignore-install dummy
install dummy1 /sbin/modprobe -o dummy1 --ignore-install dummy
install eth0 /bin/true
install net-pf-10 /bin/true
install net-pf-19 /bin/true
install net-pf-3 /bin/true
install net-pf-6 /bin/true
install scsi_hostadapter /bin/true
Comment 17 tuXXer 2004-12-29 05:23:35 UTC
Here the output from modprobe.old -c:
=====================================
modprobe.old -c
modprobe: QM_MODULES: Function not implemented

# Generated by modprobe -c (2.4.27)
path[boot]=/lib/modules/boot
path[toplevel]=/lib/modules/2.6.9-gentoo-r13
path[toplevel]=/lib/modules/2.6
path[kernel]=/lib/modules/kernel
path[fs]=/lib/modules/fs
path[net]=/lib/modules/net
path[scsi]=/lib/modules/scsi
path[block]=/lib/modules/block
path[cdrom]=/lib/modules/cdrom
path[ipv4]=/lib/modules/ipv4
path[ipv6]=/lib/modules/ipv6
path[sound]=/lib/modules/sound
path[fc4]=/lib/modules/fc4
path[video]=/lib/modules/video
path[misc]=/lib/modules/misc
path[pcmcia]=/lib/modules/pcmcia
path[atm]=/lib/modules/atm
path[usb]=/lib/modules/usb
path[ide]=/lib/modules/ide
path[ieee1394]=/lib/modules/ieee1394
path[mtd]=/lib/modules/mtd
# Prune
prune modules.dep
prune modules.description
prune modules.generic_string
prune modules.pcimap
prune modules.isapnpmap
prune modules.usbmap
prune modules.parportmap
prune modules.ieee1394map
prune modules.pnpbiosmap
prune System.map
prune .config
prune Kerntypes
prune build
prune vmlinux
prune vmlinuz
prune bzImage
prune zImage
prune .rhkmvtag
# Aliases
alias binfmt-0000 off
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout
alias binfmt-332 iBCS
alias binfmt--310 binfmt_java
alias block-major-1 rd
alias block-major-2 floppy
alias block-major-3 ide-probe-mod
alias block-major-7 loop
alias block-major-8 sd_mod
alias block-major-9 md
alias block-major-11 sr_mod
alias block-major-13 xd
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
alias block-major-20 mcdx
alias block-major-22 ide-probe-mod
alias block-major-23 mcd
alias block-major-24 sonycd535
alias block-major-25 sbpcd
alias block-major-26 sbpcd
alias block-major-27 sbpcd
alias block-major-29 aztcd
alias block-major-32 cm206
alias block-major-33 ide-probe-mod
alias block-major-34 ide-probe-mod
alias block-major-37 ide-tape
alias block-major-44 ftl
alias block-major-46 pcd
alias block-major-47 pf
alias block-major-56 ide-probe-mod
alias block-major-57 ide-probe-mod
alias block-major-58 lvm-mod
alias block-major-88 ide-probe-mod
alias block-major-89 ide-probe-mod
alias block-major-90 ide-probe-mod
alias block-major-91 ide-probe-mod
alias block-major-93 nftl
alias block-major-113 viocd
alias char-major-4 serial
alias char-major-5 serial
alias char-major-6 lp
alias char-major-9 st
alias char-major-10 off
alias char-major-10-0 busmouse
alias char-major-10-1 off
alias char-major-10-2 msbusmouse
alias char-major-10-3 atixlmouse
alias char-major-10-130 wdt
alias char-major-10-131 wdt
alias char-major-10-135 rtc
alias char-major-10-139 openprom
alias char-major-10-144 nvram
alias char-major-10-157 applicom
alias char-major-10-175 agpgart
alias char-major-10-184 microcode
alias char-major-10-200 tun
alias char-major-10-250 hci_vhci
alias char-major-13 input
alias char-major-13-0 joydev
alias char-major-13-32 mousedev
alias char-major-14 soundcore
alias char-major-19 cyclades
alias char-major-20 cyclades
alias char-major-21 sg
alias char-major-22 pcxx
alias char-major-23 pcxx
alias char-major-27 zftape
alias char-major-34 scc
alias char-major-35 tclmidi
alias char-major-36 netlink
alias char-major-37 ide-tape
alias char-major-48 riscom8
alias char-major-49 riscom8
alias char-major-57 esp
alias char-major-58 esp
alias char-major-63 kdebug
alias char-major-90 mtdchar
alias char-major-96 pt
alias char-major-97 pg
alias char-major-99 ppdev
alias char-major-107 3dfx
alias char-major-108 ppp_generic
alias char-major-109 lvm-mod
alias char-major-161 ircomm-tty
alias char-major-171 raw1394
alias char-major-195 nvidia
alias char-major-200 vxspec
alias char-major-206 osst
alias char-major-216 rfcomm
alias dos msdos
alias dummy0 dummy
alias dummy1 dummy
alias eth0 off
alias iso9660 isofs
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias md-personality-7 multipath
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-3 off
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-6 off
alias net-pf-10 off
alias net-pf-15 af_key
alias net-pf-17 af_packet
alias net-pf-19 off
alias net-pf-31 bluez
alias netalias-2 ip_alias
alias irlan0 irlan
alias irda-dongle-0 tekram
alias irda-dongle-1 esi
alias irda-dongle-2 actisys
alias irda-dongle-3 actisys
alias irda-dongle-4 girbil
alias irda-dongle-5 litelink
alias irda-dongle-6 airport
alias irda-dongle-7 old_belkin
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alias plip0 plip
alias plip1 plip
alias tunl0 ipip
alias cipcb0 cipcb
alias cipcb1 cipcb
alias cipcb2 cipcb
alias cipcb3 cipcb
alias ppp0 ppp
alias ppp1 ppp
alias scsi_hostadapter off
alias slip0 slip
alias slip1 slip
alias tty-ldisc-1 slip
alias tty-ldisc-3 ppp_async
alias tty-ldisc-11 irtty
alias tty-ldisc-14 ppp_synctty
alias tty-ldisc-15 hci_uart
alias ppp-compress-18 ppp_mppe_mppc
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias parport_lowlevel parport_pc
alias usbdevfs usbcore
alias xfrm-type-2-50 esp4
alias xfrm-type-2-51 ah4
alias xfrm-type-2-108 ipcomp
alias xfrm-type-10-50 esp6
alias xfrm-type-10-51 ah6
alias xfrm-type-10-108 ipcomp6
alias cipher_null crypto_null
alias digest_null crypto_null
alias compress_null crypto_null
alias sha384 sha512
alias char-major-81 bttv
alias /dev/ppp ppp_generic
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
alias char-major-89 i2c-dev
alias /dev/nvidiactl char-major-195
alias char-major-116 snd
alias snd-card-0 snd-cmipci
alias snd-card-1 snd-virmidi
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias binfmt-0064 binfmt_aout
alias tty-ldisc-13 n_hdlc
alias net-pf-24 pppoe
# Options
options dummy0 -o dummy0
options dummy1 -o dummy1
options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
options snd cards_limit=2
options snd-cmipci fm_port=0x388 mpu_port=0x300
options fcdsl VPI=1 VCI=32 VCC=1
# Probeall
probeall /dev/svga svgalib_helper
# Miscellaneous file and directory names
generic_stringfile=/lib/modules/2.6.9-gentoo-r13/modules.generic_string
pcimapfile=/lib/modules/2.6.9-gentoo-r13/modules.pcimap
isapnpmapfile=/lib/modules/2.6.9-gentoo-r13/modules.isapnpmap
usbmapfile=/lib/modules/2.6.9-gentoo-r13/modules.usbmap
parportmapfile=/lib/modules/2.6.9-gentoo-r13/modules.parportmap
ieee1394mapfile=/lib/modules/2.6.9-gentoo-r13/modules.ieee1394map
pnpbiosmapfile=/lib/modules/2.6.9-gentoo-r13/modules.pnpbiosmap
depfile=/lib/modules/2.6.9-gentoo-r13/modules.dep
persistdir=/var/lib/modules/persist

Here the output of modprobe -c
### This file is automatically generated by modules-update
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at /etc/modules.conf and read
# the manpage for modules-update.
#
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout
alias binfmt-332 iBCS
alias binfmt--310 binfmt_java
alias block-major-1-* rd
alias block-major-2-* floppy
alias block-major-3-* ide-probe-mod
alias block-major-7-* loop
alias block-major-8-* sd_mod
alias block-major-9-* md
alias block-major-11-* sr_mod
alias block-major-13-* xd
alias block-major-15-* cdu31a
alias block-major-16-* gscd
alias block-major-17-* optcd
alias block-major-18-* sjcd
alias block-major-20-* mcdx
alias block-major-22-* ide-probe-mod
alias block-major-23-* mcd
alias block-major-24-* sonycd535
alias block-major-25-* sbpcd
alias block-major-26-* sbpcd
alias block-major-27-* sbpcd
alias block-major-29-* aztcd
alias block-major-32-* cm206
alias block-major-33-* ide-probe-mod
alias block-major-34-* ide-probe-mod
alias block-major-37-* ide-tape
alias block-major-44-* ftl
alias block-major-46-* pcd
alias block-major-47-* pf
alias block-major-56-* ide-probe-mod
alias block-major-57-* ide-probe-mod
alias block-major-58-* lvm-mod
alias block-major-88-* ide-probe-mod
alias block-major-89-* ide-probe-mod
alias block-major-90-* ide-probe-mod
alias block-major-91-* ide-probe-mod
alias block-major-93-* nftl
alias block-major-113-* viocd
alias char-major-4-* serial
alias char-major-5-* serial
alias char-major-6-* lp
alias char-major-9-* st
alias char-major-10-0 busmouse
alias char-major-10-2 msbusmouse
alias char-major-10-3 atixlmouse
alias char-major-10-130 wdt
alias char-major-10-131 wdt
alias char-major-10-135 rtc
alias char-major-10-139 openprom
alias char-major-10-144 nvram
alias char-major-10-157 applicom
alias char-major-10-175 agpgart
alias char-major-10-184 microcode
alias char-major-10-200 tun
alias char-major-10-250 hci_vhci
alias char-major-13-* input
alias char-major-13-0 joydev
alias char-major-13-32 mousedev
alias char-major-14-* soundcore
alias char-major-19-* cyclades
alias char-major-20-* cyclades
alias char-major-21-* sg
alias char-major-22-* pcxx
alias char-major-23-* pcxx
alias char-major-27-* zftape
alias char-major-34-* scc
alias char-major-35-* tclmidi
alias char-major-36-* netlink
alias char-major-37-* ide-tape
alias char-major-48-* riscom8
alias char-major-49-* riscom8
alias char-major-57-* esp
alias char-major-58-* esp
alias char-major-63-* kdebug
alias char-major-90-* mtdchar
alias char-major-96-* pt
alias char-major-97-* pg
alias char-major-99-* ppdev
alias char-major-107-* 3dfx
alias char-major-108-* ppp_generic
alias char-major-109-* lvm-mod
alias char-major-161-* ircomm-tty
alias char-major-171-* raw1394
alias char-major-195-* nvidia
alias char-major-200-* vxspec
alias char-major-206-* osst
alias char-major-216-* rfcomm
alias dos msdos
alias dummy0 dummy
alias dummy1 dummy
alias iso9660 isofs
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias md-personality-7 multipath
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-15 af_key
alias net-pf-17 af_packet
alias net-pf-31 bluez
alias netalias-2 ip_alias
alias irlan0 irlan
alias irda-dongle-0 tekram
alias irda-dongle-1 esi
alias irda-dongle-2 actisys
alias irda-dongle-3 actisys
alias irda-dongle-4 girbil
alias irda-dongle-5 litelink
alias irda-dongle-6 airport
alias irda-dongle-7 old_belkin
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alias plip0 plip
alias plip1 plip
alias tunl0 ipip
alias cipcb0 cipcb
alias cipcb1 cipcb
alias cipcb2 cipcb
alias cipcb3 cipcb
alias ppp0 ppp
alias ppp1 ppp
alias slip0 slip
alias slip1 slip
alias tty-ldisc-1 slip
alias tty-ldisc-3 ppp_async
alias tty-ldisc-11 irtty
alias tty-ldisc-14 ppp_synctty
alias tty-ldisc-15 hci_uart
alias ppp-compress-18 ppp_mppe_mppc
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias parport_lowlevel parport_pc
alias usbdevfs usbcore
alias xfrm-type-2-50 esp4
alias xfrm-type-2-51 ah4
alias xfrm-type-2-108 ipcomp
alias xfrm-type-10-50 esp6
alias xfrm-type-10-51 ah6
alias xfrm-type-10-108 ipcomp6
alias cipher_null crypto_null
alias digest_null crypto_null
alias compress_null crypto_null
alias sha384 sha512
alias char-major-81-* bttv
alias /dev/ppp ppp_generic
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
alias char-major-89-* i2c-dev
alias /dev/nvidiactl nvidia
alias char-major-116-* snd
alias snd-card-0 snd-cmipci
alias snd-card-1 snd-virmidi
alias sound-slot-0 snd-cmipci
alias sound-slot-1 snd-virmidi
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias binfmt-0064 binfmt_aout
alias tty-ldisc-13 n_hdlc
alias net-pf-24 pppoe
options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
options snd cards_limit=2
options snd-cmipci fm_port=0x388 mpu_port=0x300
options fcdsl VPI=1 VCI=32 VCC=1
install binfmt-0000 /bin/true
install char-major-10 /bin/true
install char-major-10-1 /bin/true
install /dev/svga /sbin/modprobe svgalib_helper; /bin/true
install dummy0 /sbin/modprobe -o dummy0 --ignore-install dummy
install dummy1 /sbin/modprobe -o dummy1 --ignore-install dummy
install eth0 /bin/true
install net-pf-10 /bin/true
install net-pf-19 /bin/true
install net-pf-3 /bin/true
install net-pf-6 /bin/true
install scsi_hostadapter /bin/true
# Aliases extracted from modules themselves.
alias char-major-195-* nvidia
alias pci:v000010DEd*sv*sd*bc03sc00i00* nvidia
alias pci:v00001131d00005402sv00001244sd00000F00bc*sc*i* fcdsl
alias pci:v000013F6d00000100sv*sd*bc*sc*i* snd_cmipci
alias pci:v000013F6d00000101sv*sd*bc*sc*i* snd_cmipci
alias pci:v000013F6d00000111sv*sd*bc*sc*i* snd_cmipci
alias pci:v000013F6d00000112sv*sd*bc*sc*i* snd_cmipci
alias pci:v000010B9d00000111sv*sd*bc*sc*i* snd_cmipci
alias sound-service-?-1 snd_seq_oss
alias sound-service-?-8 snd_seq_oss
alias sound-service-?-3 snd_pcm_oss
alias sound-service-?-12 snd_pcm_oss
alias sound-service-?-0 snd_mixer_oss
alias char-major-116-* snd
alias char-major-116-* snd
# Aliases for symbols, used by symbol_request().
alias symbol:snd_ctl_new snd
alias symbol:snd_power_wait snd
alias symbol:snd_pcm_hw_param_value_max snd_pcm
alias symbol:snd_card_free snd
alias symbol:snd_seq_autoload_unlock snd_seq_device
alias symbol:snd_info_unregister snd
alias symbol:snd_seq_device_unregister_driver snd_seq_device
alias symbol:snd_rawmidi_drain_output snd_rawmidi
alias symbol:snd_ctl_unregister_ioctl snd
alias symbol:snd_timer_global_new snd_timer
alias symbol:snd_ctl_add snd
alias symbol:snd_pcm_format_unsigned snd_pcm
alias symbol:snd_device_new snd
alias symbol:snd_virmidi_receive snd_seq_virmidi
alias symbol:snd_pcm_hw_constraint_list snd_pcm
alias symbol:snd_info_get_str snd
alias symbol:snd_pcm_hw_constraint_msbits snd_pcm
alias symbol:snd_midi_event_reset_encode snd_seq_midi_event
alias symbol:cap_task_reparent_to_init commoncap
alias symbol:snd_pcm_format_size snd_pcm
alias symbol:cap_inode_setxattr commoncap
alias symbol:snd_opl3_create snd_opl3_lib
alias symbol:snd_pcm_playback_ready snd_pcm
alias symbol:snd_seq_kernel_client_dispatch snd_seq
alias symbol:snd_pcm_open_substream snd_pcm
alias symbol:snd_device_free snd
alias symbol:snd_pcm_hw_constraints_complete snd_pcm
alias symbol:snd_pcm_period_elapsed snd_pcm
alias symbol:cap_capable commoncap
alias symbol:snd_timer_interrupt snd_timer
alias symbol:snd_pcm_hw_param_first snd_pcm
alias symbol:snd_pcm_new snd_pcm
alias symbol:snd_midi_channel_init snd_seq_midi_emul
alias symbol:snd_opl3_timer_new snd_opl3_lib
alias symbol:snd_timer_open snd_timer
alias symbol:snd_rawmidi_transmit_empty snd_rawmidi
alias symbol:snd_unregister_oss_device snd
alias symbol:snd_interval_muldivk snd_pcm
alias symbol:snd_pcm_lib_ioctl snd_pcm
alias symbol:snd_component_add snd
alias symbol:snd_iprintf snd
alias symbol:snd_pcm_new_stream snd_pcm
alias symbol:snd_timer_global_register snd_timer
alias symbol:snd_rawmidi_info_select snd_rawmidi
alias symbol:snd_pcm_sgbuf_ops_page snd_pcm
alias symbol:cap_ptrace commoncap
alias symbol:snd_seq_kernel_client_write_poll snd_seq
alias symbol:snd_seq_device_new snd_seq_device
alias symbol:snd_seq_create_kernel_client snd_seq
alias symbol:snd_midi_event_init snd_seq_midi_event
alias symbol:snd_midi_event_decode snd_seq_midi_event
alias symbol:snd_ctl_notify snd
alias symbol:snd_pcm_hw_constraint_step snd_pcm
alias symbol:snd_card_set_dev_pm_callback snd
alias symbol:snd_pcm_devices snd_pcm
alias symbol:cap_task_post_setuid commoncap
alias symbol:snd_pcm_format_physical_width snd_pcm
alias symbol:snd_timer_system_resolution snd_timer
alias symbol:snd_pcm_lib_preallocate_pages_for_all snd_pcm
alias symbol:snd_rawmidi_kernel_open snd_rawmidi
alias symbol:snd_mixer_oss_ioctl_card snd_mixer_oss
alias symbol:snd_pcm_lib_preallocate_free_for_all snd_pcm
alias symbol:snd_unregister_device snd
alias symbol:lirc_unregister_plugin lirc_dev
alias symbol:snd_pcm_capture_ready snd_pcm
alias symbol:snd_pcm_hw_constraint_ratdens snd_pcm
alias symbol:cap_bprm_set_security commoncap
alias symbol:snd_card_new snd
alias symbol:snd_pcm_lib_readv snd_pcm
alias symbol:snd_verbose_printk snd
alias symbol:snd_pcm_hw_constraints_init snd_pcm
alias symbol:snd_opl3_new snd_opl3_lib
alias symbol:snd_timer_resolution snd_timer
alias symbol:snd_pcm_hw_rule_add snd_pcm
alias symbol:snd_card_file_remove snd
alias symbol:snd_free_pages snd_page_alloc
alias symbol:snd_interval_ratnum snd_pcm
alias symbol:snd_malloc_pages snd_page_alloc
alias symbol:snd_hwdep_new snd_hwdep
alias symbol:snd_rawmidi_set_ops snd_rawmidi
alias symbol:snd_pcm_link_rwlock snd_pcm
alias symbol:snd_timer_stop snd_timer
alias symbol:snd_midi_event_encode_byte snd_seq_midi_event
alias symbol:snd_register_device snd
alias symbol:_snd_pcm_hw_param_min snd_pcm
alias symbol:snd_rawmidi_info snd_rawmidi
alias symbol:snd_seq_instr_free_use snd_seq_instr
alias symbol:snd_card_pci_resume snd
alias symbol:snd_remove_proc_entry snd
alias symbol:snd_cards snd
alias symbol:snd_pcm_format_signed snd_pcm
alias symbol:cap_capset_check commoncap
alias symbol:snd_timer_start snd_timer
alias symbol:snd_pcm_notify snd_pcm
alias symbol:_snd_pcm_hw_param_set snd_pcm
alias symbol:snd_rawmidi_transmit_ack snd_rawmidi
alias symbol:snd_interval_div snd_pcm
alias symbol:snd_dma_reserve_buf snd_page_alloc
alias symbol:snd_midi_channel_alloc_set snd_seq_midi_emul
alias symbol:snd_seq_expand_var_event snd_seq
alias symbol:snd_mpu401_uart_new snd_mpu401_uart
alias symbol:snd_midi_event_resize_buffer snd_seq_midi_event
alias symbol:snd_card_register snd
alias symbol:snd_pcm_hw_param_value_min snd_pcm
alias symbol:snd_interval_mulkdiv snd_pcm
alias symbol:snd_pcm_release_substream snd_pcm
alias symbol:snd_opl3_regmap snd_opl3_lib
alias symbol:snd_ctl_new1 snd
alias symbol:snd_device_free_all snd
alias symbol:snd_pcm_lib_free_pages snd_pcm
alias symbol:snd_card_disconnect snd
alias symbol:snd_midi_process_event snd_seq_midi_emul
alias symbol:snd_rawmidi_drop_output snd_rawmidi
alias symbol:snd_pcm_hw_param_near snd_pcm
alias symbol:snd_dma_free_pages snd_page_alloc
alias symbol:snd_ctl_remove_id snd
alias symbol:snd_pcm_set_sync snd_pcm
alias symbol:snd_info_create_card_entry snd
alias symbol:snd_request_card snd
alias symbol:snd_pcm_capture_poll snd_pcm
alias symbol:snd_seq_kernel_client_ctl snd_seq
alias symbol:snd_pcm_format_set_silence snd_pcm
alias symbol:snd_pcm_format_little_endian snd_pcm
alias symbol:cap_bprm_secureexec commoncap
alias symbol:snd_pcm_format_width snd_pcm
alias symbol:snd_mixer_oss_notify_callback snd
alias symbol:snd_seq_kernel_client_enqueue_blocking snd_seq
alias symbol:snd_seq_root snd
alias symbol:snd_pcm_format_big_endian snd_pcm
alias symbol:snd_midi_event_no_status snd_seq_midi_event
alias symbol:snd_ecards_limit snd
alias symbol:snd_timer_global_unregister snd_timer
alias symbol:snd_rawmidi_new snd_rawmidi
alias symbol:snd_info_get_line snd
alias symbol:snd_register_oss_device snd
alias symbol:snd_midi_channel_set_clear snd_seq_midi_emul
alias symbol:snd_pcm_capture_empty snd_pcm
alias symbol:snd_pcm_playback_data snd_pcm
alias symbol:snd_seq_event_port_detach snd_seq
alias symbol:snd_ctl_remove snd
alias symbol:snd_pcm_release snd_pcm
alias symbol:snd_create_proc_entry snd
alias symbol:snd_dma_alloc_pages_fallback snd_page_alloc
alias symbol:snd_ctl_register_ioctl snd
alias symbol:snd_dma_get_reserved_buf snd_page_alloc
alias symbol:snd_timer_new snd_timer
alias symbol:_snd_pcm_hw_param_setinteger snd_pcm
alias symbol:snd_mpu401_uart_interrupt snd_mpu401_uart
alias symbol:snd_timer_notify snd_timer
alias symbol:snd_rawmidi_transmit_peek snd_rawmidi
alias symbol:snd_midi_event_reset_decode snd_seq_midi_event
alias symbol:snd_card_proc_new snd
alias symbol:snd_task_name snd
alias symbol:snd_ctl_rename_id snd
alias symbol:snd_pcm_suspend snd_pcm
alias symbol:snd_card_set_pm_callback snd
alias symbol:snd_timer_continue snd_timer
alias symbol:snd_card_file_add snd
alias symbol:snd_midi_event_new snd_seq_midi_event
alias symbol:snd_pcm_lib_mmap_iomem snd_pcm
alias symbol:snd_info_create_module_entry snd
alias symbol:snd_opl3_hwdep_new snd_opl3_lib
alias symbol:snd_pcm_hw_constraint_integer snd_pcm
alias symbol:snd_dma_alloc_pages snd_page_alloc
alias symbol:snd_card_pci_suspend snd
alias symbol:snd_seq_event_port_attach snd_seq
alias symbol:snd_rawmidi_kernel_write snd_rawmidi
alias symbol:snd_pcm_kernel_capture_ioctl snd_pcm
alias symbol:snd_seq_delete_kernel_client snd_seq
alias symbol:snd_pcm_kernel_ioctl snd_pcm
alias symbol:snd_info_free_entry snd
alias symbol:snd_pcm_set_ops snd_pcm
alias symbol:snd_pcm_lib_malloc_pages snd_pcm
alias symbol:snd_seq_instr_find snd_seq_instr
alias symbol:copy_from_user_toio snd
alias symbol:snd_timer_close snd_timer
alias symbol:snd_seq_instr_list_free snd_seq_instr
alias symbol:snd_pcm_hw_params snd_pcm
alias symbol:snd_pcm_build_linear_format snd_pcm
alias symbol:snd_pcm_lib_preallocate_free snd_pcm
alias symbol:snd_rawmidi_kernel_release snd_rawmidi
alias symbol:snd_pcm_hw_constraint_minmax snd_pcm
alias symbol:snd_midi_event_free snd_seq_midi_event
alias symbol:snd_pcm_hw_constraint_ratnums snd_pcm
alias symbol:snd_pcm_hw_param_mask snd_pcm
alias symbol:snd_rawmidi_input_params snd_rawmidi
alias symbol:snd_virmidi_new snd_seq_virmidi
alias symbol:cap_vm_enough_memory commoncap
alias symbol:snd_pcm_lib_read snd_pcm
alias symbol:snd_pcm_format_silence_64 snd_pcm
alias symbol:_snd_pcm_hw_param_setempty snd_pcm
alias symbol:snd_pcm_start snd_pcm
alias symbol:snd_pcm_lib_buffer_bytes snd_pcm
alias symbol:snd_seq_autoload_lock snd_seq_device
alias symbol:snd_pcm_hw_param_last snd_pcm
alias symbol:snd_pcm_lib_period_bytes snd_pcm
alias symbol:snd_pcm_hw_refine snd_pcm
alias symbol:copy_to_user_fromio snd
alias symbol:snd_seq_fm_init snd_ainstr_fm
alias symbol:snd_pcm_hw_param_set snd_pcm
alias symbol:lirc_register_plugin lirc_dev
alias symbol:snd_seq_device_load_drivers snd_seq_device
alias symbol:snd_pcm_hw_constraint_pow2 snd_pcm
alias symbol:cap_bprm_apply_creds commoncap
alias symbol:snd_midi_event_encode snd_seq_midi_event
alias symbol:snd_interval_ratden snd_pcm
alias symbol:snd_seq_instr_event snd_seq_instr
alias symbol:snd_pcm_limit_hw_rates snd_pcm
alias symbol:snd_rawmidi_drain_input snd_rawmidi
alias symbol:snd_midi_channel_free_set snd_seq_midi_emul
alias symbol:snd_pcm_subformat_name snd_pcm
alias symbol:snd_pcm_stop snd_pcm
alias symbol:snd_rawmidi_receive snd_rawmidi
alias symbol:snd_seq_kernel_client_enqueue snd_seq
alias symbol:snd_kmalloc_strdup snd
alias symbol:cap_inode_removexattr commoncap
alias symbol:cap_capset_set commoncap
alias symbol:snd_major snd
alias symbol:snd_opl3_init snd_opl3_lib
alias symbol:snd_interval_refine snd_pcm
alias symbol:snd_ctl_find_numid snd
alias symbol:snd_rawmidi_kernel_read snd_rawmidi
alias symbol:snd_seq_instr_list_free_cond snd_seq_instr
alias symbol:cap_capget commoncap
alias symbol:snd_info_register snd
alias symbol:_snd_pcm_hw_params_any snd_pcm
alias symbol:snd_pcm_kernel_playback_ioctl snd_pcm
alias symbol:snd_opl3_reset snd_opl3_lib
alias symbol:snd_pcm_mmap_data snd_pcm
alias symbol:snd_device_register snd
alias symbol:snd_ctl_find_id snd
alias symbol:snd_seq_device_register_driver snd_seq_device
alias symbol:snd_rawmidi_transmit snd_rawmidi
alias symbol:snd_seq_set_queue_tempo snd_seq
alias symbol:snd_pcm_open snd_pcm
alias symbol:snd_interval_list snd_pcm
alias symbol:snd_midi_channel_init_set snd_seq_midi_emul
alias symbol:snd_pcm_format_linear snd_pcm
alias symbol:snd_seq_instr_list_new snd_seq_instr
alias symbol:snd_pcm_format_name snd_pcm
alias symbol:snd_pcm_suspend_all snd_pcm
alias symbol:snd_pcm_lib_write snd_pcm
alias symbol:snd_oss_info_register snd
alias symbol:snd_pcm_playback_poll snd_pcm
alias symbol:snd_rawmidi_output_params snd_rawmidi
alias symbol:snd_card_free_in_thread snd
alias symbol:snd_pcm_lib_preallocate_pages snd_pcm
alias symbol:cap_syslog commoncap
alias symbol:snd_timer_global_free snd_timer
alias symbol:snd_pcm_lib_writev snd_pcm
alias symbol:snd_opl3_interrupt snd_opl3_lib
alias symbol:snd_ctl_free_one snd
alias symbol:snd_seq_dump_var_event snd_seq
alias symbol:snd_timer_pause snd_timer

It seems that generate-modprobe.conf using the wrong section to create modprobe.conf when using modprobe instead of modprobe.old (which is a sym link to insmod.old)?????
Comment 18 tuXXer 2004-12-29 05:30:09 UTC
Well it seems that generate-modprobe.conf remove not needed parts from "modprobe.old -c" and this removing doesn't work right for using modprobe instead of modprobe.old
Comment 19 tuXXer 2004-12-29 05:43:48 UTC
I think to solve this problem generated-modprobe.conf need to be changed and a symlink from /sbin/modprobe to /sbin/modprobe.old is needed. In my opinion there should be a 

two further detection switches

/sbin/modprobe.old -V 2>/dev/null | grep -q 'module-init-tools version'
modprobe.old -V 2>/dev/null | grep -q 'module-init-tools version'

Then it is possible to know if we using only new module-init-tools or module-init-tooles and old modprobe together.

When using only new module-init-tools only the right not neede lines should be removed from modprobe.old -c output and the should "+no-old-linux" work...

What do you think...?
Comment 20 John Nilsson 2005-01-07 03:32:37 UTC
Just to bring some life into this bug:

What exactly is required from modules-update? My systems seems to work without /etc/modules.d, /etc/modules.conf and /etc/modprobe.conf, I assume that the files provided by baselayout is thus redunant. Even alsa i working...

generate-modprobe.conf is supposed to translate from modules.conf to modprobe.conf and if the old modules.conf config isn't needed this too is redunant.

So the original goal of modules-update should be most easily fixed by removing references to generate-modprobe.conf and change the syntax expectations for modules.d
Comment 21 John Nilsson 2005-01-07 04:22:04 UTC
Some googeling later...
http://groups.google.se/groups?hl=sv&lr=&threadm=MPG.1c432c991ca2a215989695%40localhost&rnum=22&prev=/groups%3Fq%3Dmodprobe.conf%26start%3D20%26hl%3Dsv%26lr%3D%26scoring%3Dd%26selm%3DMPG.1c432c991ca2a215989695%2540localhost%26rnum%3D22

apparently modules.d will be handled by modprobe, a quick check in modprobe.c from the 3.1 package confirms this. So modules-update really are redundant.
Comment 22 John Nilsson 2005-01-07 12:02:26 UTC
correction: modprobe.d not modules.d
Comment 23 tuXXer 2005-01-07 13:25:16 UTC
First, thanks to bring life back to this thread. The alsa-utils init script call modprobe for getting an information which soundcard drivers are defined for a system

/etc/init.d/alsasound, Line 58
DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $2}')"

It seems that modprobe -c looks for modprobe.conf which would be generated with modprobe.old. When this file is not created or created with modprobe for 2.6 I get an error like "Could not detect custom ALSA settings.  Loading all detected alsa drivers." Therefore it is impossible for me to use the three sound card I'd configured on my system.
Comment 24 tuXXer 2005-01-07 13:31:51 UTC
The google thread says the I need modprobe.d instead of modprobe.conf must be deleted? But, every ebuild I installed installing needed information into modules.d. Would all ebuild write it information to modprobe.d, at a later moment?
Comment 25 tuXXer 2005-01-07 14:09:06 UTC
O.K. following works with version 3.1 (NOT with stable = 3.0)

Removing modprobe.conf and creating modprobe.d and copying any configs for modules.d into it. Mading some changes to configs, because some options are gone, i.e. probeall.

But, to get this work for the future, in my opinion, all ebuilds that install config files into module.d needing adopted configuration for 2.6 and should install this configuration into modprobe.d.

Here are the packages which installing configs into modules.d:
- app-cdr/cdrw-base
- app-laptop/thinkpad
- app-laptop/toshiba-utils
- games-arcade/ddrmat
- media-libs/svgalib
- media-sound/alsa-utils
- media-sound/emu10k1
- media-sound/nforce-audio
- media-tv/ivtv
- media-tv/linuxtv-dvb
- media-video/dxr2-drive
- media-video/em8300-modules
- media-video/nvidia-kernel
- media-video/usb-pwcx
- media-video/usb-pwc-re
- net-dialup/fcdsl
- net-dialup/ltmodem
- net-dialup/ppp
- net-dialup/slmodem
- net-dialup/mwavem
- net-fs/davfs2
- net-misc/e1000
- net-misc/ifenslave
- net-misc/zaptel
- net-wireless/ndiswrapper
- sys-apps/baselayout
- sys-apps/pcfclock
- sys-apps/s390-oco
- sys-apps/x86info
- sys-fs/devfsd
- x11-base/x11-drm

maybe some more.

When making adaptation in the ebuild, in my opinion, it is useful to use "no-old-linux" to not install 2.4 configuration file and only 2.6 adpoted one.
What do you think?
Comment 26 Daniel Drake (RETIRED) gentoo-dev 2005-01-07 14:34:23 UTC
I'm not a module-init-tools maintainer, but module-init-tools-3.1 had some fairly common problems with kernels older than 2.6.10. So this is not something that we can immediately switch to but would be a good option in the future.
Comment 27 SpanKY gentoo-dev 2005-01-09 18:09:54 UTC
*** Bug 77227 has been marked as a duplicate of this bug. ***
Comment 28 Mark Janssen 2005-01-10 08:16:05 UTC
I've got this problem with module-init-tools v3.1 and gentoo-dev-sources 2.6.10-r4.
Comment 29 tuXXer 2005-01-12 01:20:22 UTC
I readed about 2005.0 and 2.6. This problem is a showstopper for it, isn't it?

The problem is that
a) module-init-tools is designed for 2.6 infrastructure and modutils for 2.4 infrastructure. In Gentoo module-init-tools is a mixture of both. A pure module-init-tools is only possible with using USE="no-old-linux". IMHO module-init-tools should only install 2.6 infrastructure files. That means,

module-init-tools should detect an installed modutils and probe if .old files exists. When .old files doesn't exists the installition should be aborted an info to uninstall modutils should be displayed. Then module-init-tools could be installed. When some one want to use 2.4 and 2.6 together the modutils ebuild should check for an installed module-init-tools and place the files then to the .old locations.

b) module-init-tools is missing needed directories. In 2.6 module configurations are located in modprobe.d and the system reades modules.conf. In 2.4 module configurations are located in modules.d and the system reades either modules.conf or modprobe.conf. modprobe.conf is only created and used when modules.d exists (this is only when 2.4 and 2.6 exists on a system together). According to a) module-init-tools should install modprobe.d and modutils module.d. All packages which install module configuration should check for an install module-init-tools or modutils and install adopted 2.4 and 2.6 configuration in the right places (e.g. by expanding the eclass for this with a install-configuration_24 and install-configuration_26 part).
Comment 30 Paul Pacheco 2005-01-24 09:50:29 UTC
Created attachment 49393 [details, diff]
generate-modprobe.conf.patch

This patch should fix the problem. This works for me, but it should be tested
by more people.

Explanation:
generate-modprobe.conf is just a filter (very slow one) that receives a file in
modules.conf format and translates it to modprobe.conf format.
By default, it takes it's input from modprobe.old -c which reads
/etc/modules.conf, and prints it to stdout + some defaults that come from
modules.dep. The output modprobe.conf contains a translated modules.conf +
defaults from modules.dep. Note this is a potential problem because instead of
using the default configuration from 2.6, it is using defaults from 2.4 and
applying them to the 2.6 kernel.

This patch just takes the file /etc/modules.conf, and feeds it to
generate-modprobe.conf. The defaults coming from modules.dep are not
translated.

Using the new modprobe is not good because it will read /etc/modprobe.conf, not
/etc/modules.conf. It would not translate the 2.4 config to the 2.6 config, but
the 2.6 to 2.6.
Comment 31 tuXXer 2005-01-25 01:27:21 UTC
Am I wrong, but this didn't solve the problem, that two different directories are need to hold the configuration for 2.4 and 2.6 separatly? There are different commands that 2.6 module-init-tools couldn't understand (i.e. probeall). Then the whole configuration (e.g. alsa) is ignored. How could this be resolved? Other distries using the concept that module-init-tools depends on the modprobe.d directory structure and modutils on modules.d... Furthermore there is no way to install a pure 2.6 system without "no-old-linux" and modutils. A pure 2.6 system is only available wenn unmerge modutils and using "no-old-linux" (because module-init-tools = module-init-tools + modutils; module-init-tools = module-init-tools when using "no-old-linux")
Comment 32 Paul Pacheco 2005-01-25 07:05:08 UTC
the new modprobe works with only kernel 2.6 and can work in two modes:
* reading modprobe.conf
* reading contents of modprobe.d
If modprobe.conf exists, the first method is used, if not, the second.

The old modprobe reads modules.conf, and only works with kernel 2.4.

Modules-init-tools normally installs both modprobes. the old one is named
modprobe.old 

The current gentoo way is to read modules.conf (which is configuration for the
old modprobe) and produce modprobe.conf which is the configuration for new
modprobe. The script generate-modprobe.conf does exactly this and requires the
old modprobe to be present. The patch posted removes that requirement, so it is
now possible to use the generate-modprobe.conf withought the old modprobe.old,
that is with the use flag no-old-linux (which is disabled atm).
generate-modprobe.conf reads the commands from modules.conf such as "probeall"
and translates them to the equivalents in modprobe.conf such as "install" (man
modprobe.conf for more on this)

Ideally, this translation should not happen and modprobe should read
modprobe.d. For that to happen, alsa, svgalib and other packages need to be
modified to add a file there. Until that happens, the posted patch allows
you to run a system with the no-old-linux use flag, that is emerge module-init-tools without modutils. 

Comment 33 Simone Gotti (RETIRED) gentoo-dev 2005-01-25 14:33:42 UTC
> By default, it takes it's input from modprobe.old -c which reads
/etc/modules.conf, and prints it to stdout + some defaults that come from
modules.dep. The output modprobe.conf contains a translated modules.conf +
defaults from modules.dep.

Just a note. It not takes the default from modules.dep, but the OLD modprobe has this defaults hardcoded. Look at the file modutils-2.4.27/util/alias.h.
Comment 34 Simone Gotti (RETIRED) gentoo-dev 2005-01-25 14:34:56 UTC
*** Bug 35067 has been marked as a duplicate of this bug. ***
Comment 35 SpanKY gentoo-dev 2005-02-09 18:06:40 UTC
Created attachment 50880 [details, diff]
modules-update.patch

could you guys try this ?
Comment 36 John Nilsson 2005-02-20 06:18:48 UTC
So to resolve this bug the following is needed:

1. All packages needing special module configuration for 2.6 kernels must be identified (according to bug #48736 not all needing it for 2.4 needs it for 2.6). These packages should put this config in /etc/modprobe.d/

2. modules-update should only be used for 2.4 kernels, in other words modprobe.conf is deprecated.

Why not make an einfo from module-init-tools that tells the user to remove all deprecated files from /etc and file bugs against the packages that breaks? =)

Comment 37 Volker Hemmann 2005-09-26 04:10:35 UTC
Hi, 
 
I get this error at every boot - is this in any way 'dangerous', or one of them, I can 
safely ignore? 
 
Comment 38 Makyver 2006-01-04 07:26:25 UTC
Ok guys ... any word on how this is going ... there is a slew of new problems with the alsa 1.0.10 and module-init-tools 3.2.1 ... if you upgrade to 3.2.1 sound either errors loading the modules or looks good but will not actually play sound and locks up anything trying to access the sound devices ie. xmms mpg123 ... Any word on the correct way to fix this ... I just downgraded to 3.0-r2 and it works but I would like to move forward ... I'm running the 2.6.13-gentoo-r3 kernel so if I knew that a full re-emerge of the system with the no-old-linux use flag would work I would bite the bullet and spend the time .. as it is I've even gone as for as to emerge the 3.2.2 ebuild of module-init-tools and this doesn't help ... after reading all the chatter in this bug I see why ... any news would be greatly appreciated. Thanks for a great distro

Geoffrey
Comment 39 SpanKY gentoo-dev 2006-01-04 07:30:48 UTC
there is no "slew of new problems"

search bugzilla and maybe you'll find Bug 117257
Comment 40 SpanKY gentoo-dev 2006-05-03 19:25:06 UTC
baselayout-1.12.0_pre19+ and module-init-tools-3.2.2-r1+ should handle all of this graciously
Comment 41 Richard H. 2007-01-10 12:03:01 UTC
It seems something is bad again in version 3.2.2-r1,
many users suffer from this for instance when emerging nvidia-drivers with no-old-linux set.
System stops responding and must be rebooted after time.
Comment 42 SpanKY gentoo-dev 2007-01-10 14:22:49 UTC
unrelated issue, update your modules-init-tools