Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74938 - devices not created with als폐関*
Summary: devices not created with als폐関*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-19 07:16 UTC by pinihadad
Modified: 2004-12-20 05:00 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 pinihadad 2004-12-19 07:16:29 UTC
When I upgraded a bunch of stuff including alsa-lib from 1.0.6 to 1.0.7 sound stopped working on my machine. Looking in /dev showed many of the devices associated with sound to be missing. Programs that use sound reported errors opening the sound device or the mixer.

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.




See http://forums.gentoo.org/viewtopic.php?t=268253

$ emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia
cdr crypt cups dga directfb dvd encode f77 fam fbcon flac foomaticdb fortran gif
glut gpg gpm gtk2 imagemagick imlib jabber jpeg kde libwww mad mbox mmx
motifmpeg mysql ncurses nptl oggvorbis opengl pam pda pdflib png postgres ppds
python qt quicktime readline samba scanner sdl slang snmp spell sse ssl tcltk
tcpd tiff truetype unicode usb videos x86 xinerama xml xml2 xmms xosd xv zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-19 11:43:14 UTC
is alsasound in boot runlevel
provide the output of lsmod
cat /etc/modules.d/alsa
Comment 2 pinihadad 2004-12-20 04:23:14 UTC
I reupgraded to 1.0.7. This time I didn't get this message: 
An old version of an installed library was detected on your system.
In order to avoid breaking packages that link against is, this older version
is not being removed. In order to make full use of this newer version,
you will need to execute the following command:
revdep-rebuild --soname libasound.so.1

After doing that, you can safely remove /usr/lib/libasound.so.1 
I looked in /usr/lib and there was no libasound.so.1. I rebooted and sound worked fine. I did a revdep-rebuild which said everything was ok and rebooted again and sound still worked. So I don't know exactly what happened but everything seems to be ok now. 
If you're still interested in the output you asked me for, alsasound was in the boot runlevel before this whole thing started and is now so I'm assuming it's been there the whole time. 
I provided the output of lsmod in that thread I linked to but here it is again:
$ lsmod
Module                  Size  Used by
...
snd_intel8x0           34764  0
snd_ac97_codec         71568  1 snd_intel8x0
gameport                4544  1 snd_intel8x0
snd_mpu401_uart         7808  1 snd_intel8x0
snd_rawmidi            24996  1 snd_mpu401_uart
snd_seq_oss            34368  0
snd_seq_midi_event      7680  1 snd_seq_oss
snd_seq                53776  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8008  3 snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss            53416  0
snd_pcm                97608  2 snd_intel8x0,snd_pcm_oss
snd_timer              25540  2 snd_seq,snd_pcm
snd_page_alloc          9864  2 snd_intel8x0,snd_pcm
snd_mixer_oss          19968  1 snd_pcm_oss
snd                    54564  11 snd_intel8x0,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               9824  1 snd
...

$ cat /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-intel8x0
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-20 05:00:00 UTC
marking fixed then...