Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound gone after upgrade to kernel 2.6.5
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mooerito
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 187
Location: Zurich/Switzerland

PostPosted: Thu Apr 08, 2004 8:48 am    Post subject: Sound gone after upgrade to kernel 2.6.5 Reply with quote

hi there!

i just upgraded my kernel from 2.6.4 to 2.6.5 (finally a bug with my notebooks power management got fixed) since which i do not have sound any more. i compiled in all the necessary kernel modules (got an AC97 soundcard) and my sound card also gets detected during boot, but when i want to play a sound i cant hear anything. when i reboot using the 2.6.4 kernel everything works fine (except the power management bug, but thats a different story)
have i forgotten something? i think i heared something about a new alsa version being distributed with the 2.6.5 kernel, do i need to upgrade any alsa packages?

thanks for your help
moo
Back to top
View user's profile Send private message
basvdijk
n00b
n00b


Joined: 07 Apr 2003
Posts: 48
Location: Netherlands

PostPosted: Thu Apr 08, 2004 9:46 am    Post subject: Reply with quote

I've got the same problem here...
Back to top
View user's profile Send private message
BobTheLumberJack
n00b
n00b


Joined: 22 Mar 2004
Posts: 20
Location: Japan

PostPosted: Thu Apr 08, 2004 12:01 pm    Post subject: Reply with quote

Hi.

Emerge alsa-utils and then execute 'alsamixer'. You'll need to UNMUTE all of the relative volumes, like MASTER and PCM, etc. It's best to raise the volumes up to 100% and then mess with them later to find the best value.

Hope this works for you.
Back to top
View user's profile Send private message
mooerito
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 187
Location: Zurich/Switzerland

PostPosted: Thu Apr 08, 2004 3:57 pm    Post subject: Reply with quote

no that didnt do it. i reemerged alsa-utils and all channels are unmuted and 100%, still silence.
any ideas what could help? anyone?
Back to top
View user's profile Send private message
ultrasonic
n00b
n00b


Joined: 07 Mar 2004
Posts: 55

PostPosted: Thu Apr 08, 2004 11:15 pm    Post subject: Reply with quote

did you emerge oss-emulation.

Did you follow the alsa guide? Add alsa to boot run level? Try booting to init level 3 and typing (as root)

> echo "test" > /dev/dsp

See if you hear a click

Alternatively type

> cat /dev/urandom > /dev/dsp

This should give you white noise (static). If you do not hear anything and you are 100% you have unmuted channels, then there is probably something wrong in your install. What sound card is it?
Back to top
View user's profile Send private message
mooerito
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 187
Location: Zurich/Switzerland

PostPosted: Fri Apr 09, 2004 11:17 am    Post subject: Reply with quote

its a intel 8x0 soundcard (AC97). it works absolutely fine unter kernel <= 2.6.4, only when switching to 2.6.5 i wont do anything anymore.
but i havent tried the oss-emulation stuff yet, wasnt necessary and wasnt written in the alsa guide, afaik. ill try it.
Back to top
View user's profile Send private message
mooerito
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 187
Location: Zurich/Switzerland

PostPosted: Fri Apr 09, 2004 12:53 pm    Post subject: Reply with quote

ok i emergeed alsa-oss (couldnt find oss-emulation package, but i think thats what you meant), didnt change anything.

echo "test" > /dev/dsp works with 2.6.4 (as suspected, since sound normally works fine in 2.6.4) but not with 2.6.5

afaik in 2.6.5 alsa is based on the alsa 1.0.4 version, but since 1.0.4 isnt stable in gentoo yet im still using 1.0.3 ... could this be a problem?
Back to top
View user's profile Send private message
Lex_Brugman
n00b
n00b


Joined: 28 Mar 2004
Posts: 43
Location: Netherlands

PostPosted: Fri Apr 09, 2004 6:05 pm    Post subject: Reply with quote

I've got the exact same problem :( , worked in <= 2.6.4
Back to top
View user's profile Send private message
Lex_Brugman
n00b
n00b


