Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21376 - baselayout 1.8.6.8 didn't start network devices anymore
Summary: baselayout 1.8.6.8 didn't start network devices anymore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-20 19:42 UTC by tuXXer
Modified: 2003-05-21 13:50 UTC (History)
6 users (show)

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


Attachments
running (running,3.98 KB, text/plain)
2003-05-20 23:03 UTC, Lim Swee Tat (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tuXXer 2003-05-20 19:42:51 UTC
I've had tried to install 1.8.6.8, but after that cupsd failed with dependecies errors and 
no network device is started (eth0, ppp0 lo). No log message, no console message, no 
error message, nothing, but ifconfig shows no device. I think the problem is the 
changed network init scripts (/etc/init.d/net.ppp0, /etc/init.d/net.eth0 aso.) Wenting back 
to 1.8.6.7 and all works smooth again. 
 
Using: 
gcc 3.2.3 
Kernel 2.4.20-gentoo-r5 
BCM5702 Gigabit-Lan-Card (configured as eth0) 
AVM Fritz!Card Controller (configured as ppp0) 
Loopback Device (configured as lo)
Comment 1 Spundun Bhatt 2003-05-20 20:22:45 UTC
I am having the same problem. Exact same thing... may be you should mask this before people start rebooting their machines ;)
Spundun
Comment 2 Grant Goodyear (RETIRED) gentoo-dev 2003-05-20 21:26:10 UTC
Did you run etc-update?  A lot of files changed w/ this baselayout.

Also, if you could record some of the error messages (you can always let
the machine come up and start net.eth0 by hand if necessary) that would
be extremely helpful.  I've been running the new baselayout on several
machines w/ no problems, so we need to figure out what's different about
your system to cause these problems so that we can solve them.

Thanks!
Comment 3 Spundun Bhatt 2003-05-20 21:46:12 UTC
Yes I did etc-update(ofcourse :) )  But no, the etc-update doesnt show a lot of updates in etc... only 4. And I let all of them commit without me making any changes.

I also tried to do /etc/init.d/net.eth0 restart manually. This returns immediately without *any* info..... not even the standard "Bringing up eth0". 
ifconfig doesnt show any interface.. not even the standardloopback lo.
If you think I could get more info by reinstalling baselayout and rebooting... lemme know... I tried this twice with the same result...
Spundun
Comment 4 Lim Swee Tat (RETIRED) gentoo-dev 2003-05-20 22:31:27 UTC
I experience the same problem.  There seems to be no solution to it other than to revert to an older version unless there are debugging messages available.

Ciao
ST Lim
Comment 5 Lim Swee Tat (RETIRED) gentoo-dev 2003-05-20 22:43:23 UTC
Latest in,  I've managed to add the marker -x to /sbin/runscript.sh, and I've attached the result for running net.eth0.  Attached as running.
Comment 6 Narada Sage 2003-05-20 22:47:30 UTC
Having upgraded to 1.8.6.8 I can verify that it riddled my computer with problems.  Since dmesg is not particularly helpful in providing error logs I used images to capture the boot process.

http://dhruba.codewordt.co.uk/images/baselayout-1.8.6.7.png (working perfectly)
http://dhruba.codewordt.co.uk/images/baselayout-1.8.6.8.png (several problems)

Specifically, I had problems with bootsplash, network interface eth0 (nfs), local, rebooting and browser crashes which I never usually get.  Rebooting the computer made the computer pause indefinitely.  After downgrading to 1.8.6.7 all worked perfectly.  It may be an idea to hardmask this package for the time being before such problems begin afflicting the majority of ~x86 users and bringing their network down too.

$ emerge info
Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
GENTOO_MIRRORS="http://194.83.57.15/sites/www.ibiblio.org/gentoo/ http://194.83.57.11/sites/www.ibiblio.org/gentoo/ http://194.83.57.7/sites/www.ibiblio.org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/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/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 3dnow avi cups encode gif jpeg mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb alsa slang readline aalib svga java X sdl tcpd pam libwww ssl perl python imlib oggvorbis gtk motif opengl mozilla cdr acpi dvd fbcon imap maildir moznocompose moznoirc moznomail moznoxft mozsvg sse tiff usb xml -oss -apm -crypt -libg++ -mikmod -nls -spell -gtkhtml -gdbm -berkdb -arts -tetex -bonobo -tcltk -guile -gpm -esd -gnome -qt -kde"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j6"
AUTOCLEAN="yes"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
FEATURES="sandbox distcc ccache"
Comment 7 Lim Swee Tat (RETIRED) gentoo-dev 2003-05-20 23:03:11 UTC
Created attachment 12222 [details]
running

Changed first line of /sbin/runscript.sh so that it reads:

#!/bin/bash -x

