LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 03-24-2007, 05:08 PM   #1
xadist
LQ Newbie
 
Registered: Mar 2007
Distribution: Gentoo
Posts: 13

Rep: Reputation: 0
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
 
Old 03-24-2007, 09:19 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
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 ...
 
Old 03-24-2007, 09:24 PM   #3
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Rep: Reputation: 30
What happens with distros like knoppix, slax, puppy ?
 
Old 03-25-2007, 12:11 PM   #4
xadist
LQ Newbie
 
Registered: Mar 2007
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
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

Last edited by xadist; 03-25-2007 at 01:04 PM.
 
Old 03-25-2007, 07:08 PM   #5
xadist
LQ Newbie
 
Registered: Mar 2007
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
Alright I've fixed it, thanks for the suggestions guys.

--Zac
 
Old 05-25-2007, 08:51 PM   #6
grenzbegriffe
LQ Newbie
 
Registered: May 2007
Posts: 2

Rep: Reputation: 0
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

Last edited by grenzbegriffe; 05-25-2007 at 08:53 PM.
 
Old 05-25-2007, 09:18 PM   #7
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
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?

Last edited by comprookie2000; 05-25-2007 at 09:22 PM.
 
Old 06-01-2007, 12:01 PM   #8
grenzbegriffe
LQ Newbie
 
Registered: May 2007
Posts: 2

Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HDA intel Sound Card Sounds problems with intel sound card on Ubuntu zengingok Linux - Hardware 9 08-17-2007 11:52 AM
Tips for those with a Intel 2200bg(on a SONY VAIO laptop) & SUSE 9.2 ganja_guru Linux - Wireless Networking 42 10-25-2005 10:56 AM
broken sound card in a sony vaio pcg-frv25 hybridion Linux - Laptop and Netbook 1 05-12-2005 08:38 AM
Sound problems on Sony Vaio Type S (Intel 82801DB ICH4) ]grimm[ Linux - Hardware 2 08-24-2004 01:44 PM
sound on SONY vaio laptop hkcp Linux - Laptop and Netbook 4 12-17-2003 11:00 AM


All times are GMT -5. The time now is 03:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration