LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-14-2010, 08:43 PM   #1
x111
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 49

Rep: Reputation: 7
Alsa problem with kernel 2.6.35.7


Recently I've upgraded to kernel 2.6.35.7, so far everything's been fine, except for my onboard HDA Intel sound driver. I've set soundcore, snd and hda-intel to be built as modules. At reboot, modprobe complained:
Quote:
Fatal: module snd_intel8x0 not found
Then I opened /etc/modprobe.d/sound and replace the name of the module with 'snd-hda-intel', which I think to be its new name in the new kernel.

At rebooting, the module seemed to be loaded fine, but unexpectedly 'alsactl' raised a complaint:
Quote:
alsa: load_stated:1610: No soundcards found...
Here the outout of lsmod:
Code:
# lsmod
Module                  Size  Used by
snd_seq_dummy           1154  0 
snd_seq_oss            19863  0 
snd_seq_midi_event      4598  1 snd_seq_oss
snd_seq                33968  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4543  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            27820  0 
snd_mixer_oss          10443  1 snd_pcm_oss
snd_hda_intel          17017  0 
snd_hda_codec          55585  1 snd_hda_intel
snd_hwdep               4312  1 snd_hda_codec
snd_pcm                52730  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              13509  2 snd_seq,snd_pcm
snd                    39709  10 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               4473  1 snd
snd_page_alloc          5805  2 snd_hda_intel,snd_pcm
Here's the output of lspci:
Code:
# lspci | grep Audio
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
Here's the output of cat /proc/asound/cards:
Code:
# cat /proc/asound/cards
--- no soundcards ---
I've also run alsaconf. It could run but could detect no sound card: "No supported PnP or PCI card found".

Strange thing is that I did have sound and could play music with kernel 2.6.33.4 shipped with slackware 13.1. Does anyone experience the same problem with this? Do I have to compile the alsa-driver manually from source?

Any help or suggestions is appreciated. Thank you.
 
Old 10-14-2010, 09:21 PM   #2
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
I think you maybe should go back and check the kernel configuration. Maybe loading the old kernel that worked will help you sort out the problem.
 
1 members found this post helpful.
Old 10-15-2010, 12:26 AM   #3
x111
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by mazinoz View Post
I think you maybe should go back and check the kernel configuration. Maybe loading the old kernel that worked will help you sort out the problem.
Thank you mazinoz. I'm downloading the kernel source of 2.33.4 from slackware to see if I've missed something with the configuration.

In the meantime, I've retrieved the latest v1.0.23 source for alsa-drive from the ALSA project, and trying to build the driver from source following this "official guide from ALSA": http://alsa-project.org/main/index.p...dule-hda-intel. But I've also run into other trouble with the compilation.

./configure gave this warning, but continued successfully:
Code:
# ./configure --with-cards=hda-intel --with-sequencer=yes
configure: WARNING: unrecognized options: --with-cards
...
Ignored the warning, continued with make, which gave me lines of messages and ended up with just errors:

Code:
make -C /lib/modules/2.6.35.7/source SUBDIRS=/root/alsa-driver-1.0.23  CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/linux-2.6.35.7'
  CC [M]  /root/alsa-driver-1.0.23/acore/sgbuf.o
In file included from /root/alsa-driver-1.0.23/acore/sgbuf.c:17:
/root/alsa-driver-1.0.23/acore/../alsa-kernel/core/sgbuf.c: In function 'snd_free_sgbuf_pages':
/root/alsa-driver-1.0.23/acore/../alsa-kernel/core/sgbuf.c:46: error: dereferencing pointer to incomplete type
/root/alsa-driver-1.0.23/acore/../alsa-kernel/core/sgbuf.c:47: error: dereferencing pointer to incomplete type
/root/alsa-driver-1.0.23/acore/../alsa-kernel/core/sgbuf.c:48: error: dereferencing pointer to incomplete type
...
/root/alsa-driver-1.0.23/acore/../alsa-kernel/core/sgbuf.c:128: error: dereferencing pointer to incomplete type
/root/alsa-driver-1.0.23/acore/../alsa-kernel/core/sgbuf.c:132: error: dereferencing pointer to incomplete type
make[3]: *** [/root/alsa-driver-1.0.23/acore/sgbuf.o] Error 1
make[2]: *** [/root/alsa-driver-1.0.23/acore] Error 2
make[1]: *** [_module_/root/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.35.7'
make: *** [compile] Error 2
Do you have any ideas why it won't compile. I'm using the same tools I used to compile the kernel. Or is it kind of an error in the new code of ALSA (which I think rather impossible)? Do I need some special libraries to compile it ?
 
Old 10-15-2010, 03:11 AM   #4
x111
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by mazinoz View Post
I think you maybe should go back and check the kernel configuration. Maybe loading the old kernel that worked will help you sort out the problem.
Oh, my bad. After having checked for a while, I found out that I left out the snd-intel8x0. Now I've had it built as a module and there's music again.

Thank you again for the suggestion mazinoz. At last there is no problem at all.
 
  


Reply



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
Is the problem with ALSA Driver or Kernel? heffo_j Linux - General 1 03-22-2008 06:45 PM
Alsa problem in kernel 2.6 sirdreis Debian 2 08-17-2005 09:27 PM
ALSA-Problem with kernel 2.6.11.12 zorolowski Slackware 4 07-08-2005 12:18 PM
ALSA in FC 2 Kernel 2.6.8-1.358 Problem satria Linux - Newbie 3 10-14-2004 06:37 AM
ALSA problem after compiling kernel. the_rydster Slackware 8 03-04-2004 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration