LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   No sound with hda-intel card on Sony Vaio laptop using Gentoo (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/no-sound-with-hda-intel-card-on-sony-vaio-laptop-using-gentoo-540275/)

xadist 03-24-2007 05:08 PM

No sound with hda-intel card on Sony Vaio laptop using Gentoo
 
Hey Everyone,

Not sure what my problem is but I cannot get any sound to work no matter what I try. Here's my lspci output:
Quote:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Expr ess Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Exp ress Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express In tegrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Aud io Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (r ev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (r ev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (r ev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (r ev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Control ler (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (re v 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (re v 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA S torage Controller IDE (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Et hernet Controller (rev 13)
06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Conne ction (rev 02)
0a:03.0 CardBus bridge: Texas Instruments Unknown device 8039
0a:03.1 FireWire (IEEE 1394): Texas Instruments Unknown device 803a
0a:03.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
Sound works in windows so it's not a hardware issue and I have tried all the different methods with ALSA (i.e. Built in to the kernel, module in the kernel, and installing the ALSAdriver package)

I am currently using the alsadriver package and receiving the following error when I do
Quote:

/etc/init.d/alsasound start
Quote:

* Loading ALSA modules ...
* Loading: snd-card-0 ...
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.20-gentoo/alsa-driver/acore/snd-page-alloc.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.20-gentoo/alsa-driver/acore/snd.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.20-gentoo/alsa-driver/acore/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_pcm (/lib/modules/2.6.20-gentoo/alsa-driver/acore/snd-pcm.ko): Invalid module format
WARNING: Error inserting snd_hda_codec (/lib/modules/2.6.20-gentoo/alsa-driver/pci/hda/snd-hda-codec.ko): Invalid module format
FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.20-gentoo/alsa-driver/pci/hda/snd-hda-intel.ko): Invalid module format [ !! ]
* Loading: snd-seq ...
WARNING: Error inserting snd (/lib/modules/2.6.20-gentoo/alsa-driver/acore/snd.ko): Invalid module format
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.20-gentoo/alsa-driver/acore/seq/snd-seq-device.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.20-gentoo/alsa-driver/acore/snd-timer.ko): Invalid module format
FATAL: Error inserting snd_seq (/lib/modules/2.6.20-gentoo/alsa-driver/acore/seq/snd-seq.ko): Invalid module format [ !! ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ...
cat: /proc/asound/cards: No such file or directory
The error I get when ALSA is in the kernel is shorter and basically says the hardware cannot be found.

Any help would be appreciated,

Zac

comprookie2000 03-24-2007 09:19 PM

I would try the alsa-driver package. I would start fresh.
Code:

cd /usr/src
rm linux
emerge --sync
emerge gentoo-sources
ls <--- see if the symbolic link is there
cd /usr/src/linux
make menuconfig
#  CONFIG_SOUND is set. (Basic Sound support enabled)
# CONFIG_SOUND_PRIME is not set. (In-built OSS support disabled)
# CONFIG_SND is not set. (In-built ALSA support disabled)
make
make modules_install
mount /boot
make install
the new kernel will be vmlinuz
edit grub

Follow the Using the ALSA Driver package
Boot into new kernel
alsaconf
something like that ...

SML 03-24-2007 09:24 PM

What happens with distros like knoppix, slax, puppy ?

xadist 03-25-2007 12:11 PM

Sound works fine using a KANOTIX CD. There was something interesting though on a side note. Originally I attempted to manually place the character nodes in /dev/snd. After this I started alsamixer and I assumed something was wrong because there was no "Master" bar. However sound works in kanotix and there is still no "Master" bar.

Hope this helps,

-- Zac

xadist 03-25-2007 07:08 PM

Alright I've fixed it, thanks for the suggestions guys.

--Zac

grenzbegriffe 05-25-2007 08:51 PM

how?
 
Quote:

Originally Posted by xadist
Alright I've fixed it, thanks for the suggestions guys.

--Zac


nevertheless i would appreciate that you could tell how did you do, because i'm having the same problem and it seems there's different ways to fix it.

no one of them works for me.

i've compiled the modules in the kernel, i've put them away, installed and de-installed the alsa-driver package. always the same result:

shohoku ~ # modprobe snd-hda-intel
WARNING: Error inserting snd (/lib/modules/2.6.20-gentoo-r8tenzai/alsa-driver/acore/snd.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.20-gentoo-r8tenzai/alsa-driver/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.20-gentoo-r8tenzai/alsa-driver/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_hda_codec (/lib/modules/2.6.20-gentoo-r8tenzai/alsa-driver/pci/hda/snd-hda-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.20-gentoo-r8tenzai/alsa-driver/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
shohoku ~ # alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
shohoku ~ #

i think it has something to do with libraries linking, but i don't know how

how can i make an all-fresh reinstallation only of alsa?

Any help would be infinitely appreciated

comprookie2000 05-25-2007 09:18 PM

Are you using genkernel? Are you using alsa from the kernel?
I think you compiled your own kernel.
try this;
enable alsa and oss as modules "m" plus your card.
Code:

mount /boot
cd /usr/src/linux
make menuconfig
make
make modules_install
make install

the new kernel will be called vmlinuz, add it to grub.conf
something like;
Code:


title=test
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz root=/dev/sda3

boot into the new kernel
lsmod <-- see if the modules are loaded
alsaconf
/etc/init.d/alsasound start
rc-update add alsasound boot
what happens?

grenzbegriffe 06-01-2007 12:01 PM

thanks a lot, i appreciate it, really, but duh, that was all my fault, i've made a simple script to copy the bzImage in the /boot directory keeping the old kernel, but i wasn't passing the correct variables, so i compiled like 20 different combinations for the sound section, nevertheless, i had always used the very same kernel which was compiled with alsa as built-in.

Once i realized of my error, i used a kernel without alsa support, emerged alsa-driver, alsa-utils, alsa-headers, etc. and ta-da, now the machine runs swiftly with great quality sound.

Thanks a lot anyway. Greetings comrades!


All times are GMT -5. The time now is 11:32 PM.