Then ran:
/etc/init.d/depscan.sh
/etc/init.d/net.eth0 start > running 2>&1

This is the result.
Comment 8 Ben 2003-05-20 23:44:13 UTC
I have the same problem after installing this baselayout.. im going to try a new install and see if the same thing happens.
Comment 9 Spundun Bhatt 2003-05-21 00:24:51 UTC
I have the same problems as Dhruba mentioned(didnt go upto browser crashes though). I did some research from whatever little knowledge I have about rc-scripts. 
I get the same freaky error about bootsplash and local having circular dependencies(dhruba's screen shot).
Then I unmerged bootsplash ... wierdly enough it didnt remove the init.d and conf.d files for bootsplash automatically, so I removed them manuall.
I still have the problem and the next most interesting (and the earliest Ithink) difference is that in the boot with the newer baselayout.... you dont see the "Bringing lo up" message. which comes from /etc/init.d/net.lo

This is all I could figureout.
/var/log/everything/current has these interesting messages
-------------------------------------------------------------------------------
May 20 20:43:17 [init] Trying to re-exec init
May 20 20:44:32 [init] Switching to runlevel: 6
May 20 20:45:37 [kernel] Linux version 2.4.20 (root@mermaid) (gcc version 3.2.2 20030322 (Gentoo Linux 1.4 3.2.2-r2)) #1 Sat May 10 14:05:29 PDT 2003
May 20 20:45:37 [rc-scripts] Could not get dependency info for "net.eth0"!
May 20 20:45:37 [rc-scripts] Could not get dependency info for "net.eth0"!
May 20 20:45:37 [rc-scripts] Could not get dependency info for "net.eth0"!
May 20 20:45:37 [rc-scripts] Could not get dependency info for "net.eth0"!
May 20 20:45:37 [sshd] Server listening on 0.0.0.0 port 22.
May 20 20:45:38 [init] Activating demand-procedures for 'A'
May 20 20:45:46 [kernel] [drm] Loading R200 Microcode
------------------------------------------------------------------------------
Spundun
Comment 10 Mike Basinger 2003-05-21 01:47:45 UTC
I also had the same problem, moving back to baselayout 1.8.6.7 fix my network.
Comment 11 Patrick McLean gentoo-dev 2003-05-21 04:32:54 UTC
shouldn't baselayout-1.8.6.8 be put in the package.mask since it has such a critical bug in it (this breaks booting on ALOT of systems)
Comment 12 tuXXer 2003-05-21 05:03:04 UTC
etc-update, said no files to work. net.eth0, net.ppp0, net.lo no output!!!!!!!

The only message comes from cupsd: couldn't find dependecies!!!!!

But this is a result of not starting eth0 ppp0 and lo!

Please mask this ebuild immediately or delete it until the bugs are fixed!!!!
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-21 05:13:50 UTC
Please try 1.8.6.8-r1.
Comment 14 Lim Swee Tat (RETIRED) gentoo-dev 2003-05-21 05:50:07 UTC
Looks like -r1 solved it.  But the other problem with bootmisc is still there.
Comment 15 Simon Cooper 2003-05-21 05:51:06 UTC
this revision caused an UnRecoverableSeekError or something on /dev/hda, i wasnt able to get the exact error msg but it was something pretty serious.
Comment 16 Narada Sage 2003-05-21 08:10:22 UTC
1.8.6.8-r1 has fixed rebooting and eth0 problems but still has the same problem with bootsplash as shown in the 1.8.6.8 screenshot in my previous message (circular dependency).
Comment 17 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-21 09:00:55 UTC
Yes, because bootsplash deps is just plain wrong, and because 1.8.6.8 have
better checking on dependencies, pick it up.

local have:  after *
bootsplash have:  after local

This cannot be.  A better solution (bit kludgy) is to have:

local:  after *
bootsplash: use local

Because USE override AFTER, local will start before bootsplash.  File
a bug or something with the bootsplash maintainer.


> ------- Additional Comment #15 From Simon Cooper  2003-05-21 05:51 EST -------
>
> this revision caused an UnRecoverableSeekError or something on /dev/hda, i
> wasnt able to get the exact error msg but it was something pretty serious.
>

No offense, but nothing in baselayout can cause that.  Check that the disk are
not starting to develop bad sectors, or check if you have 'hdparm' starting
and that the drive do not have issues with the settings that hdparm apply.


Comment 18 Narada Sage 2003-05-21 09:36:48 UTC
Thank you azarah.  I have filed bug 21419 with regard to the bootsplash problem.
Comment 19 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-21 11:01:07 UTC
Ok, can be closed I think.
Comment 20 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-21 13:50:34 UTC
*** Bug 21407 has been marked as a duplicate of this bug. ***