You are not logged in.

#1 2009-01-10 14:56:15

RonnieUL
Member
From: Russia, Ulyanovsk city
Registered: 2007-11-01
Posts: 9

kernel 2.6.28, HDA module don't work

I have an issue with Alsa drivers(1.0.18a) and 2.6.28 kernel...

I installed the new kernel 2.6.28 from sources. All works correctly, except for the sound.
In configuration i enabled sound-support as a module.

After complete install ALSA-drivers, i run "modprobe snd-hda-intel" and get this message:

# modprobe snd-hda-intel
FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.28/kernel/sound/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)

---------
Configuring Alsa-driver:

# ./configure --with-kernel=/usr/src/linux-2.6.28 --with-cards=hda-intel --with-card-options=hda-codec-cmedia

No errors.

Making with 2 warnings:

# make
....
  CC [M]  /root/driver/alsa-driver-1.0.18a/pci/hda/patch_cmedia.o
  LD [M]  /root/driver/alsa-driver-1.0.18a/pci/hda/snd-hda-intel.o
  Building modules, stage 2.
  MODPOST 7 modules
WARNING: "register_sound_special_device" [/root/driver/alsa-driver-1.0.18a/acore/snd.ko] undefined!
WARNING: "unregister_sound_special" [/root/driver/alsa-driver-1.0.18a/acore/snd.ko] undefined!

dmesg output this information:

# dmesg
......
snd: Unknown symbol unregister_sound_special                                                                         
snd: Unknown symbol register_sound_special_device                                                                    
snd_timer: Unknown symbol snd_info_register                                                                          
snd_timer: Unknown symbol snd_info_create_module_entry                                                               
snd_timer: Unknown symbol snd_info_free_entry                                                                        
snd_timer: Unknown symbol snd_verbose_printk                                                                         
snd_timer: Unknown symbol snd_iprintf                                                                                
snd_timer: Unknown symbol snd_ecards_limit                                                                           
snd_timer: Unknown symbol snd_oss_info_register                                                                      
snd_timer: Unknown symbol snd_unregister_device                                                                      
snd_timer: Unknown symbol snd_device_new                                                                             
snd_timer: Unknown symbol snd_register_device_for_dev                                                                
snd_pcm: Unknown symbol snd_info_register                                                                            
snd_pcm: Unknown symbol snd_info_create_module_entry                                                                 
snd_pcm: Unknown symbol snd_timer_notify                                                                             
snd_pcm: Unknown symbol snd_timer_interrupt                                                                          
snd_pcm: Unknown symbol snd_info_free_entry                                                                          
snd_pcm: Unknown symbol snd_add_device_sysfs_file                                                                    
snd_pcm: Unknown symbol snd_info_get_str                                                                             
snd_pcm: Unknown symbol snd_verbose_printk                                                                           
snd_pcm: Unknown symbol snd_ctl_register_ioctl                                                                       
snd_pcm: Unknown symbol snd_card_file_add                                                                            
snd_pcm: Unknown symbol snd_iprintf                                                                                  
snd_pcm: Unknown symbol snd_major                                                                                    
snd_pcm: Unknown symbol snd_unregister_device                                                                        
snd_pcm: Unknown symbol snd_timer_new                                                                                
snd_pcm: Unknown symbol snd_device_new                                                                               
snd_pcm: Unknown symbol snd_ctl_unregister_ioctl                                                                     
snd_pcm: Unknown symbol snd_lookup_minor_data                                                                        
snd_pcm: Unknown symbol snd_info_create_card_entry                                                                   
snd_pcm: Unknown symbol snd_power_wait                                                                               
snd_pcm: Unknown symbol snd_device_free                                                                              
snd_pcm: Unknown symbol snd_card_file_remove                                                                         
snd_pcm: Unknown symbol snd_register_device_for_dev                                                                  
snd_pcm: Unknown symbol snd_device_register                                                                          
snd_pcm: Unknown symbol snd_info_get_line                                                                            
snd_hda_codec: Unknown symbol snd_ctl_add_slave                                                                      
snd_hda_codec: Unknown symbol snd_ctl_add                                                                            
snd_hda_codec: Unknown symbol snd_card_proc_new                                                                      
snd_hda_codec: Unknown symbol snd_ctl_find_id                                                                        
snd_hda_codec: Unknown symbol snd_verbose_printk                                                                     
snd_hda_codec: Unknown symbol snd_ctl_new1                                                                           
snd_hda_codec: Unknown symbol snd_component_add                                                                      
snd_hda_codec: Unknown symbol snd_ctl_make_virtual_master                                                            
snd_hda_codec: Unknown symbol snd_iprintf                                                                            
snd_hda_codec: Unknown symbol snd_ctl_boolean_mono_info                                                              
snd_hda_codec: Unknown symbol snd_device_new                                                                         
snd_hda_codec: Unknown symbol snd_pci_quirk_lookup                                                                   
snd_hda_codec: Unknown symbol snd_pcm_hw_constraint_step                                                             
snd_hda_codec: Unknown symbol snd_pcm_format_width                                                                   
snd_hda_intel: Unknown symbol snd_pcm_new                                                                            
snd_hda_intel: Unknown symbol snd_pcm_limit_hw_rates                                                                 
snd_hda_intel: Unknown symbol snd_card_register                                                                      
snd_hda_intel: Unknown symbol snd_card_free                                                                          
snd_hda_intel: Unknown symbol snd_pcm_lib_preallocate_pages_for_all                                                  
snd_hda_intel: Unknown symbol snd_hda_bus_new                                                                        
snd_hda_intel: Unknown symbol snd_hda_build_pcms                                                                     
snd_hda_intel: Unknown symbol snd_pcm_set_sync                                                                       
snd_hda_intel: Unknown symbol snd_verbose_printk                                                                     
snd_hda_intel: Unknown symbol snd_hda_codec_new                                                                      
snd_hda_intel: Unknown symbol snd_hda_queue_unsol_event                                                              
snd_hda_intel: Unknown symbol snd_pcm_sgbuf_get_chunk_size                                                           
snd_hda_intel: Unknown symbol snd_card_new                                                                           
snd_hda_intel: Unknown symbol snd_pcm_lib_malloc_pages                                                               
snd_hda_intel: Unknown symbol snd_pcm_lib_ioctl                                                                      
snd_hda_intel: Unknown symbol snd_pcm_lib_free_pages                                                                 
snd_hda_intel: Unknown symbol snd_hda_calc_stream_format                                                             
snd_hda_intel: Unknown symbol snd_pcm_set_ops                                                                        
snd_hda_intel: Unknown symbol snd_hda_suspend                                                                        
snd_hda_intel: Unknown symbol snd_device_new                                                                         
snd_hda_intel: Unknown symbol snd_pcm_sgbuf_ops_page                                                                 
snd_hda_intel: Unknown symbol snd_pcm_suspend_all                                                                    
snd_hda_intel: Unknown symbol snd_card_disconnect                                                                    
snd_hda_intel: Unknown symbol snd_hda_resume                                                                         
snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_integer                                                          
snd_hda_intel: Unknown symbol snd_hda_build_controls                                                                 
snd_hda_intel: Unknown symbol snd_pci_quirk_lookup                                                                   
snd_hda_intel: Unknown symbol snd_pcm_period_elapsed                                                                 
snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_step                                                             
snd: Unknown symbol unregister_sound_special                                                                         
snd: Unknown symbol register_sound_special_device                                                                    
snd_timer: Unknown symbol snd_info_register                                                                          
snd_timer: Unknown symbol snd_info_create_module_entry                                                               
snd_timer: Unknown symbol snd_info_free_entry                                                                        
snd_timer: Unknown symbol snd_verbose_printk                                                                         
snd_timer: Unknown symbol snd_iprintf                                                                                
snd_timer: Unknown symbol snd_ecards_limit                                                                           
snd_timer: Unknown symbol snd_oss_info_register                                                                      
snd_timer: Unknown symbol snd_unregister_device                                                                      
snd_timer: Unknown symbol snd_device_new                                                                             
snd_timer: Unknown symbol snd_register_device_for_dev                                                                
snd_pcm: Unknown symbol snd_info_register                                                                            
snd_pcm: Unknown symbol snd_info_create_module_entry                                                                 
snd_pcm: Unknown symbol snd_timer_notify                                                                             
snd_pcm: Unknown symbol snd_timer_interrupt                                                                          
snd_pcm: Unknown symbol snd_info_free_entry                                                                          
snd_pcm: Unknown symbol snd_add_device_sysfs_file                                                                    
snd_pcm: Unknown symbol snd_info_get_str                                                                             
snd_pcm: Unknown symbol snd_verbose_printk                                                                           
snd_pcm: Unknown symbol snd_ctl_register_ioctl                                                                       
snd_pcm: Unknown symbol snd_card_file_add                                                                            
snd_pcm: Unknown symbol snd_iprintf                                                                                  
snd_pcm: Unknown symbol snd_major                                                                                    
snd_pcm: Unknown symbol snd_unregister_device                                                                        
snd_pcm: Unknown symbol snd_timer_new                                                                                
snd_pcm: Unknown symbol snd_device_new                                                                               
snd_pcm: Unknown symbol snd_ctl_unregister_ioctl                                                                     
snd_pcm: Unknown symbol snd_lookup_minor_data                                                                        
snd_pcm: Unknown symbol snd_info_create_card_entry                                                                   
snd_pcm: Unknown symbol snd_power_wait                                                                               
snd_pcm: Unknown symbol snd_device_free                                                                              
snd_pcm: Unknown symbol snd_card_file_remove                                                                         
snd_pcm: Unknown symbol snd_register_device_for_dev                                                                  
snd_pcm: Unknown symbol snd_device_register                                                                          
snd_pcm: Unknown symbol snd_info_get_line

