Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61388 - ALSA doesn't start in Kernel 2.6.8.1 at bootup, hitting CTRL + c solves this,,. but it's annoying
Summary: ALSA doesn't start in Kernel 2.6.8.1 at bootup, hitting CTRL + c solves this,...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://nopaste.php.cd/26684
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 08:39 UTC by Stephan
Modified: 2004-08-25 04:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan 2004-08-23 08:39:31 UTC
Well, 2.6.7 and 2.6.8 is OKAY, it says like this:
cleaning /var OK
cleaning /tmp OK
Detecting ALSA
Restoring MixerLevels
Setting up fonts..
Entering Runlevel3
etc..

2.6.8.1 is doing this:

cleaning /var OK
cleaning /tmp OK
*hangs up*
pushing ctrl + c 
setting up fonts...
entering runlevel3


so it boots up:
if i do a /etc/init.d/alsasound status
it says its startet, and it works!

shutdown or reboot says also this:
unloading ALSA
restoring MixerLebels

i have _no_ clue what's this annoying Ctrl + C at bootup, also sound seems to have a lower quality then on a 2.6.7 or 2.6.8 kernel




Reproducible: Always
Steps to Reproduce:
Comment 1 Stephan 2004-08-23 08:40:06 UTC
this is the nopaste:

+ echo -e ' * Using ALSA OSS emulation'
 * Using ALSA OSS emulation
+ return 0
++ modprobe -l
++ grep 'snd.*oss'
++ sed -e 's:\/.*\/::' -e 's:\..*::'
+ OSS=snd-seq-oss
snd-pcm-oss
snd-mixer-oss
+ DRIVERS=snd-seq-oss 
+ DRIVERS=snd-pcm-oss snd-seq-oss 
+ DRIVERS=snd-mixer-oss snd-pcm-oss snd-seq-oss 
+ '[' -z 'snd-mixer-oss snd-pcm-oss snd-seq-oss ' ']'
+ '[' -z 'snd-mixer-oss snd-pcm-oss snd-seq-oss ' ']'
+ '[' '!' snd-mixer-oss = off ']'
++ cut '-d ' -f1 /proc/modules
++ egrep '^snd-mixer-oss$'
+ '[' -z ']'
++ cut '-d ' -f1 /proc/modules
++ egrep '^snd_mixer_oss$'
+ '[' -z ']'
+ einfo 'Loading: snd-mixer-oss'
+ '[' no '!=' yes ']'
 * Loading: snd-mixer-oss
+ return 0
+ /sbin/modprobe snd-mixer-oss
+ '[' '!' snd-pcm-oss = off ']'
++ cut '-d ' -f1 /proc/modules
++ egrep '^snd-pcm-oss$'
+ '[' -z ']'
++ cut '-d ' -f1 /proc/modules
++ egrep '^snd_pcm_oss$'
+ '[' -z ']'
+ einfo 'Loading: snd-pcm-oss'
+ '[' no '!=' yes ']'
+ echo -e ' * Loading: snd-pcm-oss'
 * Loading: snd-pcm-oss
+ return 0
+ /sbin/modprobe snd-pcm-oss
+ '[' '!' snd-seq-oss = off ']'
++ cut '-d ' -f1 /proc/modules
++ egrep '^snd-seq-oss$'
+ '[' -z ']'
++ cut '-d ' -f1 /proc/modules
++ egrep '^snd_seq_oss$'
+ '[' -z ']'
+ einfo 'Loading: snd-seq-oss'
+ return 0
+ /sbin/modprobe snd-seq-oss
+ sleep 1
+ '[' -f /proc/asound/seq/drivers ']'
++ awk -F, '$2~/^empty$/ {print $1}' /proc/asound/seq/drivers <-- here it hangs up!

hitting ctrl + c continues booting
Comment 2 Alexander Koch 2004-08-23 12:19:44 UTC
I have the same problem, and did a cat on /proc/asound/seq/drivers and the file seems to be infinite long, containing two lines, repeated forever
 snd-seq-midi,loaded,requested,1
 snd-seq-oss,loaded,0


Comment 3 Stephan 2004-08-23 14:49:42 UTC
yep, it's the same at my box.. did u alsa in kernel? or did u emerge the stuff?
i've made the kernel again with alsa stuff as MODUL!
anything fine now, but i've a short black screen if it loads the module at startup
Comment 4 Stephan 2004-08-23 14:49:55 UTC
yep, it's the same at my box.. did u alsa in kernel? or did u emerge the stuff?
i've made the kernel again with alsa stuff as MODUL!
anything fine now, but i've a short black screen if it loads the module at startup
Comment 5 Alexander Koch 2004-08-23 15:56:13 UTC
I used the emerged alsa drivers, but now compiled all the necessary modules from kernel sources and it works fine (and the seq/drivers is now two lines long *g*). Thanks for the hint.

I couldn't reboot, because I am still compiling the gimp, so I restarted /etc/init.d/alsasound from a terminal under gnome and experienced no screen blanking or other weird stuff, maybe when I reboot.
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2004-08-25 04:28:44 UTC
This issue seems to be fixed, closing the bug.