Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149109 - baselayout 1.12.5 fails to boot with dirty root partition
Summary: baselayout 1.12.5 fails to boot with dirty root partition
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-25 13:11 UTC by Michal Suchanek
Modified: 2006-12-14 13:22 UTC (History)
0 users

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 Michal Suchanek 2006-09-25 13:11:27 UTC
After upgrading world I got baselayout 1.12.5, and my system would not boot.
I found that I can fix it by booting just bash, mounting /, unmounting, and rebooting normally. Happens both after crash and normal reboot. Virtually no services are started, especially hotplug does not work so I do not get keyboard.

The problem with normal reboot is probably that the initscripts do not kill leftover processes so root is not unmountable. Or it just does not try at all.

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r9-src i686)
=================================================================
System uname: 2.6.16-gentoo-r9-src i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.15
Last Sync: Mon, 25 Sep 2006 06:00:08 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks maketest metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS=""
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi aim alsa amuled apache2 audiofile avi bcmath berkdb bitmap-fonts bzip2 cairo caps cdb cdparanoia cdr cjk cli cpdflib crypt cscope ctype cups curl dbus dbx debug dedicated dga dio dlloader doc dri dts dv dvb dvd dvdr dvdread elibc_glibc emboss encode erandom ethereal examples exif expat fam fbcon ffmpeg firefox flac flash flatfile fontconfig foomaticdb fortran ftp gb gcj gd gdbm ggi gif ginac glibc-omitfp glut gmp gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hardened howl iconv icq idn ieee1394 imagemagick imap imlib inifile input_devices_evdev input_devices_joystick input_devices_kbd input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber javascript jpeg kdexdeltas kerberos kernel_linux lcms ldap libg++ libwww linuxthreads-tls live lm_sensors lua lzo mad maildir matroska matrox mbox mikmod mime ming mmap mmx mmxext mng mozilla mp3 mpeg msn musepack nas ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis openal opengl osc oscar oss pam pcntl pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline real recode reflection remote rtc ruby samba sasl sdl session sharedmem shorten skey slp sndfile snmp sockets sox speex spell spl sqlite sse ssl svg sysvipc tcpd test tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales v4l vcd video_cards_ati video_cards_mga video_cards_radeon videos vorbis wifi win32codecs wmf x264 xanim xface xml xml2 xorg xosd xpm xprint xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michal Suchanek 2006-09-25 13:12:32 UTC
hmm, perhaps I should add that / is reiserfs, and I do not use any ramdisks.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-09-25 14:42:52 UTC
What is the output of ldd /bin/bash?
Which prior version of baselayout worked with respect to this error?
Can you test with a / on ext2/3,xfs,jfs or something else?
Comment 3 Michal Suchanek 2006-09-25 15:47:00 UTC
ldd /bin/bash 
        linux-gate.so.1 =>  (0xffffe000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7e98000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e94000)
        libc.so.6 => /lib/libc.so.6 (0xb7d56000)
        /lib/ld-linux.so.2 (0xb7efa000)

Not that it should matter much, /usr is not separate.

I had some 1.11 version before so I masked 1.12* and remerged. It works fine now.

Moving the content of / partition somewhere else would be quite hard. It's pretty large.

On another system I got 1.12.4-r7 and did not notice anything. But I do not remember last time I rebooted that, and if it crashed or not. But I certainly use some 1.12.x there for some time.
Comment 4 Michal Suchanek 2006-09-25 16:19:53 UTC
I tried again. autoload actually does work. Only hotplug fails. So I can get keyboard to work.

The init process says everything is OK but I cannot login and the system is unusable in general. Normally there are some warnings or errors but drivers are loaded and login is possible.

1.12.4-r7 is even worse, I could not boot at all with that version. But the symptoms look the same. Except remounting the root readonly does not fix it.
Comment 5 Roy Marples (RETIRED) gentoo-dev 2006-12-14 13:22:12 UTC
This should be fixed in baselayout-1.12.7-r4, if not, please re-open and state version of reiserfsprogs.