Joined: 28 Mar 2004
Posts: 43
Location: Netherlands

PostPosted: Fri Apr 09, 2004 6:27 pm    Post subject: Reply with quote

I just found out that if you go to xmms and then to the settings of the alsa-output and then change the device from default to "*****(hw:1,0)" and then ok everything. and now play a song! it works :D :D :lol:, but still no sound in other apps. :cry:

ultrasonic wrote:

> echo "test" > /dev/dsp

See if you hear a click

nope, but > echo "test" > /dev/dsp1 does click :P, strange :@

EDIT: upgrading alsa-lib & alsa-utils to 1.0.4 doesn't help either :(
Back to top
View user's profile Send private message
Slyde
Guru
Guru


Joined: 14 Jul 2003
Posts: 314

PostPosted: Sat Apr 10, 2004 2:07 am    Post subject: Reply with quote

Interesting. All I did was add another drive, install Windows so I could have a dual boot setup, now sound doesn't work.

cat /dev/urandom > /dev/dsp outputs not sound

ogg123 and mpg123 will start to decode the ogg or mp3 but freeze, with no sound, tried different output drivers in xmms with nothing. I receive no error with anything. Alsamixer shows nothing being muted. Checked for a possible IRQ conflict. Nothing.

Amazing how Windows can still break things without even running....

Kernel 2.6.3
Back to top
View user's profile Send private message
Boohbah
Apprentice
Apprentice


Joined: 17 Oct 2003
Posts: 250
Location: Seattle

PostPosted: Sat Apr 10, 2004 2:13 am    Post subject: Reply with quote

mooerito wrote:

afaik in 2.6.5 alsa is based on the alsa 1.0.4 version, but since 1.0.4 isnt stable in gentoo yet im still using 1.0.3 ... could this be a problem?

Yes, upgrade alsa-lib, alsa-utils, and alsa-oss to 1.0.4 and see if that fixes it.
_________________
Never try to explain computers to a layman. It's easier to explain sex to a virgin.
-- Robert Heinlein

(Note, however, that virgins tend to know a lot about computers.)
Back to top
View user's profile Send private message
Slyde
Guru
Guru


Joined: 14 Jul 2003
Posts: 314

PostPosted: Sat Apr 10, 2004 3:51 am    Post subject: Reply with quote

Fixed my problem. Seems that adding another hd (hdc) presented an IRQ conflict. All I did was change IRQ's in the BIOS.

Solved.
Back to top
View user's profile Send private message
hanzotutu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 170

PostPosted: Sat Apr 10, 2004 4:27 am    Post subject: Reply with quote

I met the same problem....I didn't add another hd to my laptop. :?

BTW, headphone works.
Back to top
View user's profile Send private message
Lex_Brugman
n00b
n00b


Joined: 28 Mar 2004
Posts: 43
Location: Netherlands

PostPosted: Sat Apr 10, 2004 8:54 am    Post subject: Reply with quote

kraid wrote:
mooerito wrote:

afaik in 2.6.5 alsa is based on the alsa 1.0.4 version, but since 1.0.4 isnt stable in gentoo yet im still using 1.0.3 ... could this be a problem?

Yes, upgrade alsa-lib, alsa-utils, and alsa-oss to 1.0.4 and see if that fixes it.


Doesn't work like i said in my previous post.
Back to top
View user's profile Send private message
mooerito
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 187
Location: Zurich/Switzerland

PostPosted: Sat Apr 10, 2004 11:47 am    Post subject: Reply with quote

ive just seen gentoo-dev-sources 2.6.5 are marked stable, has anyone tried those yet? (i only tried the sources i downloaded directly from kernel.org). atm i just have an isdn line to my availability so i cant download new sources, but maybe they do the trick.
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sat Apr 10, 2004 11:53 am    Post subject: Reply with quote

Also check your dmesg to see what it says about alsa and soundcard(s) configuration.
Back to top
View user's profile Send private message
Lex_Brugman
n00b
n00b


Joined: 28 Mar 2004
Posts: 43
Location: Netherlands

