Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62754 - udev - fsck halts boot with firewire drive
Summary: udev - fsck halts boot with firewire drive
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 14:06 UTC by Chris Smith
Modified: 2005-04-26 03:23 UTC (History)
1 user (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 Chris Smith 2004-09-03 14:06:24 UTC
With a pure udev system (no device tarball) my firewire drive (at /dev/sda) causes the boot process to stop as apparently the device node is not quite setup.

Reproducible: Always
Steps to Reproduce:
1.with udev system set RC_DEVICE_TARBALL="no" in /etc/conf.d/rc
2.boot
3.

Actual Results:  
Message: Failed to open the device /dev/sda1 No such file or directory. 
 
Then a message from (apparently) fsck, and an opportunity to provide the root 
password for maintenance or ctrl-d to boot normally. 
 
After ctrl-d, system boots normally, /dev/sdax gets mounted. No operating 
problems. 

Expected Results:  
A normal boot sequence, the halt should not have occurred. 

 Bug seems to be virtually identical to one posted by a Debian user at 
http://www.ussg.iu.edu/hypermail/linux/kernel/0404.3/0008.html except in this 
case the drive is a firewire device and not an SATA device.
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-10 14:08:16 UTC
Ah a fun race condition.  This needs a kernel patch to fix :(
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-20 16:15:22 UTC
Meaning this is an upstream issue.  It's not a udev bug, but a kernel bug/issue

Nothing I can do in the udev package for this, sorry.
Comment 3 BlinkEye 2005-04-26 03:23:30 UTC
i do have the same problem. the only difference is that /dev/sda1 is actually my root device i.e. my system i try to boot, so, CONTROL-D results in rebooting the system. i'm also suffering from the race condition you're talking about but could fix it by adding 
rootdelay=10. so, the problem IS udev. 

emerge --info:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-ck4 i686)
=================================================================
System uname: 2.6.11-ck4 i686 Intel(R) Pentium(R) M processor 1200MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 19:34:36)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://mirror.switch.ch/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mir.zyrianes.net/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.math.bme.hu http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.iasi.roedu.net/mirrors/gentoo.org/ ftp://ftp.iasi.roedu.net/pub/mirrors/gentoo.org/"
LC_ALL="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://blinkeye.ch/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts crypt cups curl emboss encode esd fam flac foomatic foomaticdb fortran gcj gdbm gif gphoto2 gpm imagemagick imap imlib java jpeg junit kde libg++ libwww locales mad maildir mikmod mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real samba sasl sdl spell sqlite ssl svga symlink tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis wifi xine xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS

using sys-fs/udev-045, sys-fs/devfsd-1.3.25-r8.