Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126312 - sys-fs/udev-086 prints errors on boot if kernel does not have block device support compiled in
Summary: sys-fs/udev-086 prints errors on boot if kernel does not have block device su...
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:
Depends on:
Blocks: udev-meta
  Show dependency tree
 
Reported: 2006-03-15 08:28 UTC by Patrick McLean
Modified: 2006-04-03 10:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
.config from kernel on the diskless system (.config,35.01 KB, text/plain)
2006-03-15 08:30 UTC, Patrick McLean
Details
patch that fixes it for me (udev-start-errors-with-no-block-devs.patch,389 bytes, patch)
2006-03-16 06:29 UTC, Patrick McLean
Details | Diff
patch that works on system with block devices (tested) (udev-start-errors-with-no-block-devs.patch,427 bytes, patch)
2006-03-17 06:39 UTC, Patrick McLean
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McLean gentoo-dev 2006-03-15 08:28:46 UTC
* Mounting /dev for udev ...                                             [ ok ]
On an nfs root setup we have here, recent versions of udev have been printing errors on startup. The errors appear to be harmless since everything is working fine, but they are still a bit annoying.

 * Seeding /dev with needed nodes ...                                     [ ok ]
 * Setting up proper hotplug agent ...
 *   Using netlink for hotplug events...                                  [ ok ]
 * Starting udevd ...                                                     [ ok ]
 * Populating /dev with existing devices through uevents ...
/lib/rcscripts/addons/udev-start.sh: line 46: /sys/block/*/uevent: No such file or directory
/lib/rcscripts/addons/udev-start.sh: line 46: /sys/block/*/*/uevent: No such file or directory                        [ ok ]
 * Letting udev process events ...                                        [ ok ]
 * Finializing udev configuration ...                                     [ ok ]

Here is the emerge --info:
Portage 2.1_pre6-r3 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.4-r0, 2.6.15-gentoo-r2 i686)
=================================================================
System uname: 2.6.15-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -Os -ffast-math -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/gnome /usr/share/hwdata /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev /usr/share/gnome/apps /usr/share/gnome/bonobo /usr/share/gnome/capplets /usr/share/gnome/cursor-fonts /usr/share/gnome/fonts /usr/share/gnome/help /usr/share/gnome/html /usr/share/gnome/panel /usr/share/gnome/ui /usr/share/gnome/vfolders /usr/share/gnome/vino /usr/share/gnome/wm-properties /etc/env.d"
CXXFLAGS="-march=pentium2 -Os -ffast-math -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en_GB fr zh_CN zh_TW"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentopia /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 accessibility acpi ada alsa arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo caps cdparanoia cdr cpudetection crypt css ctype cups curl custom-cflags dbus divx4linux doc dpms dri dts dv dvd dvdr dvdread eds emacs emboss encode esd evo examples exif expat ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcc-libffi gcj gd gdbm gif gimp gimpprint glibc-omitfp glitz glut gmp gnome gnomedb gnuplot gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile gzip hal haskell i8x0 icu idea idn image imagemagick imap imlib imlib2 inkjar ipv6 jabber java jpeg junit kde largeterminal latex lcms ldap libg++ libgda libwww live lzo mad matroska mikmod mjpeg mmap mmx mng mono motif mozdevelop mozilla mozsvg mp3 mpeg mule mysql ncurses netboot network nfs nis nls no-old-linux no_wxgtk1 nonfsv4 nptl nptlonly objc odbc ogg oggvorbis openal opengl pam pam_console pascal patented pcre pda pdf pdflib perl php plugin png posix postgres povray ppds python qt quicktime quotas radeon rdesktop readline real rtc ruby samba scanner sdk sdl session shorten silverxp sndfile sox speex spell sql sqlite ssl stream subversion svg tcltk tcpd tetex tga theora tiff transcode truetype truetype-fonts type1-fonts unicode usb userlocales vcd vidix vim-with-x vorbis win32codecs wmf wxwindows xanim xemacs xine xml xml2 xmms xpm xprint xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_void input_devices_wacom kernel_linux linguas_en_GB linguas_fr linguas_zh_CN linguas_zh_TW userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fglrx video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_newport video_cards_nsc video_cards_nv video_cards_nvidia video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS

I will attach the .config as well.
Comment 1 Patrick McLean gentoo-dev 2006-03-15 08:30:41 UTC
Created attachment 82219 [details]
.config from kernel on the diskless system
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-03-15 14:33:34 UTC
You aren't the first person to report this.

Care to provide a patch to /lib/rcscripts/addons/udev-start.sh that works
properly for your machines?
Comment 3 Patrick McLean gentoo-dev 2006-03-16 06:29:07 UTC
Created attachment 82298 [details, diff]
patch that fixes it for me

This patch seems to fix it here.
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-03-16 09:50:07 UTC
Have you tested that patch on a box that has block devices?  I think
it will just ignore all of the block devices, which is not what you want
to have happen :)
Comment 5 Patrick McLean gentoo-dev 2006-03-17 06:39:39 UTC
Created attachment 82372 [details, diff]
patch that works on system with block devices (tested)

I tested this on a system with block devices as well as my diskless system, and it seems to work fine on both.
Comment 6 Andreas Waschbuesch 2006-03-17 11:34:15 UTC
The patch - as does the bug that get's "fixed" here - prevents cdr/dvd-burning (opc error).
Comment 7 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-04-03 10:03:24 UTC
Fixed in 089 release.