PostPosted: Sat Apr 10, 2004 5:26 pm    Post subject: Reply with quote

mooerito wrote:
ive just seen gentoo-dev-sources 2.6.5 are marked stable, has anyone tried those yet? (i only tried the sources i downloaded directly from kernel.org). atm i just have an isdn line to my availability so i cant download new sources, but maybe they do the trick.

This thread is about the 2.6.5 stable, apart from the sound not working it works great.
Back to top
View user's profile Send private message
mooerito
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 187
Location: Zurich/Switzerland

PostPosted: Sat Apr 10, 2004 5:27 pm    Post subject: Reply with quote

i tried the gentoo-dev-sources-2.6.5 ... no change still no sound on the internal laptop speakers, but i can confirm the working headphones. looks like some bug in the alsa drivers to me.
does anyone know if there a bugzilla for the kernel? oder maybe some other place to check for this bug.
Back to top
View user's profile Send private message
Boohbah
Apprentice
Apprentice


Joined: 17 Oct 2003
Posts: 250
Location: Seattle

PostPosted: Sun Apr 11, 2004 12:21 am    Post subject: Reply with quote

Hmm i had sound working fine in 2.6.5 vanilla with alsa-lib, alsa-oss, and alsa-utils all at 1.0.4, intel8x0 driver built into the kernel. Now i'm running a 2.6.5-love3 kernel and sound still works, pretty much the same config.
_________________
Never try to explain computers to a layman. It's easier to explain sex to a virgin.
-- Robert Heinlein

(Note, however, that virgins tend to know a lot about computers.)
Back to top
View user's profile Send private message
Lex_Brugman
n00b
n00b


Joined: 28 Mar 2004
Posts: 43
Location: Netherlands

PostPosted: Sun Apr 11, 2004 9:56 am    Post subject: Reply with quote

kraid wrote:
Hmm i had sound working fine in 2.6.5 vanilla with alsa-lib, alsa-oss, and alsa-utils all at 1.0.4, intel8x0 driver built into the kernel. Now i'm running a 2.6.5-love3 kernel and sound still works, pretty much the same config.


Maybey this problem is specific for ac97 soundcards (mine is a via82xx ac97 (Realtek ACL650))
Back to top
View user's profile Send private message
YannTechGeek
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2003
Posts: 107
Location: France 94

PostPosted: Sun Apr 11, 2004 9:41 pm    Post subject: Reply with quote

Hello,

I have nForce2 Chipset (motherboard Asus A7N8X-E Deluxe Edition)
Audio sound work !
Code:

uname -r
2.6.5-gentoo


i have added in /etc/asound.conf
Code:

pcm.intel8x0 {
        type hw
        card 0
}
pcm.!default {
        type plug
        slave.pcm "intel8x0"
}
pcm.intel8x0 {
        type dmix
        ipc_key 1234
        slave {
                pcm "hw:0,0"
                period_time 0
#                period_size 1024
#                buffer_size 32768   (if you add a buffer, sound  is not sync with Video :s)
#                rate 44100
        }
}


;)

Oss Emulation also Run, but my serious problem, i don't have DUPLEX ....
i have tried with ~/.asoundrc ....
Code:

ogg123 divnum1.ogg
ALSA lib pcm_hw.c:1056:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Périphérique ou ressource occupé // peripheral busy
ALSA lib pcm_dmix.c:867:(snd_pcm_dmix_open) unable to open slave
=== Impossible de charger le pilote par défaut, et aucun autre pilote n'est indiqué dans le fichier de configuration. Terminaison. // Cannot load default module, no module are defined in conf file


(sorry for my bad english)

Best Regard Yann
_________________
Geekeurs a plein temps --- Gentoo ~x86 2.6.12-nitro5 AMD 3000+ A7N8X-E Deluxe 1536Mo DDR PC3200 ATI X800 Pro Maxtor 200Go Western-Digital 80Go
Back to top
View user's profile Send private message
rutulian
n00b
n00b


Joined: 13 Jun 2002
Posts: 15
Location: Brandeis University

