Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57390 - net.eth0 starts without any output
Summary: net.eth0 starts without any output
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-17 08:39 UTC by Toralf Förster
Modified: 2004-07-18 09:04 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 Toralf Förster gentoo-dev 2004-07-17 08:39:01 UTC
I added net.eth0 to runlevel default with static ip-adress 192.168.0.2 defined in /etc/conf.d/net. During startup of the system I see no output from the script net.eth0 but it's started correctly:

nhh221 ~ # /etc/init.d/net.eth0 status
 * status:  started

I use udev and hotplut with a PCMCIA XirCom Card 10/100MBit + Modem 56k, the pcmcia drivers are compiled as modules in the kernel 2.6.7 except for ds.o, this is compiled into the kernel, so I do not need to start /etc/init.d/pcmcia.

At the command line I got a output:
nhh221 ~ # /etc/init.d/net.eth0 restart
 * Bringing eth0 down...                                        [ ok ]
 * Bringing eth0 up (192.168.0.2)...                            [ ok ]
nhh221 ~ #

Below is the output from the console after reboot, made via "cat /dev/vcs1":

INIT: Entering runlevel: 3
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd-mixer-oss
* Loading: snd-pcm-oss
* Loading: snd-es1968
* Loading: snd-seq
* Loading: snd-seq-midi
* Running card-dependent scripts
* Restoring Mixer Levels                                                 [ ok ]
* Starting apmd...
apmd[6571]: Version 3.0.2 (APM BIOS 1.2, Linux driver 1.16ac)             [ ok ]
apmd[6571]: apmd_call_proxy: executing: '/etc/apm/apmd_proxy' 'start'
* Starting input hotplugging...                                          [ ok ]
* Starting pci hotplugging...
apmd[6571]: Battery: * * * (100% 3:20)                                    [ ok ]
* Starting usb hotplugging...                                            [ ok ]
* Starting cupsd...                                                      [ ok ]
* Starting distributed.net client...                                     [ ok ]
* Starting dnsmasq...                                                    [ ok ]
* Starting hdparm...
* Running hdparm on disc0...                                             [ ok ]
* Running hdparm on cdrom0...                                            [ ok ]
Shutdown KMyFirewall...       Done.

Starting firewall...
Loading needed modules...          Done.
Create custom chains...                Done.
Settup Rules in Table FILTER:
Create Rules for Chain: INPUT                    Done.
Create Rules for Chain: OUTPUT                    Done.
Create Rules for Chain: FORWARD                    Done.
Disable IP Forwarding.          Done.
Enable Reverse Path Filtering      Done.
Disable log_martians (logging).           Done.
Enable Syn Cookies.          Done.                                        [ ok ]
* Starting sendmail...                                                   [ ok ]
* Starting syslogd, klogd...                                             [ ok ]
* Starting vixie-cron...                                                 [ ok ]
* Setting up kdm...                                                      [ ok ]
* Starting zetagrid...                                                   [ ok ]
* Starting local...                                                      [ ok ]
This is nhh221.pluralis-ag.com (Linux i686 2.6.7) 16:36:21
nhh221 login:



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




nhh221 ~ # emerge info 
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.6.7) 
================================================================= 
System uname: 2.6.7 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium3 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X alsa apm arts avi berkdb crypt cups encode f77 foomaticdb gdbm gif gpm 
gtk gtk2 imlib innodb java jpeg kde libg++ libwww linguas_de mad mbox mikmod 
mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png 
python qt quicktime readline sdl slang spell sse ssl tcpd truetype x86 xml2 
xmms xv zlib"
Comment 1 Toralf Förster gentoo-dev 2004-07-18 09:04:04 UTC
Sorry,

found the solution myself, hotplug starts net.eth0 with "--quiet" (but why quiet ?!?