Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA troubles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
potatoface
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: ::7F00:1

PostPosted: Mon Aug 30, 2004 7:08 pm    Post subject: ALSA troubles Reply with quote

hi,

i have problems with alsa.

at the beginning i thought it was a problem with mm-kernel.
the systems hangs on startup but only with kernel 2.6.8-rc4-mm1 & 2.6.8-gentoo-r3
both kernels hang on the same place, before alsa detection.

i have kernel 2.4.26-gentoo-r9 too and it detects alsa and starts normal.

Code:
Detected ALSA ....
.......


please help me.

i compiled the 2.6 kernel several times with the same result.
i followed the alsa-guide in the docs and installed all this f****** alsa-packages again and again.
when i try to boot, the kernel hangs.....

any help is appreciated! :|
_________________
The generation of random numbers is too important to be left to chance.
Adopt an unanswered post.
Back to top
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Mon Aug 30, 2004 8:07 pm    Post subject: Reply with quote

First, a few questions. What driver are you using, and is it a module or binary?
_________________
jabber: MighMoS@jabber.org

localhost # export HOME=`which heart`
Back to top
View user's profile Send private message
potatoface
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: ::7F00:1

PostPosted: Tue Aug 31, 2004 8:10 am    Post subject: Reply with quote

hi,

i use (only the sound related stuff)

Code:
snd-intel8x0
snd-pcm-oss
snd-mixer-oss


i compiled the intel8x0 as a module.

is it possible that my system hangs because i compiled

Code:
soundcore


directly into the kernel and not as a module?

please help me :cry:
_________________
The generation of random numbers is too important to be left to chance.
Adopt an unanswered post.
Back to top
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Tue Aug 31, 2004 7:16 pm    Post subject: Reply with quote

Are those listed with the 2.4 kernel, or the 2.6 kernel?

I doubt your kernel hangs because soundcore is compiled directly into the kernel, because I have almost *everything* compiled into my kernel, nad I have no problems.

I'm honestly not sure what else to ask, as I've never had your problem before. About the only other thing I could recommend would be running a "make mrproper" in your 2.6 kernel tree, and try rebuilding it (that wipes out everything, including the .config file, so you could back that up if you needed. It ensures a clean build.)
_________________
jabber: MighMoS@jabber.org

localhost # export HOME=`which heart`
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Tue Aug 31, 2004 7:38 pm    Post subject: Reply with quote

Make sure you emerged alsa-utils, alsa-lib, but not alsa-driver.
Back to top
View user's profile Send private message
potatoface
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: ::7F00:1

PostPosted: Wed Sep 01, 2004 11:31 am    Post subject: Reply with quote

hi,

i emerged alsa-utils, alsa-lib and alsa-driver

because i need alsa-driver for my 2.4 kernel, i think.
_________________
The generation of random numbers is too important to be left to chance.
Adopt an unanswered post.
Back to top
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Wed Sep 01, 2004 1:04 pm    Post subject: Reply with quote

What is your /usr/src/linux symlink pointing to? Because if it points to your 2.6 kernel, that could affect things.
_________________
jabber: MighMoS@jabber.org

localhost # export HOME=`which heart`
Back to top
View user's profile Send private message
potatoface
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: ::7F00:1

PostPosted: Wed Sep 01, 2004 3:52 pm    Post subject: Reply with quote

hi MighMoS,

/usr/src/linux symlink is pointing to 2.6.8-gentoo-r3!
_________________
The generation of random numbers is too important to be left to chance.
Adopt an unanswered post.
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Wed Sep 01, 2004 5:48 pm    Post subject: Reply with quote

I think you cannot use alsa in a 2.6 kernel if you have alsa-driver emerged. So try to unmerge it, make modules_install and reboot with your 2.6 kernel.
Back to top
View user's profile Send private message
potatoface
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: ::7F00:1

PostPosted: Wed Sep 01, 2004 7:34 pm    Post subject: Reply with quote

oumpah-pah wrote:
I think you cannot use alsa in a 2.6 kernel if you have alsa-driver emerged. So try to unmerge it, make modules_install and reboot with your 2.6 kernel.


i have two kernels installed

Code:
2.4.26-gentoo-r9
2.6.8-rc4-mm1


i certainly unmerged 2.6.8-gentoo-r3 kernel. i dont need it because it stops at the same place as mm-kernel!

but now to the alsa-driver.

i need alsa-driver for 2.4 kernel but not for 2.6 kernel?

does this mean that i have to emerge alsa-driver after compiling the 2.4 kernel but when it comes to the 2.6 kernel i just leave it out?

please let me know if i am right :o
_________________
The generation of random numbers is too important to be left to chance.
Adopt an unanswered post.
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Wed Sep 01, 2004 7:48 pm    Post subject: Reply with quote

Alsa is integrated into the 2.6 kernel series, so you must not install alsa-driver when you want to use one of these kernels. I understand that you need it with your 2.4 kernel, but I can't figure a way to have both kernels working. I guess you have to make a choice now...
Back to top
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Thu Sep 02, 2004 2:18 am    Post subject: Reply with quote

Oumpah-pah: From what I've gathered, alsa-driver installs similarly as nvidia-kernel does. If the /usr/src/linux sym link points to a 2.4 kernel at the time of install, then it should certainly be ok (I think).

Potatoface, when using the 2.6.x kernels, it is not nessisary to install alsa-driver. Instead, under device drivers--> sound, enable alsa, and the appropriate driver for you card there.
_________________
jabber: MighMoS@jabber.org

localhost # export HOME=`which heart`
Back to top
View user's profile Send private message
potatoface
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: ::7F00:1

PostPosted: Thu Sep 02, 2004 8:37 pm    Post subject: Reply with quote

thank you guys,

i have unmerged the 2.4 kernel and when i boot now my 2.6 kernel it starts up without any problem.

the only thing is that everytime i reboot

the master channel is unmuted and set to 100 but

the pcm channel is muted and set to 0.

i must use alsamixer to unmute it and then sound works.

does anyone know how to solve this?
_________________
The generation of random numbers is too important to be left to chance.
Adopt an unanswered post.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum