Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20862 - baselayout-1.8.6.7: freeze on parallel startup.
Summary: baselayout-1.8.6.7: freeze on parallel startup.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-12 13:17 UTC by TGL
Modified: 2003-10-13 15:47 UTC (History)
3 users (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 TGL 2003-05-12 13:17:55 UTC
I've updated my baselayout to the new 1.8.6.7 and everything boot fine without 
the parallel startup. But when I enable it, the init process freeze at some 
point. 

I would be glad to help you debugging this, because I like the idea of a 
parallel init process, but I don't know exactly how to do it. Is there anything 
specific that you would like me to test, some services I could remove, or some 
logs you may need?



Reproducible: Always
Steps to Reproduce:
1. emerge -u baselayout
2. dispatch-conf
3. echo 'RC_PARALLEL_STARTUP="yes"' >> /etc/conf.d/rc
4. env-update
5. reboot

Actual Results:  

Here is what I get on a parallel startup:
[...]
INIT: Entering runlevel: 3
 * Starting acpid...                               [ ok ]
 * Bringing eth0 up...                             [ ok ]
 * Starting cupsd...                               [ ok ]
 * Starting portmap...                             [ ok ]
 * Starting syslogd, klogd...                      [ ok ]
 * Starting fam...                                 [ ok ]
 * Starting gpm...                                 [ ok ]
 * Starting fcron...                               [ ok ]
...and here it does stop, I can't login or anything. 


Expected Results:  

Here are the last services started in a non-parallel init:
[...]
INIT: Entering runlevel: 3
 * Starting acpid...                               [ ok ]
 * Bringing eth0 up...                             [ ok ]
 * Starting cupsd...                               [ ok ]
 * Starting portmap...                             [ ok ]
 * Starting fam...                                 [ ok ]
 * Starting syslogd, klogd...                      [ ok ]
 * Starting fcron...                               [ ok ]
 * Starting gpm...                                 [ ok ]
 * Mounting network filesystems...                 [ ok ]
 * Initializing clock via ntpdate...               [ ok ]
 * Starting ntpd...                                [ ok ]
 * Setting up gdm...                               [ ok ]
 * Starting local... 
   /dev/dvd: Speed set at 2400 KB/s (16x)          [ ok ]
...and here I can login in gdm.


Here are the relevant runlevels content:

 runlevels/boot:
 alsasound  checkfs   clock      hostname     localmount  net.lo    
 serial     bootmisc  checkroot  consolefont  keymaps     modules    
 rmnologin  urandom 

 runlevels/default:
 acpid  fam    gpm    net.eth0  ntpd     sysklogd
 cupsd  fcron  local  netmount  portmap  xdm

And the usual "emerge info" dump:

Portage 2.0.48_pre5 (default-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r8)
=================================================================
System uname: 2.4.20-ck4 i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS=" http://ftp.easynet.nl/mirror/gentoo//
ftp://ftp.easynet.nl/mirror/gentoo// http://ftp.tu-clausthal.de/pub/linux/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
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="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses
pdflib quicktime spell truetype xml2 xmms xv aalib alsa berkdb bonobo cdr esd
gdbm ggi gif gnome gnome-libs gpm gphoto2 gtk gtkhtml guile imlib java ldap
libwww motif mozilla mysql nas nls oggvorbis opengl pam perl png python qt
readline ruby scanner sdl slang snmp ssl svga tcltk tcpd tetex tiff X acpi
apache2 dga doc dvd fbcon flash gd ggz imap junit lcms lirc mbox moznocompose
moznoirc moznomail mozsvg objc pcmcia pda plotutils pnp samba sasl slp smooth
usb wmf Xaw3d xface xml xosd zeo zlib -arts -kde"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3"
CXXFLAGS="-march=i686 -O3"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
FEATURES="ccache userpriv usersandbox sandbox digest manifest notitles"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-12 17:37:41 UTC
Mail me your /etc/init.d as tarball to my mail addy (azarah at gentoo.org).
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-13 13:33:13 UTC
Ok, this was an issue with depscan.sh not detecting circular depends.
I did fix it, and guess we can close this when the new version is out.
Comment 3 SpanKY gentoo-dev 2003-09-19 16:33:19 UTC
umm isnt a new version out now ? :)
Comment 4 TGL 2003-09-19 17:03:06 UTC
What is funny is that I remember it was fixed less than half an hour after I send 
the requested init.d tarball :)
Comment 5 Miguel Sousa Filipe 2003-09-22 10:51:42 UTC
Is this okay? Is it usable/stable?

if so, i'm gonna put this in my machines right about now!!!
please reply!

thanks for the good works, gentoo just keeps on rockin'...
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-13 15:47:50 UTC
Its in 1.8.6.10-r1 that is marked stable some time back.