Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114836 - udev-0.77-r1 && alsa: there is no /dev/snd after start
Summary: udev-0.77-r1 && alsa: there is no /dev/snd after start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
: 114834 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-08 00:59 UTC by Evgeniy Dushistov
Modified: 2005-12-10 06:19 UTC (History)
6 users (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 Evgeniy Dushistov 2005-12-08 00:59:15 UTC
kernel: 2.6.14-gentoo-r4
udev: udev-077-r1

during boot I get such messages:

umount /dev: Device or resource busy
rm /dev failed: Device or rsource busy
after that coldplug say:
can not load /lib/modules/2.6.14-gentoo-r4/kernel/sound/isa/cs423x/snd-cs4232.ko: there is no such 
file
but I have such file
after that:
/usr/sbin/alsactl: load_state: 1250: Cannot find soundcard '0'

and after all 
ls /dev/snd say that there is no such directory

only after starting "udevstart" manualy /dev/snd appear,
but there is no sound, it appear only after usage of alsaconf

here is similar bug
https://bugs.gentoo.org/show_bug.cgi?id=110492
but I can not reopen it.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Evgeniy Dushistov 2005-12-08 01:01:36 UTC
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.1
4-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -msse -mmmx -m3dn
ow -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share
/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/shar
e/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/sh
are/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/tex
mf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -msse -mmmx -m3
dnow -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo ftp://mirror.aiya.ru/pub/gentoo/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/evgeniy/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl alsa apache2 apm arts audiofile avi bash-completion berkdb                             
                bitmap-fonts bzip2 cdr cjk crypt cups curl dlloader doc eds emacs emboss encode                 
                            esd exif expat fam fbcon firefox flac font-server foomaticdb fortran gd gdbm gif         
                                    gimpprint glut gmp gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java 
jpeg                                             junit kde lcms libcaca libg++ libwww mad maildir mhash mikmod 
ming mmx mng motif                                             mp3 mpeg mysql ncurses nls nptl nptlonly ogg 
oggvorbis opengl oss pam pcre pdfl                                            ib perl png ppds python qt quicktime 
readline recode scanner sdl slang speex spe                                            l spell sqlite sse ssl tcltk tcpd 
tetex tiff truetype truetype-fonts type1-fonts                                             udev unicode usb vorbis 
wmf xml2 xv xvid zlib linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 2 Jan Gutter 2005-12-08 01:49:19 UTC
Minor observations:

1) If I run udevstart the alsa devices are created and everything works OK.
2) If I plug in my portable USB H/D, it's registered as /dev/sdXX, but I have to
run udevstart before /dev/disks/by-label/ gets the symlinks. Once I've run
udevstart, the symlinks are made OK.

I've been having this problem for a while now, and downgrading to udev-071
doesn't work. I *think* it worked back then, but this isn't reliable info ;-)
Comment 3 Giacomo Perale 2005-12-08 02:33:22 UTC
do you have udevd running? I have the same problem and I discovered that with
077 and 077-r1 udevd is not started, so nodes for new modules aren't created

reverting to udev-073 fixed this problem (udevd starts automatically)
Comment 4 Cyril Jaquier 2005-12-08 02:45:28 UTC
Mmmhh... Same problem here with 077-r1 with alsa. udevstart create the nodes.
Moreover, udevd is not running after bootup. If I manually start it and then
plug in an usb flash drive, everything works fine.

What was starting udevd in the previous versions?
Comment 5 Jan Gutter 2005-12-08 02:46:28 UTC
I can confirm with my system the devices aren't created even though udevd is
running on 0.77-r1.

root      2453  0.0  0.0    540   436 ?        S<s  11:40   0:00 udevd

Again, as soon as I run udevstart it works.
Comment 6 Jan Gutter 2005-12-08 02:51:55 UTC
Ok, I killed udevd and restarted it. After that, everything works OK. Maybe the
problem's not with udev and somewhere in the boot process (baselayout, i.o.w?)
Comment 7 Cyril Jaquier 2005-12-08 03:35:58 UTC
I found this in the RELEASE-NOTES file:

