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.
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
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 ;-)
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)
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?
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.
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?)
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."
Adding "udevd --daemon" just before "return 0" in "populate_udev" (line 114) in "/sbin/rc" solved the problem :)
>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
(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
>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
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
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.
*** Bug 114834 has been marked as a duplicate of this bug. ***