Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114932 - no /dev/dsp* with udev-077-r2
Summary: no /dev/dsp* with udev-077-r2
Status: RESOLVED DUPLICATE of bug 110492
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-08 16:16 UTC by Waldo
Modified: 2005-12-09 19:05 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 Waldo 2005-12-08 16:16:17 UTC
Maybe this is a coincidence, but I just updated udev to 077-r2 from 077-r1 (I
think) and now I have no sound  ("No volume control elements or devices found").
 I don't see a /dev/dsp or /dev/dsp1 either, which I used to have (my USB
headphones).  (well, okay, there was a /dev/dsp but only after I did a cat
/dev/urandom > /dev/dsp.  /dev/urandom worked fine btw).  Nothing else major was
updated or changed that I can think of... I re-ran alsaconfig...  checked
kernel...  everything else seems right.  It was working earlier today...



Reproducible: Always
Steps to Reproduce:
FWIW, here is my /dev directory:

$ ls /dev
agpgart    ptybb  ptypb  ptytb  ptyxb    tty24  ttyad  ttyed  ttysd  ttywd
bus        ptybc  ptypc  ptytc  ptyxc    tty25  ttyae  ttyee  ttyse  ttywe
cdrom      ptybd  ptypd  ptytd  ptyxd    tty26  ttyaf  ttyef  ttysf  ttywf
cdrw       ptybe  ptype  ptyte  ptyxe    tty27  ttyb0  ttyp0  ttyt0  ttyx0
console    ptybf  ptypf  ptytf  ptyxf    tty28  ttyb1  ttyp1  ttyt1  ttyx1
core       ptyc0  ptyq0  ptyu0  ptyy0    tty29  ttyb2  ttyp2  ttyt2  ttyx2
cpu        ptyc1  ptyq1  ptyu1  ptyy1    tty3   ttyb3  ttyp3  ttyt3  ttyx3
disk       ptyc2  ptyq2  ptyu2  ptyy2    tty30  ttyb4  ttyp4  ttyt4  ttyx4
dvd        ptyc3  ptyq3  ptyu3  ptyy3    tty31  ttyb5  ttyp5  ttyt5  ttyx5
dvdrw      ptyc4  ptyq4  ptyu4  ptyy4    tty32  ttyb6  ttyp6  ttyt6  ttyx6
fb         ptyc5  ptyq5  ptyu5  ptyy5    tty33  ttyb7  ttyp7  ttyt7  ttyx7
fb0        ptyc6  ptyq6  ptyu6  ptyy6    tty34  ttyb8  ttyp8  ttyt8  ttyx8
fd         ptyc7  ptyq7  ptyu7  ptyy7    tty35  ttyb9  ttyp9  ttyt9  ttyx9
fd0        ptyc8  ptyq8  ptyu8  ptyy8    tty36  ttyba  ttypa  ttyta  ttyxa
floppy     ptyc9  ptyq9  ptyu9  ptyy9    tty37  ttybb  ttypb  ttytb  ttyxb
full       ptyca  ptyqa  ptyua  ptyya    tty38  ttybc  ttypc  ttytc  ttyxc
hda        ptycb  ptyqb  ptyub  ptyyb    tty39  ttybd  ttypd  ttytd  ttyxd
hda1       ptycc  ptyqc  ptyuc  ptyyc    tty4   ttybe  ttype  ttyte  ttyxe
hda2       ptycd  ptyqd  ptyud  ptyyd    tty40  ttybf  ttypf  ttytf  ttyxf
hda3       ptyce  ptyqe  ptyue  ptyye    tty41  ttyc0  ttyq0  ttyu0  ttyy0
hdd        ptycf  ptyqf  ptyuf  ptyyf    tty42  ttyc1  ttyq1  ttyu1  ttyy1
initctl    ptyd0  ptyr0  ptyv0  ptyz0    tty43  ttyc2  ttyq2  ttyu2  ttyy2
input      ptyd1  ptyr1  ptyv1  ptyz1    tty44  ttyc3  ttyq3  ttyu3  ttyy3
kmem       ptyd2  ptyr2  ptyv2  ptyz2    tty45  ttyc4  ttyq4  ttyu4  ttyy4
kmsg       ptyd3  ptyr3  ptyv3  ptyz3    tty46  ttyc5  ttyq5  ttyu5  ttyy5
log        ptyd4  ptyr4  ptyv4  ptyz4    tty47  ttyc6  ttyq6  ttyu6  ttyy6
mapper     ptyd5  ptyr5  ptyv5  ptyz5    tty48  ttyc7  ttyq7  ttyu7  ttyy7
mcelog     ptyd6  ptyr6  ptyv6  ptyz6    tty49  ttyc8  ttyq8  ttyu8  ttyy8
mem        ptyd7  ptyr7  ptyv7  ptyz7    tty5   ttyc9  ttyq9  ttyu9  ttyy9
misc       ptyd8  ptyr8  ptyv8  ptyz8    tty50  ttyca  ttyqa  ttyua  ttyya
null       ptyd9  ptyr9  ptyv9  ptyz9    tty51  ttycb  ttyqb  ttyub  ttyyb
nvidia0    ptyda  ptyra  ptyva  ptyza    tty52  ttycc  ttyqc  ttyuc  ttyyc
nvidiactl  ptydb  ptyrb  ptyvb  ptyzb    tty53  ttycd  ttyqd  ttyud  ttyyd
port       ptydc  ptyrc  ptyvc  ptyzc    tty54  ttyce  ttyqe  ttyue  ttyye
psaux      ptydd  ptyrd  ptyvd  ptyzd    tty55  ttycf  ttyqf  ttyuf  ttyyf
ptmx       ptyde  ptyre  ptyve  ptyze    tty56  ttyd0  ttyr0  ttyv0  ttyz0
pts        ptydf  ptyrf  ptyvf  ptyzf    tty57  ttyd1  ttyr1  ttyv1  ttyz1
ptya0      ptye0  ptys0  ptyw0  random   tty58  ttyd2  ttyr2  ttyv2  ttyz2
ptya1      ptye1  ptys1  ptyw1  raw1394  tty59  ttyd3  ttyr3  ttyv3  ttyz3
ptya2      ptye2  ptys2  ptyw2  rtc      tty6   ttyd4  ttyr4  ttyv4  ttyz4
ptya3      ptye3  ptys3  ptyw3  shm      tty60  ttyd5  ttyr5  ttyv5  ttyz5
ptya4      ptye4  ptys4  ptyw4  snd      tty61  ttyd6  ttyr6  ttyv6  ttyz6
ptya5      ptye5  ptys5  ptyw5  stderr   tty62  ttyd7  ttyr7  ttyv7  ttyz7
ptya6      ptye6  ptys6  ptyw6  stdin    tty63  ttyd8  ttyr8  ttyv8  ttyz8
ptya7      ptye7  ptys7  ptyw7  stdout   tty7   ttyd9  ttyr9  ttyv9  ttyz9
ptya8      ptye8  ptys8  ptyw8  tts      tty8   ttyda  ttyra  ttyva  ttyza
ptya9      ptye9  ptys9  ptyw9  tty      tty9   ttydb  ttyrb  ttyvb  ttyzb
ptyaa      ptyea  ptysa  ptywa  tty0     ttyS0  ttydc  ttyrc  ttyvc  ttyzc
ptyab      ptyeb  ptysb  ptywb  tty1     ttyS1  ttydd  ttyrd  ttyvd  ttyzd
ptyac      ptyec  ptysc  ptywc  tty10    ttyS2  ttyde  ttyre  ttyve  ttyze
ptyad      ptyed  ptysd  ptywd  tty11    ttyS3  ttydf  ttyrf  ttyvf  ttyzf
ptyae      ptyee  ptyse  ptywe  tty12    ttya0  ttye0  ttys0  ttyw0  urandom
ptyaf      ptyef  ptysf  ptywf  tty13    ttya1  ttye1  ttys1  ttyw1  usb
ptyb0      ptyp0  ptyt0  ptyx0  tty14    ttya2  ttye2  ttys2  ttyw2  vcs
ptyb1      ptyp1  ptyt1  ptyx1  tty15    ttya3  ttye3  ttys3  ttyw3  vcs1
ptyb2      ptyp2  ptyt2  ptyx2  tty16    ttya4  ttye4  ttys4  ttyw4  vcsa
ptyb3      ptyp3  ptyt3  ptyx3  tty17    ttya5  ttye5  ttys5  ttyw5  vcsa1
ptyb4      ptyp4  ptyt4  ptyx4  tty18    ttya6  ttye6  ttys6  ttyw6  zero
ptyb5      ptyp5  ptyt5  ptyx5  tty19    ttya7  ttye7  ttys7  ttyw7
ptyb6      ptyp6  ptyt6  ptyx6  tty2     ttya8  ttye8  ttys8  ttyw8
ptyb7      ptyp7  ptyt7  ptyx7  tty20    ttya9  ttye9  ttys9  ttyw9
ptyb8      ptyp8  ptyt8  ptyx8  tty21    ttyaa  ttyea  ttysa  ttywa
ptyb9      ptyp9  ptyt9  ptyx9  tty22    ttyab  ttyeb  ttysb  ttywb




# emerge info
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2 -mtune=k8 -ftracer -fprefetch-loop-arrays
-funroll-loops -fno-ident"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2 -mtune=k8 -ftracer -fprefetch-loop-arrays
-funroll-loops -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://mirror.espri.arizona.edu/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib aim alsa amd64 audiofile avi berkdb bitmap-fonts bzip2
canvas cddb cdparanoia cdr crypt cups curl daap dbus divx4linux dv dvd dvdr
dvdread eds emboss encode esd exif expat faad fam ffmpeg firefox flac foomatic
foomaticdb fortran gif gimpprint glitz glut gnome gphoto2 gpm gstreamer gtk gtk2
gtkhtml hal howl idn imagemagick imlib ipv6 java jpeg junit lame lcms ldap
libgda libsndfile libwww live lzw lzw-tiff mad matroska mjpeg mng mozilla mozsvg
mp3 mpeg ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis openal opengl
oscar oss pam pcre pdflib perl png ppds python qt quicktime readline real sdl
spell ssl tcltk tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts
udev usb userlocales vcd vorbis wxwindows xine xinerama xml2 xpm xv xvid yahoo
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-12-08 19:12:37 UTC
Is udevd running?  Try rebooting to get any new devices found properly.
Comment 2 Waldo 2005-12-08 23:28:52 UTC
I have a partial solution in accordance with the thread at
http://forums.gentoo.org/viewtopic-t-409612.html

"udevstart" seems to have recreated /dev/dsp.  I had to tweak my
/etc/modules.d/alsa (or at least rebuilt it) and then modules-update...d and
then /etc/init.d/alsasound restart...ed.

I had to manually re-raise the volumes with gnome-volume-control.  Now I get
sound back, although I'm still not hearing some sound on my usb headset because
of an unrelated kernel-specific bug here:

http://bugzilla.kernel.org/show_bug.cgi?id=5618

Something still seems pretty screwy though with this -r2 version.  See the
thread for more info.

Reopening, so that someone better informed can decide what's wrong...
W
Comment 3 Waldo 2005-12-08 23:53:59 UTC
I just restarted.  It got "device not found" type errors on startup.  Once I ran
udevstart manually via udevstart , I was able to restart alsasound and get it
working.

Does udev have to be added somehow w/rc-update?

W
Comment 4 Waldo 2005-12-09 00:28:41 UTC
Restarted, and here was the error:

When restoring Alsa levels...

/usr/sbin/alsactl: load_state:1250:  Cannot find soundcard "0"


W
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-09 00:30:20 UTC
RDEPEND is incorrect here. >=udev-077 needs to depend on
>=sys-apps/baselayout-1.11.14 as it does not work correctly w/ lower baselayout
versions (udevstart not run -> udevd not started -> missing device nodes).
Comment 6 Waldo 2005-12-09 04:04:59 UTC
I can confirm this was the problem.  I had to fix some other stuff when
upgrading the baselayout, but changing this dependency should fix the problem
for anyone else who's having it.

Thx for your help,

W
Comment 7 Dirk Heinrichs 2005-12-09 04:53:03 UTC
I'm also having problems after upgrade from udev-077 to udev-077-r[12]. In 
my case it breaks NIC renaming, which works again after running /sbin/udevstart 
manually. 
Comment 8 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-12-09 19:05:23 UTC

*** This bug has been marked as a duplicate of 110492 ***