[CentOS-devel] snd_hda_intel module tweaking

Mon Apr 21 22:37:39 UTC 2014
Chris Pemberton <cjpembo at gmail.com>

Long story short... I'm recompiling the snd_hda_intel module to enable 
CONFIG_SND_HDA_RECONFIG.  This will allow me to reset the pins on the 
card to get my sound working.  (This option is already set in arch and 
ubuntu - where I can reprogram my pins and get sound working).

I followed the 2 CentOS wikis pertaining to getting the full kernel 
sources and compiling a module... all seemed to go perfect. 
Unfortunately, when I try to load the new snd_hda_intel.ko module, I get 
the following:

FATAL: Error inserting snd_hda_intel 
(/lib/modules/2.6.32-431.11.2.el6.x86_64/extra/snd-hda-intel.ko): 
Invalid module format

A little googling suggested I run 'file' on the two modules and here is 
the output:

/lib/modules/2.6.32-431.11.2.el6.x86_64/extra/snd-hda-intel.ko: ELF 
64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped

/lib/modules/2.6.32-431.11.2.el6.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko: 
ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped

They seem identical?  Any suggestions where I could go from here? I'm 
currently recompiling the entire kernel and will just copy over the new 
modules and see if something better happens.

Thanks,

Chris