With udev-065 I get thousands of the following message in syslog when inserting a CF memory card into my PCMCIA slot: Aug 3 21:22:22 logo hde: hde1 The system is very unresponsive and crashes as soon as I eject the card. Idowngraded to udev-064-r1 and everything works just fine. Reproducible: Always Steps to Reproduce: 1. emerge -u1 =sys-fs/udev-065 (2. reboot) 3. insert CF memory card Actual Results: messages in syslog and a very unresponsive system Expected Results: create a working /dev/hde{,1} Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6. 12.3+ i686) ================================================================= System uname: 2.6.12.3+ i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.6.13 ccache version 2.4 [disabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium-m -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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium-m -pipe" DISTDIR="/mnt/data/distfiles" FEATURES="autoconfig confcache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite. informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/ download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http:// ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/ gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp. wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/ distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http: //ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/ pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http:// pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ " LANG="en_US" MAKEOPTS="-j 2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/mnt/data/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage_overlay" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 7zip X a52 aac aalib acpi alsa apache2 audiofile avi berkdb bidi bitmap-fonts cddb cdparanoia cdr crypt cups curl dga divx4linux dpms dts dv dvb dvd dvdread emboss encode extensions fam fame fbcon fbsplash ffmpeg flac foomaticdb fping gdbm gif glitz gnutls gpgme gtk gtk2 hal idn ieee1394 imagemagick imap imlib imlib2 ipv6 ithreads java javascript jpeg jpeg2k kde kdeenablefinal kqemu largeterminal libcaca libg++ libwww live lzo mad matroska mikmod mmx mmx2 mmxext mng motif mozsvg mp3 mpeg mplayer mysql mythtv ncurses network nls nptl nptlonly nvidia odbc ogg oggvorbis opengl pam pcre pdflib perl pic png pthreads python qt quicktime rdesktop readline real rtc ruby samba sasl sdl slang smime smtp softmmu speex spell sqlite sse sse2 ssl subtitles svg tcltk tcpd tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vidix vorbis win32codecs wmf xanim xine xml xml2 xmms xv xvid xvmc zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
If you comment out all of the lines in the udev rules (/etc/udev/rules.d/50-udev.rules) that start at: # block device disk id's and end at: # be backward compatible for a while with the /etc/dev.d and /etc/hotplug.d/ systems Does that solve the problem? I'd appreciate it if you could try to determine which program that udev is running that is causing your cf device to fail. If the above works, can you then try to uncomment out individual sections of that chunk?
Ok, Kay, the main udev developer has verified this. It's an issue with ide-cs, when the device is opened, it generates a hotplug event, which causes udev to open the device... You can see the loop here. So, it's a kernel issue that needs to get fixed, I'll see what I can do about it.
Created attachment 65104 [details, diff] Patch for udev rules for ide removable devices Can you try this patch for the rules file? It should fix this issue.
The patch fixes the problem for me. Thanks, Greg!
Great, thanks for testing, will add this fix in the next release
Should be fixed in the 066 release.