Anybody have any ideas to fix this problem?

Intel 915P chipset
Cmedia 9880 High Definition Audio

sorry for my bad english..

Offline

#2 2009-01-11 15:40:01

RonnieUL
Member
From: Russia, Ulyanovsk city
Registered: 2007-11-01
Posts: 9

Re: kernel 2.6.28, HDA module don't work

-=up=-

Offline

#3 2009-01-12 02:03:25

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: kernel 2.6.28, HDA module don't work

May I ask Why did you install the ALSA-drivers ?
The drivers seem to be available in the vanilla kernel .

 Symbol: SND_HDA_CODEC_CMEDIA [=n]                                                                          │  
  │ Prompt: Build C-Media HD-audio codec support                                                               │  
  │   Defined at sound/pci/Kconfig:584                                                                         │  
  │   Depends on: SOUND && !M68K && SND && SND_PCI && SND_HDA_INTEL                                            │  
  │   Location:                                                                                                │  
  │     -> Device Drivers                                                                                      │  
  │       -> Sound card support (SOUND [=m])                                                                   │  
  │         -> Advanced Linux Sound Architecture (SND [=m])                                                    │  
  │           -> PCI sound devices (SND_PCI [=y])                                                              │  
  │             -> Intel HD Audio (SND_HDA_INTEL [=n])

Last edited by Nezmer (2009-01-12 02:04:39)


English is not my native language .

Offline

#4 2009-01-12 12:21:52

RonnieUL
Member
From: Russia, Ulyanovsk city
Registered: 2007-11-01
Posts: 9

Re: kernel 2.6.28, HDA module don't work

Thanks, Nezmer!
It's work! Simple these options have been disabled in my .config file.

Offline

#5 2009-01-12 13:06:10

RonnieUL
Member
From: Russia, Ulyanovsk city
Registered: 2007-11-01
Posts: 9

Re: kernel 2.6.28, HDA module don't work

Now i found a new problem... sad sad sad
Sound playback is working. I listening some mp3's in XMMS with using the Alsa plugin.
However, volume control doesn't work.

If enable the software volume control in alsa plugin, then I have volume control, but it's not ideal and it doesn't help me when I'm not using XMMS...

In alsamixer I see only PCM, Surround, Center, LFE, Side switches (only mute, unmute). Volume control only on PC Speaker.
I don't have Master Volume or PCM Volume controls...

PLEASE help to solve my volume control problem.

Listing of asound.state:

state.Intel {
    control.1 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'PCM Playback Switch'
        value.0 true
        value.1 true
    }
    control.2 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Surround Playback Switch'
        value.0 true
        value.1 true
    }
    control.3 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Center Playback Switch'
        value true
    }
    control.4 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'LFE Playback Switch'
        value true
    }
    control.5 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Side Playback Switch'
        value.0 false
        value.1 false
    }
    control.6 {
        comment.access 'read write'
        comment.type ENUMERATED
        comment.count 1
        comment.item.0 'Front Mic'
        comment.item.1 'Rear Mic'
        comment.item.2 Line
        comment.item.3 CD
        iface MIXER
        name 'Input Source'
        value 'Front Mic'
    }
    control.7 {
        comment.access 'read write'
        comment.type ENUMERATED
        comment.count 1
        comment.item.0 'Front Mic'
        comment.item.1 'Rear Mic'
        comment.item.2 Line
        comment.item.3 CD
        iface MIXER
        name 'Input Source'
        index 1
        value 'Front Mic'
    }
    control.8 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 30'
        comment.dbmin 0
        comment.dbmax 4500
        iface MIXER
        name 'Capture Volume'
        value.0 0
        value.1 0
    }
    control.9 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 30'
        comment.dbmin 0
        comment.dbmax 4500
        iface MIXER
        name 'Capture Volume'
        index 1
        value.0 0
        value.1 0
    }
    control.10 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Capture Switch'
        value.0 false
        value.1 false
    }
    control.11 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Capture Switch'
        index 1
        value.0 false
        value.1 false
    }
    control.12 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 15'
        comment.dbmin -4500
        comment.dbmax 0
        iface MIXER
        name 'PC Speaker Playback Volume'
        value.0 0
        value.1 0
    }
    control.13 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'PC Speaker Playback Switch'
        value.0 false
        value.1 false
    }
}

Offline

#6 2009-01-12 15:24:27

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: kernel 2.6.28, HDA module don't work

I don't think I can help with the volume control issue .

The only thing I can think of is deleting 'asound.state' and restarting alsa . Maybe the file was created before fixing the kernel issue .


English is not my native language .

Offline

Board footer

Powered by FluxBB