Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150591 - udev hangs with "letting udev process events"
Summary: udev hangs with "letting udev process events"
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: udev-meta
  Show dependency tree
 
Reported: 2006-10-09 08:53 UTC by Doug Goldstein (RETIRED)
Modified: 2013-03-13 22:31 UTC (History)
4 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 Doug Goldstein (RETIRED) gentoo-dev 2006-10-09 08:53:16 UTC
Since I built this box which would have been udev version 094. Randomly at boot the box will hang at "Letting udev process events". It will not timeout in 60 seconds like the process has set. I've tried 094, 096, 098, 100, 100-r2 and it happens randomly.

It's an NForce 590 based board. (MCP55). With two ivtv based Hauppauge cards in it. Only reason I mention that is cause I'm assuming some device ordering is causing a problem. 

I don't really know how to debug a boot level process like this since Gentoo's become so complex it's tough to "hand" boot it yourself. Just looking for some info on how I can debug this further.



$ emerge --info
Portage 2.1.2_pre2-r7 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Mon, 09 Oct 2006 05:30:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 alsa apache2 bash-completion berkdb bitmap-fonts cli crypt dlloader dri dvd elibc_glibc gdbm input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ lirc lirc_devices_hauppauge logrotate mysql ncurses nptl nptlonly opengl pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nvidia xorg xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2006-10-11 07:19:36 UTC
Just as a side note. It boots perfectly off every 64-bit Minimal CD I have (2005.1 through 2006.1)
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-10-24 14:39:45 UTC
Try setting RC_COLDPLUG to no and then manually loading the modules by hand to try to find which one is the problem.

This isn't a udev issue really, it's a kernel issue I think.
Comment 3 Paweł Kilian 2006-11-02 07:37:02 UTC
the same on my computer
works fine with udev-087 but the higher ones just hangs or reboots my computer. It started to behave like that when i've added another 2gb of ram which in total i have 4GB now. All udevs works fine with 2GB, 3GB of ram except for 4GB

# emerge --info
Portage 2.1.2_rc1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-mm3-beast x86_64)
=================================================================
System uname: 2.6.18-mm3-beast x86_64 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 02 Nov 2006 13:01:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="pl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portages/custom"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac aalib acpi aiglx alsa amarok apm asf bash-completion berkdb bitmap-fonts bogofilter bzip2 cdr cli compositor config_wizard cpudetection cracklib crypt dbus divx dri dvd dvdr dvdread elibc_glibc encode exo extraicons extramodules fbcon ffmpeg flac fortran ftp gdbm gif glitz gnome gnutls gpm gstreamer gtk gtkhtml iconv imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jabber java javascript jpeg kdeenablefinal kernel_linux libcaca libg++ libnotify linguas_en linguas_pl live livecd mad mail matroska mp3 mpeg musepack ncurses nls nptl nptlonly nsplugin ogg opengl pam panel-plugin pcre pdf perl png ppds pppd python qt3 quicktime readline realmedia reflection rtc samba session spell spl ssl startup-notification stream svg symlink tcpd theora thumbnail tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_nvidia vim vorbis wmp wxwindows x264 xcomposite xine xinerama xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 winona 2006-11-10 18:05:36 UTC
I have been having this problem also.  I am currently using udev 103 and have to blacklist ivtv as well as usb and other modules.  This has happened with the past couple of versions before udev 103 also.    This is a  2.6.18-gentoo-r2 system.
Comment 5 Colin Morey (RETIRED) gentoo-dev 2006-11-21 08:53:28 UTC
more corrobartory info,
system dual duron1800, pvr-250,skystar2, promise fastrak, alteon gig card.
udev 087-r1

kernel 2.6.17-gentoo-r8 works
kernel 2.6.18-gentoo-r2 hangs 



Comment 6 Joe Jezak (RETIRED) gentoo-dev 2006-12-02 15:30:22 UTC
Does removing firmware.agent as in this bug fix it? 

http://bugs.gentoo.org/show_bug.cgi?id=147006
Comment 7 coran.fisher@gmail.com 2006-12-02 18:04:07 UTC
You know I think it might.  This is the first time I could get past the udev hang on a kernel past 2.6.17-r9 I had tried udev 087 through 103 (which I am now on).
Now I deleted the /etc/hotplug/firmware.agent and I'm not booted with 2.6.19-gentoo-r1
Comment 8 Paul Malherbe 2006-12-06 22:45:31 UTC
I have the same problem. I am using 2.6.17-gentoo-r7. I found however that removing the PVR-350 allowed me to boot every time.
Comment 9 Nick Osborne 2006-12-28 07:42:12 UTC
(In reply to comment #6)
> Does removing firmware.agent as in this bug fix it? 
> 
> http://bugs.gentoo.org/show_bug.cgi?id=147006
> 
Comment 10 Nick Osborne 2006-12-28 07:45:19 UTC
(In reply to comment #6)
> Does removing firmware.agent as in this bug fix it? 
> 
> http://bugs.gentoo.org/show_bug.cgi?id=147006

Please pardon the duplicate posting, removing firmware.agent solves the problem for me, using udev 103 and a PVR250.
Comment 11 Enito 2007-01-06 22:38:54 UTC
(In reply to comment #10)
> (In reply to comment #6)
> > Does removing firmware.agent as in this bug fix it? 
> > 
> > http://bugs.gentoo.org/show_bug.cgi?id=147006
> 
> Please pardon the duplicate posting, removing firmware.agent solves the problem
> for me, using udev 103 and a PVR250.
> 
yeah solves the trouble, but cant load the ivtv correctly
ivtv0: Autodetected Hauppauge card (cx23416 based)
ivtv0: unable to open firmware v4l-cx2341x-enc.fw (must be 262144 bytes)
ivtv0: did you put the firmware in the hotplug firmware directory?
ivtv0 warning: failed loading encoder firmware
ivtv0 warning: Error loading firmware -3!
ivtv0: Error -3 initializing firmware.



Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-01-15 10:58:33 UTC
(In reply to comment #11)
> yeah solves the trouble, but cant load the ivtv correctly

Just unmerge hotplug completely and try again.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-01-26 20:46:05 UTC
Please test w/ udev-104-r3 and report back. Thanks.