Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20378 - baselayout (checkfs) fails to start /dev//dev/md0
Summary: baselayout (checkfs) fails to start /dev//dev/md0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-03 06:53 UTC by Timo Boettcher
Modified: 2003-10-13 15:46 UTC (History)
0 users

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


Attachments
patch (checkfs.diff,69 bytes, patch)
2003-05-03 06:55 UTC, Timo Boettcher
Details | Diff
patch (checkfs.diff.gz,78 bytes, patch)
2003-05-03 07:00 UTC, Timo Boettcher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Boettcher 2003-05-03 06:53:35 UTC
the /etc/init.d/checkfs script of baselayout 1.8.5.9 tries to start the 
software-raid and fails, because it uses the wrong devices.


Reproducible: Always
Steps to Reproduce:
1. create a software-raid in /etc/raidtab and mkraid it


2. boot



Actual Results:  
* Starting software RAID...


device /dev//dev/md0 is not described in config file


device /dev//dev/md1 is not described in config file


device /dev//dev/md2 is not described in config file


Failed to start software RAID                   [!!]


Expected Results:  
The script should try to start /dev/md0, not /dev//dev/md0


server root # emerge info


Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)


=================================================================


System uname: 2.4.20 i686 Pentium III (Coppermine)


GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Lin


ux/distributions/gentoo"


CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi


g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"


CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"


PORTDIR="/usr/portage"


DISTDIR="/usr/portage/distfiles"


PKGDIR="/usr/portage/packages"


PORTAGE_TMPDIR="/var/tmp"


PORTDIR_OVERLAY=""


USE="cups encode gif gtk imlib jpeg libg++ mikmod motif mpeg ncurses nls oggvorb


is pdflib png quicktime sdl spell svga truetype xml2 xmms gdbm berkdb slang read


line java gpm tcpd libwww ssl perl python qt ldap -3dfx -3dnow -acpi -alsa -arts


 -apm -avi -dga -directfb -dvb -dvd -esd -ev6 -evo -fbcon firebird -flash -gb -g


nome -gphoto2 -gps -kde -lirc -matrox -mbox -moziolla -oci -oss -opengl -pam -pc


mcia -pda -ruby -scanner -sse -voodoo3 -wavelan -X -Xaw3d -xface -xinerama xv -z


eo -ppc -sparc -alpha -mips -hppa -arm crypt mmx nocardbus x86 zlib"


COMPILER="gcc3"


CHOST="i686-pc-linux-gnu"


CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"


CXXFLAGS="-O2 -mcpu=i686 -pipe"


ACCEPT_KEYWORDS="x86"


MAKEOPTS="-j3"


AUTOCLEAN="yes"


SYNC="rsync://rsync.gentoo.org/gentoo-portage"


FEATURES="sandbox ccache"
Comment 1 Timo Boettcher 2003-05-03 06:55:38 UTC
Created attachment 11428 [details, diff]
patch

output of diff /etc/init.d/checkfs /etc/init.d/checkfs.new
Comment 2 Timo Boettcher 2003-05-03 07:00:29 UTC
Created attachment 11429 [details, diff]
patch

output of "diff /etc/init.d/checkfs /etc/init.d/checkfs.new | gzip"
Comment 3 Timo Boettcher 2003-05-03 07:02:03 UTC
Sorry for repost, bugzilla said there was an error (400) in my multipart/formdata...
Comment 4 Timo Boettcher 2003-05-03 07:04:25 UTC
That patch does fix the /dev//dev/something error.
However, if the partition type of that raid-partition is set to fd (software-raid-auto-detect) and md support is compiled "hard" in kernel (not as a module) the raid is started by the kernel and shouldn't be started again by checkfs
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-04 03:04:14 UTC
This is fixed in baselayout-1.8.6.6 if you could try that.
Comment 6 Timo Boettcher 2003-05-04 12:28:44 UTC
baselayout-1.8.6.6 works for me (that is, it doesn't trow errors).
Until you close it, you should hear somebody who has raid-support as module.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-13 15:46:51 UTC
Seems ok, closing.