PostPosted: Sun Apr 11, 2004 9:46 pm    Post subject: Reply with quote

I had the best luck just not using the kernel alsa drivers. I know its the same code, but for some reason it didn't play well with my system. So I just compiled sound support as a module and did

emerge alsa-driver, alsa-libs, alsa-utils

just as I used to with the 2.4 kernel. Everything works great.
Back to top
View user's profile Send private message
Lex_Brugman
n00b
n00b


Joined: 28 Mar 2004
Posts: 43
Location: Netherlands

PostPosted: Mon Apr 12, 2004 1:18 pm    Post subject: Reply with quote

rutulian wrote:
I had the best luck just not using the kernel alsa drivers. I know its the same code, but for some reason it didn't play well with my system. So I just compiled sound support as a module and did

emerge alsa-driver, alsa-libs, alsa-utils

just as I used to with the 2.4 kernel. Everything works great.

But iwant it in the kernel, it worked that way before with the 2.6.4 kernel
Back to top
View user's profile Send private message
nein
Guru
Guru


Joined: 14 Nov 2003
Posts: 346
Location: Spain

PostPosted: Mon Apr 12, 2004 2:22 pm    Post subject: Reply with quote

Something similar happened to me when going from 2.6.3 to 2.6.5. See this thread

I also have a intel 8x0 sound card
Back to top
View user's profile Send private message
Jaboo
n00b
n00b


Joined: 06 Apr 2004
Posts: 41

PostPosted: Mon Apr 12, 2004 2:37 pm    Post subject: Reply with quote

I don't have any more info to offer, but I thought I would add my voice to the rest. I also have the recently released 2.6.5 gentoo-dev-sources. I also have the 2.6.3-r1 gentoo-dev-sources. I have kept up with the gentoo updates. So, I have version 1.0.3 of alsa-libs, alsa-utils, and alsa-oss. I have only alsa compiled as modules for both of my kernels, and I use the intel8x0 kernel driver for my Dell Inspiron 5100 notebook. If I boot into the 2.6.3-r1 kernel, I have sound as good as can be expected from notebook speakers. However, if I boot into the 2.6.5 kernel, I have no sound. I have read in one of these threads that headphone sound works, but I have not had a chance to test that yet. Hopefully this will be resolved.

Just an FYI, but I have found a bug report with ALSA that matches our problem:
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000188

I'm not sure if any of this would pertain to our issue, but the 2.6.5 kernel changelog contains the following:

<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
- added the ac97 quirk for Intel D845WN (82801BA)

<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
- return with IRQ_RETVAL() for the unknown IRQ bits (often found on nForce2)
with debug messages.

<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Intel8x0 driver
Added spinlock to pointer callback - ichdev->position is not changed atomically

<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
- clean up the irq status bit debugging.
- added nVidia Ck8S support.

<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PCM Midlevel,Intel8x0 driver
- added snd_pcm_limit_hw_rates() to determine the min/max rates from
rates bits.

<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
- fixed the allocation/release of buffer descriptor table.

<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Intel8x0 driver
Converted to new DMA allocation API

<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core,Intel8x0 driver,VIA82xx driver,CS46xx driver
- fixed ALC100/P Master/PCM volume handling (h/w bug)
- added ALC65x JACK quirk
- disabled IC5 PERL mobo quirk
- fixed Mic/Center sharing switch on ALC65x.
- fixed Mic BIAS on ALC650.
- added extra delay in the resume if needed.
- renamed 'External Amplifier Power Down' to 'External Amplifier'
- added a workaround for the reversed EAPD of cs46xx voyetra.

<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
fixed the interrupt problem with NForce(2).

<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Intel8x0 driver
Added slot definitions for s/pdif pcm - ICH4

<perex@suse.cz>
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Intel8x0 driver
add Intel ICH6 and ESB

<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
added the quirk for Compaq Evo D510C.

<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
Removed the unprocessed IRQ detection, it seems bogus.

<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
disable the legacy midi/joystick properly as default.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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