"Udevsend does no longer start the udev daemon. This must be done with
the init script that prepares /dev on tmpfs and creates the initial nodes,
before starting the daemon."
Comment 8 Cyril Jaquier 2005-12-08 04:00:34 UTC
Adding "udevd --daemon" just before "return 0" in "populate_udev" (line 114) in
"/sbin/rc" solved the problem :)
Comment 9 Evgeniy Dushistov 2005-12-08 04:32:42 UTC
>Adding "udevd --daemon" just before "return 0" in "populate_udev" (line 114) in
>"/sbin/rc" solved the problem :)

Yes, great.

But I still get strange message during boot process:

* Coldplugging pnp devices ...
modprobe: FATAL: Error inserting snd_cs4232 (/lib/modules/2.6.14-gentoo-r4/kerne
l/sound/isa/cs423x/snd-cs4232.ko): No such device

... can't load module snd-cs4232
missing kernel or user mode driver snd-cs4232
modprobe: FATAL: Error inserting snd_cs4232 (/lib/modules/2.6.14-gentoo-r4/kerne
l/sound/isa/cs423x/snd-cs4232.ko): No such device

... can't load module snd-cs4232
missing kernel or user mode driver snd-cs4232
modprobe: FATAL: Error inserting snd_wavefront (/lib/modules/2.6.14-gentoo-r4/ke
rnel/sound/isa/wavefront/snd-wavefront.ko): No such device

... can't load module snd-wavefront
missing kernel or user mode driver snd-wavefront
modprobe: FATAL: Error inserting snd_wavefront (/lib/modules/2.6.14-gentoo-r4/ke
rnel/sound/isa/wavefront/snd-wavefront.ko): No such device

... can't load module snd-wavefront
missing kernel or user mode driver snd-wavefront                                
                                    [ ok ] * Coldplugging usb devices ...
chown: cannot access `/proc/bus/usb/001/002': No such file or directory
chmod: cannot access `/proc/bus/usb/001/002': No such file or directory
Comment 10 Cyril Jaquier 2005-12-08 04:50:03 UTC
(In reply to comment #9)
> But I still get strange message during boot process:
> 
> * Coldplugging pnp devices ...
> modprobe: FATAL: Error inserting snd_cs4232 (/lib/modules/2.6.14-gentoo-r4/kerne
> l/sound/isa/cs423x/snd-cs4232.ko): No such device

Are you able to load these modules once you are logged in? What does dmesg give?

# modprobe snd_cs4232
Comment 11 Evgeniy Dushistov 2005-12-08 05:02:52 UTC
>Are you able to load these modules once you are logged in? What does dmesg give?
>
># modprobe snd_cs4232

I get the same message:

# modprobe snd-cs4232
FATAL: Error inserting snd_cs4232 (/lib/modules/2.6.14-gentoo-r4/kernel/sound/isa/cs423x/snd-
cs4232.ko): No such device
Comment 12 Evgeniy Dushistov 2005-12-08 05:19:52 UTC
chunk of dmesg

shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11
ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [LNK1] -> GSI 11 (level, low) -> IRQ 11
ttySHSF0 at I/O 0xa400 (irq = 11) is a Conexant HSF softmodem (PCI-14f1:2f00-14f1:2004)
0000001.168: <7>^^^^^ SPIKE_NOT_FOUND ^^^^^^ LoopBackSpikeThreshold=-17000
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
CS4232 soundcard not found or device busy
CS4232 soundcard not found or device busy
No WaveFront cards found or devices busy
No WaveFront cards found or devices busy
fbsplash: console 1 using theme 'emergence'
fbsplash: switched splash state to 'on' on console 1
Comment 13 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-12-08 07:34:47 UTC
For people who do not have udevd starting after booting, please upgrade your
version of baselayout to the latest version.  udevd should be started by the
/lib/rcscripts/addons/udev-start.sh script at boot time.
Comment 14 Daniel Drake (RETIRED) gentoo-dev 2005-12-10 06:19:31 UTC
*** Bug 114834 has been marked as a duplicate of this bug. ***